{"_id":"@crave/farmblocks-search-field","_rev":"917-ceb1f2c820033b8f70625dfca58ed637","name":"@crave/farmblocks-search-field","dist-tags":{"canary":"3.8.25-alpha-test-rr-6245.1.0","latest":"3.8.25","4208.1":"3.3.5-4208.1.8","4209.1":"3.3.5-4209.1.8"},"versions":{"0.2.0-alpha.65bc7857":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.65bc7857","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-hoc-disabled-tooltip":"^1.1.5","@crave/farmblocks-hoc-input":"^2.6.0","@crave/farmblocks-hoc-validation-messages":"^0.2.2","lodash.debounce":"^4.0.8","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.65bc7857","dist":{"shasum":"65b64a64f51d0de3cd14e902164f318914023a21","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.65bc7857.tgz","fileCount":13,"unpackedSize":26650,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbDvoMCRA9TVsSAnZWagAAN5oP/3T+sKBS78d0KEbBYIPo\nbSa1F+5ASy3Ymtl5qtPUoXMkDdfRKjA5WPLvDZCTDa3Am/Q5ewcQcIgP2cpA\n21mkatH+Ym+i9zPGMgypfvGXHr2H5NLAwYLaWdYvX93X5KZN615jWkvFEDcR\nCyb9j7DQqMdrTMj1gKpZKpttX9ZJSUKFe3sF3FR7xMh7P3SJNZMiQwuY4xWq\n74SLObNjIw4+UJ+IhdxnB6djhddmk5JtRSioyHh+nJbEwYsq251UNIFC5cpc\nlTHhhvs/1lg/wAt0rjsMgW85KKDG0lWGQuD6QftXXBwyXDM79o1+4rTGrK4X\n1PIz6ipD62QbjsJsA43hpO14r4BJTcuMGhgHLPOwm46lm+GpStdzthwayPp5\n7RlJ4OFoVa17iy+yWjDdKusrxyL6ppQuxHrYLQVSxXhYVih6u2vHlftmpeIx\nvIljOfacposnh8xd+PKDcQ0XoMe0f/k7bvI89IM1I7qDfEQF0viT4B659u/J\nkaHrpfbeh/WGwiYB9/zOhxV0VJCZnjEO01Bnx1ftdUj0+mQvU663S9JTlMA9\nF/xoiiukErv/9DM2C9Bua1uhEpIKKyngv1lYlZZymTKYbqPQMUZAvwzzy4rH\n/8XyHbg/r1EpM/miyiBz+JTJ1UWc76nJFBBhZLksRbS9laUaPM+abg4GNqUT\nbrJr\r\n=lkck\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-Juhjohdj1hdqsCsCYDSHdlYZx03S/cCq3L9U0mGsS3Kicm11K/X90W8FEr9XG1aG/dT3uBTEpq3Ujq8QPXt0cQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFS3AAy3yMw/0x8yEtveEz8K+Meki3kpwhqZSudTewsyAiBg7a9Plx2Sv6zATuTfPq2vlMMSW/9fZ6zdEjJK29pAbQ=="}]},"maintainers":[{"name":"alcferreira","email":"alcf.2099@gmail.com"},{"name":"fczuardi","email":"fabricio@fabricio.org"},{"name":"imwra","email":"will@sourcewhatsgood.com"},{"name":"vnakamura","email":"hello@vnakamura.com"}],"_npmUser":{"name":"vnakamura","email":"hello@vnakamura.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_0.2.0-alpha.65bc7857_1527708171836_0.6643223464142181"},"_hasShrinkwrap":false},"0.2.0-alpha.f00009ac":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.f00009ac","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f00009ac","@crave/farmblocks-hoc-input":"^2.7.0-alpha.f00009ac","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.f00009ac","lodash.debounce":"^4.0.8","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.f00009ac","dist":{"shasum":"a1fad2e693c06a8a78484efb52c5b961a2c49a50","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.f00009ac.tgz","fileCount":13,"unpackedSize":20791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEElPCRA9TVsSAnZWagAABkkP/05t0ZNoaWwNm8A9S3VX\nERhSBp8Q/ahr6dH9nwZAdWqBohZvWz9FDmF3AYoqAcL8J9MLJp5DxD1cQvBp\nIhN5/QwGXNwUntGM0uc3y1u9Ev9PiHHYR+M0V4caHMWc24HEuoJQD2KBvm3v\nMIzgmmBozhCHPinMFqUlyCrwEuTYVV7TbCoJnUI9GmH85+ucV3W5pUwQYr5W\nMCGF4SSlAa5qHR5yqJLoC/VHBJ7HCUfrzg7yIjQ3GARnrMNGKwWHNqLFbicx\ncgUzw4cWb1rGcfSKBgQSBfn/ex7N2mJbRZqyPajza/d519BJzu99mRWVEfLV\n7yX/w/m6ld9bkeiB2hahKgZ3X4YHJI4QtIJstI2EM5MLAlwwKvjEsgFNyjBp\np56rmqTDuM3wtM825iyew0FntRbws7G4kC26zZjksKBTb+rUr5OaM6+WHz2H\naiHSPilSJK+pBzRZ5yoEnMpKtGJ65mIu1Rgd/kk6XayzcLc0ZMJb6fMkZWso\nC9zZWE+QXrPCdbwjEa8IF1YSVh1VhCthLvOsQ3hCigbgZxdF+9n/Vj15EZjQ\nxO1xO3ySGF0QqAU8bkp83sVXqel8YABu8QeE3VASMSgtfjKsaV6GJHk+rroP\n/SbCr3Yhyf4NNvSYXVyijC8aJewAXOpwOH1emG4w5n1aZesPB5DknH1R4zyQ\nZ2tv\r\n=2mfJ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-8av+/vwCoP4CHzAloUt3rsDU6AtmrwUTLR4xkLlt4CrQx6rB3vnCUfca20JHJyaZ1O/YKNkgEGc2aegJiGH9Hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIpOW7I+hl287/kCHj9WlWRmnciWogU10fUm39FuI3fAIgY4yNhrIA0/dL7uQ2NpiwKcEAKvc1IloPQmwYHKQ7HXY="}]},"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-search-field_0.2.0-alpha.f00009ac_1527793999259_0.7339269162149915"},"_hasShrinkwrap":false},"0.2.0-alpha.352eb4bc":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.352eb4bc","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.352eb4bc","@crave/farmblocks-hoc-input":"^2.7.0-alpha.352eb4bc","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.352eb4bc","@crave/farmblocks-input-select":"^0.7.0-alpha.f00009ac","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.352eb4bc","dist":{"shasum":"94b22bf473d32ce75866607ea22267f66913b2c3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.352eb4bc.tgz","fileCount":14,"unpackedSize":22672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEHkuCRA9TVsSAnZWagAAGOUQAKUCpNcd3N7k039XJ9TE\nAhVgNBA+qYMrg8IP5AglVJFeaNT247t4Tcng23UjXZkfzm1agcQJ9pnOsHwP\nRmfNNDNJGNAyAbBXImwbPWw1XrCoegPGsQpvrTsoQU4Q9am0RgoD8pHW5cSw\nwHOTkpCgLRIImYZFg9v/IYLuReTRI/ydAXj5WHroip5I/YUVhecn2RCyyv/c\n14K5nrLoaeYe50cqZShY53eLEfLxsUxRbZrDOsMpuLGLUlRzBjSWLE85x+K7\nb36rxErNKNGmUvvt8jYyQbSKgfhgIA4FkOaP4FcqitonLwWFeNjJsA/SZy0Z\nmGBh+jJJKLUJsAchjyyDzYceNBKKuSiJyVPnx32aciRpN+8Kpb2fU19bEzjB\nVvpzeJry0iRu5fvD3VQJAqsDRPapl/dR9a+/lY5IRR+LN07ZV6yzPXy7E7OY\n0OUZH5OkoUveCE1AHf1ZYMwFJ1MaT2Ma/Mbw3s1V3MbCgHUUGOUkLYy2swNl\nTzXqEHcatUg9nOMqUf85oJFuvQc3wyrLJ2YozYXkSBxcc0zMaMXWrP8F8Gzm\nKh4SPCBOy6WkdZ54btjwE+eRbioMHhrRE+4c47dHE6aP46/G/V03SvlTmoDb\noR9mTVn03du044YBhV6MC0LKXCCMHabIbs5OMFCMo9TXGUbu3W2hXZ6xfkwV\nWNqE\r\n=pgnl\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-D+AU0LlfUiiTt5M7BTvEP6C/U437+K6oGnnOA56Ve49oHuvBpB9w1fl+yeG2tSV+EIK0Az29d3sL5a/krTAOkA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEllky+k8zijTBO24ABhCf35QEJMHNEcX/91XeJauNrKAiEAyffYerQGEnpdMKEaMWPh9wz8QS1mpR5NcBbBhZsdQoI="}]},"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-search-field_0.2.0-alpha.352eb4bc_1527806254303_0.35332575609344596"},"_hasShrinkwrap":false},"0.2.0-alpha.8411929c":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.8411929c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8411929c","@crave/farmblocks-hoc-input":"^2.7.0-alpha.8411929c","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.8411929c","@crave/farmblocks-input-select":"^0.7.0-alpha.f00009ac","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.8411929c","dist":{"shasum":"662941c2a8cec9a24e602fca68e728b52e540b7e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.8411929c.tgz","fileCount":14,"unpackedSize":23056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbET6aCRA9TVsSAnZWagAA85cP/0PhpTUwDSA/FdcDF7ny\n4MzTUo2lf2bYS0d9PWf4MXZE4Fc+VZCNKKGMS1qtv9gwIT1NL+6pyKQuiKR1\nsGm/chszbCRfy+XpqSirlymRqPfeNxMohITMVBQWgjOwvfh05XGaK+1zUPWd\nA5Y+k9iRpnGHgEOl0jiZIAoxBYsI4l0iteq4LdAip8ZhnS8rckFYmnIzWMrw\n3fTSnyy9zmyN35w4W2PNc/CBrmBUkR1N/dS9DJifF/J553CWhCf4VjBvmWS9\nMuXZ9a+G95gA4a0+0qeGEZ3g0KbwVJ4swDT+rj5bReNbhI8W9lOLUxldB1qV\nf5NjfziCtCm/QahK7XN1RoIsF4Q2g+GCgbl3X3pMbtOpn7YZMvMxnu9tjp/k\nw4hNqYx6pvQrdcA0S9ypCOjWgU+yLqsW3V++3cZaCugkQSMpDaNE+AzlfprC\nU55jZYXnwbFUT5PZr8tDIXQ3EOHv57qmegGErMbghqivJSXYOmkp4QjvZjuy\n+gWjsjyS8ygWIsD5/TY7X0NesZwLfEcaP1+2sY3D+oXxLe8XRENmImVrmLbI\nmSBEguSitKNHIPbShOVxpYC1PIO9CYPWvU90nb+U5O94QQy+L6j+2LInC8s6\n0J0XD/EkGzXXgCRb0Y+rxU7GaUQl6Q9iOqTmYxjpi+rFUo/e9myOoqj4KdQE\nv4SO\r\n=f9Tj\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-yuFfU61kkgiWNSlE/aUVBJOFHeafD3BcDG7Bw2U0BXQ1E1pjQ4NnFUtSoFc4vB/fxe0Mx3u2A95uvqKxrl8spg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtEKGXeOmBcLvuldClN2zyvJF872h0vo1mZxraA7EAmQIgDXJuW5ASQW0q9x8ryrPxfpJUEHOg3+9H6iPHkuEilcU="}]},"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-search-field_0.2.0-alpha.8411929c_1527856793847_0.4485266242863688"},"_hasShrinkwrap":false},"0.2.0-alpha.e2e9b18f":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.e2e9b18f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e2e9b18f","@crave/farmblocks-hoc-input":"^2.7.0-alpha.e2e9b18f","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.e2e9b18f","@crave/farmblocks-input-select":"^0.7.0-alpha.f00009ac","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.e2e9b18f","dist":{"shasum":"e0e8e5dba3830df128842292b280de7612e1106c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.e2e9b18f.tgz","fileCount":14,"unpackedSize":23056,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEUj1CRA9TVsSAnZWagAAfi0P/0SMrc9GqcGXUklE2n0d\nWF9gBn2npsnMRXA8qsVpcO0cLPgt4yMDdKtm/SjqugQBhR84dobPwUXCYfuB\nGl7af9OgHJctU6iAmcgbPGgtInD5Uqe/ysownq9jz1PUvncL3KgoV/zGIdZu\nj/Zon2nKTeXkkW1GE1ahjqRIBVEZwRn57+u2PDapwXW/VfsAxtFezG/O+vW9\nkpQuRTV4VsV5h0bLuKBUSwlXz3qvBfVbSHgxcV8aa0L/EQ6GWdZb8crF6bhZ\nUZM+CKWKtuE146ghxoCvuTLJ+Ut9QuZF/0BqEZOy8W/yV4aK0yJcPrCqk7dZ\nIyltjTa2Us03pB9rf5hbJZs0N3xoBiWY+9Bap3w8Hux8OKBGMWAM4hK/IQR5\ne0xoghO26DScTdjPUaU2Cj0w5F2wsSxD1x6UQyzU/Ybwc3g+jCcjJL17L3lb\n+zW/N80K6pnNbi2C5VwN5GtEztezHuu3TqNSmcOH1IB9JKlbobenD9lLp7aR\ng22QuUntL1XVT6AciePWd+3HHmwzxiJGYjyZEt41h09RSYzUdspW/BWRkGKZ\nr6X1+IH9oTr8bx0p4hRMJcW1G3+J7lCWGm/gxzzd1LX8nHZJb2a11y2JD9tb\nlVDttRWPxXNc9J+P/hHaSEtP9+TcBmuN0F+6YWW5vmwn9/krNbL9HvdWX9ZC\ntIGL\r\n=psCj\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-ImZ6KQzIIxmigOxaIjQPMAZWJ6eAKZauetlG0ruUrJbkG23yByXJT5krpSXr90RpFYVJcNMOHqCfW9k3mhfoEg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8sk8XS20J/GT9Npdg/AaGbnzCb4Q30MLkd4HwUdJeDwIhANaYfUHUBPRL55RYyBx+lZMlmxPj1AJw+yCBLeQ3tFy0"}]},"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-search-field_0.2.0-alpha.e2e9b18f_1527859444483_0.14917590722526053"},"_hasShrinkwrap":false},"0.2.0-alpha.5c70846a":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.5c70846a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.5c70846a","@crave/farmblocks-hoc-input":"^2.7.0-alpha.5c70846a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.5c70846a","@crave/farmblocks-input-select":"^0.7.0-alpha.f00009ac","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.5c70846a","dist":{"shasum":"8d525eb3e9139963cd6c8fa233a4768f9f7815a8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.5c70846a.tgz","fileCount":14,"unpackedSize":23233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbEWBoCRA9TVsSAnZWagAAFYYQAIq0epnFMHJQqj2Rq300\nh8+ZcgSo36PY0HtRp5WjOeCrUG+z7AQM6Ym2N8tpByS/lD+vSuP+KI0sASm/\nUcd2v28WAJk30KAKKmIJbPHc7h3U31BWS+NjgeN1mr13+TgEOBYwNC4yBvab\nHuy+0BF2iMkECrmBITgF0K/YDazk9VbabXUZddJM2aSM+21Bv0IBoXDYih3p\nT326yD6B99+lPO+qgtiTp0GzTID7b8XjIfyKFbCYoZ819QpQP8GBPRIymWT/\nFVmZ5Z1nJWFg0K0O32lIPXPxNan0piNEtOj1t9y2cMtQQAtC8DXyfjqpFlZi\n38An4xUoI5AEkY4Z3M2R5l8NGLbBhWFr6pYu1A9SwyQeUezI2EfMje3oZfCn\njNt5SxESkj1nryxHvnweoD41MsbWva+CpPDv/bloQ509Z+ASQlwxbO0wQ0X6\nBEc3H9BEGtuYnRei1/Cvj37Jy9fq4fRBnspVHSjPcHA9NQP2CqIGt1d45eLP\nmKlZq64il75EU7T61cn/1uV59zx0Ss67OygvzR55GWx6Bdvktq04b9iokjON\n/jilnrcPr90ceohtN0VcOqmL/4ZrxFkwHwML6mbsHWJU5hARcqqj9TVNEMCq\nM0mjAYcWPS2Ac9XJuZIwKrzD6dsLH59FO80yPsC7vk2V3OQt0bWWZC9HO94C\nzxdy\r\n=yiV7\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-P4FJI1BmonLn1TvvuZh78bcpk0lqV+gG87CD2kuB/V1aHzxADC3wZHJmknjg8amgmx2F/uWIveCQLvzBREQADA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIT4Za5z1g3A8qikENCHONlQO96FniihT1Tc8ME41N+gIgMsNo6fI40pmqTxxaz7P7FwyWKaK7/oYxAAVaCyFV/HA="}]},"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-search-field_0.2.0-alpha.5c70846a_1527865448291_0.8844885285732544"},"_hasShrinkwrap":false},"0.2.0-alpha.7831b2c5":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.7831b2c5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.7831b2c5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7831b2c5","@crave/farmblocks-hoc-input":"2.7.0-alpha.5c70846a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.7831b2c5","@crave/farmblocks-input-select":"^0.7.0-alpha.f00009ac","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.7831b2c5","dist":{"shasum":"5f17ebafff69ce967284920c1fadd7fd45a2028a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.7831b2c5.tgz","fileCount":14,"unpackedSize":26972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFWN5CRA9TVsSAnZWagAAVNEP/iubFOo1fd/pFRAjUTE4\nJXVcFChD+JRPXp+vF40oLsB6OLTZNzFhjzu2QURzPGW/FKtEHpNmWLUqyeg0\n0vaQ6dw0bcrCfnJxDFOZyvdzoa9q91NXt1/b+CaxwR8zqO/gXa7vJYaqFPI+\nDdAX2d65n843/9v4f/gFuD+UtPm902QqgTm4O8ZqF4rYUxcFKOrK8l1HJcQU\ngVG6urLs4iBS740TNeFHrGz0f2ZFaCTnC1etJCb9bDUvfjdAVoSzK+oZbKxC\niAhVaruVq+ujIlITYyvUsUvRgofEPdaNszVxXKJZWxXuabI9IQuGhua4vflX\nvNBE/KDD8FYSFS75R+rKIL4fq0dPN+eRpp33oM4FFrHDUbyq8MmLyKy7SG8F\n0iEGrTtcEtm5KyH9wZXW9+VEzkXK/RWdlJQ8cwzElfNGcc9n6ixhk+wBeBmY\nlF3fti8IZf3/WX2erkl9Ok/03mkRDx/1B8UsIpDWy82OfGTRrSn+S15GnZAN\ndrsPD1bK7bFiYKvkyvM5lWMi83uydQqVHdWEAZ0LqPzvWv+vw+2/QzbyGgHS\nnLDQtnYE6Ym9iqxo9s6YJaZ22bySmTy8F87bF4LKNxYZ+IkO8RG3BDj9R024\nUL87etUJjQb02zTyMg4porJIwsLSYic1LCgjIqn0K73fhz5Pak/gQdu6rli+\n9lGp\r\n=c0vh\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-Aildvw6eknfJNn7jRrNFY/bOpU9qVBnSlQPIpbX5xejsJJCF+4x1B94N8L355vYsQ73bnHZbYPRq16siwU4leQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDb3/YEjG8t6Skni3cfSW4Dm2Pe9icvJXbsWFQL0Ckv/AIhAKHSH0Wbxx/lzg+qfBwuBYcbAJKbdjIllt7xtHqJRHEY"}]},"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-search-field_0.2.0-alpha.7831b2c5_1528128377090_0.7916022694672087"},"_hasShrinkwrap":false},"0.2.0-alpha.7201583d":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.7201583d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.7201583d","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7201583d","@crave/farmblocks-hoc-input":"2.7.0-alpha.5c70846a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.7201583d","@crave/farmblocks-input-select":"^0.7.0-alpha.7831b2c5","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.7201583d","dist":{"shasum":"57fe385ccaf5230cb33d7ea59639e52c0b0a3eb1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.7201583d.tgz","fileCount":14,"unpackedSize":26972,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFWvUCRA9TVsSAnZWagAA8bkP/2cn4OgqsmjvJbFH9xV5\n/DsdXEeTcTo7CcIQkV3p3ydQuLPboXrF5+ECMDctCXEuPBewS0Q37X8dpDX0\nbSYmiInGY0wqwLNVozYFnSDTqEOT1bWI1S9l9r+Uei+aBVZ2zkPJ1WtBJlV4\naymnInhy0YRXNqUFALmwfFlWVme60mPW9XQ0WvQJr9Bv7NXn/K8/pQh5yTNx\nW4JioD8D6GbDvgfv2SIKH9+jz++L0VNuPRc0UK3AVSYUVS2e4Iis4kyjrH0w\nz3Okl3rHAflpy97CXT+lrRMIWgv9/PLPXOKHk0RUBh6l768K0hvb9r6GMi27\nGl/qL8YIBByY+M2tuaDUGvtzYw4hMw2/1OjsQ8u1WuCG0ISk+IC+Co+JsICD\nPZSin4gKSSteGhEFK86PPKff8oxfLdILIjQBtE/m4QG1WjJvJsVc2jTomFRr\nBGpPvYckCBHXxkCbSrjlNxjXX7NZ+FzsFOealJK2cu/68pZNmoAlDVIBOvlt\nB6zJiZtEl8cHZDvjveqJ6hCHUzMykE13j8QR/DZXSlGhf3pBVGr2YbITghZ/\nbJjwGchwjdoNSHDpB5p4BMJTqe60qgG/KZQDO6wGSZMu8dezX8qgPQKUbOye\nTeNd82tqaqNz8IoJcA7hiTHHX8SpNAO1LaG8qVjMTrbZdxNJwvERceZX1qpO\nWG3U\r\n=dTsv\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-YcsBC1PJ+B0FHUCntfxlI+zVfJduNcqIav8Zn+/G9YysHUwnelcmWUqSTJ+ILbh0FJVzFu9sajXKQVmJ/kFRGQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHTQtCgxmW6GpQE/kG10ZHJJE31GPGclQjRc8eh46j+bAiEA9z+OX9FeqnFuq0NxnPHiwxW3dt0eXll0Si5Uf6WBhW0="}]},"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-search-field_0.2.0-alpha.7201583d_1528130515713_0.1900522696351874"},"_hasShrinkwrap":false},"0.2.0-alpha.8b612f58":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.8b612f58","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.8b612f58","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8b612f58","@crave/farmblocks-hoc-input":"2.7.0-alpha.5c70846a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.8b612f58","@crave/farmblocks-input-select":"^0.7.0-alpha.7831b2c5","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.8b612f58","dist":{"shasum":"c54a9cdc2052ae1671a5522eca59822cd4c6cbbe","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.8b612f58.tgz","fileCount":14,"unpackedSize":27027,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFatnCRA9TVsSAnZWagAASSYP/R+L17ro7UN5SJbPVnMe\nTmtDUHcWAfuPK92XOWVx5agWLBYNnreQ9Su24QZfqNe5uzBNa2T58SiPS4Zg\ne1HkZRurhk54vJloQB+YwfaZ1KHLGoCyxD6sPX/60FwIZ5t4CvPn1wGegYkw\nTTrAv+gMkRWhWuk4sSEZcygUpFf5Tkld8lAV//pCqQrrsLsz1nfgZIUKhz85\nx5nQ7nrYQHcHpXo24ZFVSGuFSn209Vmyp5V82FJvp4FleEQMfrYsUnymu29L\nLSExVxOE+qRi265kbO6QCS47EqIN0L9+7/C0BVjRrEoQmyenIYwy6OKyEOl3\nkv2z7YR0ih74tChaIlBFM2w2Vm0jvykkkzt6BiT3IQ/D6f9Pgqb0WIjkJdQI\n50PucbgVN/II/NPzVpDm8BPrUMFp9nrprXRDsAwvk+LLkK+GcYIgbtrsVvvL\na/o12ERB14qj89eQAAEHH9VgigWBUvy0kCTx4PB16l+YeXWEGxMWJcJ7DuWf\n3RySEfa4OnuY9BIxXfi5svaglurL6YneRvX2PkAOXON7e674vpZw9WVC+HMU\ndiDUbSN3EIFRSUvgnpOt57aHIGXrXiS6g1/gLEDkNUIHiYR2lAI0fAI4JfFe\n269zpYs1Nhn3Up/j+0Xvwm62J5hSwnuEbI4fnyrPbrGRtFaUtCGilxiJOpr0\nyiUv\r\n=wM8r\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-G1nKMRZT3EEmL+JJbw0dxwSCBPEkaIEskc00Z01gZ5h1smYQJWcRoaSHi/e7fp6Lqcs264k2e2kj9wW2HyzX/g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEOB9lc+5Beo7R7Ja9K9rXT5mPqcznhYokj9nTTDZcy6AiBiITC1TrDidTk9ckYwQ8eP3kViLjQXoW4eQmkAO6k3pA=="}]},"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-search-field_0.2.0-alpha.8b612f58_1528146791021_0.2682437235778252"},"_hasShrinkwrap":false},"0.2.0-alpha.0d62d4d0":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.0d62d4d0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.0d62d4d0","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0d62d4d0","@crave/farmblocks-hoc-input":"2.7.0-alpha.5c70846a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.0d62d4d0","@crave/farmblocks-input-select":"^0.7.0-alpha.7831b2c5","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.0d62d4d0","dist":{"shasum":"6336336ec0200efa2df90c47bf2ec91739da2d12","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.0d62d4d0.tgz","fileCount":14,"unpackedSize":27292,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbFzWhCRA9TVsSAnZWagAAwhYP/2AHsyRQRAwLVBB1PtFz\njbWMhTTF47QKZDvmgFmhUw8sITUgyl09daPTl2VnpQ7hwMiJ6c855SJlpBB+\nM1w+xNudtI8xGX8bprTck9tRfCjBVvyky5B6QsDOzb8U0yzja6GsBha+3wz8\nhaoJ1m418sb91UQgI4Kf+1KdyO4vwoltiLN6s6pbdqKR0hGaOnGlU8MvXz9i\nmlfKYswBZ2rp020rup4fnAkYC0Xqtd7JrdoM7RxSVkD6HJvnRu/sSWHqtWyu\n6A9hZd/t7AGAoUNhQ1/EvEqTd/R4Zy+Iytxup76UfHlfhZmfNn9/LRgzeR8G\nrAd04hMjiopC6Joo2NNh88M7hZgSTbdSW+EZqyyyvuczqBDy+/TjQN3CTjQ9\nOyBQoNn9AVvCFo8AP71yzZetXOjrhBZjs+1h7gDe6WFjhl6llT+RSFh56kUT\nFAlU5ojGMZCKJTlBGuRhybY7lHZeOdIG4N5whyIJCBA0OteCktXHtCF79nYT\nwGlg1tZQX+e569ZL6Sig4x9ADftVkqH1gADcG6KUxyQKMI5jzB8yk0crzjcX\nfDDyY3eDJ7RJOqojgcd8HM4y6bUHI9PDUlgti86LJGWJl0udTueZYvQ/JoWJ\nJh3287QO0gZb5Tdl1eW5rUoWdCMTJi2/mwkHNyS48+6UacICqif1k5EeG/RX\njiG0\r\n=3A/G\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-dJMNHy7FdzmpjURi9qJAGSMLEMPtzQtPe7bHmi/fvICM+k4QFQYE8HeT+4y5CFzlZN04qxr4s4D11/4Ekw2eVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCghDEyjbEv6AbvU06bXEjb4fAGg7pUIwfO95e7yp09xwIgZt7GXgAbhcbQYv6+oKULwnFFeLR2lhpbZ5SKQmOYuwA="}]},"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-search-field_0.2.0-alpha.0d62d4d0_1528247713246_0.5483323238507962"},"_hasShrinkwrap":false},"0.2.0-alpha.8675d26f":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.8675d26f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.8675d26f","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8675d26f","@crave/farmblocks-hoc-input":"2.7.0-alpha.5c70846a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.8675d26f","@crave/farmblocks-input-select":"^0.7.0-alpha.7831b2c5","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.8675d26f","dist":{"shasum":"bd1a34c346803c4f1e7529a2eb3c1f3be7e5f219","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.8675d26f.tgz","fileCount":14,"unpackedSize":27326,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbF9t1CRA9TVsSAnZWagAAGn4QAKJoDjeac6rF3S8Q9ine\nZaXZ+uTlf9u2jw3dITBtGTrGE94UaEvvS0lUityYweVK9FjXfKBMMvO48mum\nSCkdXdMv2whgzJ10OwlCNBw/Fx9g23EUpO8a2bpivEKYEx7VsVzJ/4OFv96e\nY5KDVG8YwWhUNPW+A9tf+riPUF3QjwUm2wxCfPymssujL7+x5md1dOfM+hTu\nw8UY7XCxd9kyml/O1+zno4fzmI1UjiYiLO2rYa/VwbSuqtxsxf4k1OaUTrkp\nyuoFs2w5z50vaosKJQADApqRIdDaIUHJmjtKrc5Uusn1d++Nlu5ySxr3lZ9k\nOF/72/u3+6TuvVVRlJt1cDwp+IpWaHJWkXfVsoreb1yHkDwK8uZVI3ukj1CD\nIUT+GSZh+rw2PqOTotWMFaxzfQ9gbJ0X6w/hLqh01uhvJfhGinaheOs1Ehse\naX6o+UO8kJlp/G/lBXdAZaRblGU9whRFDRU38U83oggwZB97wcLFVrnDYErD\nW0/krc18MaSdOm+D581P7g/4lrYZn7KDiU+S6LtDuTGV2T8gp98o68PVgay4\nYE+jVdM7mFHyiZTcF7paSWtCU1mT2H8gvNuR2XYY1ehO8HvyQrXLZyT9O/O6\nSKbHnU1NpUrY0GXSBQFsxNUtrzS8RA9zO1vAtMgQ2y/RCWMqueyhxyZMyfAg\n65kQ\r\n=Xtae\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-F9IwVaLAskGTxzBOZabtDwgAWQgRhtEiIqw74AszE/uP4ag/ZE23ilMXffKPE+AmHwyQYAj5XmImTW2nS7XZ+w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4bMvvblqN6QcGjZmVPDATXBHVYzdfR+iSMMHYgyuxYwIhAIFue6axgFKE+wxo7clXbyydWhu4bLDKfzHWjZ3DvwLi"}]},"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-search-field_0.2.0-alpha.8675d26f_1528290165460_0.6260586104871373"},"_hasShrinkwrap":false},"0.2.0-alpha.1660e930":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.1660e930","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.1660e930","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.1660e930","@crave/farmblocks-hoc-input":"2.7.0-alpha.5c70846a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.1660e930","@crave/farmblocks-input-select":"^0.7.0-alpha.7831b2c5","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.1660e930","dist":{"shasum":"2d2ebfc754f9081f7bcc2148e5540a6c60f3b18e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.1660e930.tgz","fileCount":15,"unpackedSize":28678,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGAE1CRA9TVsSAnZWagAAxRYP/29x0pUjcRm6OxQiCKY1\nEUOadmjIWSzpCdkicz142BiK7KJWaESGpOfzy/pnfOaxka3xfdYE2o/3wjUh\nSxbnfQY9jmgToZN02m1dJ3oGFMMATD3FBSwy0CzogYAB9Im9I2H/vA+oh9jD\ndA+LTCHnFHsLbiF5YXoLkWc2MN7wRBTcBmQfZ00QZJxebYFXVe3mlIAhrze6\nuKr/RqRY3k+ndXS5sxrWvRWL/W6D4F7FxWIFINKOKHEXmZtkhRZxD9ofXdLs\nep20dgVJFJW73qu+e1r37N/IvgnRqMXMTkin6amljH4KYtxzSUtWgfn7+zVe\nQ/7beJNq9trCVXizs7dpMn20jfMnMuQvXS3AkWXNYOKB9Es2a/jgWupz/gau\nIGebY3qMdPbBDmEWDsfXhC9kVjjxUTqpICQS98/An5XlEJ886Wj+bTMAxoRI\nAdPiNUtBy5gJ5RnIKDCIIhPHYgNdhudZwLkDw8MaUfaaw1dt9yU/G1J5jYcX\n5t6Nk8jLJj6/ZFqw8HnRFYERA14VlVAcY8mvwO/fiDXnOmDV7L8/rYy2n/f0\nVOZQs9P7orJHAxy4ugtersZbti4GC+oOlUf4uYO7+dtmddnHuCAmhAlBFc3K\nAlO4x9W5DfvWwj1dsL/7yWahrg7Yq5ugYEGUPn4w1YKS10X2vDYVMadwxeXr\nMIMx\r\n=jbdQ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-dkZTNymkgdn3EVSz37884T7m63LkpnWBOFMw/RKyWGM55bieuJPA9CDkd8em/mVR0lycQYSnCu399HfjKEg+ag==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF550b5tI8FdG2jtEWKU3joydZhgXOT9VqcEtlijJw53AiEAwSrBTcGV+evbEbM8mqLOEr1fjMogNKTjDWox5CrHjU0="}]},"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-search-field_0.2.0-alpha.1660e930_1528299829458_0.45467518413258934"},"_hasShrinkwrap":false},"0.2.0-alpha.b47b1f3a":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.b47b1f3a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.b47b1f3a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b47b1f3a","@crave/farmblocks-hoc-input":"2.7.0-alpha.5c70846a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.b47b1f3a","@crave/farmblocks-input-select":"^0.7.0-alpha.7831b2c5","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.b47b1f3a","dist":{"shasum":"0358518fd5deb517c43279aad3ae45084627246b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.b47b1f3a.tgz","fileCount":15,"unpackedSize":29028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGCpeCRA9TVsSAnZWagAAhTIQAJr1x0d5fdit2044KMV5\n/g3cnRTyEsJC859NVeytTTtb++U1HmomW2s5rqBuN0uvguPZdIytoI2QVfPq\nnuDcp1geEscM0uJ8XKpwXCk7/Uww4WiWmrB+7BOvgIUVVO5P0ycV6086SOV+\nAbNselnnt2fTRaQPyr9QKwEGVewc4FkOuGkEWaUDjLavEeu3YHV0NtilSoRo\nFpWn/FLxx0DHxHZVaBDrdlUF7y4OuERR8kTPj9CS2UWyuLlDLYIVFndinuIh\noE8K2SqCJ78AYziXvpSUOfkM/yD4s/srd8750BSG5sk4byrMpYLAcH2mgM28\nTyT2yVJiKmP0pEi8zgBOKhCEDhLzYPLpHCN68H5RXydil2dmtDG4xXgFlm1Z\nhj0ky5LR6fS41Cw4H6FAcLbANBulho6P3VI1E/tRhXpH6Me7lEVw9Gke+xfW\nIWcO0pwVo3/HY60rJ8Ivbi4cOlJ7ePacG3ulteCKGSLAWrxFjsV5Yew32jwb\n8MGEX/toE2d3lvQ0DVRI1hXOgR8gA1AM9vUAkGRQVLwPAre2xT3BG8a6GlZl\n5CyUuLMUvHC/UHxIItKpl13us6EdZILikEYEAE0Vlw6CHjxRSFbjg+sZPsHV\nY0cx9lyxgFtHa92MjjHPFude8JOt5bem9Ky5BdbJIsH5bfliRW87lu2GGL1X\nADyY\r\n=1YOu\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-U9s0bmX5vCezKeFO7B3jb9cVgN0MpobVHARei320xmyled1eLDE8VJskYf3N4lUlEXh/SDhpTYILD682GV5w2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFLNmQ7t99p4RjJqtNaQRa3byav+qGy+trotEJ63jFZEAiAolOZLPlQSR6Oqwlm/TgXZKsEuxWfKMvlRvs52xeWF7A=="}]},"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-search-field_0.2.0-alpha.b47b1f3a_1528310366453_0.055878865716945336"},"_hasShrinkwrap":false},"0.2.0-alpha.0d24ee07":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.0d24ee07","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.0d24ee07","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0d24ee07","@crave/farmblocks-hoc-input":"2.7.0-alpha.b47b1f3a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.0d24ee07","@crave/farmblocks-input-select":"^0.7.0-alpha.b47b1f3a","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.0d24ee07","dist":{"shasum":"3719dfd0b8a6b3cbb55a92705a192ab3c8731bf9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.0d24ee07.tgz","fileCount":15,"unpackedSize":29270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGEumCRA9TVsSAnZWagAAEUIP/ivWr4qxhhLHdc63aFzM\nWyFO1Nx0kjqTlVrYWJii5DiYeo9TyR9zMF0s6NyB4LKcSdptziJXDp5yzzg7\nHn+3TniaxmepRAX58yo8kjqS7RUpyenaMvxblnxD48+F1/we9lJpgy5tvAZ5\nl2FtB3XhDd1ABUcI7l6lXcojFSlhfKeMIYgickgGYN/7jfCA4zjIQmG6gCSL\nuAi6RmH03OivZr9+WCb5M23m3i+hTHpg6Rq443ICaGjv6SEODKMDasmM1PMj\n/i8w8AQw9XUxVk7EqOKwrkvHscQWogTu0h9imZQamh21YACDAn/Vq6dqBSfU\nZhTvffYPumRJkCBKntoDnhWiuuspJNVEYB6Ghzch91LflaxoeN7zr0Sc2JuB\nKpeie89PQb9JzCHCel3a7uz1MIkv8Vp1XykfUyOQi4XMJRGRxJdEUGSZ4IqI\nLAABILdEMzewjlqGzTdF8BlkuV+7gG3lImIKFVl5CwAtbsy3O3XZJM/8APOy\nBrhaYNvoTt6RolEnicsLXD+8q5TRCMJIYBmECuJYcbmZMtxjkHiP+G5lJdg9\nh2uxjo8fVqQ1eq7vCu+El3G6pmCRDdnOqPH5zsNvBRqbz5eV5SCBKWya75Wb\nMrGnhhGDc/9L8VTFJwlse/4Chy6DOJHfbEDWn7JnSnUrl0SbnEYrAFnh8e/4\n14zi\r\n=ltN4\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-C8cFDnrhuOZe1eHW6xQyD798JZBnHtpAx0n8/vE74OByLnIEB/OnkayKJlpMPAHFE3hlfnSOp8lC+tp94dZ/SA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3IhEZzwM/n57gL9wVObSO/lv6yCTw891HqHiGL9js9QIhAI5UjvvxY7XeTmgfzg3phPkYm9OIQB2zghFPsL7eDAWi"}]},"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-search-field_0.2.0-alpha.0d24ee07_1528318886428_0.1446168186982375"},"_hasShrinkwrap":false},"0.2.0-alpha.eded803b":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.eded803b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.eded803b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.eded803b","@crave/farmblocks-hoc-input":"2.7.0-alpha.b47b1f3a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.eded803b","@crave/farmblocks-input-select":"^0.7.0-alpha.b47b1f3a","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.eded803b","dist":{"shasum":"8b96f6cfbbf55a1d861461c8e6bfb092f1c6f61b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.eded803b.tgz","fileCount":15,"unpackedSize":29437,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGFUMCRA9TVsSAnZWagAATmIQAJlCyAHW9NbVqWSFUkLs\nP0Ia2S1E9fL8gMlCG7qHJE+Bu9DUEZ+NODCjQMUix96yUajeJ2rPJ3/j5u1Y\ny3z4g92t6e+A2Wxa1ELX/M3UQ2c7EsCI7+X85aJk71swnXxRqcMkfLDcX4Vg\npPGSO+mYqzMpjkBSTeSiSQtYhG+1zmxZHe2nc9kMaQDgQMsif8p3ig7PhjUe\nG/xAYsSY34o7m1w7r6cfev44J06qfIERyf7YnZlpt0lh5aVGmL8pXhkwqeg7\nfGuCmDnFfQoDhu0FXSsBJH4+tTy3zH+CQinw7YUgy3y1VqDHFdJQAGmmnRgT\nj1TyWwCBoK8q/jta1AyDotBN+F9cbgAKOgYTOUufksqliUMn/yasHaoos6IP\nAN9i5pbEoRWowVqvF05pWWFJHFLKItST0GMo0v3l56KfBU4Uo7hGurI3udkG\noHfFqZMVoYqTrNdT+xRtv5yZKaJbBwhrMAdQJcG0fs1AgK8H4bKdYUooFVLn\n5vg4f7QSYYnDh3KMvfFYrC7m4WoqmtFBD8QlF1SiQTe3zkgIIy2Az4T252Ld\nJnOV2J6q6b7AlI091FmLf8qca0cLR4vwgxsTo3NvnxYuUtUgeLLPGPzUp1Uw\nCfYyph+RttbHIwOQN3Nw6KmIShbWYb60NIYkpKTeafKPeLv+b/qOPkIDAX0D\nsLrn\r\n=pONl\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-/rCPnNB8utJiRrj4Ldtd9HKFY2+uDiv2SVE/NJqTJZ2HcHSiaE5vzcEaiUbJpdKZSTwwnNbVXEa+Qh89ZcBpZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE289/iIuXQpYG5HXiqSbdrUhhjBVvu4j3wRUPT9LPAVAiAwAgdAQel3TlsYe0kiLtsrLaSzfQsDMVBry9YXdD2MXw=="}]},"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-search-field_0.2.0-alpha.eded803b_1528321292280_0.16552493217423248"},"_hasShrinkwrap":false},"0.2.0-alpha.950ba985":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.950ba985","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.950ba985","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.950ba985","@crave/farmblocks-hoc-input":"2.7.0-alpha.b47b1f3a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.950ba985","@crave/farmblocks-input-select":"^0.7.0-alpha.b47b1f3a","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.950ba985","dist":{"shasum":"6fbbbf97d1f6760f7270e5e931dde8cb7e36e357","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.950ba985.tgz","fileCount":15,"unpackedSize":30066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGHfCCRA9TVsSAnZWagAApCYQAJhkjYUkRaRFYPn6Saym\n0Zc9kqhozYO3XSdYWW+YpETgRm8Ij/rvls3g8TXJZXhrI5+Mg222+FtCBab1\nhsVCZfaYqqSQhJ9yBv1I2irAzMfbVwlfVLGmnP5hBVNKUwPm+4rLMaRwMjoE\n5E70B6Xl/ggjPuUL+jEtdFsiXj/yi6yiRi6Dll6bNb24YE5rX6mkxnS4BZGB\nS2uhs/J8PcrygotNZaC5FvGUHUuGp6OTdYEqERUeTdCPTPBoR/6yz8bQQ1U5\n+squJSUNjrVkGHIVsXHVh0QF2ZKKQ3NDA1adJX0W2bmN6HZCOb4Vjg8IMDTS\nyRQZNyINHwjkF2K5SEQ6c2DgV6Qj7AxWMFNB8uk85EO1C/kiXlGhVoXUBzpG\n0fErFRSZyrBHkeDux/6CUUPWqUnL6XXJmxYweJJYufC8zKFdhy78HbE2uz8P\nGgIJ+BiWL6zjuyj+LhiD8TeCuB3HeGw9iUT/m+Oh84d7QhJSk/LdM1eAyMoW\n1ew8OiL/hhMjWnimqrq1bzHfP3NCxABthGgCpENcOC3qorXmQ69TY4NhBupM\nszg2FAUOFWJR20gUCf3z3Q5miUBDInQP4Be5Uh71aoqUUba8ZMlm1XwKL302\nMBW5QmYOjS6bCmNE0n7aUdlHi1yuriQDN321y7eV8Qdf2txSYME7Nd6mkIcA\nPIRz\r\n=nfnQ\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-HpWFGcQz7Y+f/VqqA8zKThVGYMUpFP5T2xXfbHlV4g9H7YKeuBlAMTcSjPqq5k82MHInvT64F9Mygn8Q83lWuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHqN/rcgwI2O6nCjdMm8Q6/Lmdlosw1l7xLRqvIQxarJAiAiEokwXqe98j6KbBHqPdaofb0baEuQHjfPjNePTQKlhw=="}]},"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-search-field_0.2.0-alpha.950ba985_1528330178128_0.1450033155470487"},"_hasShrinkwrap":false},"0.2.0-alpha.78eaebdb":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.78eaebdb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.78eaebdb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.78eaebdb","@crave/farmblocks-hoc-input":"2.7.0-alpha.b47b1f3a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.78eaebdb","@crave/farmblocks-input-select":"^0.7.0-alpha.b47b1f3a","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.78eaebdb","dist":{"shasum":"c36b3d877930802fb5291aa9370abd2bd8ebeab0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.78eaebdb.tgz","fileCount":15,"unpackedSize":30066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGHuGCRA9TVsSAnZWagAAGnoQAJjDt0DeuXOI9sEN6rKF\nyjzds4bABphnMhKP7Ew+kna+zbgVa0LkeEP8PyhCitfAYwhJ4q/u43MPL/Q4\n9Fw7SF/SiuGuoaqRBRPz5JaIP7Hn19nZQc9tDOcHuqsowl5M+Mm5zTARgBbN\nt/LIyfnztjPzA4dh32H/jrtuFn1UhlSd0TdB8MZ2IL5Z8dMc3r5hB8DeJqCP\nPPLq0kZ6a/ApU7gSP6wciZpZa9SlpN4vK6wL9JqwTfUfg9Y2ikbY++vNGurV\nx9MaAYUSWOs3hLB18v225OyDaFPUQjJSV1YOUJWipCaKJ0byUvR3n1RYue5z\notv+EZakWQhxqXgb4VYkLsdyzivri6J5PL1KaJBdBbkiqM4mIBMZJzHzrru+\ndvwS3TAsfyKeLTCNN4NsdTeJ7o5fpNPGjJ/4jOlW0FngbbBW+Nz3aHzjgPMG\nieZhy6GyevX1vxLezVvWx5Eh/5lsa6P6PpeQoM6NvBUhkuBfAOIIbw62HbSG\n/+kqsdoYprhJnilIzxKla+rk3+21CzorNTGxv1HKzGVwc5ANQsUJvAPuwVyy\njazIBB/OQvIkiPRgyAglkea2rpT72IymDQSMlTMn77mc5WhaGsj1Dn9bdNdo\n5VyFUgilg0j3HaT84TK2EIrjiw77iAojhPdG9SlFu303qk5S9keLfbfUxUFq\nYAtv\r\n=qGph\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-rqmiA6TLeH/N9p5ZACbgSKOXdVledlSjh05ml98Zb+lgorAuGtOEJ3CMQCSEMY0O96jQMJnue0ewK34Y+B662w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBesixM04TUnkJ5XTbyPOzuV0lr67KdFjRRjf/bCsBp/AiEAhm+eW6z4mrRwGhYlDDzhQqw4FarCGvqSAwtrGz3JZeA="}]},"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-search-field_0.2.0-alpha.78eaebdb_1528331141628_0.30386169066901103"},"_hasShrinkwrap":false},"0.2.0-alpha.9afde923":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.9afde923","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.9afde923","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9afde923","@crave/farmblocks-hoc-input":"2.7.0-alpha.b47b1f3a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.9afde923","@crave/farmblocks-input-select":"^0.7.0-alpha.b47b1f3a","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.9afde923","dist":{"shasum":"9557c5076f5750ec13a533245e1662f829f3c107","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.9afde923.tgz","fileCount":15,"unpackedSize":30066,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGTBbCRA9TVsSAnZWagAAGZQP/2I3lqU7imnXrKmKN1yT\nmOO6jAOE60fU2jHx4Kcxqa2gERhQtBLKOad3IpLbFcSVu5pOTzx+g/IGY0+3\neV43uZXaHXYqqjTEJGIcpratsT91vT2loAnoahcKWrT7uQGLFUlKPLec4nuP\n4Ydqoh1D3k+8ql4A//Jt/3j9++68gu+qPKnLoUpK1zHa17tigwXw7oFhF5dg\n2Co0kOGZkapUWRfpqX+A2iZcc0P62eXwGSSiZizDXEX6rsr0N7oF15Bh6GRF\njc9Em3+AuM6qdPPgN7qRh3h6gA/QGI/T+MAj4WzDY7+LQvGQ1pCErH7RfYNH\nHOw7gCRVW8+rquZI+AwjZOb5Y5cupJIBe9/+B9sWphq52MPgkjGNw4nGhrwj\nZ9uvCnF495yppZ7o5xmdC4cfQlE9suFwSM6uCr7U4P1OXs2SM5XnrY3b8n0H\nfQOMo9Izkroayqt7E70G3kMDyIF/h2nXKB88zaO7eBRpkPAiwz/1CDB2pC9b\nTP0j+X3exC/vuoDhBteoWSdTyVmWJ448dOvsBmI3Sxj8ija/ncPxvGumzI/a\noB6AuphpwZ0mGkQytq4fXAfF6y4GkrBE8XW0dEmCwzDtLSkl94i5T+tCQOaS\naMfJ6UK9SgG8HXtjMjY5d2DIG1Wl0tgZ3e3EIeQkU+rn+Eu1qr8hhKhCjXxO\n3poH\r\n=gaBk\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-abYT3XeLd8sv2wc0lHAefIRe/PLyJtu8yN7Mk67poqWvfW6jIU0um5EmZT6Sz0ms1y010i4N+Uy8R1GjmpXOZw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOXkTyvElZ0hdXZQLKO+z5FKDNYnVAJum4mhbyYaa2/QIgZCkhtuYQFmzmBK4IuYrEpjCTzr2xxs4cFOu9JAHSZAs="}]},"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-search-field_0.2.0-alpha.9afde923_1528377417987_0.8439918973312528"},"_hasShrinkwrap":false},"0.2.0-alpha.03c69cf0":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.03c69cf0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.03c69cf0","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.03c69cf0","@crave/farmblocks-hoc-input":"2.7.0-alpha.b47b1f3a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.03c69cf0","@crave/farmblocks-input-select":"^0.7.0-alpha.b47b1f3a","@crave/farmblocks-theme":"^1.6.0-alpha.03c69cf0","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.03c69cf0","dist":{"shasum":"64933081f88c682b829fae6576cd2d51ce8f6293","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.03c69cf0.tgz","fileCount":15,"unpackedSize":30591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGXGsCRA9TVsSAnZWagAAG+wP/iuEqqPnkvqj1mZ5ym74\n51i91Afm9HRtsQXoxTNFv7b0dUtfsr4bzeQeP1scMhVSNy6EOTl2BY/3R+Ig\nwZeTb7qJ/xkkutia98CDP/gGHs5x9F+RS2ul1p2v91JOe9Ys+wiIpZ+dt8q3\n7dAbxOBafVDPR99TPKYhlfpQmBeV59fBZc4UD8GihEi39FfCqqAkF7dTboPh\nb3bLroKMHolbgHgILu2I/8IEuol0iU7jTyQd/hYIW5y5CB42MA1H/EP1HBjm\ns+HX5O8dHenDDsuWUGBCyLNkhgVWniTQheYmMqcOZ3DJpKOp4lGe0azL6YCB\nJrgmyWJXm0/e8saTv3TSMvnJZg4pcAUw/mATDCdc6nEzjEUGIhioLmybX87i\n8WmYhxt661JTUdZ/w1tUeLXaJY9f3a/PjJ+SChiZaSYdoKdo8tKynjrgehbO\ndz6Fg9bdfzWdxZSJl3IHOKFm48LLRcSznaX5onsYYy47p41ZS4QjF9vbihzO\nPaPxL1FxOaWhAljF3e1GQWPdfZZQkRvsh31y8UKYlNGDfRLIyDoRn3fUFKRX\n/DiPke4fj2g5tqt8QfEwyugD7fyi9RRfXGjfFlBpwArRM8jl8kJCE73M4cG5\nXqa0akEsxzANYe4+bGhRWo4eFti6kg+ZnNL+5B7KB48n8iNUUKG/wcGRnHbk\nhSi8\r\n=7dFc\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-i5Zk7DeaBfCMl6ME7h2pcZ3eWlRctxSxd5o9vmm75b/Ozq22X0NFDlfWs/cMW1DdbhWlwhpM2cZ/XE8AdmPvYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeAajA9Pyz9h9/UyYaGlyi63QT9SKxNpthRF64K1wmlwIhAIlg0vY30Gu+PGk1pYKeq/W2LF7r/59UmsGbUN85J/dg"}]},"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-search-field_0.2.0-alpha.03c69cf0_1528394155810_0.5874935893000923"},"_hasShrinkwrap":false},"0.2.0-alpha.a433646b":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.a433646b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.a433646b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a433646b","@crave/farmblocks-hoc-input":"^2.7.0-alpha.a433646b","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.a433646b","@crave/farmblocks-input-select":"^0.7.0-alpha.a433646b","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.a433646b","dist":{"shasum":"412e23bdc79c2343dc0491f0ddf993c6c8493051","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.a433646b.tgz","fileCount":15,"unpackedSize":30067,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGZbFCRA9TVsSAnZWagAAqT0P/1WZ2ofpzcATKkZ4RqwE\nsHqN04etsa6PTXm9bJuETqquaHEh+szviVJqCeZNwm9rS0dCq2TsoiBR1Rzo\npq+whKDVxw928bXzpIBQFwm9LlgH/7qjQ0FE8a1/9jbdpJtxU8RnG1pwvuup\ng7/OK9INcDxmcmmoERB/l7WUm9s8NyEtOb6SyOogwB/BFl20mKqgm0dXUtMM\nXSUMeSCLXFoTm+NzRWxf9aQA9tJE7X3Ywe6WPo3RDM/83XHLAp4q69Vy92QX\n+3S9+IgTwEUWgonqA3Yn60OqVQHl5CpIaYrwDp3bUZKiiQoTbJA++C2wWe7t\nrEaXO3VNTkKmFHBOv2DCSAirt+YXkEBg5C2Ueq0kAEtZ3Gy5fNjFxK2TJByu\n+KTf+LOMtvqILQwOAv5pLN4e/YMLz3OQlty9nr6NsNSOAzSRNj21wKU0MrRa\nYrKG1IHIZBW2bhHGrMOOYKep+AVs22fhKdGiVJoqtT5eguqjsZPIRwtWBUqw\nAMddukzgWDHYV/U2bEpIlaLLmIMtFd6xE/CtfLyw01T2HfF+RPjW62YchD9u\nomtv3To38jbA1TF0RfBFtcYPTvtIo9Q9b6tB8jNYIq03cCpZNQQ+KvHTCHZi\nVpNzDxih5plg4g0sKYfXtVEHWXBZz3vAwt6JPt3GKiww24SDl9wMjcXLNaMd\nHjpX\r\n=rYfu\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-pYfldnWHDob5CugrptTzjCrmOp+tEDRSde+l5HYT3xjOgviMgTrQgaHp6AVo8OMwXJoNwENp85Jq0Rxy/IL3iA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuFSeILnXQyjJyHutJXCHLJFT2QkWd777HcObnKyqTAgIge3iZk2L9Gtpu+AzifACtZEz2aiehcKIYpI7HZGMwdSU="}]},"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-search-field_0.2.0-alpha.a433646b_1528403653051_0.7361311150280936"},"_hasShrinkwrap":false},"0.2.0-alpha.bb4b64fd":{"name":"@crave/farmblocks-search-field","version":"0.2.0-alpha.bb4b64fd","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.bb4b64fd","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.bb4b64fd","@crave/farmblocks-hoc-input":"2.7.0-alpha.b47b1f3a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.bb4b64fd","@crave/farmblocks-input-select":"^0.7.0-alpha.b47b1f3a","@crave/farmblocks-theme":"^1.6.0-alpha.bb4b64fd","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0-alpha.bb4b64fd","dist":{"shasum":"31d66ec7adf724f001da5c1308df183de8a0d0c7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0-alpha.bb4b64fd.tgz","fileCount":15,"unpackedSize":31202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGoMDCRA9TVsSAnZWagAAHfQP/2ZZoMAxhUyPsNygb4uW\n8i6PxEKc6ICjFj//5cKmQy2ciNY8lSZ9Jk+GSOVwhrl6GBGTv26tK44f+L72\nH11gcIFLOjO/cPZSLQA2490eM3gep2zoYKs2rozV5GLWiyIPkcMk6HRqqUw5\nB91IejCG0KYI8dMHHhBItU0oyTROB9T+KBSzLRIJsjdpdlcdmJHD5k9A+JvN\ngPXgKDHGrPGqaM97fNj2akd87PomvapavVOesSjlqPj8A1fAV4/DpxwN4YLO\nfZkd2YTzzEROwnRF/zPQJp6AwhYKvNZwLmmeTLefPd4pkK8ZStZvmDHO6XhL\ntuJQlSsvefB/O+N/almmYOtUaKEYtYqZ0NLOmqsNyLHh+06JZN7dqymbUfLi\n7ZIXgaTiWjZ8xf7e1Uuq2PitIru3ShIXQjSvM95j5YjyuHHiPQW8IswCHF3t\nRvMBlPUhMv49mBntfI8g9Jj3Dt5GoK2kpGPMa2TsqhiuOpWLEm+OBLRdg6qm\nloTdCj38D01pyajUy0MoBqFxyJIARFNJ+tDc52msZzFaCmb/7tI88pjQUWmO\nxLH+GmnCWLEmB6QYohZVF4bQn8fBBC+Q7Fa3lMXiXPPE854uag4JPsrP7hNw\ngyAHF20Q4286Zvn+DOcftCWtw/k13URMeAFy+NnqxNC/OYVHPF7UiQ2ij7lj\nBh9p\r\n=a04F\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-wBv8DR0GMFEStS+3kMIHK90f/TA4Z6W+qjNOi3HNnUpu3GExTyzqqWOtYinwLNGaV/zHjoxuIFryHBb9lvHR0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAvhxBSlTGHInEI9OfsJ6jqdyaBRX5elIBjrVL60oK6GAiAOqlUJc2W/tD/4ItDaS+VI7D0mkQFuUoVsTwtufwPmnw=="}]},"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-search-field_0.2.0-alpha.bb4b64fd_1528464130884_0.31424673195648767"},"_hasShrinkwrap":false},"0.2.0":{"name":"@crave/farmblocks-search-field","version":"0.2.0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.6.3","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.5","@crave/farmblocks-hoc-input":"^3.0.0","@crave/farmblocks-hoc-validation-messages":"^0.2.3","@crave/farmblocks-input-select":"^0.7.0","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.0","dist":{"shasum":"af1410df92a96d7f8c6a56b2b717bb740c90e88f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.0.tgz","fileCount":15,"unpackedSize":29947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGpKzCRA9TVsSAnZWagAA8LkP/AkJOY9oehDtiO6O1OHI\n7W8FKbdLMKUVraN5yOqsmXkMHqUy706bA5CWFyd0hM2b3NXtAkeXcCyc3Ym+\n2qDMPH3vhXTY6Ua0PjTQIH72j9rBJzgJ7pbvnYI3xgzKVrZiku3JgyAJcD08\n7tDsSrfZlO31a3j16bNPxsbavjaDPemdl7bXJMaQvWUlSWxlmmvHdDLROITf\n3blt0LYLDrTBcfWnxWXV95SXcJeaHsDmkjKLrwR1DNBrKbBkB92aGwBDcROS\nOZiNWmZQrdPkFBFFBcvmpcmUKznqgtVpg3K16ScyUSYHAvCoRBDyb5ndBXxb\n6+oenK3xXVj70NBXbyP8V9N2uG0vNr62c76yCPcJ80+M6G4CpNcoTRBuG4og\ngpBiIsJq1EDGeIu16GfnsqzPphwQTL/9UmHLTgRVNaQt5Sd1lt6PiFojabM7\nxeHLQW1NqDXMQc4riHsKAK4bUDdnKaNOEC3KK7uV9CDvXpPXv3TNZP5/DKgX\n/Q5RMoFcp95U14qCzMOl/qJYNce+lFpZ1LILI+5CzBtE/FtO4p4tNjfKkxF5\nUoJNV2ps3PuHomjHDxIkwtuheqJU4ooj67fMuDS6KuKE+HtLqTtZM9XjjjSi\nzHGB+8Ze3e64tKCEUjHxrhn5YZIG7hRnIcLP5NLdzc7sPyWLPHw37wXrf2sM\nFuZX\r\n=Tawr\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-eVHx+RzKC07cFIeSXHlumDEXd7QSeRi3wWJt926bCowB3UrcxSEG9pVo3tTR/Nll8Msov0EnIZAEi0Si3TeY8w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFRk7s5gz5ZW6MAcUgM9UmnKzseVDu2xGQF25FqFwmduAiEA1VXpgg3SIxuJLZMBoAd5pVenndP1IV7w1+kbzpRxFXA="}]},"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-search-field_0.2.0_1528468146885_0.388741716948271"},"_hasShrinkwrap":false},"0.3.0-alpha.d8773cb2":{"name":"@crave/farmblocks-search-field","version":"0.3.0-alpha.d8773cb2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.d8773cb2","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d8773cb2","@crave/farmblocks-hoc-input":"^3.1.0-alpha.d8773cb2","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.d8773cb2","@crave/farmblocks-input-select":"^0.8.0-alpha.d8773cb2","@crave/farmblocks-theme":"^1.6.0-alpha.d8773cb2","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.3.0-alpha.d8773cb2","dist":{"shasum":"fa4550c71c8e0e321d0457c998a51a033b7d4291","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.3.0-alpha.d8773cb2.tgz","fileCount":15,"unpackedSize":31424,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGposCRA9TVsSAnZWagAAZxwQAJkVicrdKCc19WjXd33g\nYSYkV1wzbnuniV0J5GIHvYw+kTjhiM+ZudounVRe9QlxEp+jRCZnf24Ln5ic\nhE33bZ9bTW83gzbfAOShK5YRRQmyaoDGWfQNyVKZ4wU415WeFXwl/pOqAcR/\npW3EbV9F/d6FOIzOY3juwU3S2wY96sulmMN+UujgKH1Vo9U18l1qi9yoPt8Y\nAHAiznWqWkb9LANJOgTKblB7NpWyU0gGsx0sCgX5KnIWWHQRw0qOu/zqlIsS\n+4m2cJ4VCohotHRyAL4lgXZMQoCNS5yJVhyPyRtJCzqsjreIUHn6f7lZUINU\nUywkdXc1URZW0v5iKVzNABZHg3ah0hglVoQrcQ5Rw3q5JnhUhR/R9H2bQmsm\n+HVpXIG35QxW1ZlWwLQ/MQ2zngQUflGcRH8LT1xiQXI3yF8FzeS09aEBoUzk\nWcXVrWrrosyPYaSkj769UbjdOaikP8wQlIu14TohnCVIDeRooVYAaoYi6JB5\nEkltk2ie1UkTBPZJpVOs+HDX4otEVCjURYWc7Z6YnUPq/HKQVAKnAL2gCt2m\noiLR7Xo05lRJhqhPbiTWubRR4UyNNQc/hQio+yMgQtRSSkr+8+Bv8pVCjk3K\nTml/VLG4glqo8vHXwKde462QCBWsXQRQFBz5SQk2oEkKF5A8Vv35XJitPVHq\nmAnZ\r\n=zEHI\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-9MsenvnNjLMdzr+tO32ACF8hcV1Rb6YVTyctWrom8XNIGEuDkG06BQkXUCIFBUUnJu33Fr+okT1l27ElnHdoAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ72Mbcij+jf///CINv3iSdMN0/2b/8exjSQxQ7TO89AIgC7I1tchsQ8nM/jqUjBcOxIpszLR1xrHKLnSEN5rxSL0="}]},"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-search-field_0.3.0-alpha.d8773cb2_1528470059702_0.8542964758066542"},"_hasShrinkwrap":false},"0.3.0-alpha.448da3a5":{"name":"@crave/farmblocks-search-field","version":"0.3.0-alpha.448da3a5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.448da3a5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.448da3a5","@crave/farmblocks-hoc-input":"^3.1.0-alpha.448da3a5","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.448da3a5","@crave/farmblocks-input-select":"^0.8.0-alpha.448da3a5","@crave/farmblocks-theme":"^1.6.0-alpha.448da3a5","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.3.0-alpha.448da3a5","dist":{"shasum":"841d5b76bbe1b67575e38cdd02805fba495375ff","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.3.0-alpha.448da3a5.tgz","fileCount":16,"unpackedSize":35068,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHnDQCRA9TVsSAnZWagAARFsP/ArrLwC4pVgW/dCutkNu\n+oEs71obtSe5c4Ecaw2VedUTxv1HyOq5w/g03C1LCl92/hJrk+++ZqRvjCfw\nEi9UhG99RfuSZUiQz0qcoL1CvV4VglhbFIQeBMpuJQ05kAEmCf3DLrhH2zHC\n7t3dzQsL+Y3Z+c/Kr+r6SKwCi9h2Klim+mROx1fr5OsA9/FqVOaNjUHtG5Jk\nnuaoIn8OokEmRthC12lQDqDdQwiO/W2v48MVN3MfbODe4JKcT/GOxS1AYOYk\nVFZaTsmuIgFOCKCOGrwA1n+CZIdVKoFNGheOCwTdtp10Iyjh6IMQnza+/4yz\nkk5bThnMbAUA/zPSl4sPmuvDCmdff71fgwcsysz5zHr3E2ctu0r7Ff/5jVHS\nQaWOIP7/TtIUE1n1dsd62BtJ4WmgoBzHdM7fsOhPI3H0ttaHmahDqxhnm4jD\nrvMc6m6beGBrA8RVsMjMsYuif6/0fCejfrcNmWvg+I7Td+4k1kTbMeLhnPIS\nk2gCkVdV5A8fkiH5ASxNYQOFfsm7BGtb7VO+Kj88ijTXBsM7Qh/ISgtixLbR\n8czJvhSq/HoS9gd/4W3637ur1VjdzlS6gUL+PTAjSMqcMUqhaQA5KGQT7T3t\nAqfPP0OWGjmBQd1lDX9mjM9p3dvCd3lakRKLSwSexy+2Y7JT6ODtz+Zc35Nb\n3fW6\r\n=ZZmR\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-u4HJe3o3ElATYB+j4eeBU/dC059j9uz+4zMZ9uQeT5hjBdmH2DFlrekmOhzfd8oaZyZ0zfOUDhqd3CYTjRkH2Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEkvOL04a8iLPE+lHPZas7qGTwR1wIBI8afQo8PpYejKAiAfs/jj01GYjiKwujuRA75a3LUoIbo2L1F748a0zn6ltg=="}]},"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-search-field_0.3.0-alpha.448da3a5_1528721615594_0.38470305120112713"},"_hasShrinkwrap":false},"0.3.0-alpha.6fef9195":{"name":"@crave/farmblocks-search-field","version":"0.3.0-alpha.6fef9195","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.6fef9195","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6fef9195","@crave/farmblocks-hoc-input":"^3.1.0-alpha.6fef9195","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.6fef9195","@crave/farmblocks-input-select":"^0.8.0-alpha.6fef9195","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.3.0-alpha.6fef9195","dist":{"shasum":"08223fe2907e521a53d3bb61ce79fc7af5376ea1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.3.0-alpha.6fef9195.tgz","fileCount":15,"unpackedSize":30327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHqdFCRA9TVsSAnZWagAAzkoP/3jfBMpSabkOXGcM3Q22\nK+h6DfubfyPBLizDTtN7A+tNa4kXEPjvZDAYFX4MfGlOMTAq4Uc2F98gnAru\nR0IGaWSHrLqyRCC5u6yBj14vQXvBldHv31JsVGcMqFb16xcbQfJjM0QraWNk\nvxdtbm+i2GfBb1+b0M+UtAa68Ni7hpkbSPu8ubg3/uHrxkpAfENRslle5qBM\nDVmVNrIYQEqIEzKGd9qLlCoOpZamD7vSZyCCVRIeLY4IJjeGD/ouD/z3dXiz\npWNteGy7M33CvKMar4DXEy3Q3gdWe1l1lXXdVpogiEq/awlkgNOgTndyDrk9\n3ttrQvrK39tuFEjdY8dAx055XcxhNmrcJLL47rT5jPYrWDv854/39WP5UbwG\nhULMP/IF1mEVxRxm3+iPhBnoDI20mC3T52pM4FRuHfoUylpGXrYklIo+L/jb\n5Imcq1fwJ8eAsapu78ytRompEeY+MCcnVVsfD6yRMgfQ8gKocwdjTcdvoCIO\ndQ7W6NNyf/AEFe2IG6f/lgvfuolfOBZVe6dTXCYA1j+moQnhpXdtCU5K+T8B\neQ7XXQniuxrq3cwPuZW4H5MYOPNNOzYUIY07bYGUSyLAcfLwz6OhBH+4oUQ4\nYkQ4+11FtqpiN/tQZkKQ4Mowrlc47MTjnpAKZ5s0yXhHNOTDYTTrXChFveYR\nX3u+\r\n=s6DB\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-n+Eo/S5VhAqigL7BrC9xRepr00SRRq5YpxRzE+2S7SS4kcgV+n4CkV2A52RmP+p6jGOqke60teI9Ug/2Hyd31g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAwwGYEb6Km1R5nKzgQNV741BSJ7xZw6bQalAiNuMEVDAiB5z1UT1OCalkn2uYzwM/gLls5NQae+8pa3SI2ZILsO3Q=="}]},"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-search-field_0.3.0-alpha.6fef9195_1528735557068_0.9262822073585522"},"_hasShrinkwrap":false},"0.2.1":{"name":"@crave/farmblocks-search-field","version":"0.2.1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.6.3","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.5","@crave/farmblocks-hoc-input":"^3.0.0","@crave/farmblocks-hoc-validation-messages":"^0.2.3","@crave/farmblocks-input-select":"^0.8.0","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.2.1","dist":{"shasum":"b9d63bc13a58f420f3803da5d94d2d017faaadf1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.2.1.tgz","fileCount":15,"unpackedSize":30193,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHrJiCRA9TVsSAnZWagAATIcP+wbTelibOjtHWIa4HRF/\nOoQJ9dW7e37UD+51t4agjWDG8UvisBEfwwi9W0UQX35js0lPyVUz31xqisGI\n+1IYb/yr5yBgJXDkjP3aw2ActTvmxDSw3o1acyfolmSmL2Mn8uaWjXYXLczd\n7K14kTJDBEOQxO1i1Oz6VY+FYDe8YwFM7s1Y0+xuRG4PYGKpNUSLKOjrYKVN\n/aQbZDuJbuCG/MZLo4iJNw0ABQOrqC/UL2KuCQpgJYWENXQ/aMakkQqQD90Y\nQb+Q7ndF5jy1mn6DdNapqFi27VQaIxKRdcLQmANb9+YRET5J7YJO+4Ar6XGF\ndwzL7/+o9ZdUULHBZMTlyewcDKr2RARaasztIcarZZmvX4z6ggewJJCfAL1u\n4lZrFdoIhZFLi9Bt5xc4i+8dmbEPcABH2OVX4dLhFUCfaRvl3+a/a1WAfmpO\nYMVufGWkc/Jpp/vRGQ6AHJhvtd4kt6CFbEP6xWuLr/q15SYhFORm64fcly4j\nuJ5cEIHrym4Y5hd7FNTi32DsIooXFu98JNtO0nHD5iLvgWHq8ctNHE3zvXnc\naE33IzFz+W/681sblJGuN2e02o6FWBdL6kMExtBiKxQ9yrGJQ4bzbO9ZD41S\nggmdDSmIfTfnwTYTZYgB6JGyNwlvBUczSo2BsUEV3D0ojI6275j0bbF6G+5M\nbykD\r\n=6mLA\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-8YCmF8mztX5TCKO1luNdHvybDc/GDbHFv+kUFbEV2XXHXQmc/zjKHyKa57JNaoZITdHeoJy5R3vXEZPvRAe8Vw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHVoUPH0WQqSS+sMhj66v8feBHtu9Usz7QuZf6bP3wrIAiEAhjd/2+y3h1OgrbqFo+0NqXSO0oGGfRBWlumoXepeOBY="}]},"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-search-field_0.2.1_1528738401105_0.6143919170125014"},"_hasShrinkwrap":false},"0.3.0-alpha.3684de82":{"name":"@crave/farmblocks-search-field","version":"0.3.0-alpha.3684de82","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.3684de82","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3684de82","@crave/farmblocks-hoc-input":"^3.1.0-alpha.3684de82","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.3684de82","@crave/farmblocks-input-select":"^0.8.0-alpha.3684de82","@crave/farmblocks-theme":"^1.6.0-alpha.3684de82","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.3.0-alpha.3684de82","dist":{"shasum":"fd4dbee5d23e8ec50faa3e82ff45d4d93445a029","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.3.0-alpha.3684de82.tgz","fileCount":16,"unpackedSize":35270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbHt2ACRA9TVsSAnZWagAAQmwP+QClyOuGFGx6rfZ2OllQ\nlhe4vNlMZrj90yjmAvwbVjiWt949VRfPDiewvGE0KL60h+wzLYucY0tevJD9\nEZlunKFbUulvjb+tbmELq25KiS4Q2JPt/ryfCFLOunYjbFnkDZ+9VAzHglal\nEqV2n4mlvdKK93XjburWa0YGrndbkJAKEZhKidy+BbUHxHdg8Y3NQhMknSSM\nAQ3xD3Hu6uctQrVzgTONOSE9R+Du78xvHmzlrK4hEU5iJkrypCArPliiGMdR\nC/ZKysYi2633RmGhc7oWCk3131RekkuOuYPp33Zzs2HLB1oI1Xr6NLiwxOYU\nZY0jZei+OZ2dYV4M0ythwTU88i9wGJhrwBfZQanmLr1NRnOa3RB6JIufY0fs\ntP6b2MtepQTgrtir8Z0+XFm/PyRxZsIYy+I7yc2d0kg5JeqwO3RDLi7EVae2\n1dYJ6Hmy3VOPUsPbWpiMLK9epNZEmfWvVmEzctlK78DKLMJ+i96TtFBlS9l4\nULmhoXMg14rYqwz+YNu0qFwkOQ7JjxvHxF6VPHyTWi7+bDhMgtE1dHS9fcaf\nGEi2bA8+Ey1WQWVv0eMK2RfJcsV8QguGkwMbhTZKV4cXM+VNvkpi/bTTVPkH\nskMQelT4PBSFRz3MtQSM6hM9rieUA6ED7BRCCXaMIm0J+qbs5uFvZJQW4sTQ\nJdbQ\r\n=XYMc\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-ZhL4AZgUGGdPqQTnP15VBmhv4ZWUpAlYeaGU0FKM7qY0yumrj3TSmpDGmPIGC/vwH7zzy3/st46d2T5Mt3AENg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCKnNNHQT/tJ+UJDDPJLQVQGiF/SpzL2Nd/hy2rkbvBXAIgNKWWUKjijknL9smKEeIZ1/Zy0ZxdmloQGYiEKRUP0VA="}]},"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-search-field_0.3.0-alpha.3684de82_1528749440049_0.0693731735598373"},"_hasShrinkwrap":false},"0.3.0-alpha.6d5b7b13":{"name":"@crave/farmblocks-search-field","version":"0.3.0-alpha.6d5b7b13","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.6d5b7b13","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6d5b7b13","@crave/farmblocks-hoc-input":"^3.1.0-alpha.6d5b7b13","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.6d5b7b13","@crave/farmblocks-input-select":"^0.9.0-alpha.6d5b7b13","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onChange={value => console.log(\"onChange\", value)}\n        onSelect={value => console.log(\"onSelect\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                                           | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                                       | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option                                                                                       | string                                                             |          |             |\n| displayValue     | Use this whenever you need a human friendly value while keeping the original `value` as an id or slug | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                                                | node                                                               |          |             |\n| width            | Width of the component                                                                                | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                                   | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onChange`                         | number                                                             |          | 500         |\n| onChange         | Function to handle changes in the search term                                                         | onChange(event: SyntethicEvent)                                    |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                                      | onScrollReachEnd()                                                 |          | () => false |\n| onSelect         | Function to handle selection of an item                                                               | onSelect(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.3.0-alpha.6d5b7b13","dist":{"shasum":"6dbf15946b4347a0379b4256561d6aed766d9847","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.3.0-alpha.6d5b7b13.tgz","fileCount":15,"unpackedSize":30573,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH8ECCRA9TVsSAnZWagAAxb8P/0TcCQyyMRyWVrPdtpHt\nZwin9FI0UsUgPosJvo3wAWhbzPybfO6XcK2hib3UxGStVsgyTa1/bpQGkwRT\nE5kPHyRLhR7UXsW5FrGZOQFGxcFMsFC4EXrJEquSaxWS90pA4BhPt1TXQ9ws\nLgLzT9XN1DAItdh2erkv8XuqZA3+o5jkigSdwC9bl1v/prifcueQUGsdNVj/\ndUyJv/dAma4HRpmGjDysS3ec4Vt4phiOyaES95bJ0QiygzCRCHBHtx+v/8i9\nfPOxxtVNZsJDbjhI6PucXezXxniQPMy9dmdgFA5TUKxYUZ4sqU3kt8qOvq/h\nqOorDrLImqSkS0jLH6z3U4sSY768xXwULUdGtZw23/OhdVCE83hvvEMTnKV9\nwoSBHuPwet0wAjqkF3TZSjx9+lCfv+nRsqEnHcYPCehZr/adf1tAjoBEcJex\nIBcxKx6ln7FfuN7WzAoC7BMzfiEsxOUeP5sAb9FeX9IsHC3GNhUyxkxhp86m\nFXW4T+L+wwB27HJVp7rDvOv+lsvmS+tHl+ksuKngKz9y8xIVdBAe3MJwbI+R\nRobG6GwVTdQ1FzuL3iTTp+vebPddB1T1bXMVoJIKyTG1USiK5YAgAo1YXtC1\nnritsq7+fGNe+/0owlwTaMkZpKd6t2ZuGAjzwzd+8oR/OE5xeO8OrZljP7yX\n61xt\r\n=i4I4\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-fgGApwfuX1FDdr4lAJIYBUVLSf3LFju9PtFFXrBqM6F6A1J5JNJ9y+9ExL6mf+CiPt9bcDGdMojMXb3P70oG4A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFUEY3DkM3y2JFvHdeKBRBG7vfNLIVzUvui+U65IdzPfAiEAnsNT3qnK4DLOsFpGd1eHmC5O+DVacYfV8XqvZ1WcBmk="}]},"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-search-field_0.3.0-alpha.6d5b7b13_1528807682415_0.77843976944167"},"_hasShrinkwrap":false},"0.3.0-alpha.ded52547":{"name":"@crave/farmblocks-search-field","version":"0.3.0-alpha.ded52547","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.ded52547","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ded52547","@crave/farmblocks-hoc-input":"^3.1.0-alpha.ded52547","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.ded52547","@crave/farmblocks-input-select":"^0.9.0-alpha.ded52547","@crave/farmblocks-theme":"^1.6.0-alpha.ded52547","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.3.0-alpha.ded52547","dist":{"shasum":"fea19c8cd4315b767382e739e1cfede059be25ff","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.3.0-alpha.ded52547.tgz","fileCount":16,"unpackedSize":35516,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbH9K7CRA9TVsSAnZWagAAYf0QAJ2Z8eDbd71u35MeNddi\nBTLNrqNPRMJSYlWxato5tFXgCwXrBZVZgWfUFJGDC5Ii17/u08wc8/bDV2xD\nRI+fxD1vqeCaoDY5YLLk0RxqrUHJv/ACZogO0g9Kl1GCMJrv+n1SUmjEBPip\nHJb5BDtVOnd2sWu71K02bwMSzxp+RYBA46qaOacyEdEJlKAPx+9FoARSHvVp\nWTDN1qRY7sRNVoGW02uEDJ7AyX1lrDRJ+82qDugqDA0hAXn3lOYiped64RtC\ncZ/yT9EFknL/mEu0sPTW/JkZdOAHQBGumM6mRVCNSVcK5jauH2DPqZ6P0znM\n72ApNzQ3LZfQARKbKIY99szrYoGn+/EdkVew6ovXcO7lpQh74JY9uPdhsVg/\nJnk+PFhhKCO4AKmXlpMpqJ+08o6xZ+HNwB363EsJUV6QAkfxnR/KyeOQZp5a\nYwXqM6R1ZqBRLEMdh8fd6LBWwGDc8tIw9tAzpmjRzjP9ds3WEAeVFUTvTD6I\n5NACU+K/8y5AWUdrvJmkFgY9Dzkdj7YvT75jXVmk1b2PTZPwAVnI4n7fcco5\nkN1A8/fAvsMSAn4j0zvylskFIzWCb8FfEx7bg2D/jQdEnWcHL8HTlKcavmPp\naYy8s/EfPQPRM08sptw/pXeW32SQpjEEEMhG+CIYzltnOUTkEp9+UGNhKzAG\ngX/h\r\n=UXdf\r\n-----END PGP SIGNATURE-----\r\n","integrity":"sha512-w/paScjPq0AUoNhOYuuLGLUS1e+HoDKuLRCc6512gJipqAUsJYLgLBzOe/xpkcl48ns7GqgKAvAL6M9qwas+xw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChd1pji4MzereIjd7+GX7UJCfzWs0X3MacL4NdYPCYDAIhAISfPCvpI6ePqnxgHtcOZ+oa750g7qm/9KA5RFLkPI0L"}]},"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-search-field_0.3.0-alpha.ded52547_1528812218788_0.9085053000993324"},"_hasShrinkwrap":false},"0.3.0-alpha.af7cb427":{"name":"@crave/farmblocks-search-field","version":"0.3.0-alpha.af7cb427","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.af7cb427","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.af7cb427","@crave/farmblocks-hoc-input":"^3.1.0-alpha.af7cb427","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.af7cb427","@crave/farmblocks-input-select":"^0.9.0-alpha.af7cb427","@crave/farmblocks-theme":"^1.6.0-alpha.af7cb427","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@0.3.0-alpha.af7cb427","dist":{"shasum":"4b627537d8f64daacbe30af22c8396d0b8d64316","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-0.3.0-alpha.af7cb427.tgz","fileCount":16,"unpackedSize":35516,"integrity":"sha512-t42O0vpprLLaE1leNLS+DomJGxbpv4GsWoIUjJWiPSVdQQwDJDEDhn1hTzT+EjPjFW5KSdXC2mOBLU9fsMv/wQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCP0XQWisThZ7QZVZkgfiSIXnW7vhalBlK66BPvDQjFjQIgc0+KRkPbb7z+4/wmBSM4r8bd/yurTYRXTHEtx0NaVNE="}]},"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-search-field_0.3.0-alpha.af7cb427_1528826579495_0.17797754946726618"},"_hasShrinkwrap":false},"1.0.0":{"name":"@crave/farmblocks-search-field","version":"1.0.0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.6.3","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.5","@crave/farmblocks-hoc-input":"^3.0.0","@crave/farmblocks-hoc-validation-messages":"^0.2.3","@crave/farmblocks-input-select":"^0.8.0","@crave/farmblocks-theme":"^1.5.1","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.0","dist":{"shasum":"77beb7e34bcacae94e25e326bba2eb0d40287b87","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.0.tgz","fileCount":16,"unpackedSize":35366,"integrity":"sha512-N2UM+45MTMBHQ4BdEHOEbKco9Jh432V6aWSUmXPSNq+ab8uShqRMZ39IshA938wOzzfwDSBS9oCqTBpBgkDTdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdvFbx84qAuPWtOMSK6JiOfEPqkq+Fau58sLLH6pZEHAIhAKNjEBeplz2p+F4A2PTG7YCuajAFylBM2FaIRSt1OXFJ"}]},"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-search-field_1.0.0_1528828786433_0.43881573764387416"},"_hasShrinkwrap":false},"1.1.0-alpha.db16d392":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.db16d392","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.db16d392","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.db16d392","@crave/farmblocks-hoc-input":"^3.1.0-alpha.db16d392","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.db16d392","@crave/farmblocks-input-select":"^0.9.0-alpha.db16d392","@crave/farmblocks-theme":"^1.6.0-alpha.db16d392","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.db16d392","dist":{"shasum":"81e4324b31d231e4ea86458c9552ef4fdb39b2eb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.db16d392.tgz","fileCount":16,"unpackedSize":35761,"integrity":"sha512-WIfXMa6gevvx3xVAlWPvJFHQpwXdWDJM9mXhpuNsYnmXsdsKu/JA8FfCfw1E5yDl40WcjpXMJwQ2/HjklNCvsA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEJ7SvDINwodVTeyROsPc3bGCC4sS3pBV2ejK8S/WlP9AiEAvaEyaxTzMY7Se2nYdmE/3p695PlEvnQAMUiWjqARweU="}]},"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-search-field_1.1.0-alpha.db16d392_1528829900773_0.736052243181305"},"_hasShrinkwrap":false},"1.1.0-alpha.26aa4e30":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.26aa4e30","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.26aa4e30","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.26aa4e30","@crave/farmblocks-hoc-input":"^3.1.0-alpha.26aa4e30","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.26aa4e30","@crave/farmblocks-input-select":"^0.9.0-alpha.26aa4e30","@crave/farmblocks-theme":"^1.6.0-alpha.26aa4e30","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.26aa4e30","dist":{"shasum":"a7e560fb0bb9b42bfb7cb55d6baa3ae9a62e0474","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.26aa4e30.tgz","fileCount":16,"unpackedSize":35843,"integrity":"sha512-QOHTbbBqRPMsweUnc0MzpYMsYWCD1gYx2ZIhTpcEi3vGoRuvPU86BCoOBrUub6dUY0qXoSCMeryPEVoOQH8nnw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAt11tWW47Zph9JcYDliLtQU+jVAxpINx2hqkzU9kclfAiEAne5wHg/7VhOAzP1wUc/w2H/HG63CWxuY2tjpC3YIR2c="}]},"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-search-field_1.1.0-alpha.26aa4e30_1528832149425_0.8125319992660887"},"_hasShrinkwrap":false},"1.0.1":{"name":"@crave/farmblocks-search-field","version":"1.0.1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.6.4","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.6","@crave/farmblocks-hoc-input":"^3.0.1","@crave/farmblocks-hoc-validation-messages":"^0.2.4","@crave/farmblocks-input-select":"^0.8.1","@crave/farmblocks-theme":"^1.5.1","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.1","dist":{"shasum":"462ec7bf2c19ca961bef3a967a232e4318ab8507","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.1.tgz","fileCount":16,"unpackedSize":35694,"integrity":"sha512-yVSs859KlhK7YSxITAOSdHWCCkAptiMuLXnzbko/d+6bm0t0tPmGvaEJcjGXFBW+FSPBmXp27oHQqSw8b3rUUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/lgDsanMpZ3Z0ge6VP71eOFa7rHW5skNlN0N5oQInUAIhAOxWBAiI3QkLaGa5aDZWyfIlMxCv0OF/rCwTETRNhTyF"}]},"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-search-field_1.0.1_1528835077097_0.10690888344712945"},"_hasShrinkwrap":false},"1.1.0-alpha.9ee3ced1":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.9ee3ced1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.9ee3ced1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9ee3ced1","@crave/farmblocks-hoc-input":"^3.1.0-alpha.9ee3ced1","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.9ee3ced1","@crave/farmblocks-input-select":"^0.9.0-alpha.9ee3ced1","@crave/farmblocks-theme":"^1.6.0-alpha.9ee3ced1","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.9ee3ced1","dist":{"shasum":"36d2e3ef6ce43332a202b00acbff74778b3384f8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.9ee3ced1.tgz","fileCount":16,"unpackedSize":36258,"integrity":"sha512-U7Kz9pbwVdH6FYuVPeyUluHU/wY2YlutFNGyi+pZsKaL/l1zXRkMA98LeI5pFA7EN0Gv2UhyTlS6DHwOrODokg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFYIsRH7udv5w/ESc+P/wbxyD4N2BxcJynMH3ZoTeEfmAiBsaykhHfuLVYhxxZsKz/74DYmlpk7tbRX66IMhDL/6zg=="}]},"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-search-field_1.1.0-alpha.9ee3ced1_1528980963979_0.4194581578056842"},"_hasShrinkwrap":false},"1.1.0-alpha.ad61a982":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.ad61a982","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.ad61a982","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ad61a982","@crave/farmblocks-hoc-input":"^3.1.0-alpha.ad61a982","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.ad61a982","@crave/farmblocks-input-select":"^0.9.0-alpha.ad61a982","@crave/farmblocks-theme":"^1.6.0-alpha.ad61a982","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.ad61a982","dist":{"shasum":"9a09b9912a4f40d69fdc715eb51d18c09f413ae6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.ad61a982.tgz","fileCount":16,"unpackedSize":36258,"integrity":"sha512-3rLxS6a86gmY2vZAKwJEj4vosAwZAt7H5xprxe/SN/0P/MMrBt8KBWu/SGSJ6nxW2FXxIqxhAKrHO8Hj5DcI9Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBSO+73vAP4r3uxPVmH6sq7FpN9O7Qa5mHRc6Lr3Z6b8AiEAsOXxP3GEE927bIM4Ynz/Uco7qxhhn4AK7qrCF8O1Fog="}]},"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-search-field_1.1.0-alpha.ad61a982_1528981202786_0.8897350779079964"},"_hasShrinkwrap":false},"1.1.0-alpha.ea5a0d58":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.ea5a0d58","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.ea5a0d58","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ea5a0d58","@crave/farmblocks-hoc-input":"^3.1.0-alpha.ea5a0d58","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.ea5a0d58","@crave/farmblocks-input-select":"^0.9.0-alpha.ea5a0d58","@crave/farmblocks-theme":"^1.6.0-alpha.ea5a0d58","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.ea5a0d58","dist":{"shasum":"dcf3a6eff2b8bc9720a11630189093a22329936d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.ea5a0d58.tgz","fileCount":16,"unpackedSize":36236,"integrity":"sha512-skOiBy8VbBO+3piePENKUgg64rMb/sKMFX4lBJUaptcXeVFwYF3jvuXa/DjhuaN2uNgXSXLUDpkKTtN+CwqOQw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD+6JFr15lCut83wZW7ZXtaLgftXls+i9zvyipoefTCEQIgBhgvu3hYp7OBcGOcb/XKFG8mik3lf8NrG+GASPFcnXo="}]},"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-search-field_1.1.0-alpha.ea5a0d58_1528983764408_0.8898660462860173"},"_hasShrinkwrap":false},"1.1.0-alpha.7d3f778a":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.7d3f778a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.7d3f778a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7d3f778a","@crave/farmblocks-hoc-input":"^3.1.0-alpha.7d3f778a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.7d3f778a","@crave/farmblocks-input-select":"^0.9.0-alpha.7d3f778a","@crave/farmblocks-theme":"^1.6.0-alpha.7d3f778a","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.7d3f778a","dist":{"shasum":"b30bbc6f47e8b2d370959185e9e2a228a8c6f00e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.7d3f778a.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-2YZz56fNftcXW0NNo6Hqz8TH32oakWe4N+/IRTfdnrigh8r1OXGOrffLIgkfTK00jhP+LP7oFDK2KJN4oNrZrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDFvdGpqkUtW9dU8CQl0Tf3SR9C3qni9s2DbCC2kLHaDAIhAPPnxM9rsy/4VnFVqZ33xvf1a/AKOHmoYk9Wo9dd2QMP"}]},"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-search-field_1.1.0-alpha.7d3f778a_1529039852728_0.07210989284213354"},"_hasShrinkwrap":false},"1.1.0-alpha.21f71177":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.21f71177","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.21f71177","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.21f71177","@crave/farmblocks-hoc-input":"^3.1.0-alpha.21f71177","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.21f71177","@crave/farmblocks-input-select":"^0.9.0-alpha.21f71177","@crave/farmblocks-theme":"^1.6.0-alpha.21f71177","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.21f71177","dist":{"shasum":"04d2b4d43ae74cc98b7374fb8cd66f4da20ef300","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.21f71177.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-gnPP9o6aTozljw7j/rETNiYWv/E0TnQL2QRhvjnYe2DGpMtlDYfMW+qGGEbrljNspnEtU+Qo4dy1Si9e+MVyPw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAtG/ykXqXAMc9MnSPTcZbZb/SRNGvEHhSbGJJV6TQi/AiEA511u2dDLSi5L2QZ21xX5d6UxwnrbfHqpGLVeKGqXJk4="}]},"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-search-field_1.1.0-alpha.21f71177_1529071657087_0.5794109852206815"},"_hasShrinkwrap":false},"1.1.0-alpha.29be50c6":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.29be50c6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.29be50c6","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.29be50c6","@crave/farmblocks-hoc-input":"^3.1.0-alpha.29be50c6","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.29be50c6","@crave/farmblocks-input-select":"^0.9.0-alpha.29be50c6","@crave/farmblocks-theme":"^1.6.0-alpha.29be50c6","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.29be50c6","dist":{"shasum":"8a2dbeb8d68c2a5c5b396c832a03c2884bc4ba78","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.29be50c6.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-UyTfz+0pVak+ZlRYrFYp3HxntIXm4oje9RYWNPvw0A45FATyS1GYFZOxznCFpkvWucedWs3/vffFbSwHFM0Crg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmg++QdHK0tMVwfEJ9OZM5X0bzkirzr/crOk1Rl6cbmAiEAjumTMqaFmKZv/YyAxgfEJHuBEeWjeFWavsbFfK4CTuE="}]},"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-search-field_1.1.0-alpha.29be50c6_1529080258731_0.5669935381781586"},"_hasShrinkwrap":false},"1.1.0-alpha.e0ff2bff":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.e0ff2bff","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.e0ff2bff","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e0ff2bff","@crave/farmblocks-hoc-input":"^3.1.0-alpha.e0ff2bff","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.e0ff2bff","@crave/farmblocks-input-select":"^0.9.0-alpha.e0ff2bff","@crave/farmblocks-theme":"^1.6.0-alpha.e0ff2bff","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.e0ff2bff","dist":{"shasum":"eb29124839494296c88293232f5f116381767c9d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.e0ff2bff.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-cVaKhWMEY1zyKwiEwu+ElKCjZkBAb+KAjWDocOyzWf0qhbLZ/lum4HpXjLsQk0GI7KTSJxbOCzBWfbZsM9r19g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7hQNK1L5tGt3Gi6aA+H91+1VwvNMREMHf87wU/j3NFQIgVN+Cizl9CY6OErVUvmSKrQzHszuuLhGFf30HFa5FRno="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.e0ff2bff_1529094196985_0.9167211709080498"},"_hasShrinkwrap":false},"1.1.0-alpha.90dae1af":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.90dae1af","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.90dae1af","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.90dae1af","@crave/farmblocks-hoc-input":"^3.1.0-alpha.90dae1af","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.90dae1af","@crave/farmblocks-input-select":"^0.9.0-alpha.90dae1af","@crave/farmblocks-theme":"^1.6.0-alpha.90dae1af","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.90dae1af","dist":{"shasum":"0a781bfecda591622e7f578e592612d68cd27cb1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.90dae1af.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-WCrp5ds9B641k9r4dbOr18psQ/giES9DywAZwSA7ffcMdaDYje5WZ/ZQHMdRNre8evnwNDGyXnZHZy4l12nYSw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDaCUy5IR0dTdUJl2VNNcyK8ESd4wpEsOcY6tReWYagNwIhANV9ckfww6o3ikzQk3E+zKdRlCtth27EZPIWVii6qFvl"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.90dae1af_1529094617963_0.7155822496518696"},"_hasShrinkwrap":false},"1.1.0-alpha.9f1e5d50":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.9f1e5d50","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.9f1e5d50","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9f1e5d50","@crave/farmblocks-hoc-input":"^3.1.0-alpha.9f1e5d50","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.9f1e5d50","@crave/farmblocks-input-select":"^0.9.0-alpha.9f1e5d50","@crave/farmblocks-theme":"^1.6.0-alpha.9f1e5d50","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.9f1e5d50","dist":{"shasum":"e4d4b2d94370a94fc94f584330f2c46b6210e0f7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.9f1e5d50.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-cm3y2cFWDvxVA6GSWyuDjvZvFD/hNId/GMGXN47OUFaQ4IanXvkGJtmXz/cLY/XzTg2W051YlJplmGXwEcvM0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2lvItJ6pFNPJBdTJpRlve4ceCqhALV0tdhMAYzHlTAAIgPww6gsb18HNIjLX/ulPKw2M99j6QiDn+JhAr/GesD/s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.9f1e5d50_1529096313859_0.27356595756631985"},"_hasShrinkwrap":false},"1.1.0-alpha.f9c280fc":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.f9c280fc","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.f9c280fc","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f9c280fc","@crave/farmblocks-hoc-input":"^3.1.0-alpha.f9c280fc","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.f9c280fc","@crave/farmblocks-input-select":"^0.9.0-alpha.f9c280fc","@crave/farmblocks-theme":"^1.6.0-alpha.f9c280fc","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.f9c280fc","dist":{"shasum":"380158406e5f10016406ace80a0f1cceaa77dff6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.f9c280fc.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-BUI2+H1PHcu0hrTok/qpsIFBrloPAZk4ye3udl/tHl0FVn4DdvNKDC5+0bnTpEfq0bGz0nMURNZrfIFpVCzMRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDN3wsYLR2mhzSULrRTCYGoyc/I+L/HJLxXuX1YbsCf1AiEArWuNEghokEkttp/Bi65SLqx2ZDUz8Qsm7/J49AtpH6w="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.f9c280fc_1529103032015_0.0319154954369536"},"_hasShrinkwrap":false},"1.1.0-alpha.25243305":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.25243305","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.25243305","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.25243305","@crave/farmblocks-hoc-input":"^3.1.0-alpha.25243305","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.25243305","@crave/farmblocks-input-select":"^0.9.0-alpha.25243305","@crave/farmblocks-theme":"^1.6.0-alpha.25243305","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.25243305","dist":{"shasum":"86bb1a17929475ba8e3e39895038161fb91a1156","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.25243305.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-hQKF0qG10IocPDm7a1nfFF8r4HPHOahhoQ9x9z78h8kyqWO23PKd6ijmjKcyF/sWaEFuxnB4msNV39JrP6s95w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCQkYR4f8CMmtS0bcppUPdN4Ni8iHTX+1UFiwiTa6ltAiEAt3EaHzSSdVRHOQ3xqdgKvWJxWTcGafmNQhUYxZfkUAs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.25243305_1529331082242_0.8904488344391801"},"_hasShrinkwrap":false},"1.1.0-alpha.b69f29ae":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.b69f29ae","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.b69f29ae","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b69f29ae","@crave/farmblocks-hoc-input":"^3.1.0-alpha.b69f29ae","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.b69f29ae","@crave/farmblocks-input-select":"^0.9.0-alpha.b69f29ae","@crave/farmblocks-theme":"^1.6.0-alpha.b69f29ae","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.b69f29ae","dist":{"shasum":"7e2cac3c786e5feb94ecca40358a7c8c8d21f328","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.b69f29ae.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-Maa//Sg473DonVNGbMTzuS6077NJCu/63BNymEYVCpUmwIZXi8N+MMR5QUEib/7hXZ35dkPwGdFG2M3eV1tKKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCJxWIAKX6LAQeJ3ONrhR3J46rmo+KcoVYqtXxu+uM/IQIgOEwvTogOr436q7vBR5huRA7WmH+aojiLXtFXI6x3dE0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.b69f29ae_1529332428203_0.779636503514024"},"_hasShrinkwrap":false},"1.1.0-alpha.ce9d680a":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.ce9d680a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.ce9d680a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ce9d680a","@crave/farmblocks-hoc-input":"^3.1.0-alpha.ce9d680a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.ce9d680a","@crave/farmblocks-input-select":"^0.9.0-alpha.ce9d680a","@crave/farmblocks-theme":"^1.6.0-alpha.ce9d680a","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.ce9d680a","dist":{"shasum":"7775a823c40fa2f1df7f182dfb6faf374bd176c4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.ce9d680a.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-BZoDTEq+eYFNKx8Ucla5eE5+FPjK1usdM48PHXnbKd57zeV1gQN2pkkfFjOsMupB1LhMKmpgCb66IIar+5asDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCGdHjjg2FukqE0Jc0adE7pRnTsVj5sCu2g+zVGAy6NIAIgIzP6yN4/xjEHOu816Fk8uAgV/GTDiB43/3y7QOLMt/I="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.ce9d680a_1529333459932_0.2423862255249125"},"_hasShrinkwrap":false},"1.1.0-alpha.8d708914":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.8d708914","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.8d708914","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8d708914","@crave/farmblocks-hoc-input":"^3.1.0-alpha.8d708914","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.8d708914","@crave/farmblocks-input-select":"^0.9.0-alpha.8d708914","@crave/farmblocks-theme":"^1.6.0-alpha.8d708914","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.8d708914","dist":{"shasum":"ddb23a79046a32130f73d5806182abe678acb29e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.8d708914.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-GUAIPPPssjoCS9DVCQK5pJDKMXs/r/bhHsKfZqdAtTBcNif6nTenNALTiEtI5RLCOO3pHQgvMU5asiAtp3sw0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCCYUkbXrwo5gH8XQOA7FKZVKmRv3HM6v+qeZfVQL3y0gIhAKHGikWfJ1aC706UOdEBdJMPhv3HBFUcYDujOS+T9JuN"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.8d708914_1529333544525_0.019556867326955718"},"_hasShrinkwrap":false},"1.1.0-alpha.d9684102":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.d9684102","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.d9684102","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d9684102","@crave/farmblocks-hoc-input":"^3.1.0-alpha.d9684102","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.d9684102","@crave/farmblocks-input-select":"^0.9.0-alpha.d9684102","@crave/farmblocks-theme":"^1.6.0-alpha.d9684102","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.d9684102","dist":{"shasum":"936f050f726c86ad925fe059fd992f7b22733f56","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.d9684102.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-smGNYN3IzjKdRnhlUHqVdewJ24hNFG+OagtOr8OJ2ITVfFuZ63sGQXd+VgE9DnyyJOJ+h7C3GjOrlCXGoGMa4Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDDGYTcyeP4u6p9SnTIx+xa7Bpfn+WPmjtfWnXPh8E4PAiEAwwawx6WrBlx2Udu3tMzFoLF5JIRTyjmYaYgMIdxE8G4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.d9684102_1529333768150_0.22540665779950975"},"_hasShrinkwrap":false},"1.1.0-alpha.b60cce82":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.b60cce82","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.b60cce82","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b60cce82","@crave/farmblocks-hoc-input":"^3.1.0-alpha.b60cce82","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.b60cce82","@crave/farmblocks-input-select":"^0.9.0-alpha.b60cce82","@crave/farmblocks-theme":"^1.6.0-alpha.b60cce82","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.b60cce82","dist":{"shasum":"043c983643880eafe7bca43be8db24b12114b030","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.b60cce82.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-1n/PL6alHURVBwlCdWMAUfHP4A0980iqQJh9B97+9onwTCMYuvqTnpegFqkSnzVaT9ymuFLz23akTkj3MF/XUA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDU1ONzL1zTrK+710B0FY/GmAnsjKfTDAsSJLaPXsDDDAIhAJMPsg4Rl/XRQiHHNU2E4XfSNECgn54rCOG1yvdSfZzQ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.b60cce82_1529334206539_0.25723465597094"},"_hasShrinkwrap":false},"1.1.0-alpha.482ea003":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.482ea003","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.482ea003","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.482ea003","@crave/farmblocks-hoc-input":"^3.1.0-alpha.482ea003","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.482ea003","@crave/farmblocks-input-select":"^0.9.0-alpha.482ea003","@crave/farmblocks-theme":"^1.6.0-alpha.482ea003","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.482ea003","dist":{"shasum":"64cc0b3952f6abd199ca7ef50de9ba4f59c955e5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.482ea003.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-5nhnspJxfBpssLWHRa2Nc+7FvjfZR0xW9b/9dtj0MzC8yrCTxNvE/96RcScLdUbsZ1b+em2xDkZJCSP4Pd0P5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSLK1pJJq9Ut0aTwKp1OgjIdvYiLsVf7NGMVkaFUOTLQIhAIKf+M5S6pvAI96HK9s7fBqH8gwt8WrwV4XHZj9uS0w7"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.482ea003_1529340838699_0.9340136509276604"},"_hasShrinkwrap":false},"1.1.0-alpha.e490da08":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.e490da08","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.e490da08","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e490da08","@crave/farmblocks-hoc-input":"^3.1.0-alpha.e490da08","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.e490da08","@crave/farmblocks-input-select":"^0.9.0-alpha.e490da08","@crave/farmblocks-theme":"^1.6.0-alpha.e490da08","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.e490da08","dist":{"shasum":"49c8c539ff7dd41df0d97fb552dea74e1a6c1f5b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.e490da08.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-MMSjUBwGHK3SJpUM2Jx2XZ2GEYVVILnZRSAvYEYYcKarAiGUcAS62K0Iq+wlesUdOIS0EMHbwqwISvsM2UUVug==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNTH6nF3TnQdft8mT7k6rVS3AvenxXe+Rc7xG8XX2rnQIgV54MjzC7mHtG2Es8kRE41C8F0JAeQ/wO23JtEKPhDy0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.e490da08_1529352059527_0.9998797037340172"},"_hasShrinkwrap":false},"1.0.2":{"name":"@crave/farmblocks-search-field","version":"1.0.2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.6.5","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.7","@crave/farmblocks-hoc-input":"^3.0.2","@crave/farmblocks-hoc-validation-messages":"^0.2.5","@crave/farmblocks-input-select":"^0.8.2","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.2","dist":{"shasum":"e450bafbef02388bda6166cbb3e52f4c05b29b6d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.2.tgz","fileCount":16,"unpackedSize":35940,"integrity":"sha512-DR2foZX/pUMmnf1jBK8VgXSyvZxebtoe3emLYg4A3ZwE0DjCh1XQ1ZG8pJI0W0Yq8d5Prbm733cQLFAfAyS13w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQjkL2J8lSLDd3QiU1DYN8a/LrrIABHm1R1uVLnd8xDwIhAMfYo4PvO8J0FLdKZr8XAiF3rw/47qI93Q6WnlH0hTc3"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.2_1529353831748_0.2641816630292184"},"_hasShrinkwrap":false},"1.1.0-alpha.012bbd65":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.012bbd65","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.012bbd65","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.012bbd65","@crave/farmblocks-hoc-input":"^3.1.0-alpha.012bbd65","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.012bbd65","@crave/farmblocks-input-select":"^0.9.0-alpha.012bbd65","@crave/farmblocks-theme":"^1.7.0-alpha.012bbd65","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.012bbd65","dist":{"shasum":"35414841f94d05c1fff00b83dd6d09a549c77fad","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.012bbd65.tgz","fileCount":16,"unpackedSize":36335,"integrity":"sha512-mTdkDpUA15UOiEOsvg8LS60zdK2Cl3M2p5nCTRModknKWf8e+0HjZ18Ti+m+G3XHy67KQKrQktgTR50+FOC+eQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBCNKCeLv3wznJQZvER7QfgaL2dgkjHDAP346wMHoJmQAiEAg8be4z7E2iL2hIQr3OGr2YAjSJ9AyM4kDjJl7UMvF7E="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.012bbd65_1529354926161_0.3223324325866328"},"_hasShrinkwrap":false},"1.1.0-alpha.d196f55d":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.d196f55d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.d196f55d","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d196f55d","@crave/farmblocks-hoc-input":"^3.1.0-alpha.d196f55d","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.d196f55d","@crave/farmblocks-input-select":"^0.9.0-alpha.d196f55d","@crave/farmblocks-theme":"^1.7.0-alpha.d196f55d","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.d196f55d","dist":{"shasum":"1fb375151026949de8d878c7061687a374a1406c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.d196f55d.tgz","fileCount":16,"unpackedSize":36335,"integrity":"sha512-JJEgRDXUdjUwAPybcIEGXJ4u/NkWX9sHcA4hZczMijdxLx5yqeYijOIHAqTe8wGiFpTNLDWtlW/+J5apnaTuhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICvjVBdjgItDYEwNGe3Y+AMh7vUIzSI3qcjfkzyUJhJqAiBS6t6YDXSXzP7nYC6fDOZjuK6j2CgzdMCZJgDhHNRoDg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.d196f55d_1529356065426_0.07012030317967333"},"_hasShrinkwrap":false},"1.1.0-alpha.4dceb2e5":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.4dceb2e5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.4dceb2e5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.4dceb2e5","@crave/farmblocks-hoc-input":"^3.1.0-alpha.4dceb2e5","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.4dceb2e5","@crave/farmblocks-input-select":"^0.9.0-alpha.4dceb2e5","@crave/farmblocks-theme":"^1.7.0-alpha.4dceb2e5","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.4dceb2e5","dist":{"shasum":"dbb96743dc634655a269a7064111f99b39cf3712","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.4dceb2e5.tgz","fileCount":16,"unpackedSize":36492,"integrity":"sha512-IEuIsvr+3QDBm1uSBpwhKKIm0pX5YSesvjCfWQOoT6l/uEtIEFlRpGlVApULEopsqwV2RNLBEr1MaFC8KlsHZA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB4JmTD0BhPB8SGgoBPrtEy7qH2kJLPWCGPwVXZVaNrVAiAkxDJAcKIjVF24nGFQmjDN0XIVw49gUBE9+6vx5QiCfg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.4dceb2e5_1529356082035_0.9164194597264432"},"_hasShrinkwrap":false},"1.0.3":{"name":"@crave/farmblocks-search-field","version":"1.0.3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.6.5","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.7","@crave/farmblocks-hoc-input":"^3.0.2","@crave/farmblocks-hoc-validation-messages":"^0.2.5","@crave/farmblocks-input-select":"^0.8.2","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.3","dist":{"shasum":"8fcd3a8bb2f234b6c4f04b229fc7586f7b5f1df3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.3.tgz","fileCount":16,"unpackedSize":36343,"integrity":"sha512-DVZlcjpAGE2CWr8RJoqbOsgDZUGxTR7n01ILNV92A1h+9ugFkj2hM77cSSULaxeHxCvDK6KDJp19Ja0SaJmP0Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBPXDbmnrwCI3wBqBkSPq47XWc3QKQQA4dbnGD14jh6JAiBA6rWGex4xekhBIM9ycYtWHce2HRKBvExdayvDASSLCw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.3_1529356528325_0.6940783243318669"},"_hasShrinkwrap":false},"1.1.0-alpha.df743bb5":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.df743bb5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.df743bb5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.df743bb5","@crave/farmblocks-hoc-input":"^3.1.0-alpha.df743bb5","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.df743bb5","@crave/farmblocks-input-select":"^0.9.0-alpha.df743bb5","@crave/farmblocks-theme":"^1.7.0-alpha.df743bb5","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.df743bb5","dist":{"shasum":"a91c00c4158238de0847c2377339abaec456b49d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.df743bb5.tgz","fileCount":16,"unpackedSize":36738,"integrity":"sha512-YPnteIN2VZWnjShKxvBT0SvmPwCX1LW5CAnanc4JALrY05tCsc86Ie8uL4+RhR7oWPR6IYLN2Swqb7fODGRT5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGTykYjLEVhf81hs21QzxZ+WD7SkgiLYs7b29NTWLkbUAiBwkgfmy4KNfq3vKVRWWHjzDo3Pl42hfRRzieqaKlXTCQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.df743bb5_1529425662146_0.5660732504461252"},"_hasShrinkwrap":false},"1.1.0-alpha.0f95a3f8":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.0f95a3f8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.0f95a3f8","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0f95a3f8","@crave/farmblocks-hoc-input":"^3.1.0-alpha.0f95a3f8","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.0f95a3f8","@crave/farmblocks-input-select":"^0.9.0-alpha.0f95a3f8","@crave/farmblocks-theme":"^1.7.0-alpha.0f95a3f8","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.0f95a3f8","dist":{"shasum":"e943fa20d734a439f465c4cbb17969477f2ff5ad","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.0f95a3f8.tgz","fileCount":16,"unpackedSize":36738,"integrity":"sha512-n9SV5q6LHqdBGWQ/5j9qD4YzpaG4N9t/CV/hAYNmmLoyWR3OUsod2P1UKYvKHS6z9dhIdAYh7Cz8QHieye5Vvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBIvz++THPH+W0iTXs0kipr7hCq0u4UFCi78lI0+3LTQIgeD4lkMTSCkuQhRym2yKOVlKlaA/sd96SoRC9u3LgBCE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.0f95a3f8_1529426358282_0.9207809294936096"},"_hasShrinkwrap":false},"1.1.0-alpha.093723bd":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.093723bd","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.093723bd","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.093723bd","@crave/farmblocks-hoc-input":"^3.1.0-alpha.093723bd","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.093723bd","@crave/farmblocks-input-select":"^0.9.0-alpha.093723bd","@crave/farmblocks-theme":"^1.7.0-alpha.093723bd","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.093723bd","dist":{"shasum":"820c85f41950e8641abf29bdfeb32eaccfb2ab4d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.093723bd.tgz","fileCount":16,"unpackedSize":37120,"integrity":"sha512-9d1xohbe/Czlt3ruRrGCWa8EdVTzEJH7JavO44yVAfHSlqfXZZmx/4tpKy8NT9q5pFGMdreHh9/wZv/+fzmaXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC4eW08ooxs5JmRszqRAmXlcz0/KVELWsoW/TpQ/HlSZwIhAIO49ki+2k1TWql5DC5pLLygzugw4pYbQpu+sTrXXhcg"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.093723bd_1529427789710_0.3196646088524293"},"_hasShrinkwrap":false},"1.1.0-alpha.029d6be5":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.029d6be5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.029d6be5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.029d6be5","@crave/farmblocks-hoc-input":"^3.1.0-alpha.029d6be5","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.029d6be5","@crave/farmblocks-input-select":"^0.9.0-alpha.029d6be5","@crave/farmblocks-theme":"^1.7.0-alpha.029d6be5","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.029d6be5","dist":{"shasum":"ae5eded17bfb3916239977ca94584b72435228c5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.029d6be5.tgz","fileCount":16,"unpackedSize":36738,"integrity":"sha512-mwwHf/op80UUWB+xjpz1skThRGQIhIfAYpZv5cmtuwQCnHgiaPcJICFt0QJaXcMfKJdKzoIwHmwgXcg6ySvQjw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD35OwsUBqiufgkRaoKykNr23d9AhGzEP5G+PajJoH7LQIhALw8GTYsmkELI5EmCQorUtBEVVHv7v1FRKCFWJ7w8G3O"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.029d6be5_1529428522780_0.3977542457637968"},"_hasShrinkwrap":false},"1.1.0-alpha.d5b210b1":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.d5b210b1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.d5b210b1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d5b210b1","@crave/farmblocks-hoc-input":"^3.1.0-alpha.d5b210b1","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.d5b210b1","@crave/farmblocks-input-select":"^0.9.0-alpha.d5b210b1","@crave/farmblocks-theme":"^1.7.0-alpha.d5b210b1","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.d5b210b1","dist":{"shasum":"1cb621cc99448faf960799e9e5ceb30a6b6dcd84","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.d5b210b1.tgz","fileCount":16,"unpackedSize":36738,"integrity":"sha512-U3oILi0rU2Jlwmii54AvdQ7Puh4vInZqYPTvt0O4lIGoXDmEcMHqLIxUkqIMljX05GikedkYQ0pFlkgxM4NuCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNgWC6+fPyokT5IBXBiMJ45ye2Rtm+eI9dqaKdiqts+AiAfuCr9hnhksxE0H4FrphSCD6eCGiGj94eA21Xeyleq3g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.d5b210b1_1529428595271_0.38648722151698234"},"_hasShrinkwrap":false},"1.1.0-alpha.d601a802":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.d601a802","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.d601a802","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d601a802","@crave/farmblocks-hoc-input":"^3.1.0-alpha.d601a802","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.d601a802","@crave/farmblocks-input-select":"^0.9.0-alpha.d601a802","@crave/farmblocks-theme":"^1.7.0-alpha.d601a802","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.d601a802","dist":{"shasum":"f1762fdcf1615a8d09dfea838154616d4882ad90","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.d601a802.tgz","fileCount":16,"unpackedSize":36738,"integrity":"sha512-uRpG31PI6tf0fX8mjzrIHVSgCKtw3m/iwOR0oIS8+HBcKFRyKUqK/OFfC1lobr8xLsHpXOYwL7aCfa60BNqiNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN6HV7N88OPxUKmyk/ZhPLOEp9U9A+rdGlaFvpsvm5oQIhAIhQW14Jr/uw7hjUSjQDPmqKsBJkq/LUvcmg7gjYBtYW"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.d601a802_1529429144440_0.36209114040302404"},"_hasShrinkwrap":false},"1.1.0-alpha.87d58a89":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.87d58a89","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.87d58a89","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.87d58a89","@crave/farmblocks-hoc-input":"^3.1.0-alpha.87d58a89","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.87d58a89","@crave/farmblocks-input-select":"^0.9.0-alpha.87d58a89","@crave/farmblocks-theme":"^1.7.0-alpha.87d58a89","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.87d58a89","dist":{"shasum":"5f99a70b383b591badcdc9ea4cabb452f42c14f2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.87d58a89.tgz","fileCount":16,"unpackedSize":36738,"integrity":"sha512-K9erCozyD/COKayfF81nX4vpvG9Fxv2h3EmHaqa7rd8wfgC9V60DcXQdr+cp6KX/JlYV8R1RwqkKmdKjGvJqdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqmixtGSs+lwT8ZbWCJYZTFlvTQZZ+pePZyzVRIShh+gIgGz1ViIWlrcOeIlw3Z6L6IIcxkayOjdKuwGhIKT3/gbI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.87d58a89_1529429162536_0.33898694724403744"},"_hasShrinkwrap":false},"1.1.0-alpha.1347baf4":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.1347baf4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.1347baf4","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.1347baf4","@crave/farmblocks-hoc-input":"^3.1.0-alpha.1347baf4","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.1347baf4","@crave/farmblocks-input-select":"^0.9.0-alpha.1347baf4","@crave/farmblocks-theme":"^1.7.0-alpha.1347baf4","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.1347baf4","dist":{"shasum":"3fe3a4731ccadbe78b818e172fc30c9cb05a0860","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.1347baf4.tgz","fileCount":16,"unpackedSize":36738,"integrity":"sha512-b7zUFkm/g1rT6Da7ZOvTY03bYeH2jy1ETfFe2znur64YsQtD64DYnDXzSBaZAsAMurULY7fP9QlCtdwDih5nNQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDNTxElfpIee4oJHTddT0fp0EbXJMTejJxKYA6Opfu3KAiAkS6mvuBS0bOabpeBjctXaIhHZ9GH6fWFMZGU+XEyJZQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.1347baf4_1529429333717_0.7965090568314104"},"_hasShrinkwrap":false},"1.1.0-alpha.7833baa8":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.7833baa8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.7833baa8","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7833baa8","@crave/farmblocks-hoc-input":"^3.1.0-alpha.7833baa8","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.7833baa8","@crave/farmblocks-input-select":"^0.9.0-alpha.7833baa8","@crave/farmblocks-theme":"^1.7.0-alpha.7833baa8","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.7833baa8","dist":{"shasum":"1063dad4d1b1ff75b30fdde5d49b60771b332327","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.7833baa8.tgz","fileCount":16,"unpackedSize":36738,"integrity":"sha512-UvrkD6oTsIK4DxkUiDfUCCVJo6RxQshc34SS0bT9fGh+nSGY1KSWMphJxekKxuk4liHiOHUqxCRwzEn+8drP0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDROzGsbv2PScgaInj5XpvP0nf/yXvUnoQrbLO14tFdfgIgBMZcTBBzYUKVNfYHM5h5zQeCvyMAZ7qEsLBaeBLBG20="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.7833baa8_1529429683316_0.01986813144133248"},"_hasShrinkwrap":false},"1.1.0-alpha.c05cea18":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.c05cea18","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.c05cea18","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c05cea18","@crave/farmblocks-hoc-input":"^3.1.0-alpha.c05cea18","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.c05cea18","@crave/farmblocks-input-select":"^0.9.0-alpha.c05cea18","@crave/farmblocks-theme":"^1.7.0-alpha.c05cea18","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.c05cea18","dist":{"shasum":"2029ee71e864806cd7ebf8137b56b89974d8e6eb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.c05cea18.tgz","fileCount":16,"unpackedSize":36738,"integrity":"sha512-s1bRIXCVG0h46EK0373Y79G1Yn3WldC/TeLUuswZrT0DysV2sXkJPJt0KXntI1+2de/QbEjcnfkImBH6508oOw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3M0tLib1CHVaM2jq73RieaZwXCmwHLu1q8hEABk7fqAiEAytmjjHtvdIWuAvSw9iCslkflPDojkne6dlLhoDgrn4E="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.c05cea18_1529430165528_0.2311598434795914"},"_hasShrinkwrap":false},"1.1.0-alpha.854b6ab4":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.854b6ab4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.854b6ab4","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.854b6ab4","@crave/farmblocks-hoc-input":"^3.1.0-alpha.854b6ab4","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.854b6ab4","@crave/farmblocks-input-select":"^0.9.0-alpha.854b6ab4","@crave/farmblocks-theme":"^1.7.0-alpha.854b6ab4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.854b6ab4","dist":{"shasum":"0bfc3c1c859b1f55f8d58c79b9e76b3bc45eae2f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.854b6ab4.tgz","fileCount":16,"unpackedSize":37120,"integrity":"sha512-fhwNX7KOwHuDHLdAvdYPWxfkywVfras7W1PP4o28lCWsfQyiPJoLqQ115FobDOYUXbhBiuB8Ob7sy5roS5jRfA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHqQxVymV8AhvrMAPjzYh3PfqsI+u7tq+KpswIPxX844AiEAxyTkGRFPuUF1OexE6qcmMM1x7KdYKbOu76oDdq3eBLY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.854b6ab4_1529433507992_0.9327552206000245"},"_hasShrinkwrap":false},"1.0.4":{"name":"@crave/farmblocks-search-field","version":"1.0.4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.6.5","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.7","@crave/farmblocks-hoc-input":"^3.0.2","@crave/farmblocks-hoc-validation-messages":"^0.2.5","@crave/farmblocks-input-select":"^0.8.2","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.4","dist":{"shasum":"5d7a2ebf9008d257bde7fe5df661ebbce16791ef","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.4.tgz","fileCount":16,"unpackedSize":36971,"integrity":"sha512-Lx8kA9XoFv7+ZJHakSo/ndewzS+gas0WX33HYzHwFhpb+SFtL7hSTmvhrrzfeRdQcRqNgUFT4c91M7k2hD0lYA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1gWzWV06cG/i3V9QlxOgEZv31+nCe4UWSI/fA4viNgAiAESz3AFQQQhG5/OdlSzhFKYI+actrDOW77CPhzLob3aw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.4_1529434617259_0.7718359951139293"},"_hasShrinkwrap":false},"1.1.0-alpha.b050c5d5":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.b050c5d5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.b050c5d5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b050c5d5","@crave/farmblocks-hoc-input":"^3.1.0-alpha.b050c5d5","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.b050c5d5","@crave/farmblocks-input-select":"^0.9.0-alpha.b050c5d5","@crave/farmblocks-theme":"^1.6.0-alpha.b050c5d5","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.b050c5d5","dist":{"shasum":"d137f2b959dbd5b60d5ac4a1127cdb6897639816","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.b050c5d5.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-0vuYxQMHbihqLjUzudP/HeFEuBhf9VXRqoTiTzFWWdqpRqnBooOiHQzrUqFTC+3yNW4FC2yzioJcLJ8ijdYx6Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDBvxq1EfMt4+3nSrTtX4l4zppTV+iDFbwnooTyH3bB3wIhALkd7oQpQzC/5OBMmwtYzRYykQxfI8eRFO9CwlxnuD+u"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.b050c5d5_1529443035826_0.9147052404914588"},"_hasShrinkwrap":false},"1.1.0-alpha.718793ee":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.718793ee","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.718793ee","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.718793ee","@crave/farmblocks-hoc-input":"^3.1.0-alpha.718793ee","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.718793ee","@crave/farmblocks-input-select":"^0.9.0-alpha.718793ee","@crave/farmblocks-theme":"^1.7.0-alpha.718793ee","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.718793ee","dist":{"shasum":"143201e3e0e73d0b0aebf171e663f62d6939658b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.718793ee.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-eHidkVK5qm6uK4dIVNR3Gubs4GgZmnnANef2Hq9NVQVBe/c+2+5efStNQOLWsAQMieuFXQqlSQKXCsrmfzRwBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzvRkzkQw5JiuzWqwC8JBdsdSb5PVJ1YLrNOzWtbH9XAIhAI8ktxG6rM80HXff01kIyjRyg/M65uWzPmyjonmhz4pw"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.718793ee_1529498741347_0.3752378172206787"},"_hasShrinkwrap":false},"1.1.0-alpha.5d1d8c42":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.5d1d8c42","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.5d1d8c42","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.5d1d8c42","@crave/farmblocks-hoc-input":"^3.1.0-alpha.5d1d8c42","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.5d1d8c42","@crave/farmblocks-input-select":"^0.9.0-alpha.5d1d8c42","@crave/farmblocks-theme":"^1.7.0-alpha.5d1d8c42","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.5d1d8c42","dist":{"shasum":"2399c2c0038b3471da799f56c5940ecdf2042d0f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.5d1d8c42.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-e9SRd4UEqBtfG1aK0gZCd83ef1Lp5pgf2TfQhJk1tbgs4izZjv7zYwFrwQfAZ6GCVCPtCakf7lEifOqJ5RfHmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9j20Rp3tv5calnoV+mEIqGL5O5YDD5q8NwAD2lN94lAiEAvKdiYVpAWVWmgC3eMxdOLpswIo7EJg/i8uyCFwPFP1Y="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.5d1d8c42_1529499331083_0.8404878594147231"},"_hasShrinkwrap":false},"1.1.0-alpha.d943481c":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.d943481c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.d943481c","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d943481c","@crave/farmblocks-hoc-input":"^3.1.0-alpha.d943481c","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.d943481c","@crave/farmblocks-input-select":"^0.9.0-alpha.d943481c","@crave/farmblocks-theme":"^1.7.0-alpha.d943481c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.d943481c","dist":{"shasum":"41f928cc21fc28ff99ae6156769c3119abaf7f92","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.d943481c.tgz","fileCount":16,"unpackedSize":37120,"integrity":"sha512-3FyBg9aqR1blllW9K/QkS+uo2VRf62ruRDRdT/2bAd+JMc50QUzpodwS4MpFnCB3zWwaqoHz/E9LA4mV6vBxyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICmS68rnY+FuOI6TsKlg0rr4soOaz7+0D+Mg44arEJp4AiEArkOCw7ChZbvCe5nyDq3WHFEUz+IIOY/aTPMXZ1zqIoE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.d943481c_1529508168160_0.8009762213092744"},"_hasShrinkwrap":false},"1.1.0-alpha.f2eecb53":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.f2eecb53","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.f2eecb53","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f2eecb53","@crave/farmblocks-hoc-input":"^3.1.0-alpha.f2eecb53","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.f2eecb53","@crave/farmblocks-input-select":"^0.9.0-alpha.f2eecb53","@crave/farmblocks-theme":"^1.7.0-alpha.f2eecb53","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.f2eecb53","dist":{"shasum":"922c37646a6e6bc7d6886c71fdf1b414ab7430a4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.f2eecb53.tgz","fileCount":16,"unpackedSize":37120,"integrity":"sha512-1B3tjAwP62Uf/3xn3uJLgCABtK7iDjUpltdz+Qp2AtB+CH/1Wd41WB6BoUg2yJvPmUTdfXZeQwayFmS0Vz0CVA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCwZcs6uv5VJCMO6ar1t8CZA49TmQmc7QYbTDljTOzGbQIhAO4rQmS40s2BlGTf3QepJIzTBwv8C55YWAfuUoPTOzSG"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.f2eecb53_1529510071324_0.5641668101404522"},"_hasShrinkwrap":false},"1.1.0-alpha.7ef110eb":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.7ef110eb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.7ef110eb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7ef110eb","@crave/farmblocks-hoc-input":"^3.1.0-alpha.7ef110eb","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.7ef110eb","@crave/farmblocks-input-select":"^0.9.0-alpha.7ef110eb","@crave/farmblocks-theme":"^1.7.0-alpha.7ef110eb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.7ef110eb","dist":{"shasum":"24519d470f4fad851caad5406d16a474f620f7da","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.7ef110eb.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-2Gj+r6wottQr6RbHhU98OHnJuey3MifWkYBmavIVE7PdwvC5it64hsIbxTqTDHLgmSQtkWar5e6RYRbiRDC9RQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCy2VTpteSG7NWDC8VpL/w6a6qzkueCVx+U+wqYcMkvAIgDWovGr4XhYES/2p28dpFUZUWZT1r2G1WhMWFK0VT9Zs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.7ef110eb_1529517868648_0.7990485790283397"},"_hasShrinkwrap":false},"1.1.0-alpha.ca4facf5":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.ca4facf5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.ca4facf5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ca4facf5","@crave/farmblocks-hoc-input":"^3.1.0-alpha.ca4facf5","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.ca4facf5","@crave/farmblocks-input-select":"^0.9.0-alpha.ca4facf5","@crave/farmblocks-theme":"^1.7.0-alpha.ca4facf5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.ca4facf5","dist":{"shasum":"ae8c36fd7cdf7c97c202659fff57b19588da5b8b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.ca4facf5.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-dzGDIWBfUbmOr50o+QM+hFnzqbFZ2Tk43i7P6POQTgiJDohYiE5SSi6kWnq3UCJDaAkjg8/q7g02Zb+vg1mtRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpLb3v9M4nJWhcVXVm3OOm/E/CEBx68xPOKLO8oIonmAIgLR3Kp135cQszO6TFQmAAfXPBXWClk6BGRT1PSfg2fAQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.ca4facf5_1529519573887_0.3682662134040864"},"_hasShrinkwrap":false},"1.1.0-alpha.b04e33fa":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.b04e33fa","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.b04e33fa","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b04e33fa","@crave/farmblocks-hoc-input":"^3.1.0-alpha.b04e33fa","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.b04e33fa","@crave/farmblocks-input-select":"^0.9.0-alpha.b04e33fa","@crave/farmblocks-theme":"^1.7.0-alpha.b04e33fa","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.b04e33fa","dist":{"shasum":"eed8889788e27d83b12c5b834b17ec9e38d71d6a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.b04e33fa.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-qZfDMu74IAAsRL3jKhzjSsVBuFGzwLHE7WLxan8DNTAmKoKPMxm7GxkxjBz9BKJnxk1h5ULaVg5Db10rb1xVlw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCjLlihCKOfRvzfpmbQTmfLWCcOHPQi17x7bD8WeM2WmQIgIc+vrrxOSvpekUQfxhdjaqj3SzNPBpY/RYivATcu8X0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.b04e33fa_1529522241015_0.8254052796723474"},"_hasShrinkwrap":false},"1.1.0-alpha.0eb796b2":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.0eb796b2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.0eb796b2","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0eb796b2","@crave/farmblocks-hoc-input":"^3.1.0-alpha.0eb796b2","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.0eb796b2","@crave/farmblocks-input-select":"^0.9.0-alpha.0eb796b2","@crave/farmblocks-theme":"^1.7.0-alpha.0eb796b2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.0eb796b2","dist":{"shasum":"536002e2d4f43db90b7c743bbd8fa9aefba074fb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.0eb796b2.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-3xLbtXQFlzDIQBn4qgMiCvqxC+tcJG2/lvjJ+W7lnJw4EJHWtKhK5aXrp04A7fkPYT8q741F3XRutGRU22ROXA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDcNl3lCpw/G/oy4dqI3mIUyPJVHBpAT/sSg0p56wHK7AiBQiLEZp2XqESHyXP0sWV3+IXkDpiJa1PCa1vre90XH5Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.0eb796b2_1529522468726_0.060459963070095046"},"_hasShrinkwrap":false},"1.1.0-alpha.c04ef9f7":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.c04ef9f7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.c04ef9f7","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c04ef9f7","@crave/farmblocks-hoc-input":"^3.1.0-alpha.c04ef9f7","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.c04ef9f7","@crave/farmblocks-input-select":"^0.9.0-alpha.c04ef9f7","@crave/farmblocks-theme":"^1.7.0-alpha.c04ef9f7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.c04ef9f7","dist":{"shasum":"f5ea9cb15c75c0d4c2534e8ed68c6773af61346d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.c04ef9f7.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-2NHElDjZdpY/cKMjfFP/VvdLPS8iUMeCJTw/reSZ3x8Ch9YccDB3BmDPz4oeq2fjiWBAPS0ZXj8Y9PPAJJRNMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhfeyJ3wgkxBC+NRH8Qn4ChzENEb+8fBeoDoFNqyM+dAIgdrf5V+Vp/MLD4fYJIhJkj5fSRA32b6/wZ0bEMEKDL7A="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.c04ef9f7_1529522678207_0.05556041486170127"},"_hasShrinkwrap":false},"1.1.0-alpha.0058fd7f":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.0058fd7f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.0058fd7f","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0058fd7f","@crave/farmblocks-hoc-input":"^3.1.0-alpha.0058fd7f","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.0058fd7f","@crave/farmblocks-input-select":"^0.9.0-alpha.0058fd7f","@crave/farmblocks-theme":"^1.6.0-alpha.0058fd7f","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.0058fd7f","dist":{"shasum":"707e8281170abf0c79dd63fc2952dbc44cbb14ff","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.0058fd7f.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-o1XA5PlE+pcnt9D0Dog7ZAoFZslc2L67PCkR2YJMQL4MS4cWJB9b6AHrWVJv6n7iQF8rzy7m7JMnfFOxc9zGzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD4b4ITf9hPWLBVD+eR0uRZHaKN4NKN79Ebf+vsiqNi/AIhAK5ETUwWefqFZBwzM/BYPqj5gt/SXn8FAA/kaSDTLo0w"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.0058fd7f_1529607085663_0.03585223332670551"},"_hasShrinkwrap":false},"1.1.0-alpha.613ea2eb":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.613ea2eb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.613ea2eb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.613ea2eb","@crave/farmblocks-hoc-input":"^3.1.0-alpha.613ea2eb","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.613ea2eb","@crave/farmblocks-input-select":"^0.9.0-alpha.613ea2eb","@crave/farmblocks-theme":"^1.6.0-alpha.613ea2eb","lodash.debounce":"^4.0.8","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.613ea2eb","dist":{"shasum":"5ec5233af57770b40bb660b908b3e57a08578d88","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.613ea2eb.tgz","fileCount":16,"unpackedSize":36089,"integrity":"sha512-txnLjIthg8je/A4a9Q0O9nqMtxs7RTEQXAF91VON2Mi9wPfS1B3SEDjTMjO7RGR5sKWmO/zk2BRXIRrtvcopwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUGRi15O2+E7RRoHu48+GG7wsVmzg51sqmVOoVUq4G0gIhAOCxQ2U0QmNrlxEnZIqjizhLqzqDxPw4wp/+pKpdJuDM"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.613ea2eb_1529613655711_0.5243552496680264"},"_hasShrinkwrap":false},"1.1.0-alpha.bb7177a5":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.bb7177a5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.bb7177a5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.bb7177a5","@crave/farmblocks-hoc-input":"^3.1.0-alpha.bb7177a5","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.bb7177a5","@crave/farmblocks-input-select":"^0.9.0-alpha.bb7177a5","@crave/farmblocks-theme":"^1.7.0-alpha.bb7177a5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.bb7177a5","dist":{"shasum":"dbfdf497ec03eba5d7ee2b5e2276d7047aec5ac5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.bb7177a5.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-fitLQnJglqu9pwYBaxlF4pFC50pEE1ijbrg0KTSdM/tRtlKPx2M8lNsxLV94lOqVt/OMSu//aDKewyDEB16n8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6aipfxx25mZWPh4Ykc0UEst7NC32YBskj7jaiRXq9mAIgOreOCs3LQKt6GxiX8847tYVHi5lNhIzxBqwmDQ3604I="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.bb7177a5_1529614570953_0.5679987665441613"},"_hasShrinkwrap":false},"1.1.0-alpha.8d320877":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.8d320877","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.8d320877","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8d320877","@crave/farmblocks-hoc-input":"^3.1.0-alpha.8d320877","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.8d320877","@crave/farmblocks-input-select":"^0.9.0-alpha.8d320877","@crave/farmblocks-theme":"^1.7.0-alpha.8d320877","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.8d320877","dist":{"shasum":"f3a8c897de3ee4e108db01fb02e304867f21cad2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.8d320877.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-jmDkXpTKF4CyXQhb+QP/3qqGm2JIo46OnKN7JtFDh9mG5iPa5+axvl4iSOgCLG5utldhWyz8g6hWJ8UuimIZJg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHmcNzED+/o9DWp8EydQWhykbeq74+AY27WMRkGVC5L7AiEAs1OvsUiK1/METodDMGX1jwngdDldr6Xg4vCpEOpG77w="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.8d320877_1529615660236_0.2526283887103009"},"_hasShrinkwrap":false},"1.1.0-alpha.02d0d009":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.02d0d009","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.02d0d009","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.02d0d009","@crave/farmblocks-hoc-input":"^3.1.0-alpha.02d0d009","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.02d0d009","@crave/farmblocks-input-select":"^0.9.0-alpha.02d0d009","@crave/farmblocks-theme":"^1.7.0-alpha.02d0d009","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.02d0d009","dist":{"shasum":"e915c34f5ca9bc064f2ade73f3ea15d206960aca","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.02d0d009.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-yOnmwO3298tQFn+uSvKJxiv9CWFF+wKZr+kL1BEf5DGPJ6b3Zrcc1CbzkuhbxD+f2DPejVcQR1ZtP0+PjZfJLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICjo5mhY21SlbUAZj4vGmysI/GOz+2dUaoh+bAoaBndeAiAHWrPJW9IaoKMf28JsXAC+9fRx53fK2uYNBxr5U419sQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.02d0d009_1529676784364_0.11919188995534324"},"_hasShrinkwrap":false},"1.1.0-alpha.dff13e4b":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.dff13e4b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.dff13e4b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.dff13e4b","@crave/farmblocks-hoc-input":"^3.1.0-alpha.dff13e4b","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.dff13e4b","@crave/farmblocks-input-select":"^0.9.0-alpha.dff13e4b","@crave/farmblocks-theme":"^1.7.0-alpha.dff13e4b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.dff13e4b","dist":{"shasum":"8d9e9a88c23a5f147bb559337196f7af4b92ae14","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.dff13e4b.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-I+uPoC3hXnuigsi7nPWGdjs3tMPweDq/xAAtZbDPA4IYT1O03XxAUWShKt04YUG+xJHtEZlugUzrlC/w64FMGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB+Kop4V4J/Dts/Rnt1gax2WvGQZtKligUfGiX1cQF7nAiEA12q/4gohUUMdcQiln2fEI0YQ8gLJHZLe9XjrtolGEfA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.dff13e4b_1529676921955_0.11792291865764071"},"_hasShrinkwrap":false},"1.1.0-alpha.7a7e55de":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.7a7e55de","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.7a7e55de","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7a7e55de","@crave/farmblocks-hoc-input":"^3.1.0-alpha.7a7e55de","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.7a7e55de","@crave/farmblocks-input-select":"^0.9.0-alpha.7a7e55de","@crave/farmblocks-theme":"^1.7.0-alpha.7a7e55de","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.7a7e55de","dist":{"shasum":"403e8bfbfbd5e04cbb122133818f674522a13940","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.7a7e55de.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-+GujTha0VslpcRd03hXK54T7p5uYO8G0BZBkZW6A0/nnaTrfSbwdEDReliO/t6oG2iWzGccAxdBgw10OHNjwrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCn8ed9Xh27nshERg0V8WF8mriEL5fmiWVdn9QBDlfniAIhAMFXX3otrqN7Eg6DwhDyC2m+DxHAkCcISoOtC9um6Ykc"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.7a7e55de_1529678925198_0.26144797063286074"},"_hasShrinkwrap":false},"1.1.0-alpha.21d19d43":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.21d19d43","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.21d19d43","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.21d19d43","@crave/farmblocks-hoc-input":"^3.1.0-alpha.21d19d43","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.21d19d43","@crave/farmblocks-input-select":"^0.9.0-alpha.21d19d43","@crave/farmblocks-theme":"^1.7.0-alpha.21d19d43","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.21d19d43","dist":{"shasum":"823abaf9b25e0de6c93b42c115f98af83657097b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.21d19d43.tgz","fileCount":16,"unpackedSize":37366,"integrity":"sha512-Me2yVSObHGgXW6xu2sL2C6OH/l7dSl2a+xbTiHVxA4DWrJqC/hcrQ3ap7k5qnHi/7NPsVLR4jsPustdQLnDh3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGRV2WkuwjKXlrlYAU/b8sNYkoKAI0YrkfKnnUxD2BvNAiASHWQLjwNs0mdVPBQCrF3IcjyOosDFYjAt/oNvTYmN2A=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.21d19d43_1529679166710_0.6230429892254874"},"_hasShrinkwrap":false},"1.0.5":{"name":"@crave/farmblocks-search-field","version":"1.0.5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.6.6","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.0.3","@crave/farmblocks-hoc-validation-messages":"^0.2.5","@crave/farmblocks-input-select":"^0.8.3","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.5","dist":{"shasum":"f95f1f186cdb0ce048602a014946cafdcffda82f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.5.tgz","fileCount":16,"unpackedSize":37217,"integrity":"sha512-SxBgjuE3TCLSh1ahmkhdfmSJj+GYEIEkZxY0kFj2kBUop83Nbqmtg/AuGuM9DyrZgXn7odxrPhfziJAlygXfhA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiHFcuip3dMeKfuoUBeAsKx1Apa3dcYG7JUcO/AeFuAwIhAI7zqEt0grWlNG36aUd8ROQPtLciaheT7fXyfLY6oCjR"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.5_1529679858454_0.5478697467385225"},"_hasShrinkwrap":false},"1.1.0-alpha.9b3b0b90":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.9b3b0b90","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.9b3b0b90","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9b3b0b90","@crave/farmblocks-hoc-input":"^3.1.0-alpha.9b3b0b90","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.9b3b0b90","@crave/farmblocks-input-select":"^0.9.0-alpha.9b3b0b90","@crave/farmblocks-theme":"^1.7.0-alpha.9b3b0b90","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.9b3b0b90","dist":{"shasum":"73f084a2285de720d9e2cc6427f61ef41a483812","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.9b3b0b90.tgz","fileCount":16,"unpackedSize":37788,"integrity":"sha512-RwkCdxIBkGPXozOsZZhjfYBXqIHHQJqfFGKgchoQ9qkIEyftZ3IJ+8ZqHb4xgZ2PnPu9cCR63c7DlvxKtFFE5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCr0WfPb2lfz5jnQGbxviCLJlyho/DNDaau5p8N5QZ+6wIgUG3ICRw8/w1hbg9ceDonC1mIj6mEzvlbI+HHnyE9v0k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.9b3b0b90_1529688840447_0.13092779593843007"},"_hasShrinkwrap":false},"1.1.0-alpha.2b5ec8e7":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.2b5ec8e7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.2b5ec8e7","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2b5ec8e7","@crave/farmblocks-hoc-input":"^3.1.0-alpha.2b5ec8e7","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.2b5ec8e7","@crave/farmblocks-input-select":"^0.9.0-alpha.2b5ec8e7","@crave/farmblocks-theme":"^1.7.0-alpha.2b5ec8e7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.2b5ec8e7","dist":{"shasum":"1ca5ea472605dc249108c75f308aaf0fafc5549b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.2b5ec8e7.tgz","fileCount":16,"unpackedSize":37612,"integrity":"sha512-elZyQ/70MHD2CYM2/htlnopoHnpvya2szZIVErjD6ZgxiJZncoq+BMs9w3lKspSFTie5d47qqj2rbf+5WrsoVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOJ5lFyNONXZ+SvvSEJz2hAseORTzyQc+AHJBAG1LcpQIgSF20FBCvdZj7RkrPoKavrEYh98YLZFjhns21We3zaPs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.2b5ec8e7_1529731230991_0.7123060933465195"},"_hasShrinkwrap":false},"1.0.6":{"name":"@crave/farmblocks-search-field","version":"1.0.6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.6.6","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.0.3","@crave/farmblocks-hoc-validation-messages":"^0.2.5","@crave/farmblocks-input-select":"^0.8.3","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.6","dist":{"shasum":"75920f9fcd0825a715fd0dec7d385181b90840ef","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.6.tgz","fileCount":16,"unpackedSize":37639,"integrity":"sha512-+nZScQAzTnTVocIm1QmrY97Jkc1wyR8lm+SjFaKuq7u7tXdiP2gOru23qUTR9QLh7fbyEZpNAzBus3bTVNnK8g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDy4t/fZKGEZZHXBJ/QYn9ZH3j22uAl2kTXK5ZewpInKwIgfX16YPDdiMgSrXI2vVkuB7rNxxcRDKRp78cWDOkUSgQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.6_1529935276002_0.2615780958419385"},"_hasShrinkwrap":false},"1.1.0-alpha.e8e2fb99":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.e8e2fb99","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.e8e2fb99","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e8e2fb99","@crave/farmblocks-hoc-input":"^3.1.0-alpha.e8e2fb99","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.e8e2fb99","@crave/farmblocks-input-select":"^0.9.0-alpha.e8e2fb99","@crave/farmblocks-theme":"^1.7.0-alpha.e8e2fb99","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.e8e2fb99","dist":{"shasum":"c27aeeac09f574242da41282531d1d3793b50955","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.e8e2fb99.tgz","fileCount":16,"unpackedSize":38034,"integrity":"sha512-/nARF3RaKXpk+0Wh7B+OHQpP2ri9wvb66H8TDf1Nz+vr3eHkLppupaNvjksnf9laLxhUqVjYFVq+bhNaSMEqEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9os3POsLCFuS5V0v0B7kzsaJPbSnedsPINbwz6e9V3wIhAMU9MZG9o4lPbjkhNaM7R7gCCawE91aUUpcvrmGseIzW"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.e8e2fb99_1529991370267_0.15314448089595145"},"_hasShrinkwrap":false},"1.1.0-alpha.9246a390":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.9246a390","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.9246a390","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9246a390","@crave/farmblocks-hoc-input":"^3.1.0-alpha.9246a390","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.9246a390","@crave/farmblocks-input-select":"^0.9.0-alpha.9246a390","@crave/farmblocks-theme":"^1.7.0-alpha.9246a390","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.9246a390","dist":{"shasum":"2f3a93b8e24d047840aa7faadf01704b418e92c3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.9246a390.tgz","fileCount":16,"unpackedSize":38327,"integrity":"sha512-39Ff9aZsWjaJxZfcNpIcauf8FdMKBU4Z9itQOjM0UzpRgQXO8weafR07lHi/7UFD+mt9JoP/2Td4/Lucu57J1w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCeIylXGcJaJqymw7cbOaScXdBlNnhIGzRxB1JCQL6ZfwIhAJyA6i33BPaTdIDOZonH9RThxmpPP/J62xHaB3a/Pt6l"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.9246a390_1530034323978_0.07564745474705092"},"_hasShrinkwrap":false},"1.1.0-alpha.6e5fa181":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.6e5fa181","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.6e5fa181","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6e5fa181","@crave/farmblocks-hoc-input":"^3.1.0-alpha.6e5fa181","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.6e5fa181","@crave/farmblocks-input-select":"^0.9.0-alpha.6e5fa181","@crave/farmblocks-theme":"^1.7.0-alpha.6e5fa181","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.6e5fa181","dist":{"shasum":"38e8e3f8d6334c10ae93ec557f411580116acfc4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.6e5fa181.tgz","fileCount":16,"unpackedSize":38289,"integrity":"sha512-SP9cFHmBJAvhQVdBdEABdP2AlCdSkbzE7JN8lFifF7cm1DMkPvTkYP316pyYo/znjagezfa3O3F1GgI04DsSDA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG7yJKnBjc/QRlbyK/P+WYl9DJTkwfcGvKoq/8eqe263AiBU2yzU9pyB8ziD9f1Jo6MAlWwFY/ksZO7rUyY+PzkNRA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.6e5fa181_1530036272367_0.24149736951491718"},"_hasShrinkwrap":false},"1.1.0-alpha.11f9c2a1":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.11f9c2a1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.11f9c2a1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.11f9c2a1","@crave/farmblocks-hoc-input":"^3.1.0-alpha.11f9c2a1","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.11f9c2a1","@crave/farmblocks-input-select":"^0.9.0-alpha.11f9c2a1","@crave/farmblocks-theme":"^1.7.0-alpha.11f9c2a1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.11f9c2a1","dist":{"shasum":"b6f5eca6104fa7fa3a2b650c0334628e59bb6a70","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.11f9c2a1.tgz","fileCount":16,"unpackedSize":38034,"integrity":"sha512-FVtVXoMPSB0uHnRyPtdQKfzYue5aC/mUTJQpFgcwy2g0Yvb/ycgY61g8f9cKJXfmKkA1k1VkbXTojzEDRNmEXw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH2/hEaerFy/UcdIcQRaZJc7RLyVLAfQGAYrounT9FLbAiAqdLkAGw91ZtSUEzwPNE6/1QhN0xAkcKrkADHjUSEnoQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.11f9c2a1_1530100620224_0.4833408233484151"},"_hasShrinkwrap":false},"1.1.0-alpha.1d876ca9":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.1d876ca9","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.1d876ca9","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.1d876ca9","@crave/farmblocks-hoc-input":"^3.1.0-alpha.1d876ca9","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.1d876ca9","@crave/farmblocks-input-select":"^0.9.0-alpha.1d876ca9","@crave/farmblocks-theme":"^1.7.0-alpha.1d876ca9","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.1d876ca9","dist":{"shasum":"f6dbf3f29412c7d5db666142e9cb30aa9037942a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.1d876ca9.tgz","fileCount":16,"unpackedSize":38383,"integrity":"sha512-L+yvSeS05XFqLIm4FaeGXohcdbV4wfietqtfXIfl3Ngw/HRRycWPNeQKr6e1KtieRI2ZVanAv+KeQT5jprGLng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF8C5wpCKQZXttNmHRBCeYzBukfnocuxY/gzn7IWSRR6AiEAssf4X+Lih7sUIM4ehoGYVGaSG5Zbol88zGQs+gsOrAM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.1d876ca9_1530117678683_0.842494727282918"},"_hasShrinkwrap":false},"1.1.0-alpha.df1c343b":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.df1c343b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.df1c343b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.df1c343b","@crave/farmblocks-hoc-input":"^3.1.0-alpha.df1c343b","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.df1c343b","@crave/farmblocks-input-select":"^0.9.0-alpha.df1c343b","@crave/farmblocks-theme":"^1.7.0-alpha.df1c343b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.df1c343b","dist":{"shasum":"893e5ece8715737a7f28ac59840fdedbceaf686c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.df1c343b.tgz","fileCount":16,"unpackedSize":38034,"integrity":"sha512-WX6VLnymblhxcFwSbt1QHsbhmlT6IJCua348Vbn2c/A19llJaigXVOgCA+nID6Rzmt7g4ttM4c8cM/JOr1VQHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEv/k0as8u0+aMm9lULSyTu6GgXGZ77LF9envbAd5zDwIhAOMQS9ZFbqAdHvOdci2yJmPDUkDA+U1NHbRrnf+UIqqq"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.df1c343b_1530297362900_0.4884972849122997"},"_hasShrinkwrap":false},"1.1.0-alpha.74ad35dd":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.74ad35dd","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.74ad35dd","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.74ad35dd","@crave/farmblocks-hoc-input":"^3.1.0-alpha.74ad35dd","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.74ad35dd","@crave/farmblocks-input-select":"^0.9.0-alpha.74ad35dd","@crave/farmblocks-theme":"^1.7.0-alpha.74ad35dd","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.74ad35dd","dist":{"shasum":"8fa4643e1af1673401c18a83153aaa620a86018b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.74ad35dd.tgz","fileCount":16,"unpackedSize":38034,"integrity":"sha512-DHltkFoUpKmsygg56CYUiaYOpGd/+6vyMVxfFApjQsFzLUofYM2QRnzv6L+IY2KX39gbB2VkYpu4m5sgeK1/QA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFEwDsijHdGGcDCeju2B9rDVomvNr9qYM7loff+TPvGMAiEA1Jcy5dovEKxPrg4u//sgeWD/1HLibGegxIp7KpNbDxU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.74ad35dd_1530537454433_0.6298326049393541"},"_hasShrinkwrap":false},"1.1.0-alpha.3c7edc88":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.3c7edc88","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.3c7edc88","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3c7edc88","@crave/farmblocks-hoc-input":"^3.1.0-alpha.3c7edc88","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.3c7edc88","@crave/farmblocks-input-select":"^0.9.0-alpha.3c7edc88","@crave/farmblocks-theme":"^1.7.0-alpha.3c7edc88","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.3c7edc88","dist":{"shasum":"c149604fc42c98f11a4da3e20b4ea87f69c00a14","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.3c7edc88.tgz","fileCount":16,"unpackedSize":38512,"integrity":"sha512-ekolQz6R5RMjSyucPHa4MqgvS46ycKfMKDWKV2IkWT4r3080t4Jeza4xkcFpWvPj73fLhGFac/hclGqLteSQmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFNVcJQttfPhEkkP0XCx1wbIgd0ZLFwZRD4yJXP2G+brAiBI8PqCGJn0vVvkiQIWCA1ga44gbZ/5sjUFfzXRaMmI8Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.3c7edc88_1530538725302_0.27372670513340447"},"_hasShrinkwrap":false},"1.1.0-alpha.bd6ffcf1":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.bd6ffcf1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.bd6ffcf1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.bd6ffcf1","@crave/farmblocks-hoc-input":"^3.1.0-alpha.bd6ffcf1","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.bd6ffcf1","@crave/farmblocks-input-select":"^0.9.0-alpha.bd6ffcf1","@crave/farmblocks-theme":"^1.7.0-alpha.bd6ffcf1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.bd6ffcf1","dist":{"shasum":"f766ccf5aced08651ab8a727245d1fbb3d141538","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.bd6ffcf1.tgz","fileCount":16,"unpackedSize":38624,"integrity":"sha512-ZFmJC4h12rjH6e9rDK8lwf5XKHqka2UEjCtAPxCCgdqo41T+68PMVEXmiMFrB2CZDPGHrRAn3fYtL4fpVDzBRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICX8QUnp6ZRVS0tosXiH6rsB8s4PaxUN7Ho3FjUVm5kHAiEAiXI/70Enhy8cjnspkcscsJzufZE0wJqEJJoGNLKXV24="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.bd6ffcf1_1530623039929_0.4796013825173495"},"_hasShrinkwrap":false},"1.1.0-alpha.77ca0056":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.77ca0056","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.77ca0056","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.77ca0056","@crave/farmblocks-hoc-input":"^3.1.0-alpha.77ca0056","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.77ca0056","@crave/farmblocks-input-select":"^0.9.0-alpha.77ca0056","@crave/farmblocks-theme":"^1.7.0-alpha.77ca0056","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.77ca0056","dist":{"shasum":"25968cf9f08ce6b0ed00adf2bb39d87ecabc2762","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.77ca0056.tgz","fileCount":16,"unpackedSize":38821,"integrity":"sha512-r0tPKGdVl9nCBFWfFVa1pQ3paFFEYAWvehewcoXBgPIPFaI+K4cKNJUq+IUADOBLgpPM38fF+A64Ez5zCvdwcw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDt9l/LzViKVval9XWRDeny66CCYO+FevErVFHfqvdBtAIgQMw2NWI2/r7VIez+9Z9R56EsTVDQvDrS9Xpz09P4pIs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.77ca0056_1530627751096_0.549102937607445"},"_hasShrinkwrap":false},"1.1.0-alpha.39aa4417":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.39aa4417","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.39aa4417","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.39aa4417","@crave/farmblocks-hoc-input":"^3.1.0-alpha.39aa4417","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.39aa4417","@crave/farmblocks-input-select":"^0.9.0-alpha.39aa4417","@crave/farmblocks-theme":"^1.7.0-alpha.39aa4417","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.39aa4417","dist":{"shasum":"bc0c57033f2d83588bdaa51a15ae01ff4a1cacbf","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.39aa4417.tgz","fileCount":16,"unpackedSize":38821,"integrity":"sha512-EGviayToIPmnBA9Yn5XPE5bdGhnoq/Km3jEsvfwuFLu7r+r4sZKn91oh5+An0xwQVZOotkCOTk9VTrEF1rf+iA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6RIAbAo5TYqHCWSk5dGAhaR3YHLMcN/DzmUKpirwV4AiEAkcPfzzxRrkWApluOJANNL+GqP5kRkoGPDO4iH7zkNHs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.39aa4417_1530634995770_0.6298953898038215"},"_hasShrinkwrap":false},"1.1.0-alpha.eb30fee0":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.eb30fee0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.eb30fee0","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.eb30fee0","@crave/farmblocks-hoc-input":"^3.1.0-alpha.eb30fee0","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.eb30fee0","@crave/farmblocks-input-select":"^0.9.0-alpha.eb30fee0","@crave/farmblocks-theme":"^1.7.0-alpha.eb30fee0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.eb30fee0","dist":{"shasum":"3cf84f0425e6362d30903dcef50baf1b0c0d5fab","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.eb30fee0.tgz","fileCount":16,"unpackedSize":38821,"integrity":"sha512-7nVkNcraUznIz7b6gqKWe+BJD5bUcpyIKD3/vPjs56OkSJIDALQyvlEZvazhflRrp2aTX396i1xXi9tErZ4UIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBa1ZSb2SY5EH0j1ZTdp/3L1Eva3FiGFkmaJl+gwlFfUAiB5RwTbkkynpgFgTlwlRkdTt8DPuUejAnm+nDz2Aetqtw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.eb30fee0_1530641118948_0.5230802362186744"},"_hasShrinkwrap":false},"1.1.0-alpha.079f6b9c":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.079f6b9c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.079f6b9c","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.079f6b9c","@crave/farmblocks-hoc-input":"^3.1.0-alpha.079f6b9c","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.079f6b9c","@crave/farmblocks-input-select":"^0.9.0-alpha.079f6b9c","@crave/farmblocks-theme":"^1.7.0-alpha.079f6b9c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.079f6b9c","dist":{"shasum":"7848e799a93310592ea56a3d30a1f8acf72d566c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.079f6b9c.tgz","fileCount":16,"unpackedSize":38821,"integrity":"sha512-x7UIQxaFgImCQNQjRg0LQSNqRw8POg9i4H1Gj+sVYhpS4p8MOC0zqunq/RQCU9zp4/cobgD4Xad0gaKX94Ny7g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKwx2NoeyBzzY4cUA7Z00AV6pCNksp0xgWL/RXEl13KAIhAOEjq+VXRunFiVHD2hLwHe9VU2oqcYm64Y0CgK56lg/p"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.079f6b9c_1530649466579_0.4099367157749536"},"_hasShrinkwrap":false},"1.0.7":{"name":"@crave/farmblocks-search-field","version":"1.0.7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.6.6","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.0.4","@crave/farmblocks-hoc-validation-messages":"^0.2.5","@crave/farmblocks-input-select":"^0.8.4","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.7","dist":{"shasum":"359ee6de127d12a881b477c01292d07ad8bf38e4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.7.tgz","fileCount":16,"unpackedSize":38672,"integrity":"sha512-jBw+BqSNN7Wg6aXrRFR3nFBj2Z67A9WNZpMR9lm5hKILExelXHHaFwc1LOnOAsTYeRcmyIoWsZg+Q01yI2NAMg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPqYxi077vkkc+VQbj1QzgnoQIrGeI0yAXV4+zKKlp5AIgZEjNhMlwwO/QG0VEhushobo4ULsNI2MS5sHhvmjFgnU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.7_1530649910352_0.5496367044300556"},"_hasShrinkwrap":false},"1.1.0-alpha.de23b86a":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.de23b86a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.de23b86a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.de23b86a","@crave/farmblocks-hoc-input":"^3.1.0-alpha.de23b86a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.de23b86a","@crave/farmblocks-input-select":"^0.9.0-alpha.de23b86a","@crave/farmblocks-theme":"^1.7.0-alpha.de23b86a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.de23b86a","@crave/farmblocks-text":"^1.2.0-alpha.de23b86a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.de23b86a","dist":{"shasum":"760861ecbe4725a5a6d63e97688a39afe66537ea","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.de23b86a.tgz","fileCount":16,"unpackedSize":39440,"integrity":"sha512-+pnenjA3+on22R6PHdW8nWk7xuzKq6jcuhOWhsqTis9vIMfqvZ/4m2xThH5bQf/nlNw8vbEa5OwYP77EeiHTWg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFtAdx+zWYbuZDXpu4UAHeZ8lfVF9EOdclsoc7cpcwYwIhALLQVvkVT6+GhhW0XP79X4NNNcjKHbppikoA8TXImpg7"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.de23b86a_1530710114051_0.29875236542415107"},"_hasShrinkwrap":false},"1.1.0-alpha.5bb97164":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.5bb97164","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.5bb97164","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.5bb97164","@crave/farmblocks-hoc-input":"^3.1.0-alpha.5bb97164","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.5bb97164","@crave/farmblocks-input-select":"^0.9.0-alpha.5bb97164","@crave/farmblocks-theme":"^1.7.0-alpha.5bb97164","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.5bb97164","dist":{"shasum":"28d226e8bce5f34917445661efae15cc06348448","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.5bb97164.tgz","fileCount":16,"unpackedSize":39067,"integrity":"sha512-h3peSVJlEWXMv/IR40mSTdVR/hzkPKXkBjYOYcSDCMkwviWBQ2NQqHYlkh+9zQGyR5UUQ1Ur6xxLEGX4OTVhfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCghIPv19FO58EV8uzHA+GcBA3aeqqMdoCd8GlhYngvugIgPeBO/SACDCrsPBA7mR15r2aN6vj4x4D+pVjiuyWNmlg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.5bb97164_1530712282259_0.6687730651868335"},"_hasShrinkwrap":false},"1.1.0-alpha.99a95534":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.99a95534","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.99a95534","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.99a95534","@crave/farmblocks-hoc-input":"^3.1.0-alpha.99a95534","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.99a95534","@crave/farmblocks-input-select":"^0.9.0-alpha.99a95534","@crave/farmblocks-theme":"^1.7.0-alpha.99a95534","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.99a95534","dist":{"shasum":"fb66a00154dfa5d9f0ccd7c9451d2926437751fa","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.99a95534.tgz","fileCount":16,"unpackedSize":39067,"integrity":"sha512-uAPVT2yVwXc8ldLh8mgX+PDTPc55r3xA4GCzXEm1womJ3x20EZYpR8kaXr1/EejXm1lvSea/MmLy4hyPp8YiKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB6ELcJmetiNtdw4D8iBJ1mdRjG+tbgxN/Yicth8nu6yAiEAheFh19YWF/7UiJ1B47sc/BjUNsDofbWi3YAn5reSzRk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.99a95534_1530713914261_0.04420654532176216"},"_hasShrinkwrap":false},"1.1.0-alpha.e5322957":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.e5322957","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.e5322957","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e5322957","@crave/farmblocks-hoc-input":"^3.1.0-alpha.e5322957","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.e5322957","@crave/farmblocks-input-select":"^0.9.0-alpha.e5322957","@crave/farmblocks-theme":"^1.7.0-alpha.e5322957","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.e5322957","dist":{"shasum":"8610aedd85490fac2fa40cf48e8aa6ad5b99bfbe","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.e5322957.tgz","fileCount":17,"unpackedSize":40122,"integrity":"sha512-TEiy80sxNUhQC1w5FHfqArtBeMaS4Y1+ZIZyCFSFJr8h6r3gYcHotYI1vkNzLaQgpwhAtH8NnP2e/iSJTE9HYw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWlgJOChiQpO3c+6Es9eJYVfBDhL9NWXBAgTw4BgW2SwIhAKI/yeb3jD1U5VT+YH0WpuJ9N6/c54kuZZz9AR22xCtw"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.e5322957_1530730685143_0.36084817551760406"},"_hasShrinkwrap":false},"1.1.0-alpha.a7600068":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.a7600068","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0-alpha.a7600068","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a7600068","@crave/farmblocks-hoc-input":"^3.1.0-alpha.a7600068","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.a7600068","@crave/farmblocks-input-select":"^0.9.0-alpha.a7600068","@crave/farmblocks-theme":"^1.7.0-alpha.a7600068","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.a7600068","@crave/farmblocks-text":"^1.2.0-alpha.a7600068"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.a7600068","dist":{"shasum":"92b9b5ab5e1686a72409207cfad19a9d5f8074ad","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.a7600068.tgz","fileCount":16,"unpackedSize":39440,"integrity":"sha512-F66JRmp1dhGwAvkUNbK2aiqrzvm2x4zhK+tsq+Al18mhUDNJhEwCdLzjRmdpWnSazCVaf5ZnN222/F16pZbhLA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDoosygv6wxCWX5kvR107/RTfOKdNQ9GhKsvDRnYSQEMAIgd7SoAW3LQYRWHaKPuJQsMVMewOjFMakxR6JHACf8eDE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.a7600068_1530810398351_0.4570177636034616"},"_hasShrinkwrap":false},"1.0.8":{"name":"@crave/farmblocks-search-field","version":"1.0.8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.0.4","@crave/farmblocks-hoc-validation-messages":"^0.2.5","@crave/farmblocks-input-select":"^0.8.5","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.2.3","@crave/farmblocks-text":"^1.1.10"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.8","dist":{"shasum":"5be3bbb31372b21a12ee21a9062e88540c78e96a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.8.tgz","fileCount":16,"unpackedSize":39262,"integrity":"sha512-8EXfclUu8gyzmt8VOuVGAQXJxf+W3PsQ+itsedT4edvRTkovEE2/+ARKP+eBx6BBB6ZhOnZIJFpMSYjdfbtdng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3ZgRjwYl2vb8KN9GJV3MSI450JELPEn7xjJjyTGXAGQIhANAbbP9WC1KXPWO0Tki3jKLhq+gsGXJzKHqNbEM9IcfD"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.8_1530812143489_0.0035609850284636924"},"_hasShrinkwrap":false},"1.1.0-alpha.e56998d6":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.e56998d6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.e56998d6","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e56998d6","@crave/farmblocks-hoc-input":"^3.1.0-alpha.e56998d6","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.e56998d6","@crave/farmblocks-input-select":"^0.9.0-alpha.e56998d6","@crave/farmblocks-theme":"^1.7.0-alpha.e56998d6","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.e56998d6","@crave/farmblocks-text":"^1.2.0-alpha.e56998d6"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.e56998d6","dist":{"shasum":"b92949b1405f9ed77536bc9565a8f560f8bc8b68","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.e56998d6.tgz","fileCount":16,"unpackedSize":40318,"integrity":"sha512-E3QDw7jSqYG8JuKJnC6qfuk1lD2fcnE5CyoOwLRFQQCtfSitQjuxir2a3VHgH5YmZtUmFIMwPJgrBxE0flEiLw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClw8hM2Nq7SAGqmA5HBlKQpXyDqsVEQfBEQ5tRWNQV8gIhAM37xGO6sMGZKYG61FJmzuM3pqTS1NocTwg9yj2RTQW/"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.e56998d6_1530820714733_0.42989424404712806"},"_hasShrinkwrap":false},"1.1.0-alpha.89d940a2":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.89d940a2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.89d940a2","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.89d940a2","@crave/farmblocks-hoc-input":"^3.1.0-alpha.89d940a2","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.89d940a2","@crave/farmblocks-input-select":"^0.9.0-alpha.89d940a2","@crave/farmblocks-theme":"^1.7.0-alpha.89d940a2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.89d940a2","@crave/farmblocks-text":"^1.2.0-alpha.89d940a2"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.89d940a2","dist":{"shasum":"2b4cff59b187ae7d11e3ede5d673f9260b5f86e3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.89d940a2.tgz","fileCount":16,"unpackedSize":39872,"integrity":"sha512-Qw2Q7Jmg5yxxAMpB1KWrNo1rq7sN+TNGBfRhkNuYnMC72wjxmV7Iquv7SHPfM2qcuT2zQEvMGL456SZIQhRf5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZCWG4kMm/wZ+jxeUqXLboktB2MUEY6yPtKhB+tGCM4AiAbo+45Ig4fYVMfXpHybNevADoeOMNTIDUpzPStcAQRQA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.89d940a2_1530825977453_0.7403702187935299"},"_hasShrinkwrap":false},"1.1.0-alpha.51ddcf2b":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.51ddcf2b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.51ddcf2b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.51ddcf2b","@crave/farmblocks-hoc-input":"^3.1.0-alpha.51ddcf2b","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.51ddcf2b","@crave/farmblocks-input-select":"^0.9.0-alpha.51ddcf2b","@crave/farmblocks-theme":"^1.7.0-alpha.51ddcf2b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.51ddcf2b","@crave/farmblocks-text":"^1.2.0-alpha.51ddcf2b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.51ddcf2b","dist":{"shasum":"fc6cbd391a93fd1c5387269dfe07bbd5a857dd6d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.51ddcf2b.tgz","fileCount":16,"unpackedSize":40108,"integrity":"sha512-sllsouRUnn6Tbddnxn2+DFUAqeZN9RHGgAOH+JG+uofTOEJDlpSALdQ2spc/iE7+CgVF0oK/Sj0rc2euv6bNRA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHJ1bGXcgjqGsL+i2SaJ9nkTTjcpMY8wv+BRaS7eWW1UAiEAnKLY6CgLEFS9BZYf30QhXQAMFK/nvZ+MuJ4nqQhtlD8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.51ddcf2b_1530828005697_0.3194335912775834"},"_hasShrinkwrap":false},"1.0.9":{"name":"@crave/farmblocks-search-field","version":"1.0.9","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.0.5","@crave/farmblocks-hoc-validation-messages":"^0.2.5","@crave/farmblocks-input-select":"^0.8.6","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.2.3","@crave/farmblocks-text":"^1.1.10"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.9","dist":{"shasum":"cefcb60be96297c11d5c6d793fd3a24f92c5f7f4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.9.tgz","fileCount":16,"unpackedSize":40140,"integrity":"sha512-4iog52Hn7QkIJqpMy0T7CYHjKste0dMXZjH/p1uIJXlyV5Oms18E0zx+uD1o2N2+1un25MEhf0Nbn9eUYO3JBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICxSihkB4ELjFrGTtsqw7upPJIYXPijI2NlnNl3ixgVmAiAOeZFdabHsGNpgaIwshA2jNxaKzwMqXORuKF2ozcJCdQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.9_1530898861112_0.8035633691288688"},"_hasShrinkwrap":false},"1.1.0-alpha.a87779f4":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.a87779f4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.a87779f4","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a87779f4","@crave/farmblocks-hoc-input":"^3.1.0-alpha.a87779f4","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.a87779f4","@crave/farmblocks-input-select":"^0.9.0-alpha.a87779f4","@crave/farmblocks-theme":"^1.7.0-alpha.a87779f4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.a87779f4","@crave/farmblocks-text":"^1.2.0-alpha.a87779f4"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.a87779f4","dist":{"shasum":"f3cafeb49165db7442fb8d4f9fa08c216dd45600","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.a87779f4.tgz","fileCount":16,"unpackedSize":40270,"integrity":"sha512-Bhd48dieeFOPKiVxft7fG6IbHpzYFdLHgGgvxQLsxHIJ1HqvBi5cCOGhymQSNbahj0FZBZz5voRP8NmgVMtpBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpodJDS/YF+Q9kyOtij8Ics3BaZNT4VG4LaJFtIjV+igIhAJrP9s9Kbe3glCsUDRSUYJLtyZKL8CIq7DBgUUASJb2P"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.a87779f4_1531138622567_0.6211776060587417"},"_hasShrinkwrap":false},"1.1.0-alpha.aae05c34":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.aae05c34","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.aae05c34","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.aae05c34","@crave/farmblocks-hoc-input":"^3.1.0-alpha.aae05c34","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.aae05c34","@crave/farmblocks-input-select":"^0.9.0-alpha.aae05c34","@crave/farmblocks-theme":"^1.7.0-alpha.aae05c34","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.aae05c34","@crave/farmblocks-text":"^1.2.0-alpha.aae05c34"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.aae05c34","dist":{"shasum":"904f782cd1aabfd20d1fac3c572c06c16ec9b552","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.aae05c34.tgz","fileCount":16,"unpackedSize":40564,"integrity":"sha512-IrhQUaECFnJG/RY+irEyqiNvhqsMJibZxuUAdrbpMIIWbwp/hrMCFAy5S8hOIL41vycj3VcujtAFgjjavsgpgA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBBdtSviB2aJhCJkrl0FucrWLJzH31N4DDD7HBIEEBlRAiEA+0m/+ABEMqJj1xV/pKFUMM68NrcuNNMR48wLlvMMxmE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.aae05c34_1531139863397_0.9165992051093155"},"_hasShrinkwrap":false},"1.1.0-alpha.b17918e5":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.b17918e5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.b17918e5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b17918e5","@crave/farmblocks-hoc-input":"^3.1.0-alpha.b17918e5","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.b17918e5","@crave/farmblocks-input-select":"^0.9.0-alpha.b17918e5","@crave/farmblocks-theme":"^1.7.0-alpha.b17918e5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.b17918e5","@crave/farmblocks-text":"^1.2.0-alpha.b17918e5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.b17918e5","dist":{"shasum":"a0915861eefb1fc6c4f4c2beb722e5504b0582df","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.b17918e5.tgz","fileCount":16,"unpackedSize":41148,"integrity":"sha512-KUxCuHiTD5IhYAQwRsVDMiDdoy4EgZ1nQl4K18tbkSnN059sJpzmSRYuTCwacXV//8GyZtowRjplxDZWs4swig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTLIgtKnyABYSiiwyjAncSa/cVQFCUnDKaicWIoejkkQIgZgwwEGvXOXima4/Hy1JKI+dVyxN8IjF6iUEwkIMIlRc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.b17918e5_1531142400811_0.849481495027512"},"_hasShrinkwrap":false},"1.1.0-alpha.f38f1aff":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.f38f1aff","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.f38f1aff","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f38f1aff","@crave/farmblocks-hoc-input":"^3.1.0-alpha.f38f1aff","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.f38f1aff","@crave/farmblocks-input-select":"^0.9.0-alpha.f38f1aff","@crave/farmblocks-theme":"^1.7.0-alpha.f38f1aff","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.f38f1aff","@crave/farmblocks-text":"^1.2.0-alpha.f38f1aff"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.f38f1aff","dist":{"shasum":"5571a5292212d6dad11197a2b21e9d398996d3f0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.f38f1aff.tgz","fileCount":16,"unpackedSize":40940,"integrity":"sha512-EnUm3WYchsAiFH4bsauMIGeOfDlPS8BEfdIMmKBw+UpG8gfVPZeYH7FTTr9SsXYpUUmLsFWODZNW+gncBgR/Ng==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBxtcS5pb5HUaECWgI2a0/FeZLrPrgygZ2akF7FmRYY7AiAfD1ao3g4uKNl62k13yu9Og/Bq2SIeCdBZpM+HRavJLQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.f38f1aff_1531153323027_0.6652993268849141"},"_hasShrinkwrap":false},"1.1.0-alpha.abcc3683":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.abcc3683","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.abcc3683","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.abcc3683","@crave/farmblocks-hoc-input":"^3.1.0-alpha.abcc3683","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.abcc3683","@crave/farmblocks-input-select":"^0.9.0-alpha.abcc3683","@crave/farmblocks-theme":"^1.7.0-alpha.abcc3683","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.abcc3683","@crave/farmblocks-text":"^1.2.0-alpha.abcc3683"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.abcc3683","dist":{"shasum":"e30da81c20b4f0f44e1a548ea501389599cc0423","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.abcc3683.tgz","fileCount":16,"unpackedSize":40564,"integrity":"sha512-RPrOufFen8HU6r4zb7bkqV15EugGVPz7KYJK1ObubzfT309d3959VJLrDh7i/VTLiJ6od3G8IYRPyFyLkl2vyA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHpWh1p53Jxhe7k3kuf5qieJNBX5Hdk9rR83hP3T94i1AiBUna3F9OL0pqcWPgVi+vndV4RmF3TF8GnaY0CUF/iPYg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.abcc3683_1531155894603_0.32482666114065917"},"_hasShrinkwrap":false},"1.1.0-alpha.81056d4b":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.81056d4b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.81056d4b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.81056d4b","@crave/farmblocks-hoc-input":"^3.1.0-alpha.81056d4b","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.81056d4b","@crave/farmblocks-input-select":"^0.9.0-alpha.81056d4b","@crave/farmblocks-theme":"^1.7.0-alpha.81056d4b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.81056d4b","@crave/farmblocks-text":"^1.2.0-alpha.81056d4b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.81056d4b","dist":{"shasum":"92dd991edbf6d965dbc2302033b4e77947988ba1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.81056d4b.tgz","fileCount":16,"unpackedSize":41146,"integrity":"sha512-xB8KHs8KxEAx0uH164JnID+cepGr/AV3Z2V8GfsBpwvqQ8QLzQuC3xu2vHPBbIIIdNy1RbCJ+7/T2zfLRUy8iw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHJPUwQkVQtol52e3k/sjKs0wnT+1AU76inwy0wNlIegIhANvIjr5HIvEcG1I1lSrL9cGaJ8z/IAtH1/LZjjlvzb8n"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.81056d4b_1531161677830_0.6359084218273139"},"_hasShrinkwrap":false},"1.1.0-alpha.0c6db6ab":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.0c6db6ab","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.0c6db6ab","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0c6db6ab","@crave/farmblocks-hoc-input":"^3.1.0-alpha.0c6db6ab","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.0c6db6ab","@crave/farmblocks-input-select":"^0.9.0-alpha.0c6db6ab","@crave/farmblocks-theme":"^1.7.0-alpha.0c6db6ab","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.0c6db6ab","@crave/farmblocks-text":"^1.2.0-alpha.0c6db6ab"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.0c6db6ab","dist":{"shasum":"3da1d5470a6a774863010088f7f15d3f99d7058a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.0c6db6ab.tgz","fileCount":16,"unpackedSize":40564,"integrity":"sha512-mdsV0tUqKFDP5ZbGSu9BcNBROrlmMlZYqyXv2MREjZezJDG0fDd0spV1kGIXICCAJnkp36cChX22UD4aBirQ5Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChI0mi7eUbox3TW3zGn8SgIzkbCxfZASjQ8EvKdYLJqwIhAM1C7196fjFwZlN7G398hMeNa/UsE3rbguom09xPpjcj"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.0c6db6ab_1531162017630_0.7588484704542073"},"_hasShrinkwrap":false},"1.1.0-alpha.42dad151":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.42dad151","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.42dad151","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.42dad151","@crave/farmblocks-hoc-input":"^3.1.0-alpha.42dad151","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.42dad151","@crave/farmblocks-input-select":"^0.9.0-alpha.42dad151","@crave/farmblocks-theme":"^1.7.0-alpha.42dad151","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.42dad151","@crave/farmblocks-text":"^1.2.0-alpha.42dad151"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.42dad151","dist":{"shasum":"37de87bab13802239ae687ff2256184dbb3109f6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.42dad151.tgz","fileCount":16,"unpackedSize":40564,"integrity":"sha512-ZiYfGnLwA5MOljnr1xnQX0l47prDTpYIWz+gFAKE0BAi0gqzDlb9vnF/xIgNZPdfCRyc/Sq21jadtj0haPRg0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGgeyz8uvE8mk7YBzprkcEcpMvsP3Wn8E3n5QeWjuz6WAiA1Gsl4x73mnVyPMhNTHE+jCp/7/F2OmQ07DYkRmfFqAA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.42dad151_1531162569588_0.23939378751673424"},"_hasShrinkwrap":false},"1.0.10":{"name":"@crave/farmblocks-search-field","version":"1.0.10","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.0.5","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.8.7","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.2.3","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.10","dist":{"shasum":"4a7a47b49f52ba838c4602cf2b7e92e305e04ff2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.10.tgz","fileCount":16,"unpackedSize":40389,"integrity":"sha512-2cmiVMbIDqcMAAvTlJG+trKANgbQQuf6MTeURsTNF1Bu+QXYCvsSQEaDbCkdR16v+w5KDAnuon6w1aPtMseFbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICwAvJO7TfciSrqAeEfimxpq5/fIAZx40fWu2FkKhSumAiADqahFGt6OwUBxeF2lZoeNdnzwPu5j9WGhsqLI5BDiIw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.10_1531163227415_0.6620234416351083"},"_hasShrinkwrap":false},"1.1.0-alpha.dd4f6898":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.dd4f6898","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.dd4f6898","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.dd4f6898","@crave/farmblocks-hoc-input":"^3.1.0-alpha.dd4f6898","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.dd4f6898","@crave/farmblocks-input-select":"^0.9.0-alpha.dd4f6898","@crave/farmblocks-theme":"^1.7.0-alpha.dd4f6898","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.dd4f6898","@crave/farmblocks-text":"^1.2.0-alpha.dd4f6898"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.dd4f6898","dist":{"shasum":"f9a5b8e9885e747c2124d343d0b8705b8ac6966b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.dd4f6898.tgz","fileCount":16,"unpackedSize":40984,"integrity":"sha512-ubQx7DCVJifleLTMXXQCN3nSUK8nlBoaoGDLEOnlNx+T+A73gBrnC8lSHkGC4mdm5kNeGpbfKzzO4wg1aCwfcA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQChtR8Etbe7ZJwLxJZmr7rKSnJJnlmsJWdHRN7RKPx7HgIgDXwm8K+HvP2I8HyQ69sj0YxOtUzaIppRy7ePm/0oQ/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-search-field_1.1.0-alpha.dd4f6898_1531163851926_0.0728416917562873"},"_hasShrinkwrap":false},"1.1.0-alpha.96699fca":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.96699fca","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.96699fca","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.96699fca","@crave/farmblocks-hoc-input":"^3.1.0-alpha.96699fca","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.96699fca","@crave/farmblocks-input-select":"^0.9.0-alpha.96699fca","@crave/farmblocks-theme":"^1.7.0-alpha.96699fca","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.96699fca","@crave/farmblocks-text":"^1.3.0-alpha.96699fca"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.96699fca","dist":{"shasum":"09a87e48e0d69e3bad587832f771309009b67428","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.96699fca.tgz","fileCount":16,"unpackedSize":41234,"integrity":"sha512-RGY9yorvk9fdAZwpV8rjJxog7oI7TijoxKhGQTFDQTFmjVJWVRKlFisLIq+mDqBoCyN1lHWNCfnbKymEAUycTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyZnWoWp2sYelMeXzTJ1utq/HF3W3mC7+MlKKmYdGZYwIgCPXx2anyAfy8yXtHCLjeiAGKu2K1Il7BdY1615V1btM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.96699fca_1531165221238_0.013734878737894585"},"_hasShrinkwrap":false},"1.1.0-alpha.77fe25ee":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.77fe25ee","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.77fe25ee","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.77fe25ee","@crave/farmblocks-hoc-input":"^3.1.0-alpha.77fe25ee","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.77fe25ee","@crave/farmblocks-input-select":"^0.9.0-alpha.77fe25ee","@crave/farmblocks-theme":"^1.7.0-alpha.77fe25ee","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.77fe25ee","@crave/farmblocks-text":"^1.3.0-alpha.77fe25ee"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.77fe25ee","dist":{"shasum":"35762bb657ae61cbac31314858508d3970daeac5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.77fe25ee.tgz","fileCount":16,"unpackedSize":40995,"integrity":"sha512-rAxVgUhmfKjUt+KJw47N66fBd7GGNK2JzQHIlelGRwlKCnrOjdVZzI0iVd2xYjmOVTtEivfiDazlNsvMGY2F2w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDD5TlvPoPT2YDWSmDd0s8W4fhlrhrl518hEgmC5ugfOgIhAIbHSyqfOpqd4qnXZHeom1WnA3CapGnZA4GvHZAXOXEY"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.77fe25ee_1531166152079_0.9139087933512151"},"_hasShrinkwrap":false},"1.1.0-alpha.a113fe90":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.a113fe90","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.a113fe90","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a113fe90","@crave/farmblocks-hoc-input":"^3.1.0-alpha.a113fe90","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.a113fe90","@crave/farmblocks-input-select":"^0.9.0-alpha.a113fe90","@crave/farmblocks-theme":"^1.7.0-alpha.a113fe90","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.a113fe90","@crave/farmblocks-text":"^1.3.0-alpha.a113fe90"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.a113fe90","dist":{"shasum":"1b4c6175853cd948619de1e6c32100c0d0b0a7d2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.a113fe90.tgz","fileCount":16,"unpackedSize":40998,"integrity":"sha512-78PMZrBNcjm2sWJ2zOEQ3C9+T56Yd/4kcKbPbGhpsdaABdbJ4TiicFrpArHjI4QZTkor+x0akZx5XzhJsT2f7w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxuzuu7KAOPt7aztlRbgUgMNqSl2w250oVu+bGPaJv3wIgXmEyqd2lmjE/P4HH2O6YZ++AnUdW+dbSa6PTzb5JBuw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.a113fe90_1531167252118_0.1371237421183953"},"_hasShrinkwrap":false},"1.1.0-alpha.72fd5f91":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.72fd5f91","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.72fd5f91","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.72fd5f91","@crave/farmblocks-hoc-input":"^3.1.0-alpha.72fd5f91","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.72fd5f91","@crave/farmblocks-input-select":"^0.9.0-alpha.72fd5f91","@crave/farmblocks-theme":"^1.7.0-alpha.72fd5f91","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.72fd5f91","@crave/farmblocks-text":"^1.3.0-alpha.72fd5f91"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.72fd5f91","dist":{"shasum":"6ab072eecfebda32b13aef442ab647cfef4ed84d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.72fd5f91.tgz","fileCount":16,"unpackedSize":40814,"integrity":"sha512-vZ1faZ1mJIRZSTp9+982czenClQWSSpfpuibnamJfdNH9WOQhfgEK3/7WtA42ALHqA+ZFNdhu3TXkljkAkjKFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFUW/lg/B72p/4l0gOCaTvaxeUpoqqUzqyCdxxg6395hAiEAou11cWOAZvbEs+hIxTu9erTMUUCUG+rdT5Sto6fCPtA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.72fd5f91_1531174382392_0.7572782546492338"},"_hasShrinkwrap":false},"1.1.0-alpha.1a9e55bf":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.1a9e55bf","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.1a9e55bf","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.1a9e55bf","@crave/farmblocks-hoc-input":"^3.1.0-alpha.1a9e55bf","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.1a9e55bf","@crave/farmblocks-input-select":"^0.9.0-alpha.1a9e55bf","@crave/farmblocks-theme":"^1.7.0-alpha.1a9e55bf","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.1a9e55bf","@crave/farmblocks-text":"^1.3.0-alpha.1a9e55bf"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.1a9e55bf","dist":{"shasum":"e90ad761a5e9522c564717b55f8fe66a877a99b7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.1a9e55bf.tgz","fileCount":16,"unpackedSize":40814,"integrity":"sha512-ouAVqGqQyIIeO6rvmkZWQ0OoISGA1jq+pzLBWcm3LLlHPc8rzL5XvzxE2B+7vjhaHBvKsHnbkEfp/gPJTwB/QQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmBofP4Qab2gci/cdUP0y4BV4JBqj5hHJ9/RWIpcahDQIhALyizMhUHBbVtPEYHtpeIYlvTkyCuswv8jw69Crh//nG"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.1a9e55bf_1531243229483_0.876707975944579"},"_hasShrinkwrap":false},"1.1.0-alpha.81f8625d":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.81f8625d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.81f8625d","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.81f8625d","@crave/farmblocks-hoc-input":"^3.1.0-alpha.81f8625d","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.81f8625d","@crave/farmblocks-input-select":"^0.9.0-alpha.81f8625d","@crave/farmblocks-theme":"^1.7.0-alpha.81f8625d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.81f8625d","@crave/farmblocks-text":"^1.3.0-alpha.81f8625d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.81f8625d","dist":{"shasum":"67f7e5b93f0076d9824cdf7fb1caa0b12313895d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.81f8625d.tgz","fileCount":16,"unpackedSize":40814,"integrity":"sha512-8mtK4wEtwIl7qo8e/2Xkn/C8oCcjsDo19hhEON5iFfe5CWJ5R8LdVb7RDa84bNf1yixpK9e6kG6XyMxjZTwiGA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDILNJxpK85APy6ST8/pM6WoQEXLxgIvQkHfDM9DAp02wIhAIwjR2D94LY6juXA9iSI77BIMyWSQPs1yxw6ZUA/1tOm"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.81f8625d_1531244937022_0.9357659757930017"},"_hasShrinkwrap":false},"1.1.0-alpha.2a5219c2":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.2a5219c2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.2a5219c2","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2a5219c2","@crave/farmblocks-hoc-input":"^3.1.0-alpha.2a5219c2","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.2a5219c2","@crave/farmblocks-input-select":"^0.9.0-alpha.2a5219c2","@crave/farmblocks-theme":"^1.7.0-alpha.2a5219c2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.2a5219c2","@crave/farmblocks-text":"^1.3.0-alpha.2a5219c2"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.2a5219c2","dist":{"shasum":"faefd79b7bcea305b403e8883d2917d7ad95750b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.2a5219c2.tgz","fileCount":16,"unpackedSize":40814,"integrity":"sha512-WlMZholYjT7LA98F+5GZmsx6/6XZauxMNTYAJw9/E7S1csmbOqZmdzVW/1SNwmEl3KwQGpdnP0GZW2GdjYfrVw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAWlzdF5vDN+2u6QFCZzbcC+YmuPQ/mM0IRwXuVoo0xvAiEAiDikHGdGDliOgK9Ol8wsoSIWpYgIQEXJt3ZBlQ/YGtA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.2a5219c2_1531247984568_0.9187522395230672"},"_hasShrinkwrap":false},"1.1.0-alpha.07e93964":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.07e93964","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.07e93964","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.07e93964","@crave/farmblocks-hoc-input":"^3.1.0-alpha.07e93964","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.07e93964","@crave/farmblocks-input-select":"^0.9.0-alpha.07e93964","@crave/farmblocks-theme":"^1.7.0-alpha.07e93964","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.07e93964","@crave/farmblocks-text":"^1.3.0-alpha.07e93964"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.07e93964","dist":{"shasum":"eb540178bd99d0f0d2819e89c808453e5fbc3360","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.07e93964.tgz","fileCount":16,"unpackedSize":40814,"integrity":"sha512-fS+TP2nNDrOSGWBI1oGw8dV5Xxjt1WqphSP4CcVPBlo5mfvTCNcH3agpRtYaGgwoBDYv1oqvWgzh4Yc4cewDpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2yDfkdclGb+CbG5kJpn1n+RdO0wo5kCxgJk2G5RlvhQIgVIUYJFPerWCIJKE87RNgxzUTU9PyVkj8URYh4r0Km4o="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.07e93964_1531249314451_0.5024063181806575"},"_hasShrinkwrap":false},"1.0.11":{"name":"@crave/farmblocks-search-field","version":"1.0.11","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.1.0","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.8.8","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.2.3","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.11","dist":{"shasum":"83cb5d15469973a6e4b3768d1f5baeb985d338a1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.11.tgz","fileCount":16,"unpackedSize":40639,"integrity":"sha512-2JGF+z0PMmejunzii1nYEfvicmQJksZeUAfMUa+x/d6ycSqDvwLa0iBuAlDU5hxbJ7gGI3UdCzbmE0wVDQEt/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvI27t5BsZZ7kfRVL75jVUMTQT4ziA5FedFIX6258bPgIhAKJ5DN2U3thwG4VNh9XUlHuupdYVjwS3F+mtrEf7D5FP"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.11_1531249972806_0.18364022404959401"},"_hasShrinkwrap":false},"1.1.0-alpha.870fb257":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.870fb257","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.870fb257","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.870fb257","@crave/farmblocks-hoc-input":"^3.2.0-alpha.870fb257","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.870fb257","@crave/farmblocks-input-select":"^0.9.0-alpha.870fb257","@crave/farmblocks-theme":"^1.7.0-alpha.870fb257","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.870fb257","@crave/farmblocks-text":"^1.3.0-alpha.870fb257"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.870fb257","dist":{"shasum":"de452d0eb393ce1b649e1faaf216aef3c0eb8801","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.870fb257.tgz","fileCount":16,"unpackedSize":41064,"integrity":"sha512-2kLBsulQuTX5lgBpfcVFYwV0kTMN+pPE6fMCiFljms7wCFHN8WSGQA1HMYPtO1WhPkBNQ/2qraN0qYWGE2Jkew==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ0YKt/qKk1s+x/PLi/5e8LPt6itOG8i5005LneLHliwIhAMydryWPvJTHW1tRXESsP61yDKdcnKE2OkWVYIwj/Cp5"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.870fb257_1531321044616_0.06769518791995255"},"_hasShrinkwrap":false},"1.0.12":{"name":"@crave/farmblocks-search-field","version":"1.0.12","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.1.0","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.8.9","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.2.3","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.12","dist":{"shasum":"0c26dcd1b78773b0014dabf6e69d81732594911a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.12.tgz","fileCount":16,"unpackedSize":40889,"integrity":"sha512-1UX41uB1wDeaUDeGgWMmivJ6K+f9Z2H1+Lq/8ue2rhk7R/g6VIWo8SH226iTktaFVI9bbmSyXLWvKJsJbqATTQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/uPiL5I06BSYK1C500cZxsqgMAlV1eXRfIrjFaZQSngIhAOam9B29XzrTmcG0loY7edPfOEG0bmSTVc/SIaZclwrh"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.12_1531335906606_0.6331143860388773"},"_hasShrinkwrap":false},"1.1.0-alpha.0c8ff882":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.0c8ff882","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.0c8ff882","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0c8ff882","@crave/farmblocks-hoc-input":"^3.2.0-alpha.0c8ff882","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.0c8ff882","@crave/farmblocks-input-select":"^0.9.0-alpha.0c8ff882","@crave/farmblocks-theme":"^1.7.0-alpha.0c8ff882","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.0c8ff882","@crave/farmblocks-text":"^1.3.0-alpha.0c8ff882"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.0c8ff882","dist":{"shasum":"faa34ca957dbf4e9aca3c2293ed8fd431ab4cd78","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.0c8ff882.tgz","fileCount":16,"unpackedSize":41064,"integrity":"sha512-AecLaGR58/0YlnCE+NtEqpxfi0G8PbiVVGFbEuebc3D78lP30jukDSDTfI6XYMwMe+c25Fjbcc3BSRd9RUsjCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFK2K0G21KPl3+egw+YrTq2U+0zEFRZ2N0B2y/5JTgFNAiALUZnwijlSLJsLxFfOmgGgg9bHeJ4hqa13xpCmfTzr1A=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.0c8ff882_1531344054513_0.13003896147783967"},"_hasShrinkwrap":false},"1.1.0-alpha.4b14c449":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.4b14c449","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.4b14c449","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.4b14c449","@crave/farmblocks-hoc-input":"^3.2.0-alpha.4b14c449","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.4b14c449","@crave/farmblocks-input-select":"^0.9.0-alpha.4b14c449","@crave/farmblocks-theme":"^1.7.0-alpha.4b14c449","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.4b14c449","@crave/farmblocks-text":"^1.3.0-alpha.4b14c449"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.4b14c449","dist":{"shasum":"dedec498d0e8f45891c68ca448bf4570ef938647","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.4b14c449.tgz","fileCount":16,"unpackedSize":41314,"integrity":"sha512-irYH1eDAyXFpqkyjsMHKm0Px0d0pm0GjXyrcvQn/0RX17P+FQleskMXa2BhALebupbp+Wf/0vBZq4SaMS93Gig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJQg42oEpwvHdORFatF8gKZYRmiRWtUSxqZ4IjDINLwAiEAt3KweWtLc4GHYfvkrcPvcCpZWIP0CGdoP6mnZvA3JFA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.4b14c449_1531344743515_0.5946488180636793"},"_hasShrinkwrap":false},"1.1.0-alpha.0b75e71e":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.0b75e71e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.0b75e71e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0b75e71e","@crave/farmblocks-hoc-input":"^3.2.0-alpha.0b75e71e","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.0b75e71e","@crave/farmblocks-input-select":"^0.9.0-alpha.0b75e71e","@crave/farmblocks-theme":"^1.7.0-alpha.0b75e71e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.0b75e71e","@crave/farmblocks-text":"^1.3.0-alpha.0b75e71e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.0b75e71e","dist":{"shasum":"40b02956d14353d047e1adef75ab774317b31a65","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.0b75e71e.tgz","fileCount":16,"unpackedSize":41314,"integrity":"sha512-zuCsMHCy/0TM6sN8CAfm3BzLR8XfwK7FXthozT5iZ/yT9TJx9z0iihr9czHN7Q9pvv0tdS9eq5AAEod4XXyKRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdKAWRcGQJBLi8utYYRqt4kVDagTS1/pJ+qdF753CDdAIhAIe3OPreCh6pWe31EFlyxWgfx9eNQxVRMloxOrWM8zZV"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.0b75e71e_1531398115500_0.5820292392120687"},"_hasShrinkwrap":false},"1.1.0-alpha.47583025":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.47583025","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.47583025","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.47583025","@crave/farmblocks-hoc-input":"^3.2.0-alpha.47583025","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.47583025","@crave/farmblocks-input-select":"^0.9.0-alpha.47583025","@crave/farmblocks-theme":"^1.7.0-alpha.47583025","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.47583025","@crave/farmblocks-text":"^1.3.0-alpha.47583025"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.47583025","dist":{"shasum":"d6772ca3b882d2571e4273ab624f1ab3664d6078","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.47583025.tgz","fileCount":16,"unpackedSize":41314,"integrity":"sha512-rLkkDIExKS6sQoYdVBVpb5TtoINVvfpKddlLeZ/UgEKFYvHyaG5Tyg9IiUFBxU5cxc8I8yo4HGjz8mR/VRW8TQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF11ti+zkjZDtaZsrO3dougi3n+vU4G8lHb+t+xyLqQlAiBGcy7eadoREJMwIwCbGOBVWQZOIC1Qg36gtRpgE3SzbA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.47583025_1531400686480_0.8845875217031207"},"_hasShrinkwrap":false},"1.1.0-alpha.f8dae37d":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.f8dae37d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.f8dae37d","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f8dae37d","@crave/farmblocks-hoc-input":"^3.2.0-alpha.f8dae37d","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.f8dae37d","@crave/farmblocks-input-select":"^0.9.0-alpha.f8dae37d","@crave/farmblocks-theme":"^1.7.0-alpha.f8dae37d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.f8dae37d","@crave/farmblocks-text":"^1.3.0-alpha.f8dae37d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.f8dae37d","dist":{"shasum":"5db6cd50244d0684e38db9bbf089854e086ecac5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.f8dae37d.tgz","fileCount":16,"unpackedSize":41314,"integrity":"sha512-wXzgT2j3X3CIopGNlp4sGPs9FJgBRgI4+oaPUJuWHI6iJYSFAsrcmCQGN7tr93Bb2WTgbfqeeNpQkoYvJ9/rwg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoMys1OzFReYcGFFqZIbZ0lLf4KABsYlhyZJ2ltI06fQIhALDN5gYgdpkd03/IjmdYBs1YxDRloCmaAqElWj/KS+YQ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.f8dae37d_1531402259389_0.2593315470515225"},"_hasShrinkwrap":false},"1.1.0-alpha.66f021e1":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.66f021e1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.66f021e1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.66f021e1","@crave/farmblocks-hoc-input":"^3.2.0-alpha.66f021e1","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.66f021e1","@crave/farmblocks-input-select":"^0.9.0-alpha.66f021e1","@crave/farmblocks-theme":"^1.7.0-alpha.66f021e1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.66f021e1","@crave/farmblocks-text":"^1.3.0-alpha.66f021e1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.66f021e1","dist":{"shasum":"fa64bfeec75fd537927abcec9224e64298e173b1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.66f021e1.tgz","fileCount":16,"unpackedSize":41314,"integrity":"sha512-hX6XNP3MJKEOQsMbdltO5RRe5Wli+V+a+tbte5GWQICh2AGBg1QRSCz3M9UoL01Hl4a9T1exED36Au8OOLVJ3w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9zOIvkEbCvaXl3/zS13OEafofPgeQ8plZ4c2eeM9+wQIhAM8mCfb+AafPZmEbvQz48f4/OAln7ibHDrjYImtKX4rx"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.66f021e1_1531402896508_0.17310664158712252"},"_hasShrinkwrap":false},"1.1.0-alpha.96daaacc":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.96daaacc","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.96daaacc","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.96daaacc","@crave/farmblocks-hoc-input":"^3.2.0-alpha.96daaacc","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.96daaacc","@crave/farmblocks-input-select":"^0.9.0-alpha.96daaacc","@crave/farmblocks-theme":"^1.7.0-alpha.96daaacc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.96daaacc","@crave/farmblocks-text":"^1.3.0-alpha.96daaacc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.96daaacc","dist":{"shasum":"e2e5e36c43f66f90998c275c2e36c09f539058a4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.96daaacc.tgz","fileCount":16,"unpackedSize":41314,"integrity":"sha512-kmaMT0MpK9qpOvHae04k5Mx6iy7ymR5zvdCL277/Z3w+TMXlbB/2Ma8rz06QxK7r0FZoctGaC2tpMepl5Ndgog==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8CguzlWPg6GNke6DxupBhlhf1hvJerwvbUv68pdw5ggIhAKV5GXE/0/XdZplDqqZrgg9NXCkSqz7Pq0FyM9fj0GxY"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.96daaacc_1531403677639_0.44738983722864223"},"_hasShrinkwrap":false},"1.0.13":{"name":"@crave/farmblocks-search-field","version":"1.0.13","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.1.1","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.8.10","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.2.3","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.13","dist":{"shasum":"c82f2c55c14b5e08f25f7dad902c7562f3198301","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.13.tgz","fileCount":16,"unpackedSize":41140,"integrity":"sha512-ocnT8TBn9/K9VHpqvGMzplcmUQCuIbmm++x1ZqnDQkt6/pZZNS1KEL/G7nlSmXXMwQfz8RWeFoyHTt6kxNPh2g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkkqcmtu/qKlY9Km75itQz+f3XwfGH3Bwtd8Q10ip8ZQIhAOup60GwacF4reraR1KCfFdEbgckm+9Y9BEJPN+vrARX"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.0.13_1531404883508_0.688370586458964"},"_hasShrinkwrap":false},"1.1.0-alpha.14426014":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.14426014","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.14426014","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.14426014","@crave/farmblocks-hoc-input":"^3.2.0-alpha.14426014","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.14426014","@crave/farmblocks-input-select":"^0.9.0-alpha.14426014","@crave/farmblocks-theme":"^1.7.0-alpha.14426014","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.14426014","@crave/farmblocks-text":"^1.3.0-alpha.14426014"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.14426014","dist":{"shasum":"d675227e24b39557df33f62c391bcc4008f42f14","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.14426014.tgz","fileCount":16,"unpackedSize":41314,"integrity":"sha512-FYC5Vjdm0UkFpDVbseOlZZdFzWyKls5RYrHR5K44pjhK7EGxXT64Bz2IT7AWw1NTwv0nzR+PeDnoIcPq+CYjCA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC6KWhv5skV0PDqxMoLFaMtHBfe404OaW5ddjHqbm5tZAIgM/9Ldfm+F/pedmOdrf/GzUQQDmX+z04ACRmPmjVXYjU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.14426014_1531408027934_0.06394840668308532"},"_hasShrinkwrap":false},"1.1.0-alpha.a3feb48e":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.a3feb48e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.a3feb48e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a3feb48e","@crave/farmblocks-hoc-input":"^3.2.0-alpha.a3feb48e","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.a3feb48e","@crave/farmblocks-input-select":"^0.9.0-alpha.a3feb48e","@crave/farmblocks-theme":"^1.7.0-alpha.a3feb48e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.a3feb48e","@crave/farmblocks-text":"^1.3.0-alpha.a3feb48e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.a3feb48e","dist":{"shasum":"3be4862eacc1862e11a052378f417ee3f87043f3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.a3feb48e.tgz","fileCount":16,"unpackedSize":41564,"integrity":"sha512-bakbxcIoiqGOt+hoYN4JvjQ63tFjV5B/xBDxILWDOvv+b36aefV3rTyqf5bhqSu7ztrE4SmBJC7ra/r/XoS68w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICp7CsBY+dKqvh3w88pX8OduOROp/mqc35TJftzkSAzBAiAvutE1maUgGTGHhw0+VVZ+qHGwQQpVxl9LfNOWNCvWHw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@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-search-field_1.1.0-alpha.a3feb48e_1531408243025_0.48350636480320763"},"_hasShrinkwrap":false},"1.1.0-alpha.09982a08":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.09982a08","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.09982a08","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.09982a08","@crave/farmblocks-hoc-input":"^3.2.0-alpha.09982a08","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.09982a08","@crave/farmblocks-input-select":"^0.9.0-alpha.09982a08","@crave/farmblocks-theme":"^1.7.0-alpha.09982a08","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.09982a08","@crave/farmblocks-text":"^1.3.0-alpha.09982a08"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.09982a08","dist":{"shasum":"28aa96e1bf0fb44c945573fe40a60ea653039432","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.09982a08.tgz","fileCount":16,"unpackedSize":42190,"integrity":"sha512-3ttCC21Vw5BKi/bDDjsACSZO8/HT6r03IsWuk46pM1QuRVPBNVfJ2aBovSYO5YekBASx/+Jrj1CjQLbqyLi8CA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHNjyGVknqlc/hblyqp2X5BBRTnO47/s/CMzCOZDqNClAiBf/rLvOdspFo5nd91XiW73Iuj//vdrdXbExoIsx3PZFA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.09982a08_1531509418905_0.45014125076126144"},"_hasShrinkwrap":false},"1.1.0-alpha.e2104edc":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.e2104edc","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.e2104edc","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e2104edc","@crave/farmblocks-hoc-input":"^3.2.0-alpha.e2104edc","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.e2104edc","@crave/farmblocks-input-select":"^0.9.0-alpha.e2104edc","@crave/farmblocks-theme":"^1.7.0-alpha.e2104edc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.e2104edc","@crave/farmblocks-text":"^1.3.0-alpha.e2104edc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.e2104edc","dist":{"shasum":"1e2223e461861cb9e77fdd767ab0670703f3f23d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.e2104edc.tgz","fileCount":16,"unpackedSize":42190,"integrity":"sha512-OntMOEGm3SSYoEqmFkvwp4l+XZBBRm5cZVjTGCezJCi6n5bFu0nhh4H9mIz4BoJaXr3J2LFdvCkaLHV7VCHRKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6WOeTPlCiyijtjT3WgxjuYh2WOQQg4Dk9tiUdC9FcsAiEA84aVXy2vJrcHBGgX2tzyKVkBm1RL480BFPOmdqnRkfs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.e2104edc_1531745630858_0.3424688767413222"},"_hasShrinkwrap":false},"1.1.0-alpha.fe2d60bf":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.fe2d60bf","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.fe2d60bf","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.fe2d60bf","@crave/farmblocks-hoc-input":"^3.2.0-alpha.fe2d60bf","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.fe2d60bf","@crave/farmblocks-input-select":"^0.9.0-alpha.fe2d60bf","@crave/farmblocks-theme":"^1.7.0-alpha.fe2d60bf","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.fe2d60bf","@crave/farmblocks-text":"^1.3.0-alpha.fe2d60bf"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.fe2d60bf","dist":{"shasum":"13b3ded1cbb6dcb4c3312b6334884c09f2da077b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.fe2d60bf.tgz","fileCount":16,"unpackedSize":42190,"integrity":"sha512-DM/PgaPPJSh2+KBWNtfYoz/sJi98HbzC0crovy4ezWauuZU2oBZX+R+r4HJnnwcWxW6Vv78sF7WyP+0IrDoL1g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGu+LKwSGEx+nVyCXtRswZ1IXQIgXkePOCiZkZkGPJlmAiEA0x5vAV7nSpwb7GThC9txT7WfIxxnbs+dyq5b/tk5gho="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.fe2d60bf_1531751928095_0.5676268884135487"},"_hasShrinkwrap":false},"1.1.0-alpha.d249c1a8":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.d249c1a8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.d249c1a8","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d249c1a8","@crave/farmblocks-hoc-input":"^3.2.0-alpha.d249c1a8","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.d249c1a8","@crave/farmblocks-input-select":"^0.9.0-alpha.d249c1a8","@crave/farmblocks-theme":"^1.7.0-alpha.d249c1a8","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.d249c1a8","@crave/farmblocks-text":"^1.3.0-alpha.d249c1a8"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.d249c1a8","dist":{"shasum":"af5946fb92dd378505dab1b72dc5709829d7d6bb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.d249c1a8.tgz","fileCount":16,"unpackedSize":42190,"integrity":"sha512-osaY1KIVNLoRrSY6PLfLFm5d6D4blUFZ2BHwNdHPrwt6zcfo7mZpfjGIDhSNXw2etCjsXajzhCnnRVZNjujIHQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH5gru8SfefCCtqorxByJ0O4mlto2ElqDIIVAbhSE01tAiAnP5riaqSZt3HvCEDWRety4RnS+VpwRtqee6ShDkGE0Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.d249c1a8_1531752002686_0.1723866782707415"},"_hasShrinkwrap":false},"1.1.0-alpha.fe687acf":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.fe687acf","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.fe687acf","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.fe687acf","@crave/farmblocks-hoc-input":"^3.2.0-alpha.fe687acf","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.fe687acf","@crave/farmblocks-input-select":"^0.9.0-alpha.fe687acf","@crave/farmblocks-theme":"^1.7.0-alpha.fe687acf","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.fe687acf","@crave/farmblocks-text":"^1.3.0-alpha.fe687acf"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.fe687acf","dist":{"shasum":"f571a8a7cd538115367a10e5f17a9eb310eccd33","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.fe687acf.tgz","fileCount":16,"unpackedSize":41564,"integrity":"sha512-ld2NPcsH2krQauKECtiPBYxAwYaTWup/5TEakA0HkSpjnUk6gj598q+xA1YeNoBvnrXLL1Kmtju5jRMHtXafCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuNXLGwZmwFLtp2Cia+bvnAKDT/WkOF/P1w7YEGvLtHQIhAOkvQ9EfJWvb9dbUL1uEyrOJkHB8f65Dul6bPE060ste"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.fe687acf_1531820006094_0.1725933025887425"},"_hasShrinkwrap":false},"1.1.0-alpha.f2bf40a9":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.f2bf40a9","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.f2bf40a9","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f2bf40a9","@crave/farmblocks-hoc-input":"^3.2.0-alpha.f2bf40a9","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.f2bf40a9","@crave/farmblocks-input-select":"^0.9.0-alpha.f2bf40a9","@crave/farmblocks-theme":"^1.7.0-alpha.f2bf40a9","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.f2bf40a9","@crave/farmblocks-text":"^1.3.0-alpha.f2bf40a9"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.f2bf40a9","dist":{"shasum":"dcfef3b0d1606c322b43ce122b889d37169a83dc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.f2bf40a9.tgz","fileCount":16,"unpackedSize":41564,"integrity":"sha512-6LFSkkn8rxtAQ9/DLc8AxnDbXpJmm3me1awQwcBD9fy4L7GKwaNmhcwOQQl/ZGRAuz/9VDInKK/sB9MlRmFi0w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEezUlzpInQMZhv7GiryzXH6wB/+OCcHSe5gJkeXAAHpAiA9WayJmA2qDG/KXlYDWCQZnTJttUkg6EmT6orDUcl2WQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.f2bf40a9_1531833597188_0.6266858903362194"},"_hasShrinkwrap":false},"1.1.0-alpha.2372b0d4":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.2372b0d4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.2372b0d4","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2372b0d4","@crave/farmblocks-hoc-input":"^3.2.0-alpha.2372b0d4","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.2372b0d4","@crave/farmblocks-input-select":"^0.9.0-alpha.2372b0d4","@crave/farmblocks-theme":"^1.7.0-alpha.2372b0d4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.2372b0d4","@crave/farmblocks-text":"^1.3.0-alpha.2372b0d4"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.2372b0d4","dist":{"shasum":"66fffa25bcb962769e8f8970a5ab8f5ef01cee3d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.2372b0d4.tgz","fileCount":16,"unpackedSize":42190,"integrity":"sha512-SJvjYxVU2CTcRJmTSN4Dp/Bh0lQV27rllkF55/nefcdI8DjQ/PRAkagNwhd3z39HlkAVCmlb5c9mvSC0LLm5Kg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD36RXookE4pVAe8fVO7XF6vo61SgVbsDOOPDzNjJi6sAIhALW1RItOMMO6BilxfH0kuDh4tynCDwjpsBLl7xfQTUKA"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.2372b0d4_1531920014585_0.003790754788187467"},"_hasShrinkwrap":false},"1.0.14":{"name":"@crave/farmblocks-search-field","version":"1.0.14","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.1.2","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.8.11","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.2.3","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.14","dist":{"shasum":"448c4d87e575c63c7e566fff3cbeb65fc8a22807","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.14.tgz","fileCount":16,"unpackedSize":42016,"integrity":"sha512-7dXSavU+gveo5vlj1TACNzUhpFfHnbYn3esyrmxbxwx0kvEykuN7Ukxvzs8yNJGUDpO3YdJAP9pEzBn2i1VVAg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv+54CtAAMKRWDHN9UjAQ5Lkcs0hYRCQYP/EQH7komrQIgCXgJfU1BepPksRLe/fL/lX/kCjTUb14cTM3jEknBf9U="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.0.14_1531920674099_0.32804319453719066"},"_hasShrinkwrap":false},"1.1.0-alpha.3541e4fb":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.3541e4fb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.3541e4fb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3541e4fb","@crave/farmblocks-hoc-input":"^3.2.0-alpha.3541e4fb","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.3541e4fb","@crave/farmblocks-input-select":"^0.9.0-alpha.3541e4fb","@crave/farmblocks-input-text":"^1.5.0-alpha.3541e4fb","@crave/farmblocks-theme":"^1.7.0-alpha.3541e4fb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.3541e4fb","@crave/farmblocks-text":"^1.3.0-alpha.3541e4fb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.3541e4fb","dist":{"shasum":"e766b0d356a786afc4ddd82e4173b1075d669b37","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.3541e4fb.tgz","fileCount":15,"unpackedSize":36503,"integrity":"sha512-Bcbx8D6SPhX+NAlnQLpRfbQ/UYfBUKVdIM7xkbBv4bXtfVXag3e6xMBZHRzzBU/wHd6n0LCEA6tfvMI8Fi5cKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDHwCxG3O2u9xTUOypTFJnYfwnTVlLlMpDGqEkKnJgPUwIhAO/Nw3V9GD3z9Dm+/BhRxaW+W1jcPDDf2lrViy4wFRFj"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.3541e4fb_1531939569199_0.49267126463851474"},"_hasShrinkwrap":false},"1.1.0-alpha.20185dbd":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.20185dbd","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.20185dbd","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.20185dbd","@crave/farmblocks-hoc-input":"^3.2.0-alpha.20185dbd","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.20185dbd","@crave/farmblocks-input-select":"^0.9.0-alpha.20185dbd","@crave/farmblocks-theme":"^1.7.0-alpha.20185dbd","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.20185dbd","@crave/farmblocks-text":"^1.3.0-alpha.20185dbd"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.20185dbd","dist":{"shasum":"a12e9c7fdd33cf4d138f3e8f089df1c94fd1dd97","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.20185dbd.tgz","fileCount":16,"unpackedSize":42440,"integrity":"sha512-W1tfvBJHk6bmuk7tL45LjDzb+ZMqYP8sR1yBi3KFke/sWfXuiZtXAkA1oZpAvuk6oghS6wbcyB6frlfSJemV5g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCH8Y7Zr8H74VFXf7IsahYyitBzTMm8L7oHV+xnSP2ynAIhAMupKyqdxSe6vHfr4jQy9Za/sj3jfNrq9tmwdi7y2pgp"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.20185dbd_1532011304789_0.4140935905525731"},"_hasShrinkwrap":false},"1.1.0-alpha.30efe03d":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.30efe03d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.30efe03d","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.30efe03d","@crave/farmblocks-hoc-input":"^3.2.0-alpha.30efe03d","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.30efe03d","@crave/farmblocks-input-select":"^0.9.0-alpha.30efe03d","@crave/farmblocks-input-text":"^1.5.0-alpha.30efe03d","@crave/farmblocks-theme":"^1.7.0-alpha.30efe03d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.30efe03d","@crave/farmblocks-text":"^1.3.0-alpha.30efe03d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.30efe03d","dist":{"shasum":"ffee9d1c699bcbfeeda8ac12bbedda9ffddcc3e6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.30efe03d.tgz","fileCount":15,"unpackedSize":36788,"integrity":"sha512-o9/FUMVLZKE1G8m0yqO87LAVM1lWyFko2ndV+nc5WizzROJr+b2iSsPG6tt8G727vMQzkw1ugBnbGeXN9Jx4cA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE1fCHn7jOwCyhh+ahbV87s92UaKyKygz+69D7rAYNTfAiEA16RY4pLTUxFffEU/IzaeNvbtv4U+DOzOnnoLKeuhmeA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.30efe03d_1532011308506_0.889983675835986"},"_hasShrinkwrap":false},"1.1.0-alpha.792d3ae8":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.792d3ae8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.792d3ae8","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.792d3ae8","@crave/farmblocks-hoc-input":"^3.2.0-alpha.792d3ae8","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.792d3ae8","@crave/farmblocks-input-select":"^0.9.0-alpha.792d3ae8","@crave/farmblocks-input-text":"^1.5.0-alpha.792d3ae8","@crave/farmblocks-theme":"^1.7.0-alpha.792d3ae8","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.792d3ae8","@crave/farmblocks-text":"^1.3.0-alpha.792d3ae8"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.792d3ae8","dist":{"shasum":"e4c99b5628f50cb02e3b257f1fe45dab183e9277","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.792d3ae8.tgz","fileCount":15,"unpackedSize":37121,"integrity":"sha512-as6GJWqgJv96/gzK6Sd031k58/rYVcW855l60SDtGq5ccbuSjnPhbIQf+StFQM/gzPmOiqDXti87XdfY1qXnpg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHWmioGjf6UPyfEJem0fzeag0k3yDuKu8E2TvDhfxoDiAiAgGM/pfZ3bb2cJBd28TISikJQdO8tGHvMwE0aDHVwlZg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.792d3ae8_1532012149498_0.7754076518585238"},"_hasShrinkwrap":false},"1.0.15":{"name":"@crave/farmblocks-search-field","version":"1.0.15","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.2.0","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.8.12","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.2.3","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.15","dist":{"shasum":"894adca88687f0fa0b02fa31a1c7b461c89be6ed","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.15.tgz","fileCount":16,"unpackedSize":42266,"integrity":"sha512-qdkSogCLRatB9SGSnWWRMh3a0MqQIG1YexGXgCSYI0KpyuQRx1z59AwGYJzYQOz+5WTcPKzzov5ljz4doN1Cgg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwCveoM/9X+ZPXtsx8q1mT1mtTpp0hdLUMmM5WM3mWpgIgGFXxvhOyahaAJgv8qXmYCTpscWcKSPdbMZBOy5bRvU8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.0.15_1532018073489_0.9523129803519514"},"_hasShrinkwrap":false},"1.1.0-alpha.7cec0a98":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.7cec0a98","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.7cec0a98","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7cec0a98","@crave/farmblocks-hoc-input":"^3.3.0-alpha.7cec0a98","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.7cec0a98","@crave/farmblocks-input-select":"^0.9.0-alpha.7cec0a98","@crave/farmblocks-input-text":"^1.5.0-alpha.7cec0a98","@crave/farmblocks-theme":"^1.7.0-alpha.7cec0a98","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.7cec0a98","@crave/farmblocks-text":"^1.3.0-alpha.7cec0a98"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.7cec0a98","dist":{"shasum":"3f3d0295b3c9ebfb0128752bb8fef550c027b457","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.7cec0a98.tgz","fileCount":15,"unpackedSize":37645,"integrity":"sha512-VHwrNmcvkPbTUVW9r4My6cARW3ufLOu5dfm0lye+S1CAuBE9K5Yo7SI8hIAAO61Z6HDr1sfNy/s+YCdkn59pzA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEcDFHcDlGjzIwcdq3Cle9DOSEtKjvdpRVE1wVgGOMqJAiEAhHuGefR52FK55/grZz0QPay/6gAJ+BiqEayRpXdayn4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.7cec0a98_1532027741738_0.5030017681058243"},"_hasShrinkwrap":false},"1.1.0-alpha.35dc97e0":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.35dc97e0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.35dc97e0","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.35dc97e0","@crave/farmblocks-hoc-input":"^3.3.0-alpha.35dc97e0","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.35dc97e0","@crave/farmblocks-input-select":"^0.9.0-alpha.35dc97e0","@crave/farmblocks-theme":"^1.7.0-alpha.35dc97e0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.35dc97e0","@crave/farmblocks-text":"^1.3.0-alpha.35dc97e0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.35dc97e0","dist":{"shasum":"3a055b4e7887f3b345a62346cfa9bc7222232e10","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.35dc97e0.tgz","fileCount":16,"unpackedSize":42690,"integrity":"sha512-6ShM5AUqSA6uXslhm1XVifWorYvYnZCG8eSerPnOg3ppajeOHh1nS/qy7e5J3V4Ayq4uyUGNiGhMtwWY2iEwyQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDdsMq478I3KDUZERB5tsruSoFoOspJNHcxhe6xOfSjHAIhAJHEO925tpo8ZcTDmOWN9HtUHU79eJqHAs2JmWgWpf4S"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.35dc97e0_1532029181023_0.332938244689589"},"_hasShrinkwrap":false},"1.1.0-alpha.ebbbcf26":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.ebbbcf26","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.ebbbcf26","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ebbbcf26","@crave/farmblocks-hoc-input":"^3.3.0-alpha.ebbbcf26","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.ebbbcf26","@crave/farmblocks-input-select":"^0.9.0-alpha.ebbbcf26","@crave/farmblocks-theme":"^1.7.0-alpha.ebbbcf26","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.ebbbcf26","@crave/farmblocks-text":"^1.3.0-alpha.ebbbcf26"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.ebbbcf26","dist":{"shasum":"65530b5f8bbe735a881c06da49c955cbf9286367","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.ebbbcf26.tgz","fileCount":16,"unpackedSize":42690,"integrity":"sha512-Oilg4yHUhr89SuJutCtiANT9Aemp/NO3f0rAJAIGWpBnynoIcTMSAuUvfgu95GP6oxL5o/oNvpgd1QXuVkJNDQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD23mpC1sLksPyhSRIXbS3YpKhHcLVfFuB1VNAa7F9PHQIgcpDWjgJUtX7Q8/BvG25zX3pOQR9/tqqSZHlVgWUw5E4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.ebbbcf26_1532030659730_0.9521774087284045"},"_hasShrinkwrap":false},"1.0.16":{"name":"@crave/farmblocks-search-field","version":"1.0.16","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.8","@crave/farmblocks-hoc-input":"^3.2.1","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.8.13","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.2.3","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.16","dist":{"shasum":"5a9987fe6a5088d4d4e36c072f0e891c62e4ac4c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.16.tgz","fileCount":16,"unpackedSize":42516,"integrity":"sha512-PfTOimP5hQF4h6hFbl5GHV6BovsFRQ+u+82hCEYpL5au7LdRdVn8VPE3xC6Be8YmcV+mBXPgDzpiPErbQmrwKQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBg9nfnHHueg90hM2KQYDMsPjTh6zJkBG+yxem/xUotRAiEA/yQFPhsFgB4wMQDK0JssTMiWrgDGLmLySX7e+i+gOmQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.0.16_1532034941733_0.04967449374016919"},"_hasShrinkwrap":false},"1.1.0-alpha.9d0d7e53":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.9d0d7e53","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.9d0d7e53","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9d0d7e53","@crave/farmblocks-hoc-input":"^3.3.0-alpha.9d0d7e53","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.9d0d7e53","@crave/farmblocks-input-select":"^0.9.0-alpha.9d0d7e53","@crave/farmblocks-theme":"^1.7.0-alpha.9d0d7e53","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.9d0d7e53","@crave/farmblocks-text":"^1.3.0-alpha.9d0d7e53"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.9d0d7e53","dist":{"shasum":"61ae74dc65650d4a04ae26a3b4b1d5af7fb8481b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.9d0d7e53.tgz","fileCount":16,"unpackedSize":42940,"integrity":"sha512-HN40MRjwnIMw7/JjGZGTcyg0hxiwSFtCOSgS32nnjiYluu6LPVhGGD7dsQiUERZb7FcJpNjfNvh396MKWZqu5w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQtGYlma6ypDjV1z7TixqYMnHHHM4DsXtHcVTfVnxtGAiAU8v8U87A91z1sK0GuSvHZFZXDTEjoMf9ueoWDa242sQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.9d0d7e53_1532115254825_0.9633806174591479"},"_hasShrinkwrap":false},"1.1.0-alpha.516f662e":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.516f662e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.516f662e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.516f662e","@crave/farmblocks-hoc-input":"^3.3.0-alpha.516f662e","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.516f662e","@crave/farmblocks-input-select":"^0.9.0-alpha.516f662e","@crave/farmblocks-theme":"^1.7.0-alpha.516f662e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.516f662e","@crave/farmblocks-text":"^1.3.0-alpha.516f662e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.516f662e","dist":{"shasum":"dedd954f42b74022f7af40cc5da20e073b4f8a0a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.516f662e.tgz","fileCount":16,"unpackedSize":42940,"integrity":"sha512-4wCvsMHVVUkAZdM0kAQBS5/vTZGR4KalaLyqVnqykaDqJZrgpTmM6byNMueRFkZGf4EeGWN8ifPp09kvk0oPYg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDrIPKaHB7Bkxpvv/OXfTRYK8UXNuJ8IqxSRIZKgBYHPAiAFMdLILVT5+4KHEQ7gnQ4ZMHA5Hxm3HCaE0V5bxV2+DA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.516f662e_1532115434847_0.2302043916598846"},"_hasShrinkwrap":false},"1.1.0-alpha.56e0f23b":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.56e0f23b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.56e0f23b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.56e0f23b","@crave/farmblocks-hoc-input":"^3.3.0-alpha.56e0f23b","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.56e0f23b","@crave/farmblocks-input-select":"^0.9.0-alpha.56e0f23b","@crave/farmblocks-theme":"^1.7.0-alpha.56e0f23b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.56e0f23b","@crave/farmblocks-text":"^1.3.0-alpha.56e0f23b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.56e0f23b","dist":{"shasum":"39fa103c3838690b8a9cd5a5ee46a3d73303c58d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.56e0f23b.tgz","fileCount":16,"unpackedSize":42940,"integrity":"sha512-9OB15SWAs7W4bWgbSmTcOzhe/egGMaLxz69f2lmD43TPBalHZAN0I8Bp/G7YpgmWxE3DtS1l52F0TrE7oGqyyg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGPm67HkyVKLO+8ock8FbchiffGCzPBUxK6UxQ+cnS+FAiBfuxultgTY4Vt27hSBMTlhACnYwwoqqi/Q9WaCcRdStQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.56e0f23b_1532116453066_0.18119159675036012"},"_hasShrinkwrap":false},"1.0.17":{"name":"@crave/farmblocks-search-field","version":"1.0.17","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.1","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^3.2.2","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.8.14","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.2.4","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.0.17","dist":{"shasum":"0bf291627785db70e380b28ada8842eb2bfebd72","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.0.17.tgz","fileCount":16,"unpackedSize":42766,"integrity":"sha512-DnXyOMVqhBLY+fdVMoCrSxD1xxmPBjfQZe0GwiFVytTIOoIWGhg1ylZB4lqMFnaghdNU9ye7Ljm29sim8ysUWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1tTzL6Kv8Cb0FDfVuWZrPwdfhsWefSMKwKYCzO1YFVQIgPDQkHncbvI1lv6lrRtKh+DH4wBiHtujzaBDufGNExOA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.0.17_1532117169148_0.6868669796679563"},"_hasShrinkwrap":false},"1.1.0-alpha.f4e9d2ac":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.f4e9d2ac","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.f4e9d2ac","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f4e9d2ac","@crave/farmblocks-hoc-input":"^3.3.0-alpha.f4e9d2ac","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.f4e9d2ac","@crave/farmblocks-input-select":"^0.9.0-alpha.f4e9d2ac","@crave/farmblocks-input-text":"^1.5.0-alpha.f4e9d2ac","@crave/farmblocks-theme":"^1.7.0-alpha.f4e9d2ac","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.f4e9d2ac","@crave/farmblocks-text":"^1.3.0-alpha.f4e9d2ac"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.f4e9d2ac","dist":{"shasum":"f59d5b4daf2f1408ad89d713f6d2c92c7774c345","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.f4e9d2ac.tgz","fileCount":15,"unpackedSize":38145,"integrity":"sha512-oFBSpMXQdYjNG9zdQI5whOX1GwlpDew3uOO2YS1WsqB/efgaQnXrN8DOrGFJr/d6i+7uvFTHVGBq7c0jmadwmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDs4drQDAbvPXg5h7fRYec90bFaAhVAMowALaprmtcBsAIhALOjoqAnIkOgELO14CoaukFISgkBX6nGGZYAMv3zGaIg"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.f4e9d2ac_1532364489826_0.10333671003714473"},"_hasShrinkwrap":false},"1.1.0-alpha.3f9920d9":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.3f9920d9","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.3f9920d9","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3f9920d9","@crave/farmblocks-hoc-input":"^3.3.0-alpha.3f9920d9","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.3f9920d9","@crave/farmblocks-input-select":"^0.9.0-alpha.3f9920d9","@crave/farmblocks-input-text":"^1.5.0-alpha.3f9920d9","@crave/farmblocks-theme":"^1.7.0-alpha.3f9920d9","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.3f9920d9","@crave/farmblocks-text":"^1.3.0-alpha.3f9920d9"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.3f9920d9","dist":{"shasum":"4e312dc08f95e148024782c5da9aaea712e6a5ef","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.3f9920d9.tgz","fileCount":15,"unpackedSize":38145,"integrity":"sha512-R+WNWGIhhIsnifJUU/OTczZznmd/MtZSYh6LXPILwdUpP+kw8tX6hawzIqPgQMddsEsAI794FfTb4vh6khTSdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDw2dOTC76ttp84SF4Uljeka7tsNCaLSkeR7NfooD1+lQIhAMZnNOYSAoJz8kpj1ssVfaXQAYY00nMMB0l5lKe5cOa4"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.3f9920d9_1532364531719_0.1105553413925422"},"_hasShrinkwrap":false},"1.1.0-alpha.79069917":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.79069917","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.79069917","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.79069917","@crave/farmblocks-hoc-input":"^3.3.0-alpha.79069917","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.79069917","@crave/farmblocks-input-select":"^0.9.0-alpha.79069917","@crave/farmblocks-input-text":"^1.5.0-alpha.79069917","@crave/farmblocks-theme":"^1.7.0-alpha.79069917","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.79069917","@crave/farmblocks-text":"^1.3.0-alpha.79069917"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.79069917","dist":{"shasum":"5dcdc9ac2395edbffbf48e6b53f97a4249a73f0e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.79069917.tgz","fileCount":15,"unpackedSize":38145,"integrity":"sha512-CUgJ8Iw8+lpQPej1TQ12m3KmBgcOZzs56ASSKDAXHqoivV/HT6I8JsH6sLjKDFFB/fRXjnx5iUVz3GdJ2dxKrg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsB5o2Rvx0lZ6ZYVFjg3Y/6tzrOB6Y3f/X6O4aP62t1wIgCfWdv1YRvUBD7Xm7+aWGDECRLN8IPOm/pAJYgeFiBi4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.79069917_1532369250401_0.26193185329996926"},"_hasShrinkwrap":false},"1.1.0-alpha.9b6c1b4b":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.9b6c1b4b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.9b6c1b4b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9b6c1b4b","@crave/farmblocks-hoc-input":"^3.3.0-alpha.9b6c1b4b","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.9b6c1b4b","@crave/farmblocks-input-select":"^0.9.0-alpha.9b6c1b4b","@crave/farmblocks-input-text":"^1.5.0-alpha.9b6c1b4b","@crave/farmblocks-theme":"^1.7.0-alpha.9b6c1b4b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.9b6c1b4b","@crave/farmblocks-text":"^1.3.0-alpha.9b6c1b4b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.9b6c1b4b","dist":{"shasum":"783d2ec529b470a167352ec3806f16012a7d6178","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.9b6c1b4b.tgz","fileCount":15,"unpackedSize":38313,"integrity":"sha512-aaMGsNs1l8m9dCeKRZawbGRuQOCDmti547pSgf2WXZaADJfbrsyBek9uHZAoxhc3cZoa2mtWt5RI2MJXVTNlfQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpR5VLIwNWh8HSTu2gF+1ylRVIE/+iG6VbtnnHleq/lwIgLu242Cv8h8d71uxZ+zrHhktXkFIH0gXLQ/69c93CquM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.9b6c1b4b_1532451698008_0.46093252522067374"},"_hasShrinkwrap":false},"1.1.0-alpha.e1c0bdcf":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.e1c0bdcf","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.e1c0bdcf","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e1c0bdcf","@crave/farmblocks-hoc-input":"^3.3.0-alpha.e1c0bdcf","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.e1c0bdcf","@crave/farmblocks-input-select":"^0.9.0-alpha.e1c0bdcf","@crave/farmblocks-input-text":"^1.5.0-alpha.e1c0bdcf","@crave/farmblocks-theme":"^1.7.0-alpha.e1c0bdcf","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.e1c0bdcf","@crave/farmblocks-text":"^1.3.0-alpha.e1c0bdcf"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.e1c0bdcf","dist":{"shasum":"ac57e973986141c68facc23bbb9e4299c42bc9b1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.e1c0bdcf.tgz","fileCount":15,"unpackedSize":38683,"integrity":"sha512-Qc3sWMG5arFLYGdEn+rPTPFpMKQYNtUgON0wL5ChCzPomr2swKfS952JeB4aQNinyaF5on1591qp5oEaqWO8Mw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDI0No/cun+medVYkK5Z+vmwHxhZWLEC7M6QT5U0eF7igIgSkvQDElMoo6Dme2JSK8yW2f1EUnH4dRHrbeb66ISSWk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.e1c0bdcf_1532454545635_0.639388285075015"},"_hasShrinkwrap":false},"1.1.0-alpha.3f3ee76e":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.3f3ee76e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.3f3ee76e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3f3ee76e","@crave/farmblocks-hoc-input":"^3.3.0-alpha.3f3ee76e","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.3f3ee76e","@crave/farmblocks-input-select":"^0.9.0-alpha.3f3ee76e","@crave/farmblocks-theme":"^1.7.0-alpha.3f3ee76e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.3f3ee76e","@crave/farmblocks-text":"^1.3.0-alpha.3f3ee76e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.3f3ee76e","dist":{"shasum":"86772e6163fc5524f52f74ee1687f7093d01f4f3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.3f3ee76e.tgz","fileCount":16,"unpackedSize":43190,"integrity":"sha512-4nktdSXT8zPjz2SqlZ3BYw3eiMuvAYBobRARe0Wn7GcA1i9AeQZ2r0SaYz0gGDNXYrd9ArH+du3K/+qQMxnvaQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDIMoelN172m2GV8t9aAljuJEW/KNw90FSGdcdVmzaWrAiEAzYYuRduIORer+fcFJHygqEmglNDjUVaFya+0hN9/AXU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.3f3ee76e_1532538714917_0.3838574803684982"},"_hasShrinkwrap":false},"1.1.0":{"name":"@crave/farmblocks-search-field","version":"1.1.0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.7.1","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^3.2.3","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.8.15","@crave/farmblocks-input-text":"^2.0.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.2.4","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0","dist":{"shasum":"dd6b6d53fe2b487e812fc5ee20c890a305a9eb79","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0.tgz","fileCount":15,"unpackedSize":38489,"integrity":"sha512-7+Bp61etvaQoSGgfy6xSUB7UxrXNd35sj4O0IamjQBjsB4hNnLrqW0DYvxevXRmUnG2kCtE6OhK6pQywKfU7rA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHRT2ZEKLkYDjtHg/K64R79eNj+wxligBwRCzVpXrVZGAiEA1ShAkLcpjmpaMFVSNZUToWhd4p9xaZeTN6u5pOKx91Y="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0_1532541780562_0.7053752533560731"},"_hasShrinkwrap":false},"1.1.0-alpha.d630b7b8":{"name":"@crave/farmblocks-search-field","version":"1.1.0-alpha.d630b7b8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.d630b7b8","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d630b7b8","@crave/farmblocks-hoc-input":"^3.3.0-alpha.d630b7b8","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.d630b7b8","@crave/farmblocks-input-select":"^0.9.0-alpha.d630b7b8","@crave/farmblocks-theme":"^1.7.0-alpha.d630b7b8","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0","react-lifecycles-compat":"^3.0.4","recompose":"^0.27.1"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.d630b7b8","@crave/farmblocks-text":"^1.3.0-alpha.d630b7b8"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.0-alpha.d630b7b8","dist":{"shasum":"e35d7442768ffe008b2f7e69d1eb44a9212e6920","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.0-alpha.d630b7b8.tgz","fileCount":16,"unpackedSize":43190,"integrity":"sha512-1RkaxHQR8cf6NW9YGtpAB3skwZNLjCdNQ+7s2+2qd4VJV7exeysY4sY/mqsS2sMw2ljeMHZQLYS51g/xTrqCSg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCInxvClD8K8nFG/kcxReJ0Df+YZBVjN0YRzpngJUZxmgIgbuSg3szUWT/B91GjE4j5HYEQkr6xmDFsQeDuQnmsQsw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.0-alpha.d630b7b8_1532543631821_0.2665584430686838"},"_hasShrinkwrap":false},"1.2.0-alpha.ed74dcbe":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.ed74dcbe","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0-alpha.ed74dcbe","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ed74dcbe","@crave/farmblocks-hoc-input":"^3.3.0-alpha.ed74dcbe","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.ed74dcbe","@crave/farmblocks-input-select":"^0.9.0-alpha.ed74dcbe","@crave/farmblocks-input-text":"^2.1.0-alpha.ed74dcbe","@crave/farmblocks-theme":"^1.7.0-alpha.ed74dcbe","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.ed74dcbe","@crave/farmblocks-text":"^1.3.0-alpha.ed74dcbe"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.ed74dcbe","dist":{"shasum":"a35eec6ec7dd67e80168e27c0976ccda64d4c1fa","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.ed74dcbe.tgz","fileCount":15,"unpackedSize":38928,"integrity":"sha512-2X7BqafF93akqTlF5sKnCS5FiDGzAzgfOlsB/CvvIxinZ++x9ZXLx3m6a6AjW2RMFWb71dgOQfEl9BV39zBGuQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAGXG/5rmgMLL3AUoFEJ5TTuS68ei85BEWyOAcMiE2GPAiEAnwrWmFstBdkhdMA5XKkBkGWGhpT3fQKnQeXNv/AoM1U="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.ed74dcbe_1532614369858_0.056760080422808556"},"_hasShrinkwrap":false},"1.1.1":{"name":"@crave/farmblocks-search-field","version":"1.1.1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^3.2.3","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.9.0","@crave/farmblocks-input-text":"^2.0.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.2.4","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.1","dist":{"shasum":"19b1fde4f5f6f900ae5fbc9985bec1f3966daccc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.1.tgz","fileCount":15,"unpackedSize":38734,"integrity":"sha512-q9LDGxouQDRNxpso2z2vqQI7kf9mNKe2tKUUobuErJtH2d/xO7p+Zpu3/8XLLRWlhlnk82kBaT3/PjhAMqIdIg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDumIKdsdSV2s2UgEnusDbJ2rdZZwD3nW3lkOF2uaQfZAiARwVkIVLj3A844G/WXcGs4DJrvm5ASuWcTen/8hXTR5g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.1_1532614888812_0.6797031439940115"},"_hasShrinkwrap":false},"1.2.0-alpha.2004c2dc":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2004c2dc","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2004c2dc","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2004c2dc","@crave/farmblocks-hoc-input":"^3.3.0-alpha.2004c2dc","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.2004c2dc","@crave/farmblocks-input-select":"^0.10.0-alpha.2004c2dc","@crave/farmblocks-input-text":"^2.1.0-alpha.2004c2dc","@crave/farmblocks-theme":"^1.7.0-alpha.2004c2dc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.2004c2dc","@crave/farmblocks-text":"^1.3.0-alpha.2004c2dc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2004c2dc","dist":{"shasum":"53caccea983ef8a394a3cc4e0b804fb271915cfa","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2004c2dc.tgz","fileCount":15,"unpackedSize":39175,"integrity":"sha512-aGjIo0K3L3retsP8qfeCNXbdxYUVjjZLRG/TlRtxqaQqMClx1UrwXrq9Pgkevmj0enry9CsqWjcVltV3rfzojQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBlSeO0nq3xWGp3CVcgnsJAYuxdOIiFjwakyJtjRZLO5AiB6zu9eyfrlw6iUETzkdu85TnDPEeJpg7IF4I7po1JcsQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2004c2dc_1532703771499_0.14431185035912208"},"_hasShrinkwrap":false},"1.2.0-alpha.6fd496d9":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.6fd496d9","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.6fd496d9","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6fd496d9","@crave/farmblocks-hoc-input":"^3.3.0-alpha.6fd496d9","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.6fd496d9","@crave/farmblocks-input-select":"^0.10.0-alpha.6fd496d9","@crave/farmblocks-input-text":"^2.1.0-alpha.6fd496d9","@crave/farmblocks-theme":"^1.7.0-alpha.6fd496d9","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.6fd496d9","@crave/farmblocks-text":"^1.3.0-alpha.6fd496d9"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.6fd496d9","dist":{"shasum":"6c6ef6bd953bd39847eca4892042fed44067ea92","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.6fd496d9.tgz","fileCount":15,"unpackedSize":39175,"integrity":"sha512-rEPP+9lYSlMpYQMoiLDPJmx8Gm5xAPImL4/uGZfpPxVHmoH8wDy8r8Xo1c9UFxrV5GmRbesJw3x+5/m24ESs7Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbcuDm5VZKv68w97CkFBD65WW05VET8AX6CABJ/VCLtAiEAxsnsS70CjOV/ekCfDAF9GJr/ig4wk6vMQfNofvm5Tps="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.6fd496d9_1532709973814_0.297891744147492"},"_hasShrinkwrap":false},"1.2.0-alpha.486490f7":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.486490f7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.486490f7","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.486490f7","@crave/farmblocks-hoc-input":"^3.3.0-alpha.486490f7","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.486490f7","@crave/farmblocks-input-select":"^0.10.0-alpha.486490f7","@crave/farmblocks-input-text":"^2.1.0-alpha.486490f7","@crave/farmblocks-theme":"^1.7.0-alpha.486490f7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.486490f7","@crave/farmblocks-text":"^1.3.0-alpha.486490f7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.486490f7","dist":{"shasum":"69ba9f3516a911afd6e5fa60cd21cb1dc814ad1b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.486490f7.tgz","fileCount":15,"unpackedSize":39175,"integrity":"sha512-uVuPcw2Am52QYkqarcftQvcGtTBqvM+eJiKTj2sUI1nK7bXTNoMZw9rSc2fZOWQkeTksyeXREUIFieE06029Rw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDVpOj3il1Iw0rg26UDs+QFnFg0UZ8MyZKHdMJzRFjtXAiEAqw9+rhOEkAug7ClFvPLTpYcE6jtochdaQJcAefIuOXY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.486490f7_1532712571285_0.36308354816344046"},"_hasShrinkwrap":false},"1.2.0-alpha.45ef571e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.45ef571e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.45ef571e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.45ef571e","@crave/farmblocks-hoc-input":"^3.3.0-alpha.45ef571e","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.45ef571e","@crave/farmblocks-input-select":"^0.10.0-alpha.45ef571e","@crave/farmblocks-input-text":"^2.1.0-alpha.45ef571e","@crave/farmblocks-theme":"^1.7.0-alpha.45ef571e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.45ef571e","@crave/farmblocks-text":"^1.3.0-alpha.45ef571e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.45ef571e","dist":{"shasum":"3327a4e07c4ce7b057fc58704b5ea293b5a96225","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.45ef571e.tgz","fileCount":15,"unpackedSize":39175,"integrity":"sha512-IOzdyd78dAHFFxXfR81N/k33SYSSxi1BGF+OCKT9DfzxkX8b97G/ALGvPYSwSKgpV56yDRXGP4s6Ox1FrSGAoA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEK2yQSEnpHdKr69dTHDv09ex3TSNVfBMEPuoYGm6HQXAiBMMUqNSbWM0WH1ZTno1Anadp13dsLLtFjT99STbhZBxw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.45ef571e_1532717349664_0.6859311387489386"},"_hasShrinkwrap":false},"1.2.0-alpha.b8a9f699":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.b8a9f699","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.b8a9f699","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b8a9f699","@crave/farmblocks-hoc-input":"^3.3.0-alpha.b8a9f699","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.b8a9f699","@crave/farmblocks-input-select":"^0.10.0-alpha.b8a9f699","@crave/farmblocks-input-text":"^2.1.0-alpha.b8a9f699","@crave/farmblocks-theme":"^1.7.0-alpha.b8a9f699","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.b8a9f699","@crave/farmblocks-text":"^1.3.0-alpha.b8a9f699"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.b8a9f699","dist":{"shasum":"0cdfa024c08e5904410a3eb9caa3da82449d11e2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.b8a9f699.tgz","fileCount":15,"unpackedSize":39175,"integrity":"sha512-qV0occ9cWPyXcR67GqMqWM7XJuaSMnIdOPceppWnXMcjuqtuMF91sIco5H1TPSOyHmWsaD5m9FdJVEGtqgIMvg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTW9foJfJeNbp+NVV35Ug09rgT3rMu+fsbMcNylv+UXAiASCR996mNOu1iP9USBw7V+SxVn38hat4o2ainnnncAjg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.b8a9f699_1532719970144_0.16684651127955785"},"_hasShrinkwrap":false},"1.1.2":{"name":"@crave/farmblocks-search-field","version":"1.1.2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^3.2.3","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.9.1","@crave/farmblocks-input-text":"^2.0.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.2.4","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.2","dist":{"shasum":"9477ca9726fd677d99dcb0fd953975390c092385","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.2.tgz","fileCount":15,"unpackedSize":38980,"integrity":"sha512-u/IbUGMakeVMRH3NvtN7rAWDY3QawSH3mFkHOqACpw4HXMFnJmYCxmKRA6Jk2UHHj1LK4tt4/vCx+bkSHaaf0g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIE8dMlBAuwxIICi94dUYk7fObTUiOGw43VJcgL+Quz5JAh8Pxn+ZCbWzmFrHObmlrfnQyPIggpH7NwW/Uzm16z6a"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.2_1532720596780_0.6303868047825587"},"_hasShrinkwrap":false},"1.2.0-alpha.dfb1be0a":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.dfb1be0a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.dfb1be0a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.dfb1be0a","@crave/farmblocks-hoc-input":"^3.3.0-alpha.dfb1be0a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.dfb1be0a","@crave/farmblocks-input-select":"^0.10.0-alpha.dfb1be0a","@crave/farmblocks-input-text":"^2.1.0-alpha.dfb1be0a","@crave/farmblocks-theme":"^1.7.0-alpha.dfb1be0a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.dfb1be0a","@crave/farmblocks-text":"^1.3.0-alpha.dfb1be0a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.dfb1be0a","dist":{"shasum":"8ebd2fc36611fe0d6b5ac9432fd1c3b4dcf1c96d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.dfb1be0a.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-OAtjJdb2fjrmA3kegv6ruAaiXbZLZhZ/NM3fOPWw5KIKtvagprbdvHPUoBaBEP1rVhtjveSzncU8dlHIPGAzsQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHjdhZcN0sX1K0auRPB+jzwpiqJ/w1yBGJ7kreOzGQrAiEAp3U5H3P86C+/1dfhDjHxIwXhzOIRtydHu8GOepELt9s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.dfb1be0a_1532953639009_0.6321419165108917"},"_hasShrinkwrap":false},"1.2.0-alpha.eb72d5fa":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.eb72d5fa","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.eb72d5fa","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.eb72d5fa","@crave/farmblocks-hoc-input":"^3.3.0-alpha.eb72d5fa","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.eb72d5fa","@crave/farmblocks-input-select":"^0.10.0-alpha.eb72d5fa","@crave/farmblocks-input-text":"^2.1.0-alpha.eb72d5fa","@crave/farmblocks-theme":"^1.7.0-alpha.eb72d5fa","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.eb72d5fa","@crave/farmblocks-text":"^1.3.0-alpha.eb72d5fa"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.eb72d5fa","dist":{"shasum":"b1ab63d1c7f2862a76c2b796bdbcdba0d3b2e534","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.eb72d5fa.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-wz0UShfiSLPs+mynw01sJC4WF0eIYOUUr58yMx7GtaW+NudsgeZETO7hAXRmj+HQ2YrChBmP7FS7pkjms65ZVg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGa26RaxHGrNzr05pAlQRPd19B9DO6VuY60jpKoZ0ZmAAiBM50sdXkw1SZgMz5IxPAF2zKaCiF0werBHLjcisFXb6w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.eb72d5fa_1532963993628_0.8589123949747566"},"_hasShrinkwrap":false},"1.2.0-alpha.f5442866":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.f5442866","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.f5442866","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f5442866","@crave/farmblocks-hoc-input":"^3.3.0-alpha.f5442866","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.f5442866","@crave/farmblocks-input-select":"^0.10.0-alpha.f5442866","@crave/farmblocks-input-text":"^2.1.0-alpha.f5442866","@crave/farmblocks-theme":"^1.7.0-alpha.f5442866","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.f5442866","@crave/farmblocks-text":"^1.3.0-alpha.f5442866"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.f5442866","dist":{"shasum":"4e701d83b15c61c36d750e7d4d4372ebf6993617","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.f5442866.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-0wH+Sz+1OOZFC+hpgIVQUtFS4t9kphcagmnbSua6DbzvDUOVm3tlDPhgFGSTnNA+lcH2/CEHyHTsFGoLARQ77w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF90OAwLmpdd2M56TvYBDM8WSCkDWv/Kpi9u/CxlTbieAiEAiJpTQUs8XOBefpw0GZK92196fa6OOC69ReUZbj1ydYc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.f5442866_1532972127584_0.7323048344602063"},"_hasShrinkwrap":false},"1.2.0-alpha.cdc02cd0":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.cdc02cd0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.cdc02cd0","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.cdc02cd0","@crave/farmblocks-hoc-input":"^3.3.0-alpha.cdc02cd0","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.cdc02cd0","@crave/farmblocks-input-select":"^0.10.0-alpha.cdc02cd0","@crave/farmblocks-input-text":"^2.1.0-alpha.cdc02cd0","@crave/farmblocks-theme":"^1.7.0-alpha.cdc02cd0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.cdc02cd0","@crave/farmblocks-text":"^1.3.0-alpha.cdc02cd0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.cdc02cd0","dist":{"shasum":"a4a070382e489a33ea7ce14622b5c942f7463741","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.cdc02cd0.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-bt3z6OfzbtDd2cUYAvp05TVN3kpo67YK8JZQ7zHjGXLE15BxfkkOWM4+HLWmN2QBlACojrcwtBORkUr1M8N4yg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID2bTV+7afOa8yOV3jt+kXn+mBAeWGKc8mW4m2fvMPUcAiEA7LWhTGm3a0qptzSP7QJM8AOqVXhcUYb5kxoHldWRxck="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.cdc02cd0_1532972583380_0.38894915444083167"},"_hasShrinkwrap":false},"1.2.0-alpha.5d75fe6e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.5d75fe6e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.5d75fe6e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.5d75fe6e","@crave/farmblocks-hoc-input":"^3.3.0-alpha.5d75fe6e","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.5d75fe6e","@crave/farmblocks-input-select":"^0.10.0-alpha.5d75fe6e","@crave/farmblocks-input-text":"^2.1.0-alpha.5d75fe6e","@crave/farmblocks-theme":"^1.7.0-alpha.5d75fe6e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.5d75fe6e","@crave/farmblocks-text":"^1.3.0-alpha.5d75fe6e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.5d75fe6e","dist":{"shasum":"bdaacc6f753c491c7a1c21fe0a247c7a0f697229","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.5d75fe6e.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-Y9fMUnmRHxHhHJ9LesW1jWqtl/ugVMPhppv4QI5JWKwJuPZacOVmiA+bf72r4uaZqq90p/0iM07hKdlBhMFy9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8QsQDRNkny6Euevc8Bnau1jtV1GWMevlYPJu3HA1kXAiEA2CyauUpOaDsnNLFXy/ueLHmW8SGVCJiOqWS+0nOcuC8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.5d75fe6e_1532973224370_0.7315479237606088"},"_hasShrinkwrap":false},"1.2.0-alpha.d136295c":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.d136295c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.d136295c","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d136295c","@crave/farmblocks-hoc-input":"^3.3.0-alpha.d136295c","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.d136295c","@crave/farmblocks-input-select":"^0.10.0-alpha.d136295c","@crave/farmblocks-input-text":"^2.1.0-alpha.d136295c","@crave/farmblocks-theme":"^1.7.0-alpha.d136295c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.d136295c","@crave/farmblocks-text":"^1.3.0-alpha.d136295c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.d136295c","dist":{"shasum":"5305df1506350cd431f3aece89475d33d2597bda","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.d136295c.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-8gg5cxTBuaVY9zJhqqhasNgx6QgZgWIs1NSXNFYWiyR/UthXGq7gxlOCZKCburZqGrF9N4qW3B3vHuPIgwfNKg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB+ur6GGJHLKVNymaAtyWRk8NJ0FXb0LY3zBK0rtDBLfAiAGWe4DuD1I8fVIL4aZ+w/pwn7+T1LrRV9slb61MSZ0Lw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.d136295c_1532973763630_0.4339914274542904"},"_hasShrinkwrap":false},"1.2.0-alpha.de66eae0":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.de66eae0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.de66eae0","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.de66eae0","@crave/farmblocks-hoc-input":"^3.3.0-alpha.de66eae0","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.de66eae0","@crave/farmblocks-input-select":"^0.10.0-alpha.de66eae0","@crave/farmblocks-input-text":"^2.1.0-alpha.de66eae0","@crave/farmblocks-theme":"^1.7.0-alpha.de66eae0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.de66eae0","@crave/farmblocks-text":"^1.3.0-alpha.de66eae0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.de66eae0","dist":{"shasum":"9e62eecb0cf3d0cc95bb7a43918305ae90993b8c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.de66eae0.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-QRJRi9vgS5AIQUUFag2HWuoCHtemYP6umWK6lvdU8g+nLs9BQ8oQq7e98aG4PPRIfcwcF9tjFjVvDTrG66rZCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlcHm4knG5aVjHX9eWqyAKrzk6BPshfi3nStFrGyJ7qQIgNnKe071+UbkbeFHUdyAZHpHwWe2Dq/mpLe8Xb4Er9bQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.de66eae0_1532974385354_0.4885972136647334"},"_hasShrinkwrap":false},"1.2.0-alpha.c01d2a01":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c01d2a01","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c01d2a01","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c01d2a01","@crave/farmblocks-hoc-input":"^3.3.0-alpha.c01d2a01","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.c01d2a01","@crave/farmblocks-input-select":"^0.10.0-alpha.c01d2a01","@crave/farmblocks-input-text":"^2.1.0-alpha.c01d2a01","@crave/farmblocks-theme":"^1.7.0-alpha.c01d2a01","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.c01d2a01","@crave/farmblocks-text":"^1.3.0-alpha.c01d2a01"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c01d2a01","dist":{"shasum":"f3be255ee5ad40295eb7464045e6b4ba0cebe80a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c01d2a01.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-Z0JLmCHxIQsGOGnwjgag7YBEMEPzgCC2xwCHaAo0NnRpGulyZbT3sZkJRpWFllKEjxTJ9omhHHg6At0HN2RoBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuyQDaSE4X28nfHdv88c+gUiQshG4mkxS2j8u/KlsWsAIgM3xLHyz+/Gt1wSi97nRabANpyfkpGnLpkzvWcHaU+30="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.c01d2a01_1532974603820_0.045841593442854656"},"_hasShrinkwrap":false},"1.2.0-alpha.df7efd32":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.df7efd32","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.df7efd32","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.df7efd32","@crave/farmblocks-hoc-input":"^3.3.0-alpha.df7efd32","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.df7efd32","@crave/farmblocks-input-select":"^0.10.0-alpha.df7efd32","@crave/farmblocks-input-text":"^2.1.0-alpha.df7efd32","@crave/farmblocks-theme":"^1.7.0-alpha.df7efd32","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.df7efd32","@crave/farmblocks-text":"^1.3.0-alpha.df7efd32"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.df7efd32","dist":{"shasum":"c2397967c6587c55490e4c72b59863511203f4aa","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.df7efd32.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-ucFkDFmlT8C0Ss/vVS17UkLIXrD2QzExAgdVP+LExfDxeXwweZ4Vw4+UA3ZsdydZAR4A+X8WFUNjskAYT3Ywig==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDGzIgn6v1rBQkEmPzYGId86fXZ2brjqjDwoo9n1u7XKAiALp1P+DbObnsJK+CM9aR9dZcbi7YuCru+E+O+uPKhWFw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.df7efd32_1532978519412_0.4824433563964916"},"_hasShrinkwrap":false},"1.2.0-alpha.2adb9169":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2adb9169","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2adb9169","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2adb9169","@crave/farmblocks-hoc-input":"^3.3.0-alpha.2adb9169","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.2adb9169","@crave/farmblocks-input-select":"^0.10.0-alpha.2adb9169","@crave/farmblocks-input-text":"^2.1.0-alpha.2adb9169","@crave/farmblocks-theme":"^1.7.0-alpha.2adb9169","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.2adb9169","@crave/farmblocks-text":"^1.3.0-alpha.2adb9169"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2adb9169","dist":{"shasum":"fb9a3a8b115565dac8ed44bde926cc60ceb813b6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2adb9169.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-t82pC2Nw//Jx92ZDYfYXVhNYKKUPkQaFn9ODts+h5xP8//n72rnZlA8dMXL5rhmgzYpVlLBrKD/fptDzIZHfeQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKB/hjgWNjAxhUf3i5GMlnKRnsKbJOdcC2Yct8Rv3dUgIhANoDLV6DBsy7Hh8wiNeIzNqwsL3f2quGcMvAyIzSB5fA"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2adb9169_1532981680577_0.016088367114428515"},"_hasShrinkwrap":false},"1.2.0-alpha.441ce3da":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.441ce3da","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.441ce3da","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.441ce3da","@crave/farmblocks-hoc-input":"^3.3.0-alpha.441ce3da","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.441ce3da","@crave/farmblocks-input-select":"^0.10.0-alpha.441ce3da","@crave/farmblocks-input-text":"^2.1.0-alpha.441ce3da","@crave/farmblocks-theme":"^1.7.0-alpha.441ce3da","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.441ce3da","@crave/farmblocks-text":"^1.3.0-alpha.441ce3da"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.441ce3da","dist":{"shasum":"10ace70e013cd2ed978ef10dca50d2f46ea6db12","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.441ce3da.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-p41CVQV1n8oJ0m/2UUXl68ufwtIsRvOKH6nZ0ApCXBxi61Al5rlNQ0mS+Ol6vUL2AMgiH1apZivudvSzA0m+RA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD28SGm4BMNLBVXA3HDMQyYDjwCer9VPpfX9TjJdIIoDwIgHwJ0H9fQ7uz0SWylV/TLhyoSnMiUSrpWnCXNEcH2UJY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.441ce3da_1533035121939_0.8353712914655103"},"_hasShrinkwrap":false},"1.2.0-alpha.fe6f265a":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.fe6f265a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.fe6f265a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.fe6f265a","@crave/farmblocks-hoc-input":"^3.3.0-alpha.fe6f265a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.fe6f265a","@crave/farmblocks-input-select":"^0.10.0-alpha.fe6f265a","@crave/farmblocks-input-text":"^2.1.0-alpha.fe6f265a","@crave/farmblocks-theme":"^1.7.0-alpha.fe6f265a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.fe6f265a","@crave/farmblocks-text":"^1.3.0-alpha.fe6f265a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.fe6f265a","dist":{"shasum":"40113e55e9bb22454381995b25c8dbb34e49bb14","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.fe6f265a.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-jAMp5sPr7jE/3Yra9DTjsBMd9emRh68MNw+xyRFrKPGHRYFZEL0k4sesVgpGlt9r1kDsBFhzkVL3RE6nZBFtnA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF+pPTvDHmvu5DYwT9SS79WOEro6/umWzKZudtkb6/QBAiEA8nKJP8kxQ/IlrXzHaaW6P0dCGCJ6EqWHVuM8Di1DTUg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.fe6f265a_1533040573874_0.8455241450699957"},"_hasShrinkwrap":false},"1.2.0-alpha.844b6433":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.844b6433","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.844b6433","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.844b6433","@crave/farmblocks-hoc-input":"^3.3.0-alpha.844b6433","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.844b6433","@crave/farmblocks-input-select":"^0.10.0-alpha.844b6433","@crave/farmblocks-input-text":"^2.1.0-alpha.844b6433","@crave/farmblocks-theme":"^1.7.0-alpha.844b6433","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.844b6433","@crave/farmblocks-text":"^1.3.0-alpha.844b6433"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.844b6433","dist":{"shasum":"4653ec7d924feea0577adebd245d4428ce2aca50","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.844b6433.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-ik8HaRyqiVoEjKuD8gIEV7ttE7SbJefbBBTVVLUT3GuMgJba3X4A9cgt6Kx6u5HFDlLegHghM18IeFbLF90B1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7jBCLz6C6n6B1ERiKQvk+f3TgqO+KbPWxYhqyyQSZtAiA8UU9UFFGwiM3ILHfae9JP4h5FldcaPuZxqWP1hPIwEQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.844b6433_1533048501980_0.03045819758967916"},"_hasShrinkwrap":false},"1.2.0-alpha.4c78655c":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.4c78655c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.4c78655c","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.4c78655c","@crave/farmblocks-hoc-input":"^3.3.0-alpha.4c78655c","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.4c78655c","@crave/farmblocks-input-select":"^0.10.0-alpha.4c78655c","@crave/farmblocks-input-text":"^2.1.0-alpha.4c78655c","@crave/farmblocks-theme":"^1.7.0-alpha.4c78655c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.4c78655c","@crave/farmblocks-text":"^1.3.0-alpha.4c78655c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.4c78655c","dist":{"shasum":"22100c58ab56b317faf855778c2be4db57d7d03d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.4c78655c.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-kNXd4kCqNphdlrlxZU9CTd3uqCjFgeEqkt/Hx6ZvP5QxYwa2h/0Kd8430+bf+54BkgPKctb60qbZBlpU2c7g9A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgQp7hD+wid+z/hqHgWgtuG8LGV3VHYpnKZiY1Isw21QIhALRYyA+Yni4KbBEMulIX6Dc9mV2eWJG0rf+oMo6yf4Hk"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.4c78655c_1533049335663_0.685961186630863"},"_hasShrinkwrap":false},"1.1.3":{"name":"@crave/farmblocks-search-field","version":"1.1.3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^3.2.3","@crave/farmblocks-hoc-validation-messages":"^0.2.6","@crave/farmblocks-input-select":"^0.9.1","@crave/farmblocks-input-text":"^2.1.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.2.4","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.3","dist":{"shasum":"daa31284eb056e432641583c497ad682c2fa146d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.3.tgz","fileCount":15,"unpackedSize":39226,"integrity":"sha512-t0l+nYgqc9ioLATlX02Mo7+5KFKTMwXBWJCz7LVbtl/QKTmmyE8KZfgSHam8xDe9k9kblaOeAdJfOMoObji17Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF+U5ATd7EoAiciOutPjQeDka/Y7v+Q4uVH5jmXPb01yAiAZiNkx6HdD1nEI9L5jOv83zUC9H9SkX++xZnJDYQE2hg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.3_1533050967815_0.1710731223511448"},"_hasShrinkwrap":false},"1.2.0-alpha.a59b42fe":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.a59b42fe","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.a59b42fe","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a59b42fe","@crave/farmblocks-hoc-input":"^3.3.0-alpha.a59b42fe","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.a59b42fe","@crave/farmblocks-input-select":"^0.10.0-alpha.a59b42fe","@crave/farmblocks-input-text":"^2.1.0-alpha.a59b42fe","@crave/farmblocks-theme":"^1.7.0-alpha.a59b42fe","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.a59b42fe","@crave/farmblocks-text":"^1.3.0-alpha.a59b42fe"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.a59b42fe","dist":{"shasum":"2c60237fe63b298101efe692d828dc19e5d6b59c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.a59b42fe.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-L1OgvdFgjxB9QHiX9caZxOQH43PJMwof/QRHArn2hZy8fiz/Hv2KorNUSg4Z9n1yg1Z9NlxF6DpZ2Pgg82eHBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDkAqMYe2ZPRU7c4nnTL9iS+gZviG1wUEfc7EsClZKs2gIhAKCSqAvdxg30seBqNixPpsMZtaPMhfZZ+MDdVTfLeooE"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.a59b42fe_1533058135484_0.08481634549004569"},"_hasShrinkwrap":false},"1.2.0-alpha.636662c7":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.636662c7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.636662c7","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.636662c7","@crave/farmblocks-hoc-input":"^3.3.0-alpha.636662c7","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.636662c7","@crave/farmblocks-input-select":"^0.10.0-alpha.636662c7","@crave/farmblocks-input-text":"^2.1.0-alpha.636662c7","@crave/farmblocks-theme":"^1.7.0-alpha.636662c7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.636662c7","@crave/farmblocks-text":"^1.3.0-alpha.636662c7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.636662c7","dist":{"shasum":"77ab95ce35b8c8f677a90ed84883f83a1a7e7de0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.636662c7.tgz","fileCount":15,"unpackedSize":39421,"integrity":"sha512-ppYgUp0Rzo8K4FmO9aAGrD/htNjakrH1p0oXzy3n32x0C6GMN6mKIyL26UgLVY+xHLHHS1YNWZ4MnXsB0LciRw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmJnoOot44KQSrZ9B58o+KRz2NrDhajXQzO4FKXF3frgIgcE/cvuLUIDWyD55Pwc6KiDpZtkFx+Tbvh48z/UsSo2Y="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.636662c7_1533063037454_0.1700993662795891"},"_hasShrinkwrap":false},"1.2.0-alpha.ac123961":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.ac123961","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ac123961","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ac123961","@crave/farmblocks-hoc-input":"^3.3.0-alpha.ac123961","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.ac123961","@crave/farmblocks-input-select":"^0.10.0-alpha.ac123961","@crave/farmblocks-input-text":"^2.2.0-alpha.ac123961","@crave/farmblocks-theme":"^1.7.0-alpha.ac123961","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.ac123961","@crave/farmblocks-text":"^1.3.0-alpha.ac123961"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.ac123961","dist":{"shasum":"bb5bfb81f0a12b676f29d55e681bb336cd635109","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.ac123961.tgz","fileCount":15,"unpackedSize":39667,"integrity":"sha512-aMFR+mh3Qqxk8Kao8Zi8iCxfBqNxSKSWOPTaP3rq8K0e4mJwPBhf6utRveAF4rAQygTXG6gcSekpoqKTBC3StA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtCSxfzUo8B0H1xzrRyekFw7Ay2/LLwPONCoeql6TsfAiEA4S7vCypG8D7w25t/DkqkmHUL3cvTEOqdebAl5f4rvE4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.ac123961_1533134216003_0.5423599492017688"},"_hasShrinkwrap":false},"1.1.4":{"name":"@crave/farmblocks-search-field","version":"1.1.4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.0","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^3.3.0","@crave/farmblocks-hoc-validation-messages":"^0.2.7","@crave/farmblocks-input-select":"^0.9.2","@crave/farmblocks-input-text":"^2.1.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.2.4","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.4","dist":{"shasum":"612c468d230b2c996837fdb41e85947d0149223a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.4.tgz","fileCount":15,"unpackedSize":39472,"integrity":"sha512-MEcUevzXJrLGkXaEUEPBqPvFCNwtKu/ztMQvwACfXziOdd0XgVKHijChFAA22jMZKXXMtewpvYIARG3hgOiAgw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6C94vyGsJXfNLDTOHyQj9Cad45q0xkSytujpjFXQQKAIhANjTg6Hm2kPQu+z5Xi27ehcmV6kCu57iGkYQPsY8wplH"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.4_1533134916268_0.4937543132662514"},"_hasShrinkwrap":false},"1.2.0-alpha.4943f7ad":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.4943f7ad","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.4943f7ad","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.4943f7ad","@crave/farmblocks-hoc-input":"^3.3.0-alpha.4943f7ad","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.4943f7ad","@crave/farmblocks-input-select":"^0.10.0-alpha.4943f7ad","@crave/farmblocks-input-text":"^2.2.0-alpha.4943f7ad","@crave/farmblocks-theme":"^1.7.0-alpha.4943f7ad","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.4943f7ad","@crave/farmblocks-text":"^1.3.0-alpha.4943f7ad"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.4943f7ad","dist":{"shasum":"ae8c660879b636d9492cd16f9b7ccf4795d57199","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.4943f7ad.tgz","fileCount":15,"unpackedSize":39667,"integrity":"sha512-NOqip/tUTWkitc+AZgsMFGCWt0m/UMAJyTuk40XYD21nDV1qJMLXlswidLzM0vDBtrlPcBgeu5DAbR/x2AgVOg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEXNTVv4RUfwz8a6KzFC7pK4Vz4FbgbJK8AqB8pI320AiEA4hAbAeEp+ZYGJG5BL0k9hjVxIICx8fUH30/alvip4Gw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.4943f7ad_1533141535939_0.2304428756641168"},"_hasShrinkwrap":false},"1.2.0-alpha.772ba812":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.772ba812","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.772ba812","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.772ba812","@crave/farmblocks-hoc-input":"^3.4.0-alpha.772ba812","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.772ba812","@crave/farmblocks-input-select":"^0.10.0-alpha.772ba812","@crave/farmblocks-input-text":"^2.2.0-alpha.772ba812","@crave/farmblocks-theme":"^1.7.0-alpha.772ba812","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.772ba812","@crave/farmblocks-text":"^1.3.0-alpha.772ba812"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.772ba812","dist":{"shasum":"fbfde1f3e0a377f1fe3b96da2190d49a8c7efa33","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.772ba812.tgz","fileCount":15,"unpackedSize":39913,"integrity":"sha512-gHl2vaLAzPFC7sKxTSOho5u+/j+0y4Hk5HKQCS8N8J1yaUCvWhSw7t4Zp/lV5onRzNGu6yRQYGQKYsxhaGH2AA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE84rRSdrnBRKx19Lahzh/8H1Y8KWspTydw04PAX14g6AiB0dKOurbUlhgECpJSZJA78yW2XCo1TAcvH6K9ZFCqujQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.772ba812_1533143281446_0.3482037604938475"},"_hasShrinkwrap":false},"1.1.5":{"name":"@crave/farmblocks-search-field","version":"1.1.5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.1","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^3.3.0","@crave/farmblocks-hoc-validation-messages":"^0.2.7","@crave/farmblocks-input-select":"^0.9.3","@crave/farmblocks-input-text":"^2.1.2","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.2.4","@crave/farmblocks-text":"^1.2.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.5","dist":{"shasum":"e735bbef120631487fe2f780ce16fe4eb96ac4d7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.5.tgz","fileCount":15,"unpackedSize":39718,"integrity":"sha512-SScDCzqRf4jdZsMALV6D8naYyLg++Kex4YSGEzDnAW1+zNhnLUby3RqPSvYCx6Eg+4wft16Nw8d8iZkg7bO3cw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCq3yMoIHI5WwEc3mFu2xaFi1Et8DTdAwBQQkQJWRZ0jwIhAPUh8rCOl2UKtUEXC/kmCg3WqXgFRtAseBBDLxlZ8n3X"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.5_1533144528169_0.31533583793944286"},"_hasShrinkwrap":false},"1.2.0-alpha.55bb1643":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.55bb1643","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.55bb1643","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.55bb1643","@crave/farmblocks-hoc-input":"^3.4.0-alpha.55bb1643","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.55bb1643","@crave/farmblocks-input-select":"^0.10.0-alpha.55bb1643","@crave/farmblocks-input-text":"^2.2.0-alpha.55bb1643","@crave/farmblocks-theme":"^1.7.0-alpha.55bb1643","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.55bb1643","@crave/farmblocks-text":"^1.3.0-alpha.55bb1643"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.55bb1643","dist":{"shasum":"3da14126ffab41103afba6cf1f537f5cc3906403","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.55bb1643.tgz","fileCount":15,"unpackedSize":40159,"integrity":"sha512-Cc/n88EKg+IWvCLWoYpe7YbSUuipuXQkTzYdjR2RVwUpzAl8f4nnOp0Ho8ESaIkh70Ix2IYUye2aWzLqHTYuUg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIALzPs6gULF0Pinejav6g1Zj0LvrbkEJoqZdOCp7UrfJAiEAuW84F0GtW5csS7FN0g/iaEn16fMZl4AgPvgg23ZalX0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.55bb1643_1533153850607_0.9735778286037287"},"_hasShrinkwrap":false},"1.2.0-alpha.2e464d84":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2e464d84","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2e464d84","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2e464d84","@crave/farmblocks-hoc-input":"^3.4.0-alpha.2e464d84","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.2e464d84","@crave/farmblocks-input-select":"^0.10.0-alpha.2e464d84","@crave/farmblocks-input-text":"^2.2.0-alpha.2e464d84","@crave/farmblocks-theme":"^1.7.0-alpha.2e464d84","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.2e464d84","@crave/farmblocks-text":"^1.3.0-alpha.2e464d84"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2e464d84","dist":{"shasum":"bb0c8ecc91b22c889af4fa6c9f405012ad58fef2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2e464d84.tgz","fileCount":15,"unpackedSize":40159,"integrity":"sha512-DZhN5/QajI2y9ZnKgq+TjsG6rp3xbWEhZVGnTLR4SywcghZwpuG27QrjPkUs5mT+m+neuQ4cguKVccOk1gL1mA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB2eVgtX2Dc4fAmduE2u2RomMakHdZciqBbJ4RQaxKBkAiAPtpLZDvEKjQlfQ4g5hv3UY1Ps0huIR+Tz6bImGqe5dg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2e464d84_1533220998154_0.8800448675757959"},"_hasShrinkwrap":false},"1.2.0-alpha.3092ab63":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.3092ab63","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.3092ab63","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3092ab63","@crave/farmblocks-hoc-input":"^3.4.0-alpha.3092ab63","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.3092ab63","@crave/farmblocks-input-select":"^0.10.0-alpha.3092ab63","@crave/farmblocks-input-text":"^2.2.0-alpha.3092ab63","@crave/farmblocks-theme":"^1.7.0-alpha.3092ab63","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.3092ab63","@crave/farmblocks-text":"^1.3.0-alpha.3092ab63"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.3092ab63","dist":{"shasum":"e66942269bbde91276b9613c2b650ebc870616cf","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.3092ab63.tgz","fileCount":15,"unpackedSize":40159,"integrity":"sha512-TX7iYYSozGUmsfdyW3Hk/f50N58I9UQJTMEuZeyYe8iqAJGR8UJLZv7a49sRSNZQlg8vz53MSWZaG4rINtieZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTF/eHsmpB3eCsoa9/k8luYXPd0kIVtaAqt/71m58v0QIhAOEGNpt6CwZUxof+Z5mDuU7ZNljK6pD+wWT1hZHDk2zu"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.3092ab63_1533230524173_0.33463462377264674"},"_hasShrinkwrap":false},"1.2.0-alpha.59c7c498":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.59c7c498","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.59c7c498","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.59c7c498","@crave/farmblocks-hoc-input":"^3.4.0-alpha.59c7c498","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.59c7c498","@crave/farmblocks-input-select":"^0.10.0-alpha.59c7c498","@crave/farmblocks-input-text":"^2.2.0-alpha.59c7c498","@crave/farmblocks-theme":"^1.7.0-alpha.59c7c498","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.59c7c498","@crave/farmblocks-text":"^1.3.0-alpha.59c7c498"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.59c7c498","dist":{"shasum":"a52052b75c3341b80044ece0101645eb6067640e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.59c7c498.tgz","fileCount":15,"unpackedSize":40159,"integrity":"sha512-tiL3krIcHrSd3655ZvS19SXjQBpBtQaE1N8WFmTHJCli/4a5CNPvAjKU9yDg20s9Ea+TbNuu5EjikYJh0IomBg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB1zEEWZVGWvH3fHZWtHp9HtBLb0okiYP10i211sEtBWAiBLO2gydOUXSkRHtXLzHbSWIuJY+Tsj0G5Ubx4P+k4pGA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.59c7c498_1533236356353_0.7919089478855244"},"_hasShrinkwrap":false},"1.2.0-alpha.503f836d":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.503f836d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.503f836d","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.503f836d","@crave/farmblocks-hoc-input":"^3.4.0-alpha.503f836d","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.503f836d","@crave/farmblocks-input-select":"^0.10.0-alpha.503f836d","@crave/farmblocks-input-text":"^2.2.0-alpha.503f836d","@crave/farmblocks-theme":"^1.7.0-alpha.503f836d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.503f836d","@crave/farmblocks-text":"^1.3.0-alpha.503f836d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.503f836d","dist":{"shasum":"cebe16209f6a2261fa9acc8baeef7354c9a09121","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.503f836d.tgz","fileCount":15,"unpackedSize":40159,"integrity":"sha512-OJtdeSnoqT9/Aw87VI5ijCoDBEeuWMecbY+cuBtIC3Xhqtt9xBNplRpZipjpyx/aveqrrdeLQ+MDNiFcsEl6nw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCP1JY5TUGgeNgNuyVlDmQQ3a3k+IeCnuzNtmLVHtErEQIhALAuz304e4FFnC0FUxB8BGSCqBozwKk4WIxKUm1GnI/x"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.503f836d_1533239452666_0.3365248982545117"},"_hasShrinkwrap":false},"1.2.0-alpha.c8332a96":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c8332a96","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c8332a96","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c8332a96","@crave/farmblocks-hoc-input":"^3.4.0-alpha.c8332a96","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.c8332a96","@crave/farmblocks-input-select":"^0.10.0-alpha.c8332a96","@crave/farmblocks-input-text":"^2.2.0-alpha.c8332a96","@crave/farmblocks-theme":"^1.7.0-alpha.c8332a96","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.c8332a96","@crave/farmblocks-text":"^1.3.0-alpha.c8332a96"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c8332a96","dist":{"shasum":"d7d18eac83f974625986553c5bf58ad0796dce86","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c8332a96.tgz","fileCount":15,"unpackedSize":40159,"integrity":"sha512-Z3+/L+gX0o+vOeZtKZYam8Xb2h2uSKk46snENyEzyq+l1LwlXVKPZOJ6ydbJSjUI62VlKovWNfS2vXYAYUWMqw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE8X54DO1nZMK7dNbTw6DObk5pslkcQ79LDiAstvWNKqAiEAhB6cyMdvNeFX1x5OXC2GkluFA1RVNlsFUoLSVWxAkbc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.c8332a96_1533308269362_0.7667378159175913"},"_hasShrinkwrap":false},"1.2.0-alpha.9514bd68":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.9514bd68","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.9514bd68","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9514bd68","@crave/farmblocks-hoc-input":"^3.4.0-alpha.9514bd68","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.9514bd68","@crave/farmblocks-input-select":"^0.10.0-alpha.9514bd68","@crave/farmblocks-input-text":"^2.2.0-alpha.9514bd68","@crave/farmblocks-theme":"^1.7.0-alpha.9514bd68","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.9514bd68","@crave/farmblocks-text":"^1.3.0-alpha.9514bd68"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.9514bd68","dist":{"shasum":"1bb32e8c0272047775fb10cae09a5b4c1085999e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.9514bd68.tgz","integrity":"sha512-L6R/v8McWL75gOCAkx5yBmupe3Kvdxlp1Sq94EXR63LNI3veqcqtCCjga5Vckgcsn9EgyBqgLEaAD3CgSgivzQ==","fileCount":15,"unpackedSize":40331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaFXrCRA9TVsSAnZWagAAVk4P+gNhcq+MkZIEh3CTdQWg\n93Qqto+FHa3D9XvpTj7XmSkCLfPe6Wn2qsrssWwHoRo/OiiTyrGdoKYCDXoI\n9fZ9kpUjZcMa1T8YHSunYb+rI+x0qTlupq8S6u5lZp7T7Yr1x1GeVvwOseU3\nCJtd39Ih3I9LMU9dQxqBW/b9t71NaRvD/Xzr6Hds+i3wA7NMkU9eWg1UHJ/2\nWRK2bq42paRodcB5sgLBTfwBwqiAe0LtpNgWRIbMmFBdu0bBGpj+zcJR7eck\ntaDkG/ti38KAFYbcKOQubKFq4McxNcYbwApOaFB3lSanuD+4oQ08NcA+N/xL\nnGd9E3cjRyFfwbdexHF4H67ym71K5h/VlAtz6W9Q0emmA2QaakalJXOZdKRU\nwod7GQS/QImPJZDBDTv3sdADQretsb8oySZRUCSDLPvnuAtf5Fv+2B5dBRfh\nOkvdsYQ3/OxrTomeVi3P8X1niRn6LJZKxUtnftw2tdnNlqA6n2VinPPQ7iQD\nGbPw2UbPiwT6O2JMHWNtspw6NHhNCKEvvFCoIZRPveglOYBaihccANrk/AZg\n2acSmAIX8AMQ7HUYpl8S8lApuALIgv7VcBGWDVIv+gSAl3Rvj9picbH4Amyo\nUAU1qtgD8wHGfz/OUndC14f+waWxjICh+0haPJV4IYwr/jYp4wuhS97ZzoEi\n7IEl\r\n=u3um\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPYRzyFxRdOVIVZLCZdO31THeoTBR8ngIInvWIrJA1swIgcFIQD/woJSwt01g+5cO1wvs/aAOeWqJl/zzdDv95IGU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.9514bd68_1533564394439_0.7355060190675968"},"_hasShrinkwrap":false},"1.2.0-alpha.b1889383":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.b1889383","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.b1889383","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b1889383","@crave/farmblocks-hoc-input":"^3.4.0-alpha.b1889383","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.b1889383","@crave/farmblocks-input-select":"^0.10.0-alpha.b1889383","@crave/farmblocks-input-text":"^2.2.0-alpha.b1889383","@crave/farmblocks-theme":"^1.7.0-alpha.b1889383","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.b1889383","@crave/farmblocks-text":"^1.3.0-alpha.b1889383"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.b1889383","dist":{"shasum":"c19aeb41c71589bca9c3afdf34705cbbbef964a9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.b1889383.tgz","integrity":"sha512-aOxOfs4RfeIWO9DXx0tVQ051JPAw7OGNEbiZjmQ+6iN1FUd3FEu9zjJkpIHIENtr4fZz7cpDeXz6pmNYf6YjPw==","fileCount":15,"unpackedSize":40159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaFzOCRA9TVsSAnZWagAAuYkP/iOD+624NrbXJlIQ/z5S\nlwxUQEi1hWz2azulMVg1+GeseFMMIOKBbXoOfJuxV1QjFw1t5pN4U+/uT/hV\nGWBJKAAeKXvZ8+ui6kdL7kG7SoRcTY27KwrI1ZyZ7XY0bjeUlP/e0xCEZy/K\nrtdC5gUIQwFDngVSV3kUxI3jcPe/RX+waKFagChv68mubWHNTwXMmO2I/Ysq\nv83rZTVtm3VYQ78V4NUgpFDmP6GIZHJi5DobzKsmByzhb8jxf9g1ohRdnU1r\n3VaIpBcObzlhNWwmUUet24i44fW5tAgVSrInaRvcHUjgpsZWp1L3ftp57B8p\nBewHaC7jzYopu/5C0JEMl8Q2ghKkW33oaduTn7jJ8U1wgAzeVqjGDRXYucai\nObF17NYZ6+XE+MOMIzM+GOfFmdhWb88u6luZ7wx1VRijHX6NLP6ytON+Gpr6\na8yEBxKyGxslSqFOxu0x1ePwBsruRNwBRU9rt1YgMifrvQzv8Em/QFQnn4O+\nfqN9mIy8GeQTWWHZ2Ve5n9DXKTCvqntGvlm7y/0o6mLkU7DqMEfTpu+REfX2\nqB6iFl5JFPqCOwLGQY6ovj1+BSl7bOyh+wDuA6qAQZHdFtVBQdiT1NYmghAQ\nHodkGEKCfxNI7CBUSuXb9V4gbmIS5YZzy/1fV1tP6HhixXU+OIoXyfc6swW5\nhOXX\r\n=4ymC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxNx7vqZ2YMhTQP1Ko9nTWqXIrCGDK1s7YcCOw5zP2IgIgJeF4FGiRnkYgEUqi4YwMyObvoSt50yQ5mnP3FqwyUp4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.b1889383_1533566158265_0.3736896317719196"},"_hasShrinkwrap":false},"1.2.0-alpha.687832ed":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.687832ed","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.687832ed","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.687832ed","@crave/farmblocks-hoc-input":"^3.4.0-alpha.687832ed","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.687832ed","@crave/farmblocks-input-select":"^0.10.0-alpha.687832ed","@crave/farmblocks-input-text":"^2.2.0-alpha.687832ed","@crave/farmblocks-theme":"^1.7.0-alpha.687832ed","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.687832ed","@crave/farmblocks-text":"^1.3.0-alpha.687832ed"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.687832ed","dist":{"shasum":"34d666963fba485a26dd73e3bbbf532bb78261a3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.687832ed.tgz","integrity":"sha512-U5N7aPvw0w3UwjHpJDlbs/3lG2sGk1/kp4+iCifqRbmbXDnVopSyz3H4qdlIEj9XT6k6UV4SO74l0C6X+UEboQ==","fileCount":15,"unpackedSize":40159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaF6ZCRA9TVsSAnZWagAAArQQAJOoB1PuzhVn7K8ty8sm\n4Y9NvED+4whk+cN+87XJ3vOnSZ1YuJZ+PVJkRaK17hv5De5drKm9ekeAqHo+\ntk/U+h6WLIz1NXWf1NUS7iQ6WEpDLZvxFLInKD2HTYBgydM7KD6qhx7WNhFX\no/AWW2Bxw2MlTvnxbtk7Wikl+QbErura92R7yITIkAkGIQu7M//8vO5MZDju\nUvuqfG8LKcj8iPwFTmtUOpMIookR0s7gLkM8mqAtn8Ge5P23eDHZ79soUAl5\nRKe1GRmN4cai86CWRSH/RUomdb51sj+U3+hfKNtDF6PkWCVAp8OqOoUfSDKu\n1yy88myiWb9DUlPvtpzCnFYN3TTfM+SfOXeGc5+0wH20xgiOdZg8RvesJZ+k\nI1BKcYWVbBwmCoF2NgWQAwzu3W2cQ6c4u1wm8rqn1cbcl9miATAHKX7zeQIO\nQDXfFFtCNN92zJXlffev8m35i3UT2Jh4YssvUyybPmJS/pzwmqZE7PKkhGtG\nYyxMN3lU3Gxwd8aJFpCDCtniMxk3OLeAlu3450CN+9eeZJkVQlzW8DasyerJ\nf0m7/Pv/1sIKCdD3ytwyREFQG7hZ1bEL4uwsK0OyiLs186N2t58k98V3he5f\nGbFMY1QN90pNYoZvc1AjEF4RHedTGuqYOV87Fwa34yp8avcbZhOGHgkhMehh\nwjSH\r\n=5VrX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHD6tarz9GdSoFk3NyrXsO8A6DXwhnmBzxUjymMQseB9AiBZtyZFLOly65dryjrG5BBT6IpKGq0FHTORAzufUzmnow=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.687832ed_1533566607671_0.4326736662154309"},"_hasShrinkwrap":false},"1.2.0-alpha.745374bc":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.745374bc","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.745374bc","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.745374bc","@crave/farmblocks-hoc-input":"^3.4.0-alpha.745374bc","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.745374bc","@crave/farmblocks-input-select":"^0.10.0-alpha.745374bc","@crave/farmblocks-input-text":"^2.2.0-alpha.745374bc","@crave/farmblocks-theme":"^1.7.0-alpha.745374bc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.745374bc","@crave/farmblocks-text":"^1.3.0-alpha.745374bc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.745374bc","dist":{"shasum":"d31310a5fbeec83067d7b08959149414ad54e56f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.745374bc.tgz","integrity":"sha512-8g1Fwrw/WqOBBdhBxPRx0TdJ0LNU3GPy1Uej2lKoMnvEskSKZPbm0suAA3yKcFT5ar1sgXha6e0jPZNCjXsO5w==","fileCount":15,"unpackedSize":40159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaGSmCRA9TVsSAnZWagAA6ogP/0jykPSAhGFKfGrEgNlJ\n2X6wFnfA0cCmHAOplPiDaRI14T8bafcPPtTZMtSzd6fRngF/05Nscxt4z9Yd\nxkAkdDtLW01oGjEiY1o3IOtWH6OZHc10Kame34HFPLSAlnlxwX+oyw9NKw9W\nb8D8qszt9YBi19HEnJXQ4eKbBqHjSmKN1kKopgbFcLj99vMSMNlD7u0C3rCn\nmz1ZYyZepiCJFhOKtmmM9DxfRYkaPZdzv4sdiE/xyryF7VVnrqrSrGAX06BT\n9TNy2S9yoerU2sG/1Ge9Jb/5La9ymTsvtPuqGC3TbOD2Jb9hDorpEpGELKw4\npQXKo/KDTPA7VBWG/5Zvyqzq/5B18ICJHFOuuRVVRPooLaUB9707fdO3+LVg\ncn5iE11jQTeNShOlks8xATQIVS6ORwwxEwJ2algeLgotjkjtoSQ3hidstqKk\no7D9GQqeLmc3q0G1OqieJRx+oIhMV/+Ool49HtBB4a2OyDgdV0X8dHAeSgXx\n7nc/xdssNXah8c54SqjiJQZK0OcLw88h7VZgnbpGbCTlH7KW0IplTICeQA9N\nlXExkpz+2drwW5wuj13BXMbdrNVsBlvbFuW2+bvAxuIh/U2zAx1RRUn7X8Jd\nlXRri3DRpY68/k90z+C4yGJXFNuWlF2YEV5or4g6ksG2spG06ZSkRq5OuAA/\n5pdb\r\n=10Oi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCD9EjTaFUn4eAwJUM1KxPFtgmH4dtMHnzpiL2/Gr5jkAIhAMJCxrGolVZoJKEohYFi8auHRYnow8ZpZA1vhpquywEI"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.745374bc_1533568164803_0.4764114638040533"},"_hasShrinkwrap":false},"1.2.0-alpha.24cc888a":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.24cc888a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.24cc888a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.24cc888a","@crave/farmblocks-hoc-input":"^3.4.0-alpha.24cc888a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.24cc888a","@crave/farmblocks-input-select":"^0.10.0-alpha.24cc888a","@crave/farmblocks-input-text":"^2.2.0-alpha.24cc888a","@crave/farmblocks-theme":"^1.7.0-alpha.24cc888a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.24cc888a","@crave/farmblocks-text":"^1.3.0-alpha.24cc888a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.24cc888a","dist":{"shasum":"d8e8049c8c650fa58cc93944fc14ddb53b592e69","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.24cc888a.tgz","integrity":"sha512-YTr9Iboq9R20JqZxoEBMfqh0PlS1TcmbACDoOTfYe2h9k86sc+sPYnbcjPH+AJW8ykTlOCN8v/py8lVZWSr/SA==","fileCount":15,"unpackedSize":40331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaGvhCRA9TVsSAnZWagAA2GIP/3CKrt94j7FdH1GW+zNr\nquY+EsCYi+1Q3+1iuPFuTXJlVOvv0ztyhjQVuNBrbdAPEbCcCAqneLED0+Tx\nPkCfKk4IlbydqZ8QUeE/84aJ1djTnOR7Q+0B4QaJC/N5slv7vYWksB89mIIH\n+v8W8MKa7/Llp0dBT+dvJ7fmQCUjnG+RgVPuk3TmNv3AiqrIIj9jQjQ+e5F6\niV41EZ7uglvl5AV4OheHgocok0rxWVMcQ71LpY+/rB2vUYMXlPICWV3oEsm7\nbd0WQAiujJdYfy0IDKNZHKplNE4DLiYoMBIpFl2kPuRZNpp6FRZVLrHY7LXG\nrFuKnm8+5KzR7EiK3KWcQTQ3pJXq2j4YoXXoi4uiMeNdoXZK7DzvR4nQopqy\ntwsoD7aGfKgcfGTexMOAeDQYRpUpuNmvsYR7dR7mMyfmlVdjUrsOZelobvD4\nXRKXXixQv0Q3xT3kRNrelRm302cSYPydGqSdtjN75sHkE2JifaB+/dm6pV+r\nyV9aIIoEHAsWYp9btCOVOMhgGz76CpOCTBA0QvPCKGvsj6EIRlY+U6O8MizB\n7oz9udZNPH1/kdLftbx19i4XSINuIm6osUyp3d1/Xg5sb5kJKN1/ClpjK5ti\nkH1Wp5bbDNrU1yIDQF1Xe+nweK0xSbcu6pnr8A3ZbQvf7YpU2/NslySdOHNM\n1RYB\r\n=LW0D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCnl9eExIsD2Vz8nUUkt43LmJVFHAwZ3sc1pzJ0/InjigIgCFPgYvMjJzLOlH70g1YI941arBdgJbwgvAMwv9wqlCQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.24cc888a_1533570009008_0.2099158241990695"},"_hasShrinkwrap":false},"1.2.0-alpha.4c30fc1a":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.4c30fc1a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.4c30fc1a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.4c30fc1a","@crave/farmblocks-hoc-input":"^3.4.0-alpha.4c30fc1a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.4c30fc1a","@crave/farmblocks-input-select":"^0.10.0-alpha.4c30fc1a","@crave/farmblocks-input-text":"^2.2.0-alpha.4c30fc1a","@crave/farmblocks-theme":"^1.7.0-alpha.4c30fc1a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.4c30fc1a","@crave/farmblocks-text":"^1.3.0-alpha.4c30fc1a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.4c30fc1a","dist":{"shasum":"ec4d9daa43f3a2df27fe5cba005f46fe3ec25458","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.4c30fc1a.tgz","integrity":"sha512-O6oJj+N9Ushgnj1oUM0mklI9VhzjcuFrnpiz9Cwdep6tDa4q/8wK1VaGH2MOcLauGxZLRBNve4WoupB3qKlElQ==","fileCount":15,"unpackedSize":40159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaZwXCRA9TVsSAnZWagAAaKQP/1A6u7U/Ed/VgSaHOPwm\n/osh5XNEY0XjlXJzAL7g82FxNEnIhlZY5x/CPO8DRQDZdSC7+TTIzf1GuRpg\nABpQ8D8Tqlm6gCDe+wpsyo3/rSKP9R3NC1hb9+ijt2NCTkSpVIXpJgJ1ZJZf\nWjWyi9LDlC8WYy9QNOCalSIaI+Y+GHnSw6Rvb6sD2Ro1ancNQpsn5vdxR6R4\n0gPr7r58TUu4Ld8Va8Sp+K1O0Bj/+vP0eOVOjxd1FCneINMxUIEtfvsJ+Tmr\n7DtKqteDmOZ1S1sE03MeMGE9RuthgspCcFbfrO8fG/vG4qxrTW992Ofp/iJl\nOc/zrxfYOJXT8VOVT+sUf/svrR2mfzTZCMc2M+RQMjokkZoXAZ4sP3ZUDbLX\nGmfzxt1jMU353BELT43VWVSnMKdOH5Jxf9MTPo5Sd7xAvIPaW5iBavtRLmwz\nO3v/FKudGH/JLUwSnWDTP+aRRZYaPqDcGZ7QQinmyqVwsV378FwfHnuMxMz1\nRjIyhhVZ+0/lns2vrFDjiFCGLPx3wvc5BjhW7T1OD/Ix9Cwm1XR1Y6f0apOn\nj/043bsjr7AASI0r+1izjrrRJua1eN7PJkICztpaDF5ySGkDfs6tPQho4y5i\nMp02F5sHTn1J7OyjQAKDAmdTiZ5Ke3eANTL7FiYvIDHw2xkXyqrlG0BwEzsc\npx0L\r\n=3FVh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCX5AF8USW9/82rBXCLZavj4P0dM0fRXy0simV/bhKkOwIhANK5f8DMwT41xL+YqkkYvlweki5f+n55gf4iEdEMCNbD"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.4c30fc1a_1533647893459_0.3896764120923806"},"_hasShrinkwrap":false},"1.2.0-alpha.962986be":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.962986be","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.962986be","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.962986be","@crave/farmblocks-hoc-input":"^3.4.0-alpha.962986be","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.962986be","@crave/farmblocks-input-select":"^0.10.0-alpha.962986be","@crave/farmblocks-input-text":"^2.2.0-alpha.962986be","@crave/farmblocks-theme":"^1.7.0-alpha.962986be","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.962986be","@crave/farmblocks-text":"^1.3.0-alpha.962986be"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.962986be","dist":{"shasum":"bd71fbe4b6ea7bd49ccff736bab2ef208a3b1b89","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.962986be.tgz","integrity":"sha512-01Ak24dB3iAF9zFfNYhDklljLabX3vEeHWJEUDhKla4hyOqgNERltf9lTXmmWVcGwvk9PcLYW5ZH+CoWkPEuZg==","fileCount":15,"unpackedSize":40331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaaM7CRA9TVsSAnZWagAAeD8P/ixx4ExBtEoNfbTHDgWZ\nkK6aHOy5XV/wHeWGgsI46sBRh/0QPWvZaWzZKWfHxOrxmOPvlXKUs1vNIV1S\neIOuJ0zGOvhv33IG3ncp3ZB2kumRIqOU33xDqM0Lclpfx1OGejrdWXn0oM1L\nK/GIYBbhTBFn0ZPvZcHFKw07WcU0Uy6UmU8D9bsGowjYpwe9nL0zvLw5hOgK\nlw2z0vMngt0yjtvIpAIbVi9/x9EHYhc0njzRZ2kfee1J9rDE87VZQWfPWU3X\niq4Z8wbXLaXL8479kjgEDJf2h00ZZ5SeTxprwc+Po80t7qQaeC49Ezr0rVGY\nh4/s7n2KOQO7AHbZyAqPBW2cSl1OZ/kAgFqg3l89KlwFRGRSqAWX064fAbnJ\nvioRlw7VN+HmwUtw8RvG5WdA09c3yG6C/MNXTB2nZ3edcVpPmsFWXarBpLfi\n5l9B2y/8QmA79+TnQ2NipsUgYlglkz2N9nxo8+kllvWdvX/GU7+MPVz96xdJ\nBX4mYaV5qUW9MOL/7ZqPWslWri0YgUCuXMM5vzZaWDgz9AisoCagi0ZnoL9U\nUVcoy7m35bNfy586v/obQmK74MoDo5/F387qmrrgD7Dd9IXvYykosbqUBeCM\nkFrEsK0Bg/+08ln5esXfCP176KR7zlO/fkdZYWVK9IHa7LdI+RoO8O7lRuar\nHWrx\r\n=2Vxa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCzikFRWExSgn1scNGjGI/KossPSF/iLtK0/VfliSrZZgIhAMkwljJ1t8c2/0GZP5et3VFFwGLTfRhfNY9ppIGUIwa+"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.962986be_1533649704463_0.7770005279152934"},"_hasShrinkwrap":false},"1.2.0-alpha.3e9b5800":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.3e9b5800","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.3e9b5800","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3e9b5800","@crave/farmblocks-hoc-input":"^3.4.0-alpha.3e9b5800","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.3e9b5800","@crave/farmblocks-input-select":"^0.10.0-alpha.3e9b5800","@crave/farmblocks-input-text":"^2.2.0-alpha.3e9b5800","@crave/farmblocks-theme":"^1.7.0-alpha.3e9b5800","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.3e9b5800","@crave/farmblocks-text":"^1.3.0-alpha.3e9b5800"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.3e9b5800","dist":{"shasum":"69757146b3500884660c2d5787f4bab50099edb4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.3e9b5800.tgz","integrity":"sha512-QuxADdlFUDby29ISZ403P9+NseWIIac0r8jLx7j95zWgq2IL448BEbnpzXggYjTQoPwvK802SJi7G0CSBDT6Bg==","fileCount":15,"unpackedSize":40331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaaoRCRA9TVsSAnZWagAAd88P/3N6ICuWTkvoPv8oQqnM\namZJLX7ZSCu7F5/Qxhpcl8nd4TWX9sE6BWnFXrk2iiEep4s3ffXRjMjEW1oU\nkict3LhUvVq4NGT2zmH+CAftufs7HfFTTSskYAEUUmIoancrMrfqjyHANKQu\njLMgrF9vD878t5r4kLZQFQH2lNhinywJ2JglLhPCjkU6pbilqi9vEhljNeRN\nmsc+aUnezkxC0O/rJfTeYyqDNT1702dMNJCqyfQi9hCl4a2URtomM00rHhAy\nE+M4QOezARJ9hguRrlCoDrJMTKiQFCQQFiVtGSikI3XiCC22f9DHcfKkv8uv\nZZVTon1V8V4hgnobRxBl3AZBQa1lZXTs2ngP+C/SFF/i1KTMWMPGfnXNXrO3\nEtMhDMzHwCtISM5WTYUB2qQ5WYRFTEZQzeL9EG2Q6HGmnvXJHr09x5KEsUUh\ncgX7VhyL+k4yiFIs8g5yjakAGgecblUCE9+Lz9OcWAhCIXuH0heBxn9bFZud\nlyHkMTsmzsrzda+VS4UWOvuBz4k9o8j55fuJVm4rtVpHjRWWjZF64/Erkjgi\nTD/OZrevFaAg8fyM0q4kdkH47xvZQyk1K7miHLiOKnESOkWgq9tP9WAwZpId\nG0yaW0f6xwWu0KxfLdS6w90nH5I69tSnSpv+RwP1MbOrjV0TYMCzEQ08djAk\nbXAF\r\n=EjSZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIECwWS7hZZDiIK6HQ5G2HQE/ajGZpDesYFxDZMcz/oVmAiEA6yV/kaluGgmBYCHnXpmOFg30kgltPhctW+DNmheJY7s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.3e9b5800_1533651462990_0.40728116858990115"},"_hasShrinkwrap":false},"1.2.0-alpha.c37d23f5":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c37d23f5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c37d23f5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c37d23f5","@crave/farmblocks-hoc-input":"^3.4.0-alpha.c37d23f5","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.c37d23f5","@crave/farmblocks-input-select":"^0.10.0-alpha.c37d23f5","@crave/farmblocks-input-text":"^2.2.0-alpha.c37d23f5","@crave/farmblocks-theme":"^1.7.0-alpha.c37d23f5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.c37d23f5","@crave/farmblocks-text":"^1.3.0-alpha.c37d23f5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c37d23f5","dist":{"shasum":"e8422108f2668c6349900fa89aa4531e2c44e1a8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c37d23f5.tgz","integrity":"sha512-ekY5IPSmr/rWGLKycRSvBogXm0UpZqD7rfE4NrHlhgDswHJGYz/5MWM9UvD6MS3X2C7q/BU9fcoAqZanYGQDOQ==","fileCount":15,"unpackedSize":40577,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbaeTDCRA9TVsSAnZWagAA+p4P/3Xiz61cIFjQBCWmbTsK\ne+jSqfKd3W5mN9Lyilo/QocQq5wPp4jgXUeZkk2UJZsuwRcTz3gjZ7ON4D4Y\nBVkYJzRsxweL9xYvjuwksQ5d2G1+dB8Yw8B8VmJvXDhZU3S5ix3YmW3VSt0S\nHc63MYFJkGT0MVf9cMMVKyl+TZsxX/6k8ePQx6eDc3CoaaFwa4LiF57xz+9/\nhBO4R+L/R+GN35yXOKNOvOPp55Hw+uapJOY958900W/pvuGSf+eGLhPcLM8z\nKIP0Ua3K7yGVf6C64UbvcjM3kYZ93M8imBNHCz953AnxL4MDqmk7PV5oe4kC\nE8osW0Z4hqODcpkbubKrO0G1kLi5QYkhtlP6X8sy9yEOacwUE8EnMqo3cgCU\n06jw+HAqJgAYEMvSCpyDLx/8joXtmGwU6+drr/a5En+cMe+/aBW6qbtF/+Bh\n2NE4VFG3OAUij+ZY09HBE8YVZOuTLMM0c2LMOpsT7DVz3s0pu2leRa5xFxXB\nWnXZWxP4YhP7lBiN/Tni8nTrHwYTfS9ePUl42luNmmuWOXSvJeKzCuWdpCk6\nI2UnT3VSVKKg9asRwfV3o3u4JHAzrJsXso738Cu8gEuguuETjzdVc1yx38U+\nFwoIu8axU9pzi3AZe9bucMVMUwmsSZYywQ/kVNTcLmCkeaKs72zswitIgBhr\nVpTx\r\n=y9pD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEWJ/DzAtVKL/arS6d26jAeiD/pII5q/WXM/QEhxbG7VAiAKu+1hX+j54ZltZkxSz6HQL1Jk74hXCSAS2RBGUk/leg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.c37d23f5_1533666498576_0.2891830309247789"},"_hasShrinkwrap":false},"1.1.7":{"name":"@crave/farmblocks-search-field","version":"1.1.7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.1","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^3.3.0","@crave/farmblocks-hoc-validation-messages":"^0.2.8","@crave/farmblocks-input-select":"^0.9.4","@crave/farmblocks-input-text":"^2.1.3","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.2.4","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.7","dist":{"shasum":"ad2df8db4832657d52eccb69dd57f70cb03d1840","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.7.tgz","integrity":"sha512-j6rphCsqnC9JJ3ANl7Wp/6o94UwTZwFaMwD4XbCryF+Z6rPcRot0gttaNaqG3GtPDik3q8djmtn9wCbP5+0ehA==","fileCount":15,"unpackedSize":40382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbatfLCRA9TVsSAnZWagAAOOIP+wZiKxVyu9YKMRxY6SQL\nRjEwsgkuC6AaJ69rB8eZzjsCtHm21I+cAHwS12QyZPyLeQKxmGEbZOg5D3bS\n2akrEXsPVFVoQnrXnDfIU8AoTbysrE/ohAktGfSdrhpPZ9xAdCn4vtckXyt3\nHYxkX4laswLXdBr19V1bZI8+kNZkHVW/737B3W620K4nOltjeUE8Tl+JGGDu\nidGn2KDnD6LZ7eoGxqiL7L8bGPouY9pKAl1n4S2jYMhbSKy7fMch3bga83ea\nYQNINKTg+LxkyXyqCHZB1oe648A8VDAQAymnDhkgrhinKVT9HtvT9uxhlJjN\nPWrEMf1lcRKrGiyGSjcpaZmEb7eI95t6HE7n0l67hP1Y491it7XhF3M8PP0F\n8b2aU+s9gNRxDrJHTED1pvFe38UPKpkx3kHvc7r7Rd1DSVSKmp/HEZpfYcP1\nZMULF+9SCWWmmOuzzZfGJ7ADE7wBZrTR3m9jGD8qth9b5syAg7bpwflH9Oi0\ny7HJ0v8F5g1FWujozBpJX+8cEoes731bnXIHimgQX95YIjBd5lyzQ7OSONz4\n6Fr3spZ8mvxrXrQtdmR1KXMPBJJxenH4fJcwfW7Vmc5w9MSvky4cRlFiRFhi\nLLMQ/L14c2r1f9ffcTcR4UIbY63VqkF+bb7qqQV5PcZxRrYz8vNsqy6cvpEp\nPCoN\r\n=2EvA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICjLQyBbJpEDOme0OIQbNmoAqhqW6cJTBgSYKZ/6fA55AiAmvputhMXpByL9sko5WoC1C+gWv5qJEu8qxdIr0Aa4bg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.7_1533728715751_0.4857645424603916"},"_hasShrinkwrap":false},"1.2.0-alpha.0fa47d1a":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.0fa47d1a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.0fa47d1a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0fa47d1a","@crave/farmblocks-hoc-input":"^3.4.0-alpha.0fa47d1a","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.0fa47d1a","@crave/farmblocks-input-select":"^0.10.0-alpha.0fa47d1a","@crave/farmblocks-input-text":"^2.2.0-alpha.0fa47d1a","@crave/farmblocks-theme":"^1.7.0-alpha.0fa47d1a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.0fa47d1a","@crave/farmblocks-text":"^2.1.0-alpha.0fa47d1a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.0fa47d1a","dist":{"shasum":"9a1ebd588667b9b304e4d7c3768c60fc84e12c44","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.0fa47d1a.tgz","integrity":"sha512-5sX494Px5UUKiBUA4HFUhqKjCkXq43KhSTw7SSqE4PnNWK45Z2NVfiCevEo8AU30Eh/Fyil1cN5EBN50wjgvnQ==","fileCount":15,"unpackedSize":40823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbayi/CRA9TVsSAnZWagAAHZsQAIujzRjmAG6hBISiIaBv\nBG0wiUJbvu6od8rYhuZm9Z9ZzQXYVv9Tc35GNhbcfkF7H+a54N0QgLiLTPH7\nDnezx52gb0oCDQUP40PLb/F3/cxQdqVNkvjhMSnr4ooCH5xmHYTv48UH+y+C\nILGO55bSD4+2XBZszgWXTP+vNp3afpslaN55cJbhJ8PUBBvL1aD78Ls1BR57\nb9q2IUuOHdqEPHNptx2DQlgq61tYquYflGC9lab7MMegPMD7rjKZC3mfjVIN\n7B18UkBNrjDtNq3Dg2UBC3OmxcvcNGe6Np9wxKfIxL6fF4TO/ljBjtheVzIV\nXS15nif0MzSOzVG9ifRXmMhjAeN7nUBgwEVo4CZX3/Pxu6xLYrnzsx2cPp+q\n9jSOI3UsXc7R+h7shFChGGSoVuTd3SCWEcvUAiY/3JkWJYPEERpX0RZI1//W\nEYTWm9+SmqjAvmoKUuEdQ6fCxgFEAM1UKZaua/G80JsgpD1158erqIaz5WVG\nfJNfnOdp4TNgkhgaHZmS5pEPCK1HMKzcW8ufdxtkJZPiFFEfxfL4xRt2bkGc\nz8HAPTDn6TOP3/rEmrVR7LKeucr88EvW4t4KZQJcBd660G1WvbrN88Nt96ro\nDtHz2Pdu8MBDbqSIOiDMgEZk2G/f/Atu1ueeIvtcbcHD+VQfW5wAwm0BbWWO\nShAn\r\n=qAWm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlJHirX8KJjpIHIHwo8E0U5giCehU/aqTjb9u/CpuNAQIgQZMqUI88S3BTg2OoYMfoGAfP4wjUhMdEVWUI9WpRov8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.0fa47d1a_1533749439050_0.5259702820368133"},"_hasShrinkwrap":false},"1.2.0-alpha.c1e15ae3":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c1e15ae3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c1e15ae3","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c1e15ae3","@crave/farmblocks-hoc-input":"^3.4.0-alpha.c1e15ae3","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.c1e15ae3","@crave/farmblocks-input-select":"^0.10.0-alpha.c1e15ae3","@crave/farmblocks-input-text":"^2.2.0-alpha.c1e15ae3","@crave/farmblocks-theme":"^1.7.0-alpha.c1e15ae3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.c1e15ae3","@crave/farmblocks-text":"^2.1.0-alpha.c1e15ae3"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c1e15ae3","dist":{"shasum":"d8b2bab580c94c62f83ca3ab43fbea23a2fd5319","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c1e15ae3.tgz","integrity":"sha512-L7CcOtQ3/hAMVA3tftno4tLD5kePPwrx/P1cBC6oFn0ww9BuEAuLajQep2ecC0AtQ8UeUj3oqzgztfX8dW69xg==","fileCount":15,"unpackedSize":40823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbayvkCRA9TVsSAnZWagAAEHMP/27WFd1dgMcez3Sgl4Sn\nOCUE8PHunFDkcFo4slhTJxuAwU9uJO0/ludhIIJYX/ey9jUiTFZPPxHAxJWr\n4D26idQv8j5O31IdOoeXluLonoqQM2l5v8AZRHfN38szGwNgPnYCIvlMhraK\nyzWWrxyRfsX4XO69b86cXgtyWkg6dV6f369PO+/YXftzawTXJR8hxyr7KVHf\nkhOaxhE+04TZ3eySt3Srls5eHeAhGbwTuAJ24HoSt2Cup8XtcZ7ck/XefFZb\nS8UIyvGMaFj838WQVfgTcSsEZlWivlf8SKJZF93ka7vbc1vFqGZPKEz5XEbn\nlDCQo96TvquX3Vy9ZSYCavScAN2QvYAsG46JCL1Szp+zojGX+8Tu/LJRAi1Y\nIseppc7UVNVhGMysAUO59dUffa+v0komK+SQQGmoLj/HdZ5nIWxnqhMdArE6\n9t7WEBqYVpdrYkAwC6VOmuCAT3l1AX13q06aMltFekTyMrIxLRbfz9vMm2nS\nRR+fuU3LwEnTAVcwpK2QS7OnYpT3PNsfK7PJiKn82pL4WSVlP/fG8k8N0QIf\n/VMWG4J1AOV1Ohs+fxqpUGa8XPbDtyINqtT1gae/qc4ZllfqtcavgD0rm5PE\ntfONvF/H+ZlK0ojbQfrsYATyEs4J1rg7RRyExmCBYXyhmYVyHqwFXP02scBU\nLBJ3\r\n=OVlu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDGs4ZXc0sI2GA5xu4d9NxCpGVJypd9qj4f8/UZlD9ArwIgBCccuIOpmDfmvZ04Zj1OwYezCvrGFbpyYhcqu9128iY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.c1e15ae3_1533750244300_0.49809942191709355"},"_hasShrinkwrap":false},"1.1.8":{"name":"@crave/farmblocks-search-field","version":"1.1.8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.1","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^3.3.1","@crave/farmblocks-hoc-validation-messages":"^0.2.8","@crave/farmblocks-input-select":"^0.9.5","@crave/farmblocks-input-text":"^2.1.4","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.2.4","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.8","dist":{"shasum":"3530cf001481bf325ec758eb8ffd6975ebadcfe2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.8.tgz","integrity":"sha512-Burx2JTWZSqED7CogqvGDsekJEVZ1GLRlhzrI6ZQ6n2xOMA/fQrGYMz6pK+7E5TH7D+iXPqty81d0+MUeUnEqQ==","fileCount":15,"unpackedSize":40628,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbay9oCRA9TVsSAnZWagAAbEAQAJhDlpAAJHIYBoeCQDO/\nW6Hy70dfbWhW+4g2g1wdfOAZfYNdBryFDNjl/BL06h8Qn5ji3o62gC45bwKu\nniqsZ0LOT09/FTJQ5BS2FAw8T7wNcFyfyj4jyawul3bnkMPb2CiYUdvWY/6R\nClzgsfPGEOX8x0bKYLR376pOWp9tynDRqve+o9A7Y9vYUn5Uut2si6Q1zJk9\niWtZttJTSLvsRVHUBEsx8ZAdPl4lIG9npXBhqD5GVmaE9A/O8lq7+x2PN9ao\nmtZZJFe+FKlgJcg+K5CRzhK5MFMQvQ+Xn57eRxuaMIEdEOc5FAZPBwEEA/PL\nY7/I5z2DqeYa6rtHpZO/7Kg20wKBUukWgSIeZyEUTEBqaH7hb5We4npii+rY\nQHUon2lLsAOaN4w5OPdlqum4mFPHNsdpenjrKoUZwErA/Hef5X5lNCCGBouh\nQUnLRXhqisg9GYddO9tOY2AS6i94I/IpZV/f5kaTcDdnZMS9NFrSEm4DuujG\nNeNeLdlRdpkUDD0yZDyNzTgSUJSP7r+CcpPZADJv4t4GE60LzwYJypKFIlRk\ncX0zNSqsNE/asnijTOomGBqMWM5j19fYlMXXREcYYxhtTW6l6pAqgJiduZXo\n3IsCI5a7XR/F0RVGG1FVexqh6t0ub8Ot9QIQTW1GCcErunUr893fI+JwEFPL\nZNrm\r\n=ppHY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKb0QOwJFuPzIuINK+r4QouHev/Vc940LEMM20uKkH0QIhAI2hINNgoKZ8P0VofFWMpjqxNg1am6iHEPQ+Sg0jzUE4"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.8_1533751144522_0.4309584088193419"},"_hasShrinkwrap":false},"1.2.0-alpha.7dbd9ce9":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.7dbd9ce9","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.7dbd9ce9","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7dbd9ce9","@crave/farmblocks-hoc-input":"^3.4.0-alpha.7dbd9ce9","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.7dbd9ce9","@crave/farmblocks-input-select":"^0.10.0-alpha.7dbd9ce9","@crave/farmblocks-input-text":"^2.2.0-alpha.7dbd9ce9","@crave/farmblocks-theme":"^1.7.0-alpha.7dbd9ce9","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.7dbd9ce9","@crave/farmblocks-text":"^2.1.0-alpha.7dbd9ce9"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.7dbd9ce9","dist":{"shasum":"66a0a3fa5829c7f8d90ccd5d5b35218c8b456db7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.7dbd9ce9.tgz","integrity":"sha512-R5tgJL0FMfRcb9AIudnD/J3MZJsjA+UvT6uCd8IZ4xvr7Mjpd2wga+Ra7cJVE89Mqv89E9/HTWQfGB7cC7PtDQ==","fileCount":15,"unpackedSize":40823,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbazB/CRA9TVsSAnZWagAAWV0P/2n107v51q/7oFjzRcRp\nKURPwZu7+8EMuF9Nb6P4RQH7+JcDXTURp2BS8gK/N18Os1cyGcegb4IUK18w\nAX6CmKCGXVnUpvgrfNg6urwAAPd1I0aJgi+jTCJ7HmZ5QJiwybWkzA7y3cNb\nyEKe5ii6letL0QyvL3z5aowIjjWXTb1Hzyy+bcPhgrR46Y1/FGsOp41EEGea\nm/rdi9EUuqSc2HKJBNnKgFS6DBODL4Oyjr4N/E8RZqmwYxqCQQU29O26LFpn\nYUxLxLFBf3fKCM9E2Tk7+ItpBxe2XhZAxElwxCVwZQPe90FmNMOCLSCKQrWn\nE/VcD6UeWzZsiHyKCoe6JiMTe9A3hBU+kX9Nboq4pmMM9D7bjrGXZlguknaU\nhI3Ac9RgeA3xjLcki8mHdplUKIxCY2SsA/D/69ksz1dxCOh+4lPppXMelMOX\n5NG3KvwuUVheKK4SZ8jgoy/n5/f2kfLPJSzdzsXlzXJFuWUSiyvY7vRkCzhx\nVxb4tBfmtviWnqy+kk2M+SdnYxPusntaluMV1hEwoG9VsqYNRwaj4UOzb/eT\nd+ZoTywURKc+6Jb0xlAtNneJaYzfKlGXQ7rFo+RmSZBjKNVgbB/IzQqLjcJ2\nWw2dvBr20MYvBh3UYTFm0nc+TOXzWtlMiA3+hQzaBSHbFmtE8d02KHYekN1t\ns88A\r\n=lqKY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCica7NIU6H5Hw4BfIDlasl33eaM/kwYGryH9BsNSvMJwIhAO/mKv9mbWb9txvF9YpCQ87mSxZjoCT7KmxaRvjwypeO"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.7dbd9ce9_1533751423311_0.9603716722254658"},"_hasShrinkwrap":false},"1.2.0-alpha.e4fd0805":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.e4fd0805","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.e4fd0805","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e4fd0805","@crave/farmblocks-hoc-input":"^3.4.0-alpha.e4fd0805","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.e4fd0805","@crave/farmblocks-input-select":"^0.10.0-alpha.e4fd0805","@crave/farmblocks-input-text":"^2.2.0-alpha.e4fd0805","@crave/farmblocks-theme":"^1.7.0-alpha.e4fd0805","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.e4fd0805","@crave/farmblocks-text":"^2.1.0-alpha.e4fd0805"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.e4fd0805","dist":{"shasum":"d9648cd4c271be737236ce689b9bf4fbd47b9c61","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.e4fd0805.tgz","integrity":"sha512-Fzkjnot/6zu4kzedprVGazJk8q4f4hTmctrUDOJd+Pk/OSxkGy48mJDuHWqDzoM3zBhykVHwVp+qvK/NehNPGA==","fileCount":15,"unpackedSize":41069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbJG2CRA9TVsSAnZWagAAsSoP/0wYEouepukQiThV/5x9\nirxZ7wCofEncq8ffvViCHDx/IWWMmzxePqPG1O/Rd7Sx1fMwhfQWaFVR9lSX\nngEsi//sJ+UVKQUhvp49SGWHaCArTyXlDZnTgML1+tgdllKd3DuTZTihRL2k\nL36Z50OLxdOuWppQQgaO2ZdEizRcqo2IPmeLYnVxFSFFvPcD7BGqobRhpPk8\nNZTSlaek/Ay5MJGXM3PDTVRPr4K644xvKeXVw4lVcCCM+JlDph93AlhhL4xA\nIDlEq1nrmChERV2/GGXpGmMRB8YzDEcuej2ZE71xNGP17oZkK+2Tm6lvnQ2W\nk/h3AVwH/pn/Epxv2maOcQuy49ZLd3VK4abyLA1ElhG4XXaJTc0wU18a8Q1U\ni/CYXc/8miJzyAx2q0shdG+n5WK26hN9KP1eSHrhbn8hWBqyGlXUN+kWNkMp\nM7Wt7MzWIvxWi8BDvvxyMZoVPT3PrpUes+uGSuEuGtWWl2FUrxr+PxPWVPXz\nPoYdSXIP+W9MDGBONL8hr/4rmxc2JVNQ4Zrqof/cL52V7+0wOIcClIFN6DCd\nDLWs7s8nCW33b6cj4AxTDTq9A4T/lK72Ga/us8vXpfm/yR6WXmkWElpBobpk\n2HUyENcKuEqslJ8VxhaFfhPyPjazyYgOPM3TszvEurF5szp6hRdrP1vBEWKM\nWAXu\r\n=X+d0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICTBBc22BSYDY7mrm7jCNYkF9ruknDPePgKMKJy1Ah+nAiEAs5WtPPii6UiASudCrsWIM9ceIXUFhP7qaMXKAOQWveU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.e4fd0805_1533841845819_0.4777410552104222"},"_hasShrinkwrap":false},"1.2.0-alpha.a2c264b8":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.a2c264b8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.a2c264b8","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a2c264b8","@crave/farmblocks-hoc-input":"^3.4.0-alpha.a2c264b8","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.a2c264b8","@crave/farmblocks-input-select":"^0.10.0-alpha.a2c264b8","@crave/farmblocks-input-text":"^2.2.0-alpha.a2c264b8","@crave/farmblocks-theme":"^1.7.0-alpha.a2c264b8","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.a2c264b8","@crave/farmblocks-text":"^2.1.0-alpha.a2c264b8"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.a2c264b8","dist":{"shasum":"ada03d58bc6e79f240c8ed38c8b625f9e3207fee","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.a2c264b8.tgz","integrity":"sha512-uPxDgmye7qLiz+K2FJG6PkCfCwP2UcOFOaOmuFBN7XbDWyntVG/NNDGSDrtwBlkx149T3uOrGZEmNoM6c3yVRw==","fileCount":15,"unpackedSize":41069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbJH3CRA9TVsSAnZWagAANL4P/3p/gLOFDW9asyVDkswr\n+3rik65S0jn0VkOGKFcYYfQ8pY2/Sw1/JB1dOdrr1wXOXJYh6Ey6uWFwtD4U\n9KvP06ZgtE1eXRZlBa1NWSswT7F/uyIRKoLFSOqrDZ+J1Ioai7MrcWwdaUin\nLh60E8ZNZewalMt1ep4uLqRB2IqflrMyDYzBakKl+VQJ93O5SY6DeIM0+uMH\nnWmix9CLe2wrZT9uDW+8WMZKTGRl3fS4xY7a3CD2JGg7yRrVsQhbe6GENUqz\n/q0+N3vlGdZRsS6KghUDINUhT5Tr2/bZY2hxjqC86rGJOKbJBEAEAXzxAl7N\nfzRpApmdwv/wrsddr7jErRolSCludZ8CEC/tl9IPJC2LxYpUiHjzIH4t7JD8\nLWykWGa2G0ekuVDjEKSRi7vZXysAt06E3oVc3k3OerfFk3Rj7Z57qOg5vZCm\n3olxdRBHNSU0ShKoO2sQ/8kM/mpgzxUQV9Ugd+wP900p1DPHzz+Pa4XxWGVa\nzRTaPKRVjpN5jYcNTr30WS5gy7QYqohLBr0i2bv+O7ZsEmvmkn7XTVCBVH4/\nIGP+5pNCoV7PfaEOXvoa0I4fpE+Z78FuESloFeLz0KdZpk/USChfVBK/UMat\nMfn7PLnZkEH6RQxudsEfqZUTjVlb26VNFA9FBU8pM0gDuNdythUm1AAhzGk7\n71U3\r\n=Dlci\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC75g5UfDv+h/00LhhLQ/6ZRrn9EsD54jb/wmyPgHkxRQIgOOo7WQ0XMbEYJGa8Fl5J/JSgUnSVgHrcMB78uh2vPjY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.a2c264b8_1533841911190_0.9595596558124262"},"_hasShrinkwrap":false},"1.2.0-alpha.15cd07ff":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.15cd07ff","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.15cd07ff","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.15cd07ff","@crave/farmblocks-hoc-input":"^3.4.0-alpha.15cd07ff","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.15cd07ff","@crave/farmblocks-input-select":"^0.10.0-alpha.15cd07ff","@crave/farmblocks-input-text":"^2.2.0-alpha.15cd07ff","@crave/farmblocks-theme":"^1.7.0-alpha.15cd07ff","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.15cd07ff","@crave/farmblocks-text":"^2.1.0-alpha.15cd07ff"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.15cd07ff","dist":{"shasum":"a7c664add73b8f939011047f8496fe3a958d8926","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.15cd07ff.tgz","integrity":"sha512-ihqqSveXLxt3XsKxwpLPCTN8MEvvV4QQdFVPJPNIT66AmW39wU+QU+CXYDA5n6Wmaicc1QkP+IKA5FLlBE3ExQ==","fileCount":15,"unpackedSize":41069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbJd2CRA9TVsSAnZWagAAhXMP/1VEbCwqLRUBC2IUsDKC\nDbgzSrLiH2WWFpwd7C/XmV/UGU261O0SL117Zz/gJ5ac4BcAx7NdY90Yr2HW\n3izP2cPuU1KmgIwohHhMytO41EzaXQ+i9xwLC5npgnU3shtbC9OOjVRBtIMD\nMUCgfBmfxUsRknMwDs/JnMkH04RhDv6Pe79wbldHCD0A3EHLVFRnX7rEtraU\nUXHetCO0Y70XZVXv2UASFWzBKk6YjwgnquCFxUC7Elm7dp3c0RoA8txs/YpY\nY5OtULLu8O236kh1ZMjoZRMQA7kzWFkkWY+dblQcfYi0HUSPC9Gxt036VtcE\nyQ8ZQEKRGsBieNWdaDDgkLu+Kd+56TIksvLa2FMPPau45t3LC7TONJuT7kyd\nDGKhVMSmTg1/EL993aiKYSLMMPcR/F6I/h+BjJJFl1z2kbDuiuyR9LRCNVIt\nndSvqrnGFESnNumFUG/GBY3+uxLo+2mEAFRV4v25Kizuq4ajPlkNAzxiPPsN\nIu/xB8rsf+Jn/FkSqjJLkbVTd927PoHaJMFfOeCodKiPLVqHJQWzAueKiWC7\nQseAylMvOBWtPvIXahHkIwMCvuaAVjNtma4BLVF2lL2+EdMhqEoR4WI8RTmW\nqPtOt+FggatFXdvzTrZJxmWwBUoKIGrrWm3Hzr7ipIBXTIU4AnUt5g79cHOy\nowEQ\r\n=hkTP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDp3gMlBRO8VkWEtzl4xPiRnHqyeA+CoBW+XbXKF0Z3yAIgbRfpW846Wg0Hmn9vv4q7Of15/KAMkAKyHNi2dksq3ts="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.15cd07ff_1533843317679_0.3911818856953617"},"_hasShrinkwrap":false},"1.2.0-alpha.b6d6e7a3":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.b6d6e7a3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.b6d6e7a3","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b6d6e7a3","@crave/farmblocks-hoc-input":"^3.4.0-alpha.b6d6e7a3","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.b6d6e7a3","@crave/farmblocks-input-select":"^0.10.0-alpha.b6d6e7a3","@crave/farmblocks-input-text":"^2.2.0-alpha.b6d6e7a3","@crave/farmblocks-theme":"^1.7.0-alpha.b6d6e7a3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.b6d6e7a3","@crave/farmblocks-text":"^2.1.0-alpha.b6d6e7a3"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.b6d6e7a3","dist":{"shasum":"5d2266e196283ac3e0bcb3b80f63e46274f23b72","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.b6d6e7a3.tgz","integrity":"sha512-4kOXgoHcNK9XgEOgeF4VXSH0oVnNpXlp1NSbIZzOIBT0GCJyKowsBejp0Dngz+kov4Q1Vq3UqStXAQdpTd0s8w==","fileCount":15,"unpackedSize":41069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbJmFCRA9TVsSAnZWagAAo2MP/0iZZGH4rZNZjulBIRjt\nghbLNo7IjeIztKUCshiToX6JVubRJHz3Dc9i3WV9zGDN0ZVhOyqAOiMBEYQ2\ngvV0dy8cjU/r83S9J9+Eawbo+2X0hYBA+UTirnq9EiqD8ttuq6sMflCplorG\nokO8RE9wzrdEhvSVWjWsDVyoj53s/nFoJAJ+RQe6McZMROzB/rSINqcmVknq\nE+tq70rAjF4tXaCgzSN2NKL5ppR4UQGhxz+rpOF4U3xf61K7BKggffXRIgpz\n/yoUBH17QLdnxmPEqrCg0rchhZ0SFZx5hiBhmRii6mxav8EyRtg2zhvVG2Ms\n6KR4skwWgIy0cZV6p90OkXuJPYtfIIvmXOGtXeswFkcqmYeV6H3PjcxKmmy5\nVuEsBifnp7pmd4o5MwF2A2M2mAdOZFMCJA0jftMgn3Tdwus6zGUmZd05hqpe\nTGXS/apMUjKWxB3ZbmKH13hWG4urweLseiysttbAOXZEEr+7/DyScB2pbvO1\nk+q4F6hW853DFu0GcBcnIu9TqhNxXdBzlb5tzx46Jem431YHQ2ny5tlRuAtu\nNEoGO61Dzo9XRe6kr/bimvEL1f89avCor/O2gwhD5TAT7HWJysynag5VzGbN\nC5OxK0BbIxZtsxjONzEmSbIiywboxLS3+2fATr0T86raz/s1m2FJ0J4qtnLU\nPzVi\r\n=Ri7c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYeQ1BMtBRa6qM6q1RD0jxnZM9SpQCSm2+vOwFN7RYxgIhALM4jhc9TD4XjL0A7PQSXlbWtCunFlMZ5hYANx3AiceJ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.b6d6e7a3_1533843844611_0.6500285114301563"},"_hasShrinkwrap":false},"1.1.9":{"name":"@crave/farmblocks-search-field","version":"1.1.9","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.1","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.0.0","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^1.0.0","@crave/farmblocks-input-text":"^2.1.5","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.2.4","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.9","dist":{"shasum":"5bce0b5f5675c35d9762e25eb334cca0ab3015d5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.9.tgz","integrity":"sha512-MojOK7iZvK2L3dUQxQxOoGXJG2CNrxSmTB9EUPWpcx4+tFYqF8QxJDpfW4tU3lwX6HFuSqN7Bx75Y1OgqziqLw==","fileCount":15,"unpackedSize":40874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbJtVCRA9TVsSAnZWagAAhRMP/2NDBy8oiXxzOnIjqOwZ\n84M7aZjxZVKCut7781K5/dCSJN8wuZAtFe58Dlc9sLHG6jhTj52smHXxiyQS\n6p6QQyge79RKglw6bs1fRzjuIAToMUl/P1yyK2t8di8oTnTYKFPVARKhbNdh\nmjTBIgqlkJL7AiM187Nh7rRUfbuTV7bLzALQ0O0c9w7CvaAfxdZZnmd+keFz\nYcEPCb+zVmFndP+b/qhiz1odo3SavsAyobthK05DG1XiJRdvNFyNxPg7Fk6c\nnIaEVOkUBJ+7N426eBLmTP2IOaznD1A0Om86Gt4Ctf31V1iV1NiXmIZC5DgD\nK3+tBKt8XMbZWTpOOjlW2w7VVRrT7nT4PCOHE+9lVZw2Q9c5yP1sjsHYWgmy\n4O1LRAbwsyA9D6bcX5v5ppZE/hqyhcZPopFMsTgmRw2djdConJVpCZrxmUAc\n2Ytch8Zsq4796vUJeg740cSgKtHy53rV4JNZ38PAi5TFVOYqP4DwaofjpNj8\nhvaNh5KjrclPB0+7qDlYnGfKP/YX7fdzuMSdtky/2SOY84rY32vqyjWPDkDg\neadvs7USpBuauM3eJqTDgNXGkA+kaMGkHM0H4SZ1ys4bkXubSkWpOtK9K4D5\ni0OrtMx9bTKViyVFmYNkPzmx3ZNm6EIg5O1DB9UO4b7Z6pFOfU95K2jqWYcX\nGhWf\r\n=SymN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDo0u4NhFqPxIXkEgl3b/AaFkFQBJ3RnFGzLS5HIi2f0AiEA6hYUFEqtZ7EKdx8n4YWpatv1mjShpMqw84MfOtEyMhI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.9_1533844308893_0.7311106066024065"},"_hasShrinkwrap":false},"1.2.0-alpha.6d678c53":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.6d678c53","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.6d678c53","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6d678c53","@crave/farmblocks-hoc-input":"^3.4.0-alpha.6d678c53","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.6d678c53","@crave/farmblocks-input-select":"^0.10.0-alpha.6d678c53","@crave/farmblocks-input-text":"^2.2.0-alpha.6d678c53","@crave/farmblocks-theme":"^1.7.0-alpha.6d678c53","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.6d678c53","@crave/farmblocks-text":"^2.1.0-alpha.6d678c53"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.6d678c53","dist":{"shasum":"457b329a246bf758aa0a8caf7001f5726db9cca1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.6d678c53.tgz","integrity":"sha512-EijrzubEOMPW2UndkkbzAjtk8FXBSvzOGkTbnj31ECGO7vRsrhC6n3Vuwf7jHuuca8eY84MdUjtmMYHYXAKxZw==","fileCount":15,"unpackedSize":41069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbKXgCRA9TVsSAnZWagAA9TEP/1BeozVgN2G6OMcEc5z/\nQUiZqOr9weF7UVhYnNTHHLwCRGn2PJBR2E1XvvGOBa1p++Mf1fFAz94sgjXO\nnzTOvkCnUovTyHqnRypQmj/N2jSMxpMFiiPITc+itxoFHmjPiISpIeq+1t+M\nonSsEybGfR4BPuMoIj2gESS2c9ca4b3AMKWn4vq+2mJkFqZ0FmGd4b8Gmp9T\nrwDlaxzfslCpqmLIEYvjcNSId0Z5Uw/WUqv5IoTGwMWucNNFoeukyzZzzBT5\nB0TGIg3ccAjorSkjkuqNo7JCZHuLiBbKBJ5teP2Mnm3HIR/c7yqXXHZj8Oc3\nMTrUe+ijl0lz4yJxZA5eWuuoE78d3CpGCpAQRPqp/w9cQunohrryJNKicb9z\nT9GZopX8pXdPmCH5JfBW/t0HcBq9AykHKgmW+SAKo48zScuz8VgCHNuj/Qim\nuIFWhuI3jy8LW6SPZFFO9X5OZKckvovt8408BZXA92AGgR+uL5RY1PRObZz+\nuFFvruWJGfzPWoi/AUS3TN9Dh8A3ih0hvlDNaBVlOmC2OnXQJfyCMEd4XbWv\nS/nBBZ82kYjtNaW+PAua5LMGHq78te6whWJznjb4Q9WaQkq6E0dyEQ4vwo6Z\nWr/U61r3scueB6FCbpxWryl3ZUimpCMR3mM97cLXkjpv1rdbkSIycQCCIwhI\nmCwy\r\n=74Up\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwWehkGmQ48BpVaMI43l+Q4Fj1H2/PTE+Re/q+jUfdJQIgeVw8UqRPgrhNHmZe+l9cBWYE01HVAlgQMiZxSdUm7cE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.6d678c53_1533847008191_0.7369506837769566"},"_hasShrinkwrap":false},"1.2.0-alpha.375ccaf3":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.375ccaf3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.375ccaf3","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.375ccaf3","@crave/farmblocks-hoc-input":"^3.4.0-alpha.375ccaf3","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.375ccaf3","@crave/farmblocks-input-select":"^0.10.0-alpha.375ccaf3","@crave/farmblocks-input-text":"^2.2.0-alpha.375ccaf3","@crave/farmblocks-theme":"^1.7.0-alpha.375ccaf3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.375ccaf3","@crave/farmblocks-text":"^2.1.0-alpha.375ccaf3"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.375ccaf3","dist":{"shasum":"df5b0922e478b1b67fe0d486adfa40741f51b369","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.375ccaf3.tgz","integrity":"sha512-imdm95u4QvBQeyFN4fc/V+c0jpjmWbg4ZLVnFQBE9FS/RU7OIkZ2ruvz4BBCkRaFGGvJdzczrKKXygZylD9Btw==","fileCount":15,"unpackedSize":41069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbYuaCRA9TVsSAnZWagAAQc8QAIqhC2IKNt1GTw4vDRUP\njtyy9ZQxS0ZsitT/uwm2sryVtG4DD5sjld1Si4OwUYErRoJXTNeIO6YSTjRX\nMs19fFgCW2cMIOhr29tyZCpKbfW0wgCFoJQrLmgxFqcpLV9TIIvQLnwJgPP6\nqDCBfc2Z0NQV4lWHMI0ctofdWw0/9AKVGAryJWUMR5S+yBkmhKJTMyrEiE0x\nv3yvKD9P754br8qSqfS7PP+MxRaj4KMkq0WrgipaVxU+8qhk1FKwKPh8X8so\nfSXqYqhLvj6VSjT68gtK9ADH9ZX3bQfeO8+38mOhPFx/tLm5oQ4QFQoDHey2\nJG32h3ukOibtvQ5ZzYjmexxikHw9zGsYYR8F24roOAy34byEML6LaX2I+Jgx\nwODHQW5kJG8YV/h+VmQe2wrpbNQJnoEgFfyK6W9WWsgrfAS+ThIQ3xDcvD+/\nEjXwz32w/YkSF5R4YUmLBmIyYLg4BNOnqeZ3eZDAMW/GgyCHdTvFg5R4pi5u\nIVmv69YxruoXSi9W4fLL+A7KbMhN8nv3XKeFfyzLEeOGVv2i7JZZK83Wp15B\niw6/0O4nb28kPhIhBe4CfOZDjoLFm61kMQ9VUZC/nU4hwQTeWIeF3oDghZw4\niCXwrhtqd4+8eNvVOxzFCvqS64gmtOfOy0JmOBAzc6EdS+4vOP3fnLzbgS78\nERKZ\r\n=Wu48\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDC0U09Df9t5z+HYPvb+daIAOGOv9v0N101WogmCSxgDAIgN2EJVPkMjUloc93J2nXvdZ8Qdii263VAj4heChv+e9M="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.375ccaf3_1533905817803_0.7365416523108037"},"_hasShrinkwrap":false},"1.2.0-alpha.ea8890b8":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.ea8890b8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ea8890b8","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ea8890b8","@crave/farmblocks-hoc-input":"^3.4.0-alpha.ea8890b8","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.ea8890b8","@crave/farmblocks-input-select":"^0.10.0-alpha.ea8890b8","@crave/farmblocks-input-text":"^2.2.0-alpha.ea8890b8","@crave/farmblocks-theme":"^1.7.0-alpha.ea8890b8","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.ea8890b8","@crave/farmblocks-text":"^2.1.0-alpha.ea8890b8"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.ea8890b8","dist":{"shasum":"5cdb1af8f747b7365cc041ba7a9f59756f66faab","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.ea8890b8.tgz","integrity":"sha512-pNGTv2AYepB097gUKRdOds1DibnkZ7XVwzNYGPnhRT/pqvtxchzzvPJny4B0utp8B9ESfKGcrHwggNSdrBvd+Q==","fileCount":15,"unpackedSize":41069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbZhrCRA9TVsSAnZWagAAFcMP/RGr2N/xHqx8JqwuugZ2\nUE8eB62X+iD58HswWIab3vTrYFRB8ITCedcIlzv4WvvZXyRGFGOEtk9tp6zW\nc0QKvA1hY0wPi9IS8S+2wH+n7SCuu1GVe5F5LS9mQGvh2O8stLofqNNGKnJH\niaYw1NE7+CYfs0UKOQi5OBoAZvuBNmUYPBqF21P1upjuFPVa0wUTWdp3jDb1\n5nIzpv5WjJ0uljcLgrxJgy+NWgcDecLBXnl+IP0ujVr/IZWJQiH5dLCBijnG\nJwhEvB94K/M6x+fmkDGh5rVmIs5iSZ23jXxkfLOgEhUqiDvZ6pXvUkQezLrM\nRT/nAoBi9t9eHaBYxIe+Cg63EQsBaJtzPDE3BpssY2cRcF7yqBr31/ksCzFF\nDSz0PK7WDgYhXi248qvmtDS7AfdGt3HgMs26P9sSzNNgHlyLgi9DhDYtgkgN\nnkrmL51wu14lrP1qaqcAaAieLVrHr4qefXIXEhIiWAXv+qGh5lf86JaiJkMC\noX9Eypc6/TUuDEZYx29rpbCD+bS+MdK2JfAg/JsbQndvqch2/IyBoN4TVsFX\nVoXROPFijiIo9XmXsekWGZX3iuv7IkZoSKLKtqpMDIPkwI9tPPGEPCasXvfO\nHOm783JNsEIbbVBkXlocauRxBE8SqNShzkdX4ODfeHOd+VoyREQ1h+OZey17\nmXAp\r\n=xtbo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDlUKcKUH9EsrE4ddhau5Ch3UF9yTotm+Wv5b857/pDJAIhANGNVWj8STBMhF8jaGkQm2b2smTGWLH6YrQyRMMcMXUZ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.ea8890b8_1533909098838_0.152447659776773"},"_hasShrinkwrap":false},"1.2.0-alpha.43b297de":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.43b297de","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.43b297de","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.43b297de","@crave/farmblocks-hoc-input":"^3.4.0-alpha.43b297de","@crave/farmblocks-hoc-validation-messages":"^0.3.0-alpha.43b297de","@crave/farmblocks-input-select":"^0.10.0-alpha.43b297de","@crave/farmblocks-input-text":"^2.2.0-alpha.43b297de","@crave/farmblocks-theme":"^1.7.0-alpha.43b297de","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.43b297de","@crave/farmblocks-text":"^2.1.0-alpha.43b297de"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.43b297de","dist":{"shasum":"bd56a24e39a99c575fb8104cc63bedc877bdc77b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.43b297de.tgz","integrity":"sha512-GSssw7TdRHcIgtAsaliXvN+CcCG7/G9rCGXZAIltU4GZ6lYdQVXboZmm3ErNb5hUxUCbhIMLtHQT3PLNYZNxVQ==","fileCount":15,"unpackedSize":41069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbc4RCRA9TVsSAnZWagAAgGIQAKHh/g4+haQevXUYIysy\n3eh1azuJ03DFSwr04IW1bKxTZSSmUQfrqM24MGSSD7Zcz9jMn/wDIU7b9vkc\n2jZEfHxycBLELfQc2PIc4oVBMXmkfswGlt0o1i2TqBFcD5ltCLc4TERywu2c\nyknZP1VEPP+PSQ63CeWxUKk2rokFxlsE2qZ2rDNsQBOYQdFBhrzmuj03j7zT\n24049WekvqCMCiHVqP97RJ5IygoGDhFGrbQ3JiEj1AJ6jNAheQ2NqEUlRNX4\njtue+053k/F56ui16SBTqK4QQSU3v/PKTpVd/Z8+yyJbu+VNQOs2XebgAUt2\ntjDWQiWg0rT7dJ+TXfAHXzi95hVhoKwSGmEMtvOZiB6iGO9WNq/ATtSmYto1\n5rJgveZEBFAJ931LgsLLPgkLcfbzV7+Zv+6N4lAhD9B5LB2CWmpxi40uB78W\n0NiEicq/Xf1+QUzxbCIgHypceR4Er8m0gYQSUwguHC16fq+RJtqS9k/FMm0O\nezQMDsCHoBNi8MUvmxqWsUkVnxYvXeLsWxDh2ctrVurmKJlYsmprIiFLZ2Oy\nMPYHM0VfPhX3hVfPCeLzK/DILTbmAToZ7y3Wz9TB+dEwKIKK64y6G08vIql1\nP8vVUlUNEktPpVVIROibEJwdvrUHe9qQzC69h0pHXvxI3UJPdYDOGE7Qywd6\nGFWQ\r\n=Ui+V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhpUcUSlIp7/3LUPRxEMTYQs7WGgsNZisW6yFzY1/1fAiEAz7C8xLUIFfbLsT9PIpsI23//pt/nezVden0qw//U3bY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.43b297de_1533922833369_0.32703088746422293"},"_hasShrinkwrap":false},"1.2.0-alpha.d6d6ede1":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.d6d6ede1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.d6d6ede1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d6d6ede1","@crave/farmblocks-hoc-input":"^4.1.0-alpha.d6d6ede1","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.d6d6ede1","@crave/farmblocks-input-select":"^1.1.0-alpha.d6d6ede1","@crave/farmblocks-input-text":"^2.2.0-alpha.d6d6ede1","@crave/farmblocks-theme":"^1.7.0-alpha.d6d6ede1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.d6d6ede1","@crave/farmblocks-text":"^2.1.0-alpha.d6d6ede1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.d6d6ede1","dist":{"shasum":"70f633859f2d43ee5b2a4e42c8cfbaddf0960fe8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.d6d6ede1.tgz","integrity":"sha512-NgiN6jfHc1a9BOjjmvhSOrPWerfrOcWt+pPL2YqJ6EGRRSsNE9Vnq2yY29Bz+q0DhC8ho2C8YoOmWHNNvn9Q0Q==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbe4SCRA9TVsSAnZWagAAXP8P/A+ZKMeanHtRXGPzVg87\n7A6tPgxFcq9RfQe/i+AunVIOleGnWEpVi8WHA8lAOZCAo9krdSoPcr9i8pMV\nQzrT4DMR9dAmEVbJfhN02EF3rRJymIxYXZDc26h9ibDeTxi8nC5SfrmFvKnc\n/Pp4oIPN5iVZGYTjCf2UwK2scVo2gBhjOV+8WedxfBdu0zibzOwXFm/5IC4I\nlKdhtNfggFsdPYw8RoirHtFDzQ19o/xY08vGjUPdMskg+qq+kvAaztztUMGG\nhfDKdtkw6tgl/lbXF0KnOIAs04W3A8oEvHwjZPMjQ6UL98m7Y5tN/odneg21\nWXn2CNdX8i/qmVPsrw/89lfio/lcN84Y29YLtchMs9KN+IzQIdp23EBghZru\nXN4qnbxErVr1MJkR4KbSJJ4Rg3khvElw1N4BLeR4+g55/PyGLsmDVwM5Qf8t\nhAMXc+A/QpSrbASF3umrnlyFNyjcXQuR27wDfbVLVb2YGIHUR6vtJCwLviw/\nT5DcKuGXuWbiIL7RR6F6BwRFf6uaAPMYxk0q+t+CwvnLhWCfumM4ZQV0JQ4H\n3tBbCoTuPYtkXx45I9S70hIF4An7W9rww9K2FqXbyv04QRCv9eiSdO8cI0xp\nZwdZDsOxbWMdAq456xmWIbf5/jEKN3cGVhnluqn6bz3+KCy9Q/jjQTWJvPUj\nvR+j\r\n=HvS5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCi83fhaaqlzZmdc3WM5+dHE1Oy8UrgRp78NNzXy4oQLwIhAPJpeHi5wws8M0vgQDmXVkOTMAUBmp1jD/dUjJS1vxtb"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.d6d6ede1_1533931025594_0.05163129080383255"},"_hasShrinkwrap":false},"1.2.0-alpha.6191ce51":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.6191ce51","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.6191ce51","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6191ce51","@crave/farmblocks-hoc-input":"^4.1.0-alpha.6191ce51","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.6191ce51","@crave/farmblocks-input-select":"^1.1.0-alpha.6191ce51","@crave/farmblocks-input-text":"^2.2.0-alpha.6191ce51","@crave/farmblocks-theme":"^1.7.0-alpha.6191ce51","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.6191ce51","@crave/farmblocks-text":"^2.1.0-alpha.6191ce51"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.6191ce51","dist":{"shasum":"03c720e61a9a19c1849eb950aaee6d1c7fe6263f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.6191ce51.tgz","integrity":"sha512-DZVcFk7P6pPI9yaOSXLySwl+pduhWTK9S/2kIuk/wl6V1vv/BB4EBek+lTKRA/3Ck9+qxkT6OctltOcPaBPKGg==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbnLRCRA9TVsSAnZWagAAV0gP/1TXSG/TWPE7NLVlHw8Z\n72auiIWehqRbCiWrCrrQhoKQrzIu/iAzp2nUI/zwzDuWnuOXc2ZnoXzPKcCl\ncouQx898XPkfYNv20widoGg9/N4886WzHmE8z2fV9qFxHV5hR/XBtd0nHu9p\n8WAsoX2QvnVXsWQ9ak3niugkP1+wRWL9e9gtKL5bi2UPJgQ9doHuUCFbbFDK\nYwAfQgTtHNCYuUuE9kLt3RZIRx3IaB6d3sfViBF3OsyPbHeiaziKCNs/OxOp\nLD7Ab6bmtaXr1tegOoFgZwfLOsiG/mHaK4ALEjYshskD8PG7cUidvtFiJnoD\nTGyTF3D5uJUFhQDhyRje6MKvNRT9mHwXPQHG0aEYbHSJ/QBqQq09+QV4Qbco\n6GQnWy+ZAVFhEuG5/sp7kvsfjC8qHoM/6dC2szFaBCXJZcmAL2NGc2x9YkON\nEUv6eGVhzN/A4yC2fkq/dvzstrIMx0/zU8ppha4KQIlkUqjJ4XUZJCMSUA01\nudrWa06EVhqZyV9VYG7OFrgxEL30ctm41AnH33yAzA2HMvpD71gRKnV84cWQ\nyCl0vl//tNd/vsJ49xgOxF/Hn9dqVwB+RX2L+PinfH0+dYdd3qDrh5Yq74qC\ntz9sAmG2Vw0SXyda7fMieXbEMXYa4VD+ze+SY0mmfDes7GmGDxTMCqnNc1vL\nE34P\r\n=Rjed\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAqeIPeLR2iMo/6CUdBUXs4+UApFfjuES+cAphj/ysUbAiBsfWzI38rf3RBKi6xCE7BD5dO9i1njee4qfoLVIMi94w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.6191ce51_1533965009121_0.7496171368534821"},"_hasShrinkwrap":false},"1.2.0-alpha.f78c9fb1":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.f78c9fb1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.f78c9fb1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f78c9fb1","@crave/farmblocks-hoc-input":"^4.1.0-alpha.f78c9fb1","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.f78c9fb1","@crave/farmblocks-input-select":"^1.1.0-alpha.f78c9fb1","@crave/farmblocks-input-text":"^2.2.0-alpha.f78c9fb1","@crave/farmblocks-theme":"^1.7.0-alpha.f78c9fb1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.f78c9fb1","@crave/farmblocks-text":"^2.1.0-alpha.f78c9fb1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.f78c9fb1","dist":{"shasum":"9e4b07ba0872707cff438e7552d611f8f7614366","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.f78c9fb1.tgz","integrity":"sha512-j6iZhZ/LIi5PNstECKvUXEHkuH50gDjj0wTiFtbGddd8Yi9jjchYmamcEWN9eo8vAnw/ajgQeJhysalJct1bsQ==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbnMvCRA9TVsSAnZWagAA59EP/2mrikkuU+i8hh5fyA2B\naZWLr4j1yAMvMImr+uKOx2Di6mtC03/GuiXnRw4U5xXzVRR48o/w/K9pG36Z\nUSA65mc725dTQgvZ0qf+Mr03NCbQBHp+FHCdQDNBiCtDBtmu1XCxsOaeyKGw\nl2w/VETDEx1ge3fsEPsxqMmLXEW9i62whi2nBILC/kfqCjMDN40dEoJOlDlH\nZXzkhQZI8E+B7wV4I5f0jZPxkl9aRJ2U7MvPnMjTtCX8jLXSFwFuN6tlxM6Q\ntLyyJjBx1y0/cd33bDFRYElyvOc3SmisTGPDKpAYpLfomDA5XRod3+xZFn8r\nDcLYdff+l5PNgIRaslsNRfyt3ryohLcGEcsymgTGZgqmjdzcyT1fGm/0izfv\nPgFDHTrvKCV+mUkj73dDy+PTK9fa///5fDs2gZ4hI59ExlxuFJpn86QedkCJ\nruFktuNGNe5YX0kb+HfNXpt42UnYC2OWgUDLMcUlrSEelyOX9CgGUR/TfU8k\n7f+jlAIp11UU9a/iPfN9yH/Ve0677L0Tj/Uq8Arh9EsIv8BY1L87UkAvf0cx\n/OYv7PaAkuxpk+91OMP+LxgZkudQ/p0kpblgLmp8cYGRAFC/4OETWM77M23H\n4gPrJURiKhEwhjZcjCu4OURWHwRU+2/zNZxtI03cY/kq5+nUvkpHohO4sWGY\n4lML\r\n=NfFp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL49MKYs4lP5vbRn6wBfxqRYIl+6QDNB+oEK7amHV1kAIgFhjxykZt/mNn6IfwIzhGz95fuEMS7lErWnENXdN8q2M="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.f78c9fb1_1533965103178_0.3181162159914075"},"_hasShrinkwrap":false},"1.2.0-alpha.a4bc3eeb":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.a4bc3eeb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.a4bc3eeb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a4bc3eeb","@crave/farmblocks-hoc-input":"^4.1.0-alpha.a4bc3eeb","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.a4bc3eeb","@crave/farmblocks-input-select":"^1.1.0-alpha.a4bc3eeb","@crave/farmblocks-input-text":"^2.2.0-alpha.a4bc3eeb","@crave/farmblocks-theme":"^1.7.0-alpha.a4bc3eeb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.a4bc3eeb","@crave/farmblocks-text":"^2.1.0-alpha.a4bc3eeb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.a4bc3eeb","dist":{"shasum":"cf965db290333b06df393fd284f6afdf341abfe8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.a4bc3eeb.tgz","integrity":"sha512-B9U7wKG0yh1X5Hq8z3+K20iZNEBWeCqBfgJVg+AHUzMPY73IGCrp6fm0OPVXbGDdLqbl3Zl4suLz7X72gtmGuw==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbbsqcCRA9TVsSAnZWagAAdRIP/idKZ0L1ooYigrsuQgHz\nKYeEIL/Ty7G98XHWfDeL8zRY99yadqeeiygoBoTJIlJF9KoWT2kagFBqJ34K\nuvn1TqHLJDGc0e8zxEzZmYJ+nnqqYYHXAip/EHjiGR43179CAsB7wKGfB+Hu\nIvDDTYRzNuNS/ORP7chljjmwEpAtkHtmlaEFqv3981jJ59L3HPHrWXswSat8\nfvdvzclSOzj083Y/IBA7gZGaclE6Yg0dXqJSA8R/0iK9mviaLvuZiH0iU4G7\nThiPV68aJwi90xdRHHHPOdzKxcVIB7fUuRNGLOpU0NXCtKzqoXdTGRKkLhtw\nJlaEIlVon8kPp86CDG6NYIv51pZq7B+iV4wPHqqsbZchlKhz98nA0oHIWYOc\n031ejXHT99in+SUwXV44b72AOhTIW5NrG+VvYFPXyqFOcTrOYgQp7BW5YD9L\n9LmzotyddYEkqT+lJMRmGFGWTcDr3WAcZrtdkEclaYeV7O6HvzQMppdlqfBC\nzwX88xTCqDRhqIKJ2hGkOTHUy+d/jBQTbYV0e/v0CWOPXDLyVNm7xPO4mgUM\nOlXi8VhLGNXsNxUO7Jl7agFunsrn8bXtTI7+jYzHY7esy9Fba65G7Gf+qOp3\n9ZseNO9nmbkLM+/MjQ3tJugyTojM9bDSFaRsPuHX1KdG4sgMjKvC7pKQddO9\nKmFk\r\n=YadA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJZXQ8OAg4+jeF8vfjtwjhlOnBu2RggX6DKaKIQZqt0QIhAL7PYA2NMGcNfN0a6qJql3fneFzVX1jgAZbYuHAnxFiw"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.a4bc3eeb_1533987484010_0.494200406855559"},"_hasShrinkwrap":false},"1.2.0-alpha.588b3262":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.588b3262","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.588b3262","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.588b3262","@crave/farmblocks-hoc-input":"^4.1.0-alpha.588b3262","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.588b3262","@crave/farmblocks-input-select":"^1.1.0-alpha.588b3262","@crave/farmblocks-input-text":"^2.2.0-alpha.588b3262","@crave/farmblocks-theme":"^1.7.0-alpha.588b3262","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.588b3262","@crave/farmblocks-text":"^2.1.0-alpha.588b3262"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.588b3262","dist":{"shasum":"8b3fe5dc5b19d6c682abf42d59da9f64d27570ce","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.588b3262.tgz","integrity":"sha512-P5NnW4cD4Qo9p73ExZzd2Ao0Vo4MEOdp8rugRfp8SfoPh+/2HufnnZvpTuR7Csoac7NgtlzCOBGp6uG1vhXHCQ==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcYc8CRA9TVsSAnZWagAAhgQP/jmx85VxzMMFrHUN4xAY\nOhAijSiQuZPkj+S4FR3hhxABV5UOTo6GoiWonAbyX0WrwmF7TctZgJd6dDSB\n6JICD1YKrfJr1JUueByC3sLeYSQdT1iaHBE4FuW2kv3Tui7YdWlpAF/+E90K\nGOL8WZd4kUjPRHoY2A3xEtujz/eMRhBHG9y90Lh0nEJd+MLf/Ksh7dXEDwdH\nQ/QY48iFvj8Yj7/mjB1Qc3gHsxbJ2JqfxtWbzGosjFJkRhdshhVzd2mGfkTB\nBM5Jnv3TGkqbJu0qaz8E8JQHcK1V2BDBmNvb4rXyzBuOqQxGbg96ZKLKcqsO\n8jmmpL/Ze4m3Zw6IV4MGiNQHRu1GzShq0D00pgKKdRfvI0gElM9xrs1XWi2n\nVeYFtdI4QxaFY5HRPVJH3zJanVRVm/5QegAP3+mi331ezyO79dBQwJppQHoj\nVnYd3ie040WuDydieXktYcfaYFZ/mCfO7HWiqCp4Jx3pM3P58Etqt/LEOo61\nOUcVInxik9qTcV648uXWy5X0weo3gJ3JdJL5qm0cx+f3Bzo+RRVPNkV0EqHT\nOCwUvapXYvcBi0d224vg8DqX1XUjrFd9h58LjDptVFnAi2aZ8le5QtiOfVcw\nSl42EAJcOOAvHq7VkX6+lKHLE1iInD36GhNjoB5RkflujvpebT3FyFIYYkJC\nYnwZ\r\n=i1aM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChco2JH13L3cLlkiKqHMAJbr6GocFwzHr/yFxyST/SBQIhAMslf1JS2RYMi+2w3uZqfn8aitbOeTuJSorE7wDfi2Jg"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.588b3262_1534166844313_0.40606831584048453"},"_hasShrinkwrap":false},"1.2.0-alpha.44455819":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.44455819","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.44455819","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.44455819","@crave/farmblocks-hoc-input":"^4.1.0-alpha.44455819","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.44455819","@crave/farmblocks-input-select":"^1.1.0-alpha.44455819","@crave/farmblocks-input-text":"^2.2.0-alpha.44455819","@crave/farmblocks-theme":"^1.7.0-alpha.44455819","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.44455819","@crave/farmblocks-text":"^2.1.0-alpha.44455819"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.44455819","dist":{"shasum":"cd24e01b68fec0f3ed60629bc31bd61c55ac8d9f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.44455819.tgz","integrity":"sha512-KBQxX0FXzR7UcQXsYa/i+UeTcD5xgRSSy/wJ0BBO0Qzf4AMwUn2IN+kqQNctYEWqXj4XJJIHf212e7TOPWhXXg==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcY5LCRA9TVsSAnZWagAAMaYQAJAjN5o0Mr8qblk7ooVA\n5cL03Eai+evllgZsOPpSclqkm2g6pgvOaKx/juy8Gw4knUCcuIDZy8Ry/rdu\nAEDW1H+9AN2kY580+YGkDvYYNbUQwwDy+iwOIk5rXyLHcsqE2qTi5GdpIoob\nihzQBAnus4esq36XF8rmHrvgFawFh4dQhPtzab4FW/mfx08dnYD82WFeqcWY\n4ciJfNCIeIPHiVHjN8YEc5IJWYpCUkK9m2CesdLYromS+1kPmwyDbApfNg1z\nMeFQEztPc/MyYKchRF2DDAyhwzF2X67ltPgsw9Bnui6uJiCpcB3cjjrMv6sG\ne40cqkEs7bJE8dGtRX57aNap3tCyoXI97jUo6Fsykg3tm+U9wRslhLul+c0C\nq0ZTYdXe6q4hIOeQSSvknTGqk5jpXGR20XGHD+FmdXyoCHCU+Vatg+H8zLdu\nCVHUAih7SUT+6RyYnbWYT+s5uBtx9LLdyXNEuTIygIvzNiav34jsePWNqtAA\nvEBpZ4k3+Y5T2Rzz0Z62f3srRcV5A7TGhdga/f4fJ+hzTHiziUnU/KTrvxNs\nvASjvzxIcTRJsIfS3Q9njzSVVa7/B6Bm8ab9oAPzMUlJcm/ZJVbAKUgssgJA\nsVEMzUYmHS/1L2YHkcUZ7L57Xg2F3kKRTkrP5N22BUlGfHI9TuM/8EecAmpl\n8W7Y\r\n=voF3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCE8NQvVhhZq2jFj7KqN4av+3Crind21v7bJxrNjSygKAIhAKMpcyCCRKyZLrZwrzgDx3Zdk8fd2gLLRNE0xJCahmmp"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.44455819_1534168650863_0.7479735002595702"},"_hasShrinkwrap":false},"1.2.0-alpha.42ef722b":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.42ef722b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.42ef722b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.42ef722b","@crave/farmblocks-hoc-input":"^4.1.0-alpha.42ef722b","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.42ef722b","@crave/farmblocks-input-select":"^1.1.0-alpha.42ef722b","@crave/farmblocks-input-text":"^2.2.0-alpha.42ef722b","@crave/farmblocks-theme":"^1.7.0-alpha.42ef722b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.42ef722b","@crave/farmblocks-text":"^2.1.0-alpha.42ef722b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.42ef722b","dist":{"shasum":"2a7cc04842e28981c87e8ad8fbda23cb722c13db","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.42ef722b.tgz","integrity":"sha512-iu+obb6Z7GxZNaAGsc0O0v243gNNvVG/uCaPlvJ85JiYAmcx7AUZo4iT0l25TsQg0vQ2SbeYAieuPJXdFWpUHQ==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcY/QCRA9TVsSAnZWagAAZrkP/iE1xnxOLSUONMBS2si6\n9kwM6DK6In4vq6l9EjSM3M2/CzDWtA44rapZ/zpIDL9afcpxMS4oWGe4lOpg\ns8ASvih/A5z7NzuVjL+20wRcxhajbHRFlTenMTUxPCiCgn2gdqlrdUcaWxUN\n44IW9CjQ5A3WtsvMa+kCbqXEJmDnnOuqRudYqWeXamYBMnRGoTR3ZXAY61Q/\nrNcZDDZlCSD7DOgFta0SCmlxhZHPV0MYLYWzkfxJIJgkiGM378K+ZaJoovJr\nZdHPrz7qWmo4NSBs5Y3aB5Jt/iqDlNzxF8Nl8tThmEgYQwWxyucTrW6oy/74\nSivGjL2gW1BmxigZzhsPNfeG/B6QxWCsOZV/Ku6iuklryp52dF1K4wJp7aRb\n9wuqVwWqCqAro3sUR4GquMpuOiOvAlH7U1BCICVrHVr5WlP7GNN38+lvqJOi\nSlfT8b+YiLAZYGf5Z0F5ImQhZgELeLOko7Mnxq2dA1Id8Iz/HV51/RuycuvD\n4qxIWsBm/7Pe/ftRMrMc8wkjVLxl4oSgTe64cVr4HGKJAnMt/JC7ZNXRDqLs\naPzZUKgL3k0mLAIRew2JMg9OyJx5ST2keL8oiCAMweggt4QuZMUhH/M6fsFk\nhE3QGw1wrq9n7YhAloW7pkWBXsMTxnZYiaNfnL1venRyh+fhAtYYSxvrT1Ix\njYNT\r\n=UPVs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0ITrHjhf2bUM5kVEIgonXws03m5X6q/mPi7qap6tbFQIhAMEDi/+RxBq0FAs9WwZ4KygWXu47n1a2YShdx/YtbG3T"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.42ef722b_1534169039862_0.7905578143516101"},"_hasShrinkwrap":false},"1.2.0-alpha.b5edc8a9":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.b5edc8a9","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.b5edc8a9","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b5edc8a9","@crave/farmblocks-hoc-input":"^4.1.0-alpha.b5edc8a9","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.b5edc8a9","@crave/farmblocks-input-select":"^1.1.0-alpha.b5edc8a9","@crave/farmblocks-input-text":"^2.2.0-alpha.b5edc8a9","@crave/farmblocks-theme":"^1.7.0-alpha.b5edc8a9","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.b5edc8a9","@crave/farmblocks-text":"^2.1.0-alpha.b5edc8a9"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.b5edc8a9","dist":{"shasum":"544f10e89ae92664ed10b443bbd858002fd83abf","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.b5edc8a9.tgz","integrity":"sha512-ADoXmuvBk7JlZjd9dDhtP6HlUm3tIP7ojabZpIi3EDgaXaTB/f9IjLe7jZr3x9bF0UW4N6rtyhLWw9hPZqy4kA==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcb0hCRA9TVsSAnZWagAAJ0QP/AxbSU2FGNYGJ6scqvob\nY95HjdHp+jODPyQiIxrQmoRS1qJhTAmECXlOhET5TzGgKDqdGWD99Pp9potG\nZcHuwLTSPvWd7Sef0jcTtmmSBN/1HbOh2v75L56/E4b9RoxdSVCZj47XeJlI\nwLFPt5fkz8IBfSn+cAJXiXZac0+YN8YSk8EfKBGTU6ILCbCwytan+1IotMpf\nJOKKRBikc4T3053nu138C9GJv3Es1n3VBwV+XMFcq8Ti4vQs0dpaAD41YAIn\nAuZhfYhIMcdunT8T5H2ELFJ2OLsFWm2bM1yu0q/xlYWhxxMyBLWJcSqeUcbA\nDubTpWfd+LmbTHUTNLYiF5P36KYVRq/KUNOCUxTHRZiuJLQgpPZvKnFQcHen\ntHPC2EbybL+LQGPxX74+M+IuvzbUo8cGR7J9RQPsXjLRT843t7BEPteBY7Ie\no7m/yf4a6rSbX/hQ7MHppC27KN4w2xsaOpsvBKSfvnYvNUwV+/48skGKphkM\nIRRulOxhLUydsDGeHf8UtdfldQhmp/si4sSOdd6UI1JHyx+GBDhl6anpWoXq\nlPxde2ySBoJ2eQTnMX4dwPRIP+P4zuKfa2u0a6j++xJ3vNaRVNLMqPlmRJco\npN4K9A5vvTbbZbGZkQUZKhz+/nYknDoCQ4+/S8D4uddPKtnq5fRSUIMf6aRb\nIePU\r\n=2h5l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEVAU1AkSZc7fQkCHHwNtj/2C80LeMaL8iiMF0EM42J/AiEAuUthw7++rkBzZp40vKqav0P8osNsi3ZO8eRX+GyzUcI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.b5edc8a9_1534180640660_0.9366414503419671"},"_hasShrinkwrap":false},"1.2.0-alpha.7842815b":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.7842815b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.7842815b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7842815b","@crave/farmblocks-hoc-input":"^4.1.0-alpha.7842815b","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.7842815b","@crave/farmblocks-input-select":"^1.1.0-alpha.7842815b","@crave/farmblocks-input-text":"^2.2.0-alpha.7842815b","@crave/farmblocks-theme":"^1.7.0-alpha.7842815b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.7842815b","@crave/farmblocks-text":"^2.1.0-alpha.7842815b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.7842815b","dist":{"shasum":"7ee691bfe9e3c04515ca399d2d0bff94eb79b577","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.7842815b.tgz","integrity":"sha512-Ea0B6XauAPj4V6YUuqOrhpT3VY0g1D3BWh2SepTtX9ea1w+t1SeKTo3CwC98/gIYiAyVU13UmEY5gJJ4L6B/Ng==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbccLdCRA9TVsSAnZWagAABA4QAIJz/AeAsUyCFk8pMwiQ\nhSiBObSqRRbM+OhbLad7pkeG4nH8xGcY0UknR2JS5VszS+qb7oAkgK3VGIX6\nZ3ExLt77L5ALDGETXRlUSluyiuRxI3nBsnV66d6PQEUwJE8dsi9OLGJwj3Gj\n/acsUQsBWREljdfKQdI3WHbehiRRTdLpcWP8O8Jv/MNlMK0kb8HNTj2qX64n\nEJwAOMiBDm28KIA6m3htHHd9zkewd8e2evNNhfnB1BR9gaQnjwvHtLoOWS6u\nOLajd58CFEr664OYzfzGqlT6t51mh9arb757wrnGroDEkyQ/9fVzGcOugekQ\nfKAyTE0LLUtmEjBFmY1Jy5NAEdN2ha8Vb0JBVKgkGjy4CTdKoRHehw6qoaCG\n0itNBivo3MrqP1E7AiHud+upk8Khs/hEHcslR2MusZk627bOo39R5xAQxqtb\nYcRLvalksjlhpUCF0sZxhqzWDxkfF3yeLEah8siCpS3PTPMCI27hgaK7hr8M\n9zlhbPdInH7lmUEO418KLl0E4BdADYBFWyhTBu2CFCRsffoqs5ILiOiVGJpT\nqFVNjlv6HJXZA9Woe0MX0sb3pgbOd+Ts3bMjB2N0lsmXqmPZxAyXhABJ8k0v\nD2/5yGsWIT8djHBk/gxfU8wSg/DbmCI+mSXofFzi0gQ25M5aWoqVCqXSztgT\ni7uF\r\n=8bRu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAPN0Ow3nlJLLToB792vl3OuALV2mRrA7KNqikDHa8YcAiEAiOJluSxBaMhQjPPTMLQSv/GPpSe9KSUeAFfYqVwizW4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.7842815b_1534182109398_0.9958378033589605"},"_hasShrinkwrap":false},"1.2.0-alpha.fa4c9db5":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.fa4c9db5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.fa4c9db5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.fa4c9db5","@crave/farmblocks-hoc-input":"^4.1.0-alpha.fa4c9db5","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.fa4c9db5","@crave/farmblocks-input-select":"^1.1.0-alpha.fa4c9db5","@crave/farmblocks-input-text":"^2.2.0-alpha.fa4c9db5","@crave/farmblocks-theme":"^1.7.0-alpha.fa4c9db5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.fa4c9db5","@crave/farmblocks-text":"^2.1.0-alpha.fa4c9db5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.fa4c9db5","dist":{"shasum":"f323736b31d7666e8cfed98a592cc73f999f720d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.fa4c9db5.tgz","integrity":"sha512-+Mz79R2bRoCCOgjFX712oQRXHcHeOy+dvPySkdrQb82h2texv+52Io//GY3IZ7Q5oVeV7J0IfDc+oMjAp2aY6Q==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbccmUCRA9TVsSAnZWagAAfnUP/RunRlhNPrgYMXHHVaiA\nZx17BIm/MBpeCs0rIBTKP2UAPIThX+qGozQT6UkJD3xeqSBVVaqvzttiY27s\nGE01SjNUMiogbnUYQfw23qUU5fjUqezkmwnYGHxER7+7U2Rw3Ifmb8awsS3B\nJ1xeacXVvSUZ6faW502PGYHI2uo43RYWGK+XOlxQNeXOzxRHX4IJtSVPRXcx\nKztjh31EKgSbcvMK5dDmEaTMCHf89t5SzYOB7OqGMLj2yd9RuqIBz9ggR7Rv\ndt+kLFLFc9N0CHVc9vcBsU+9zPj6GAB2XrI6U8Xg+4ky5ewR0/uItKbvJhsC\nngUYwHYm7pS4S0tZBxC+NBahTaFQFEH7XWBiItQT7mCx/n7ddVqSuA/0Mpb1\nQt9SS0AtFEGL8/aoUKct1o97MfoHYPEH0aypiGGn+QadZmFMfcrWeK7KR5KE\nWGtj5d3OWH0H81DiUmVLawpN65q+aTJKxHeSiUOkCSSQr5uxp1t96DEEw8+j\nu137nXRyVp44MeNzhzue5Q6gWZ1zXXHjdz3t9i3vb3GhtpVDDcSaDEfUTgIp\nYQyrJ1E9rjUiTmecATStPnq6XgcpKECji8/kNxqIy1VE+xl+g0Z/4ReoFoDD\nuNAKQlA/Baeo54gkLfoHA5AtuMGmTlzpdLRTFZPE2eAI6MCjbZTXu2wHEBW7\nPiM1\r\n=YMTb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJl3sGByAaQkc2Sf+D9a1LUjz/KKNzd0+KzSFt5fIjxQIhAMXimz6eL41wXsBqTj9bXYUXPbV0lA3E6qIsMYsZIEnU"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.fa4c9db5_1534183828381_0.872131412256804"},"_hasShrinkwrap":false},"1.2.0-alpha.72fd3088":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.72fd3088","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.72fd3088","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.72fd3088","@crave/farmblocks-hoc-input":"^4.1.0-alpha.72fd3088","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.72fd3088","@crave/farmblocks-input-select":"^1.1.0-alpha.72fd3088","@crave/farmblocks-input-text":"^2.2.0-alpha.72fd3088","@crave/farmblocks-theme":"^1.7.0-alpha.72fd3088","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.72fd3088","@crave/farmblocks-text":"^2.1.0-alpha.72fd3088"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.72fd3088","dist":{"shasum":"f4990e0a344bff23bfbf0b4cb852e7f76c904a6c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.72fd3088.tgz","integrity":"sha512-RwFvgslczPPs9TTewE70toseBwXAVtBGd4OrW7vrCfhzr41J4xeHraNRekrIXPvgKKnn8xacBsSq23UmPOTyFQ==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcdlrCRA9TVsSAnZWagAAkaoP/iwctdYOSGfKLJmlMe6x\n0YksFmL7AywoFJwDbKEXWaYuupneGOPWnzlv6gOs9GTNhMKOeaNAp6zFdYXE\nNCv8DNJLc2KSKgOxHcp8KnyPkv0W6dGNQ2j4L+vvQ5Nfdd37llOJAbdKz3ZM\n4XYYDkGVTL3qgm/0Rw54Fs9eXyNL0EdG+nQECcerVwHtwHnq7HeKoTXcGbPA\nbj2NCqGD4LFD91pKGBKUh2ufmZr3E9JN6vk4LyObS0Ne/YCJDZ9p6nomz0oe\nHZu/KF/KWE2F04TDcm0b/oCr82lYLjp5m0y8qBetsJcpkRhS5gdkZWsi3gq3\nLE+PJAig3Us9/aJ2k+KFLthKIHwHutxKi087j36T18jNrBNaQvhUmHFCpvLa\nvVhR917HYWtvf+PdXqnzk9BfbyNgEZuwazqzJCs67a+xOZ0KXUhajPlPpDND\nUZentvQtRYAjYBcMgmlWppUts9wl8PE/Ou1k6K2S48Gmras4p9mugitrTMWw\n+wqQbgRpYDAF3nEsXNFxuM3HGd+n3DtFEyk9Yc5JjxEFtO1QFWgpTU50JQWh\nSJ9UJMGxt3zVpPcW0gVKuo+t71Hxj9fHpLjoi/nFQ5cdUF1IO0VQU4tBD2ld\n016UHyJWEDINv8VwHzXMzxjm0hKUdJE+V4Q3m6rAp03FJwuldOZ9Znzla4Nf\nPzs/\r\n=Q0rh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAdNlLAFIIPJM88drTQt6MTnCVAAnBbpzS5IKvDbeRQ3AiEAx4PJ3nzLpqgWpMNIBaJYX+I0QtJtCth2wfIzGvCoGKI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.72fd3088_1534187882925_0.4027726884190206"},"_hasShrinkwrap":false},"1.2.0-alpha.bc38dc6e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.bc38dc6e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.bc38dc6e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.bc38dc6e","@crave/farmblocks-hoc-input":"^4.1.0-alpha.bc38dc6e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.bc38dc6e","@crave/farmblocks-input-select":"^1.1.0-alpha.bc38dc6e","@crave/farmblocks-input-text":"^2.2.0-alpha.bc38dc6e","@crave/farmblocks-theme":"^1.7.0-alpha.bc38dc6e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.bc38dc6e","@crave/farmblocks-text":"^2.1.0-alpha.bc38dc6e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.bc38dc6e","dist":{"shasum":"0893c1c8d8d601d9c35e74aa9a033a73c2c33227","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.bc38dc6e.tgz","integrity":"sha512-CqT0/fYq528X7vFbkTDi0Su8jDAstAQwf7unUPjWeg6NPeDz/yUxFNEY0Y93lbJ4utylpsraaNLtDAAyGcVQPA==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbceGzCRA9TVsSAnZWagAA4jUQAJNB4Mee+1N2vSM5AiMD\njPWmC0L/ZP4q5Hssma9bTTVOgX00zsGmkmZFLSdQYk8qaELUXssLgMwkcgYz\nVjbILuUe0GBy04nPXAkixQrjOTa/Y3SaXTzfe397PYdTI7JegsC+I+0nlneb\nRVc3kOnkQE+j8WfN8cfbHXp9+MPyuG7nSHFRFebqb9hWjqILvlyr71DNz/mO\nJ2nJyHnNzE/rXv92CUDBHECpIBIZlXKKRYTUkKVA+pR5fHe939sjoCxgYD0m\n2w9Aym1OPq7CMGIPFPBFSq1GpCDWA1x0j3Z1ATb3j2cwoLegMIn1O9Um8eCZ\nHCDgbTGgj5P9ivsdD2E3QFGX8ExS4Kx+9UxWLGDPtZa0Qo7LyKDzBxikGB4c\niIJudoAe9nf8eITFhEuyV5lxfpd0yxvN44Mt+sQjxKzFWNNzhFxRf4/VsbI2\n6eZ2DnsnSXb2IsmCqZsH5P5iM5ZLryF0HNoBjjwaTFAs7qgUNXV26MEYNWtI\nsnK/zpcVt0wFMzV6+LKcn3JhQIUuN9Tb+EuOjRwC1NxOfirl4x5N07lZfFRU\nvrLJ8LDlSVOn6l1bsErcNDYR2BR7DOdw5Tj/B9nf/kCVhn+N+Y648VWKPb+E\nqJA28R/AcjBXamcxTgkj673X6OLgsYUdakLuiNvkXyHyzjY6ptRVfN1yjK+/\nNvlg\r\n=xTdc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgVHdYgqAvnbaVXYWor5GzjkxqJD3mEwoYJtof/h20SgIhAJ5/Rw9IH0B7ZuuRlaX9ETanscjlGmxTr+ZSklUDc7JM"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.bc38dc6e_1534190003317_0.3224537702733459"},"_hasShrinkwrap":false},"1.2.0-alpha.f2d16cfb":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.f2d16cfb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.f2d16cfb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f2d16cfb","@crave/farmblocks-hoc-input":"^4.1.0-alpha.f2d16cfb","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.f2d16cfb","@crave/farmblocks-input-select":"^1.1.0-alpha.f2d16cfb","@crave/farmblocks-input-text":"^2.2.0-alpha.f2d16cfb","@crave/farmblocks-theme":"^1.7.0-alpha.f2d16cfb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.f2d16cfb","@crave/farmblocks-text":"^2.1.0-alpha.f2d16cfb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.f2d16cfb","dist":{"shasum":"2d88e7ae73ed57aea4b0f1ba98b8ba963a327cb0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.f2d16cfb.tgz","integrity":"sha512-Z9GRzW+L64nW2ACutFUSvadkmS/IhVTeYk/9Paxc7MpPECN/js49qE9AYs9iIsflVn3TIyhKmXn7MmoQv7z2xg==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcfZjCRA9TVsSAnZWagAA7g0P/15Rv/f22cBx92AFLrnf\n8S+LrB7cG17sqK5tp1blvUijuvX96UMQObVqUix/0F67SeLmnINEbyA3Y+km\npjbqe6orpQFJ0qIH6galhpZ5j/sStFBdAZE3hH4zjfhNwsQVblqRKkVQUZ8T\niRvMjSrv7BHIWq8rpc8AJceJAzyrQkn/AZp2n9osCW8p9DKbwxVCgrRAlld6\n9VZnju7XXHfNIXCxciiYsKG4OvFKQGrB+VANNuwgXxYAp07LSSEr5uYz4/ix\npT1XEwgZ7/ITwZIzvy1tf5ERhIlZ4rBGLF3LnboUZX7CFALVK31RtejEMlrU\nFEMSk/dR2jAMMqAVqcvxtIIPUWfSlJs8dCb7GFNoll2gDxmLuVhpA1VIXF8t\nUnjM9UAvFBTz24TiKtBnDpGWPSzFhS5mJeR0rVUSvG4DpJWx5QxmnAuCNdkG\nwkdAcUsy0L6rJJKxbC9bWGK9SQZ7HuaT0GdpzmZ5B5us3TmWUzufGOQcYyiY\n9xXe7e4LWfuOtfr7lgr2nLsDLfxsASzwrhWl63SHCGmZneT0fk13iKAcBvrN\nDAn1q1a0odXb3RGL3Xf+4bQLzeHBoLp81MfTEGT05OYAIi7/x9d2gn15oL9m\ntRz61iAVtaaiFhzCuYNljBZPj9yY4nx8l7HSNS0OUdwufPSLqSHnbS68do45\ncHfJ\r\n=VEQV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1TZbemsKvTsB5HZVV8UZcPBkkJf/KDDBSypleNvnmZQIhALo7mj82/YuFqlcWPDHt2Lt0vROyzY/E8UouNppxjruw"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.f2d16cfb_1534195298919_0.5509814256946237"},"_hasShrinkwrap":false},"1.2.0-alpha.3b6a29ec":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.3b6a29ec","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.3b6a29ec","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3b6a29ec","@crave/farmblocks-hoc-input":"^4.1.0-alpha.3b6a29ec","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.3b6a29ec","@crave/farmblocks-input-select":"^1.1.0-alpha.3b6a29ec","@crave/farmblocks-input-text":"^2.2.0-alpha.3b6a29ec","@crave/farmblocks-theme":"^1.7.0-alpha.3b6a29ec","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^2.3.0-alpha.3b6a29ec","@crave/farmblocks-text":"^2.1.0-alpha.3b6a29ec"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.3b6a29ec","dist":{"shasum":"d8f38082cd641481053e8de87c6e44a33a6dceec","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.3b6a29ec.tgz","integrity":"sha512-VrN3B0ddyjzDcq0m8vczNBDcil9qBD2h6JhN5FlH3Awusleq/eql08uFnE6MUl/oUCrz6JY8RVKv7FMw+MA/pg==","fileCount":15,"unpackedSize":41314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcf51CRA9TVsSAnZWagAAHkEP/RVyeiMFISGdlbnNaxHr\nGnA9lNMsoOesJ9YgNVYpIyFY/VF/c/pgmwEPryAyRrHDod8ZhuQJuSQVSnUJ\nW4WNXj9H3DdTtDE4hExmcYk7KxfKSJwB7pKliy+H0PWkVaVYhbkwh25BuAgH\ncuWH2Js6VLY05Wa8cTk3C1a7eHie9f3dJol5YYkUdujQyLBYC7LAG5HGuoME\nznWDmnSTRkaoZj5LmgDWvreZQwILKAGKDNJqCvJ8zB2IulTQOWWmCKrnGFIP\n7MqeSZzQ0KWV3dhZCZcbdbsqrOa922P/Rz0vw1cHdPm9+XN7PyznCFHtwTIb\nAvR42SDL3z6oxlpP49SQ0GoetWzRcOckXmnPRqgnKjfkOZX7iv0SS8YqipOU\n+jXOyQLM2oT0guu2Kx2R1D78hm1gwF3mzmtgodUmevNXOSerVzwSWv/XKNwf\nQ5oXIp2QPlxRpdfHYDbYrJQqZm1CYRpDjbbC9FmlJyRYeJjH6bWFOwVLTOTV\nrpOA5oU+Yxm0tLdOjIV6camQKPiBDrm31xpAkjRXFOvvMKOGAgKB0nm8VVkA\nvb9vftpJcA7iMofKRJqNJHmT/D2TUMXC0zCH3SHuH5j5+gmYomnzthjLIE3N\ndIk+W26dewN6CaSDM8jS9ZAKS1w3p6Neb0/vab4THKxqvBHtSfebVh+t0PE4\n7cMQ\r\n=OiW1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICBIq9lrpIlD9CTKfKGR6ftSyuPPRJzQl5Dk0Ach+ZLwAiA0cnDsZkcQEMyhgbf2KWL7K065Z2SHo3e9+4PgJpuCkw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.3b6a29ec_1534197364827_0.05578226724488644"},"_hasShrinkwrap":false},"1.1.10":{"name":"@crave/farmblocks-search-field","version":"1.1.10","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.2","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.0.1","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.0.0","@crave/farmblocks-input-text":"^3.0.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.0.0","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.10","dist":{"shasum":"b758caf03539e8b6fcc06864daa886ff50a16de0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.10.tgz","integrity":"sha512-ody7md+mSoUsZKSIc2tyqFRhtfSRhptPKK3sjeDL5ZLkYgKL17HCZ3Ai0/e3Vtgoyc5tBa2N9Z6E/rCzHFCa1w==","fileCount":15,"unpackedSize":41124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcgFDCRA9TVsSAnZWagAAzywP/1NYClmlF9Pl3tijYqON\nA0WFbQJTWnzm3P4lbZAdLg7LmAlMd329l0vOk+Q1+crgtoFrGrQRHFGtNZeo\nG2U59AgmnfqBp2Zfa128NXUZpK5T0q+EXBDwHAj3mXcEFWbOxo8mky5Du3/B\n5eyEA229GgrtTvSFu8L+cSDxorpl1D/yRK21Qxmxcbbbe5B+13l3srMILg4m\nx4xzHqfp7wqjEtBJoz8Ibq/2AedqL8YrJXGvK2T/z+vbRWk0s+DpxzKzsEXX\nVENeQyD/pvkAMpUvjSMd8O2ektXoE9lcjmX9LcyQcKdQa1UOsW5G+gRkoZ7r\nJW4gpLh0pO/+wZwTPjkEA3nQOQagFmZFj8LyETk9JnbaogTp+Ui5LjI2qmMM\ne1pcLd5jO3qLgKemS5Vh+JjfiSZC6VrsXJg9OGSE9vzpVpBiYe3QBoUpJp9N\nGF2f+CeOzfwHqsknlJsN0fFHDpJOQD4VIz5HVoowNEXRiIZQf9xD3rdXWp/U\nZIVEh/mk3pt9upMpQv+fdfe7bMSo30P4OvewvFHVWnn95xNT7xpB4MAPGCw6\nvKsBSJgTXC3ZQ9M/0lplovTmPw86szkRcMzgnrlENd9/hQA6sHdJwbtZOZ+2\njuv02h5Cc6gs1BC8u9Oq17qDcVzYTA+RYIhOPB6kEtWCQBIQ545vsZe+EXiH\nsDnl\r\n=j74G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCnhdtrMBYtp3oGyNxci7RWGYAsdSjBWqa6oSWhuoxURQIhAJfy4IENhHyTkhp3ds2p/JEofe9SFQdi1lPTfX5m3DjI"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.10_1534198082567_0.83609472517937"},"_hasShrinkwrap":false},"1.2.0-alpha.5f64fe94":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.5f64fe94","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.5f64fe94","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.5f64fe94","@crave/farmblocks-hoc-input":"^4.1.0-alpha.5f64fe94","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.5f64fe94","@crave/farmblocks-input-select":"^2.1.0-alpha.5f64fe94","@crave/farmblocks-input-text":"^3.1.0-alpha.5f64fe94","@crave/farmblocks-theme":"^1.7.0-alpha.5f64fe94","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.5f64fe94","@crave/farmblocks-text":"^2.1.0-alpha.5f64fe94"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.5f64fe94","dist":{"shasum":"d917ed952f0701531010e80e72408d8f6b50c10e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.5f64fe94.tgz","integrity":"sha512-62JYlM6qtATmJOti14w9sXwRpK5VyWvNpsJRwZFevc5EuFfjRcTBF7lXWqpa5wLQtey+60L/WsUglcCiyvKvTA==","fileCount":15,"unpackedSize":41564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcsGzCRA9TVsSAnZWagAAb18P/jfkN7OZ0umCeN34guqh\nH3klZtXylizAxqYoNj2RN/323EXrp3TunWX6Hhs9UXf36uUzfbJ65e2ekK6b\nmH34Ud6NVIWIzuWtImLmSEw72zKJM1v5ouRRmcdiTZvtdhixd0NMnGBHKvbV\nF/z3HKbLL4MeBVvF4vCpIPSzg4cX07xVZbEs7b5BZYyG3FjTBYR5XQS2DLa+\nFeZpbRzj1jBoautdav3rEPacy5iqKiwZiKei1p53BkwzwjT/Wk1+7UyQEIUu\ntQpBDFYCcXJ6JKbOa1/AADpddwLVoXt4RQCUxUZFIsyKl0qT0iMm/4CbXcBT\n+c6GfO2RumKM3uK6+v4Wq5l7sj698lWq0rfS2j5yeLTRxwoeShWQr1lUO3Px\nfg3ZHYQX0oyCVv9JtPfJ7XSlrceBVz+b9p8Nfl4vpgtrJjv3JStiRQQO59v+\nqh6zH+ZzfQAN68/y1uR0lQTahbG27fmp4VpdftfeTrK0JLwVedaelCSlNFKT\nQupJQu8080TN/L8d3+iwSQeUr/YKrxMoK6xmDM0tVitfrX9O78IqSBmWwu3D\nGw6+KE9JS0M1fCP89f+TduOhw7Xyfu32nMlbw3AITgdGJ2SuSO5tpzfnaAoD\nCly8oU3kWy9E28z+nWKLV8fjHldZADUfODRDr7znXbxXbWWS7+1eRMqzvuVV\nLG+o\r\n=c1CF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGRJvWhFOBhpq8mPgkgo2XXvC7LRIQyqv1Uva71U+U1cAiEAsQv0HFAg9sOhIYUPTx45yJ1tS/yF1vzBS823DtXUXEM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.5f64fe94_1534247347346_0.631124845638521"},"_hasShrinkwrap":false},"1.2.0-alpha.6dd0a593":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.6dd0a593","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.6dd0a593","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6dd0a593","@crave/farmblocks-hoc-input":"^4.1.0-alpha.6dd0a593","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.6dd0a593","@crave/farmblocks-input-select":"^2.1.0-alpha.6dd0a593","@crave/farmblocks-input-text":"^3.1.0-alpha.6dd0a593","@crave/farmblocks-theme":"^1.7.0-alpha.6dd0a593","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.6dd0a593","@crave/farmblocks-text":"^2.1.0-alpha.6dd0a593"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.6dd0a593","dist":{"shasum":"ba9e4ec6931cac82fd22a09fea0f28ffb3ccc58c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.6dd0a593.tgz","integrity":"sha512-NxgLamDzCHsYkKMIBUx78HtBhoT7a0TpkWNuStfPmucwVcqnz++Xx410Er7IZ+nHLJ89VLMhl+VFg9OyczK6Yw==","fileCount":15,"unpackedSize":41564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcsQqCRA9TVsSAnZWagAAwzgP/0vOLetJXqaXNuziQn/h\n0+8pSMEH4JFgi78eYQPpoITFhVZrIXjTw/7MMrOcKXFNHDHPdT8483WP4Hi8\nwxBlRHOffgEXm5/l86noT/YLyROE2wn3RHjmJoTbOj3n6PkkgV62WLb0+xi6\n4CPd8cs2aCGFWh6+JuYWGEyn9YU/CF4LPuNg+1p/J+kl88+awMSnSv/0pF72\nxdedbwnG80oW3rEwdZFnzStq96NirHzBu1djoUg4cDKTrCV1XruMRForSIHx\n7Ueih8gIMd/bXXuTQ3irHZMg2AWH1oFzjvI4CCLj6iTC73RGTq3KePY9bGd6\nxoUzADjmlVbYaMFqVpUlYKtX6ts1gRS0NMgQS1pA7L71fW+rcKtyFuJ2xgU6\na4BMxonOCoD9svind+w8Rx9ubjh58E1flDIes5leN3lq0U/mz94mStmRVCb5\nTkkmkmvrIdUEYDncBkh6tmPLonxCwVJaZ6QMPap4abWllzlILjuFQjsrqaRq\nhdpv50A54RzUeOqavwjGRUm7NWsZX93wRqtsQO6bRnRBmQppUI5SIcwI9GuG\nY8YyEqnfJwoURK0Mln3g7M8iddOo1ABTrVC6Bjqt2rNkRxJ3oUEan5rgB+nO\nPYLzhvNaqVUiKmr3Fz5xYQtwJeP9OS71ciBMvToqjigOirhmBriXpqYUS4uS\nE8sb\r\n=Lnyi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHVHd9ezaXk9b2pyzZigt+a31e70GEAJnCLnujzFXGsGAiApdwatrs9d/cz5qsjnCPB5UjmavVQgMkjXWjyvZukyMA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.6dd0a593_1534247978359_0.0852417076614429"},"_hasShrinkwrap":false},"1.2.0-alpha.75675ae6":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.75675ae6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.75675ae6","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.75675ae6","@crave/farmblocks-hoc-input":"^4.1.0-alpha.75675ae6","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.75675ae6","@crave/farmblocks-input-select":"^2.1.0-alpha.75675ae6","@crave/farmblocks-input-text":"^3.1.0-alpha.75675ae6","@crave/farmblocks-theme":"^1.7.0-alpha.75675ae6","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.75675ae6","@crave/farmblocks-text":"^2.1.0-alpha.75675ae6"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.75675ae6","dist":{"shasum":"89a0fa1d3bff4bd17430f55c7cf03a5d165e5836","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.75675ae6.tgz","integrity":"sha512-I3l0VkQ5LYGmOD+YUCrONiGVXff9pHrFPN99CbSO0BUt6mFHttGC5QPWdmh7DdsWI0xMI2erPH3l8yY06vYyNA==","fileCount":15,"unpackedSize":41564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcuHMCRA9TVsSAnZWagAAjaYP/i8nw+/NuP6Tr2QbSXq+\neiqTMuP5t9P8RWwpFz8dvu9H/4q8uctgV7Z7UGEJKPrKhnX1TniZ7ePNOXD/\nza3He7HgtqMMp0jgDIXBsLWo/rQ88WMZ1mTHtL+ekeDzW2EEt8yvZkcAFSVS\nZYMiy6dgIwc8sKJUQpqgJ0MM3uciKD5LRq7L57tw1zR45BAv1a7KxPCsE6JO\nHqt0IA+8QE6SJOA2Q2EYcvsaQaVTlKiik8gnM3x8Hj+owuhiOS2NF2Nt390d\nhPu4Fbn6z9mu4r0oEtt4VUM6aPAIc2yRdInd+l3pV8RXtzGc5DP0WY6r6qEN\nIreoiLoRJe4lVNVzZS8XdW8yqHkzMzyYAlQQYTT7vxRe90AMIiPWGA0K3REY\n4xRKjlU8j58XpBBk1CZvywp8Vi/6tHi0P7crZu/tfvzk38V3czRYc2oR4UrL\nkCGvv+/lAin4eIwdOZbou3vvomR4qUq5Robeusbyp5jJXDldDgA9RBnbua4Y\nBCV7Z52uxAaLSzbd8L9lz2keZakW/Alvw9xe038U4Lal/483wRH5qBQphY3y\ntAUx8FfnCmhkiwtW5NVB3ECqWP5YJjcqvF3cP71Q1isXYQNmIrjUQJcprrRl\nKTHzhjyAE3v20ax9cVqEOOBaEQJr68CmPUGtFXk8B3uUYwGeShDmUVTsb3JL\n5KiC\r\n=F+3N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCg3xKs7FJGnk9/86Uptencg0vm8QG3Rkjj2pyKe3UwiQIgW95zzbC1JmURyVSm9x6Aiq66KCHXw7js3WiJ8KZMdI8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.75675ae6_1534255564249_0.3008104495267836"},"_hasShrinkwrap":false},"1.2.0-alpha.c9f160dc":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c9f160dc","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c9f160dc","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c9f160dc","@crave/farmblocks-hoc-input":"^4.1.0-alpha.c9f160dc","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c9f160dc","@crave/farmblocks-input-select":"^2.1.0-alpha.c9f160dc","@crave/farmblocks-input-text":"^3.1.0-alpha.c9f160dc","@crave/farmblocks-theme":"^1.7.0-alpha.c9f160dc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.c9f160dc","@crave/farmblocks-text":"^2.1.0-alpha.c9f160dc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c9f160dc","dist":{"shasum":"cb3229ee893deb3c40ef65c9694bd797ac9c4b79","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c9f160dc.tgz","integrity":"sha512-BMxwmvLCaYvUjXuRLs6uOCpu0MGGs5XmVJySDwecPiiawgNSYwTIS+Hxy4JSl/e6EYTRuK9yjbbth47FIryxgQ==","fileCount":15,"unpackedSize":41564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcuQfCRA9TVsSAnZWagAAx08P/0+Fgj+sdEjxgYjRlFjP\nw5Cs31qm2NUDw3z5DnGWahFBnrY0y/XbEs7YDWkIui2zg6o+7bDOIY1k395l\nT9XIiruiAaUddcadnL7IX7t3rMsVlGFPxCLGcpQ9P7GaEKb1N0iaU92ivp1T\naiiNIR3/9Ko5166ZKdPM6mcCmudpkboQa0OkUpxYrTnKeeRoGdwnXCPLddXL\nGGdqobijJh5nkmPR8OBNxyntIbH9YbbQbOOacr4YzbWYG0a2zHstPAcHwCwK\nuR3Tx/7vZoYEtbn94ijUTHR2qwJtQ7YS964eVrUBiS6IXEj4Ip/aDTbF4Aq+\nQnbpLYQSx7Ok/ilmFkuW+4sNo/L5m2ilKNGpdnvq3BNbnK7CHjn3L23EVeEV\nV8UHgs03Htfpx0Bz1ZlTfbdbS4+cjqLsRX7r4dOSNmdfLsF0hZBHSOgsFyGB\nuSoEIB+twTvHiv7/dJv/11UywaizH3zEqrGdfqkk8uww6hox3esfCxbmjMNw\nuhLKoHqkG5f4ZqqBppMok+wt4MI26DEB5WOlQAP8e4vzQya3sEMJwo+5u+IF\n5kyNraX7vBAgVCvJoT33VBXLM27KnLn2jXLeVnnK5M/OIuJSMfM3SVetBW5I\nUzuxVkdR92dIj+8wE4RfJ2B9+uCxAgkt1mibYANcIuCsw6enIegEZIrT+jK9\nccJV\r\n=DD0w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDzy+75Vazm390ALFxvwngtWLYjXc18K5bo3nJkGJNqzAiBrRZOk+VuURd2b1zTqZVw2ZzE+Y9ADqN3QKEfdtqxJVQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.c9f160dc_1534256158983_0.3478791370498959"},"_hasShrinkwrap":false},"1.1.11":{"name":"@crave/farmblocks-search-field","version":"1.1.11","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.2","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.0.1","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.0.1","@crave/farmblocks-input-text":"^3.0.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.0.0","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.11","dist":{"shasum":"3869bc2c7409696818d83f2bcde87e6012b65106","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.11.tgz","integrity":"sha512-G+3MM5fDlgvzsiIqnPVNFbnw1lpbzURvwXvA9hks4BtkbX2voKUKFtyBfgytvkdYmfUqBVm9hDVRavZLEZ3TJA==","fileCount":15,"unpackedSize":41374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcuQpCRA9TVsSAnZWagAAkioP/2urcnEt0OT1OEYYyXv7\nlGxpGFcvAX/ImDf+g307bW1+yjBuSwuk/kHnCGLM6nRdbu6vknBhql2+penR\nSTzu2FsSWduihunCKDyRpt75rlIm7ruNnmw+P1tO2N8ctpn715SkAy7COZBW\n4BTeH0BnvFqoJF+31y+EPOF7+gmQkJcXRP65HR03j5P+F6kg0KJuhfqKuWo5\nP5Hb3m1X/BPjKPiJgN8oCVDWOV9Qq7BeKaGseOOmvj/DJ66J1StyGn0RerNX\naPNalUNHlr0cZQrxeauZfyq2nyP3rjj8WEJ7B5ia6XFYM4sOrzEF5zPrILq7\nbRxTLexqlXxwYCdEIy7gv5iUpdf58AGkI97uf0xQeWTNcN18ZnXXDA4w55Jo\nhiH1eGDQRzqQXDnMhbDjPGf9h653ROhUkoDGNq/Yp06sxwU0VOIRT4GK1IDF\nLarFfbqrwkuy9ws2vgzd628eaXO/4GE9GbWnk+HWUI0YN+OfXETN+gmdU6eV\npuVsIufWYR2S616+tyg/k0Ao4vgXzQceBPl0BP6kXcFu87rdz5SyVNvosuG1\nCapCHSc+22IzTXkWQ8A5sKqf5skaPZP7fqFttEID7Zs7ko+l2vKPRcChjwjO\nPCZrrkdnlbd1Lb5EeZzcwQjTC+LReak2dUqIX5ggsFhD8s6YhS57xvIcwPQ2\nemqi\r\n=oDNC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDDHTDh85I0apmx7Y/BKLPoG7aKiomFPSbuG7mlesRJOwIgGmCKC475U1Fv4jGD+/tempXHRNIKNWgizzkF9MmTp90="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.11_1534256168977_0.5520274017282367"},"_hasShrinkwrap":false},"1.2.0-alpha.afd12c34":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.afd12c34","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.afd12c34","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.afd12c34","@crave/farmblocks-hoc-input":"^4.1.0-alpha.afd12c34","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.afd12c34","@crave/farmblocks-input-select":"^2.1.0-alpha.afd12c34","@crave/farmblocks-input-text":"^3.1.0-alpha.afd12c34","@crave/farmblocks-theme":"^1.7.0-alpha.afd12c34","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.afd12c34","@crave/farmblocks-text":"^2.1.0-alpha.afd12c34"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.afd12c34","dist":{"shasum":"d93b64268799f75a26b3cc21a0677c0666954904","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.afd12c34.tgz","integrity":"sha512-I07UoCYXO76qBkwviRMC8CNPjKeiELgaA1egAQWVYQOgKiz6ljhS89IQBLUW3OhNO7caXoNKUopT9WeWG7EHKg==","fileCount":15,"unpackedSize":41814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcvdWCRA9TVsSAnZWagAANqIP/1ky5L0ajng8WrUzUR4w\ndrvUSxW8sFfjo4M/5eaz3eeC7v7HrjF6mP5KYzv6wAjUPs6lyjIsJTOF7hOn\nv/YpVOGoa/V3w3jc12StmhPxePFyCjNSX5AWJUpAA2QcEQ+q0gteNSY/U+bl\n+HjIaS+QxLQqhC4qqhKyIq8JMVB8JPdm14nbj1cABnLgq8okbub5jusAMzaH\nnf1LlStNwkuOMHTjjDS1c6byGDMy8GNv4kRCVBpFOE2kR+mR9neCh0YjwofH\nU+lgQY/K9nm9mMVAiN4nMI8CyuL8aGM92vrLf1V144QUyVKu4r3FVOKPMJ4e\n1iwHpbJmWxdRTb/FFIV85Y1rogDzy5duqA+nt9cnXOgUU7D/lxa3EGymdqPL\nCcTL68jmLuhZkc/hOVS6VjBV7pGSRNxiGOybmaQoKBNfOZWHX/QOOHQ+PRY9\nGBo+sZIRLVQ5F2x4KtGKZ/kPDgp2xrZhjxqeXzPgFUT8GHT6p9A8lrEdYCMi\n7awNn3oN5tCw0cB//mCR5Y02KtGNaFz4ipo1znaquNboD/rLUNA7o4KcAH9C\nIl2pp+Lq7mxe8Rj5Xu/M/KRmOk9n9QdS0jDjG4qrObC6j74NL0ZFGE7+HEpB\nj0m1mqEDlhWipzbwsaGanvs6z58riP1pQACENxMLvA9LiMFH2S0XBmMkOtgo\n7wTn\r\n=mlre\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDGrtfdWdtk6+qUkvu7p6rwUUKalUxZTgFcDT6gksfsUAiAsBzGXeyehRwN+ZpfinrJprnxXA0WpV5u1TqqRFDA8rg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.afd12c34_1534261078024_0.46353525940409046"},"_hasShrinkwrap":false},"1.1.12":{"name":"@crave/farmblocks-search-field","version":"1.1.12","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.2","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.0.2","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.0.2","@crave/farmblocks-input-text":"^3.0.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.0.1","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.12","dist":{"shasum":"375ab5229f6fd5984864ac6a774c56cffc013637","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.12.tgz","integrity":"sha512-44mWM/xHXm4HqCGiWCQ8IRVdGNOM3gloLmDqDhC9z94Dz0rQJdKthIzfYvquS5ihzJtuxjOLwNqAr+Fv3zFCcw==","fileCount":15,"unpackedSize":41624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbcxdLCRA9TVsSAnZWagAArtEQAJHIIsyhhfjxYQP2bvll\nlcp7yBPt+O48puKjjzolybyU7josth2lUlRt0YZllWtrsWFrsf8csZg1jWtK\nrTjiVfzOoF+EQTuDr4+x8+I8QUt5Zip3fwOHPV8gTQd4GfGdoSF0xXr+Pr7f\no9eXxD0XQ9q9TpE5QWICc6HmmeXSVGIYZqX3fSyhrhN/N2plI6YL2NxhOWXm\nREcDRL/goh3gsuW6cs1i7GPlDQxgSD4hFpuWPpEOulAeUF9Bh/di7MxWzShq\nEa22p6/CWf2kVIehCm0ELMYUlwzBc6hbdYs2lyWpjPMjW2+JLHqfQhMiZWxs\nreT+/j6AzmcusdaVzWYJtTJj0jbrPclQdupYiK3AYA1GUHeSdpu7hxfVaOk7\nx+AY055TgUaW+SNdS3KE9ZHEDH+xMHB9rDsF7Viu1h/B9C/VIDcfB8be2OVT\nCYKn570fGJJF60VkqExXCEOHN4U+PD1EnypXcHj10Rdfs1W6SjpilAfm1uUB\nugWtAGgAfNk0pSbKF90zRUtCmFdsbA+XjGlh1GD0/6Ko79W2IXYLze6Lpz5P\nGLy1VeQF1IQ9AvrehCmLTot4KbVbKveb/WUzAoROG481+QZu7RTG+qk5YOM0\niQvtq8ZFePgO7YNbrNkNdhnK+DKZ+YfCFgAfoob6oMG/HTDJggNLM/CK+D5P\nPKtG\r\n=O3Ck\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUUtxRZ/iQKPLNDNgQWA+I3EEPbCRm/lPviI1fXxA9wwIhANCwDUiscjCKEu5lgSW4B54j2xdgKEsjys+r/3KQCdU2"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.12_1534269258670_0.7126762201274051"},"_hasShrinkwrap":false},"1.2.0-alpha.b913f91e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.b913f91e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.b913f91e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b913f91e","@crave/farmblocks-hoc-input":"^4.1.0-alpha.b913f91e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.b913f91e","@crave/farmblocks-input-select":"^2.1.0-alpha.b913f91e","@crave/farmblocks-input-text":"^3.1.0-alpha.b913f91e","@crave/farmblocks-theme":"^1.7.0-alpha.b913f91e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.b913f91e","@crave/farmblocks-text":"^2.1.0-alpha.b913f91e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.b913f91e","dist":{"shasum":"f5671fac56014b28bf6615da1101d42f90c8dd8c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.b913f91e.tgz","integrity":"sha512-H4DTmoUeD0qt0Z8s0gjpQWMeunh6MtmdvVcpo2Cw0w4EKObeXwDNM6c6fOPwE+Fu49nN8yYSYvoXkAZZAUuumQ==","fileCount":15,"unpackedSize":42064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbc4xoCRA9TVsSAnZWagAAuI8P/Rh0gabGtiegcEG3C4kb\nc9CICYTgpq1+bDIir7mhhFZ0tCTbbkRRW3dsKyfUwbXZwDsx3m3JbAT+21kA\nGv/XDMV2luaZdUcPOqAMO3liQpVdUBJPxeuWl9NrS/6+NEGeVmhY0yWyoQkL\n+MM3STMGdXfgKuNrBuzxBKRZrwWLipqee0E1Uy5bIaHOV3ta54X28tbqJFjc\nv96wwSUPUjRJP/kFS1t4tF/YIbtsdX2Ov3gs71u8JxJbOwt9oeAwqEYTCe8D\nbZakY2RoWbZj8Qjp4Pp0UpR7vECIpDfk3WQ+Ekp1zvC89z8u0ICDnm8siZWc\nEE4UBro74OhC8csYHVn52EW6f0wsv9DmcZTZISI3hG3i0FcYiDoQlKNOlfBm\nLNy+Zw0fuUdUNFPiPiF1ykpGhAP1QiTqTZP+eBcaC1etH+g0wEUHLftGzFss\ncMr7BZ6j9Hd64YVhw+LWqPQu5x9ipVY0UkRnJC1R+uvNN3bq1WJU9LPwudmI\nxF6qkRvWMbKehx0XMiwtFb9bQE0VOtn+q8syEmfy3pjSlt8rU2u4EdPXZzai\nNhknCv3GNk+iDSlURYPNirRYG1+u2OAv0/lS0Vk3TzHMYtgA263OP0wIpKNb\nC9wcCDfydtwZf5WpOQ9SbSCE1JeTKFhm31AL52gZSDuWciukHhTcXfSU8Ije\n0rEH\r\n=GY9G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCztBvy8EITxjDt+YH+d0xFHLNPQS6LQekrFBL6g1eRlgIhAMf/H5HPycqdMeFy7pwRDbhneKA7dyBEKkajjlVk9ByS"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.b913f91e_1534299240448_0.2969494393879992"},"_hasShrinkwrap":false},"1.2.0-alpha.b89848e2":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.b89848e2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.b89848e2","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b89848e2","@crave/farmblocks-hoc-input":"^4.1.0-alpha.b89848e2","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.b89848e2","@crave/farmblocks-input-select":"^2.1.0-alpha.b89848e2","@crave/farmblocks-input-text":"^3.1.0-alpha.b89848e2","@crave/farmblocks-theme":"^1.7.0-alpha.b89848e2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.b89848e2","@crave/farmblocks-text":"^2.1.0-alpha.b89848e2"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.b89848e2","dist":{"shasum":"5d6c5f368935e8ba890b5d256dcea93fa7bc9653","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.b89848e2.tgz","integrity":"sha512-+Pnrh7fNlU1omUmlHPku3/3dmWT56hbo+hN63/4/t1pUCmVAbtA4BnCCBh0780QeRN78plYFGdUF8tBtJIIyUg==","fileCount":15,"unpackedSize":42064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdC+PCRA9TVsSAnZWagAAHfAQAI/xUAXmg+X2Z2oBw7gf\n12gq9qOtnThjG1baA12dlwLO8yyncnmbQdTytrlO61Br92DNKnykCQScA/s/\nbb/IlRjYBqYziQBS5YpC8VYTW3D+9Usef//uEYU8B/h+j7jpQQbyyis679FK\nPuXwHCFJaxdJJly8/0RFLNPq8tjIDLYAbHYwFY7lTNCUS337lP/8dYlwwLK0\n8Sufi0gm4fuZaRcPkhphCmEdOGlVNIE6KaFpOqcoqgXpatnB2wcarcpJZPou\nxUZZEcigEdM7eAzvUa73kGO0ONaYj6+L+OeBRiTG2ELJ7dHWBLCK26e2M7e5\nJG7ZVH24FZVT+4JGk1KTOv03s8t6Oe9UWw6jOygkOvE6ocfj/JRxhzIWG/mk\nrmAk1uNG20xiGU2UhcFn7jcTOE3cc/xT02Ic4MWRwLoevMD9GeA9sICqkuQs\nUC40AMHyogmQ16DUM0ndtsBwLTio9r9bKMLKnWowd6wQWT+8A+ixTz4ETAq7\n0AcrcbVdE78kvF5NVXW7Gu8OXjsKeQdC2BGvGAt5XwnWD0z9eo4LK1kta1zw\nfcwE/yxQ20eHAkAiISS1Y3xV6yOS4lu8AvuvXH+Vd9tkrLexkMXwr2AVSBhk\npR60lpBmbeNXHM3pLbUppku8jeIGfTfdV97VJWZ74Bb6FFB7FGMfAtEAzUmB\nlaYq\r\n=rNYl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDP5URsRkrRvyGa7LP5KLlXbEyl6luzuDMrtuDHyBCmTwIhAJNKj66CsimyVLGn1TSQ0rleoLvkZRcuCgeVZDn5r+Yw"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.b89848e2_1534341006927_0.2952950970764656"},"_hasShrinkwrap":false},"1.2.0-alpha.5d972c8b":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.5d972c8b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.5d972c8b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.5d972c8b","@crave/farmblocks-hoc-input":"^4.1.0-alpha.5d972c8b","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.5d972c8b","@crave/farmblocks-input-select":"^2.1.0-alpha.5d972c8b","@crave/farmblocks-input-text":"^3.1.0-alpha.5d972c8b","@crave/farmblocks-theme":"^1.7.0-alpha.5d972c8b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.5d972c8b","@crave/farmblocks-text":"^2.1.0-alpha.5d972c8b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.5d972c8b","dist":{"shasum":"5bc3cb876804c67919dc8b8ede63bb830adb15fd","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.5d972c8b.tgz","integrity":"sha512-D3TkIkC/7SL3zhhuBLRGH0ZkM4kFXf+43xvAP39Cu15l5dm0Ma43VbpSNQVtaMhx5YCsepfrWFzDUYprSuY7Yg==","fileCount":15,"unpackedSize":42064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdDBMCRA9TVsSAnZWagAAWPcP/2tkIhD/KZF4QBZz95ZR\n6fEuOG3Rs9EoG/z3IvPj1XwZO18Ag1ZSycZ3BqGZJ0IMgRoVoNmzMQbDa84D\nz9T5rH2njLB6y1EF2NbHLdvXOzSrwW0/8/VVre3RBebkzacvTQhh3610qsAc\nLL5AsR39VVRDbjQP72c92yCmysuih0zaB6M2fepJHmLBRJhEgU38Ow7JlCap\ngmGXt685/bZDGq3z111pi/V4dNrs1Dw1vNauGmMb7c75u48GjgjQ7DfjSH/B\nrQ9wiPSvNLeq5n1R3vpUEk8slUkzx8teDjXoIhTBkX99ejHEka29WaFJDWLb\nWsFhtel2ULaZM7BMwCYQtmC63EbitnHU8b0Ffi5K8PrE8FX5YFg/oMngGLQK\nGWF/zsjASxHz0n4GSFiAo2/msNpRFbaSU9SxdsYFvZfEpw115PVP5pkckEM7\n4zCH2f3anbKGE0a3BsPvrwiCrpuADFPxpxK5rXlBUmCb6oVNynfMkURpd1Vp\n+HOcweaarB2kRkJU0GwYsmi7Y2xEs3eqrPgn/xNbuZe8DVUNFDlUXL6Vs4Hi\nqinWKPmhrvw1D4AwooEyJHMsFKqqR2eTFKYE/GR+OW9CPgA/PZmP6YJW1JLK\nEFYUisRnDqCBZlvzJoTLMzxbkJl5+mNVZiHfMEvqDWYYr1CeR/sT6Ec+YwdC\n42a3\r\n=IVd0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDROBl7MQtw1ZhtjVNR+L8coEWmfF5ZShhFTgS6XfQYngIgUIHju0OXhmR0cYHXSOP6T71ZhQ1YKX8ULNiiLss7RvE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.5d972c8b_1534341196440_0.8665815431706636"},"_hasShrinkwrap":false},"1.2.0-alpha.6e3e5000":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.6e3e5000","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.6e3e5000","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6e3e5000","@crave/farmblocks-hoc-input":"^4.1.0-alpha.6e3e5000","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.6e3e5000","@crave/farmblocks-input-select":"^2.1.0-alpha.6e3e5000","@crave/farmblocks-input-text":"^3.1.0-alpha.6e3e5000","@crave/farmblocks-theme":"^1.7.0-alpha.6e3e5000","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.6e3e5000","@crave/farmblocks-text":"^2.1.0-alpha.6e3e5000"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.6e3e5000","dist":{"shasum":"fb56f4b157abf4f64ec04199ea633887db431063","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.6e3e5000.tgz","integrity":"sha512-4eNvvvR96Q/Yk9NO5WRfj7r+sVLPKMr15sJGYLzucRAoMxNLH0MM+kiqiwL/RmDHSGmJfzfnpi+f+ullRVgCkQ==","fileCount":15,"unpackedSize":42064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdDYwCRA9TVsSAnZWagAA38sP/Rz588K51y6L79d2loPk\nDE5UsFssDYl7Kn4F+WNDJSLWtUCIOFTWLu1LzEO1JbOOh/thGdsH656DKt/a\nf0Iphj3QADscVcEwyDo4/deCGxccKpZgIFhpC5eiB0gm5LVBFyVIt7V5wBfI\n/T3L/pEov00bLzShodCrCrwUh9nVZVFqJmyG/5hUHXaQZPgKVbKhE/YUO9bK\nL53K9hs8iXmXrpGgO6euMvLDJ/JueZy8v5mLes/E0UGbyiMKYLD7TqSGfGyh\nIuxUkwUFjwcrkUxF1ilMEsU0K/w8imlv5KZm4N6vEu0135HagJessxIje7Ln\nL81Z9yHjpLEbIG52yreP9yqcBWq4lpH2DVZxiN4YgrS8Pk7ahIjEPrI0f9/t\nsARjmGV1WR8JBUtGPaIVSiHx79hamQ4BfDIqlja/JhYheeWW6PLtT5kaulZ4\nuOFunwad8RYThN6pAQ71rcPQ6nZlfD/KdevHW3oAD4E1SlX4P2lm7XIYLWOY\ntKid2lPWmdZLLwJfGeW02Lp0hpbJ2TL4hoSkmsm0TgSTfG219Y+ejUu87Y64\nSdJw66RrA8sNWj5OO14inTs2okuFpqleXNZGGxYakv/gWZPKzEhNJt+AGEkG\nOX+hQEd9N7bsr27AzZ6TxwJRQIYIUt3BWZ666FR6qkmXZz9JpGjM+IPeQDR9\nfgRC\r\n=mb8i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7hvorPOKn/yAIdnlzU8rwlPYCIwvMpKVBkA4x7xi6wAIgLQpg0gbn1fOh9t7XN7XtcXGXKClT1fjjrspVx06dbDY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.6e3e5000_1534342704199_0.38533997853326185"},"_hasShrinkwrap":false},"1.2.0-alpha.1cf66a07":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.1cf66a07","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.1cf66a07","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.1cf66a07","@crave/farmblocks-hoc-input":"^4.1.0-alpha.1cf66a07","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.1cf66a07","@crave/farmblocks-input-select":"^2.1.0-alpha.1cf66a07","@crave/farmblocks-input-text":"^3.1.0-alpha.1cf66a07","@crave/farmblocks-theme":"^1.7.0-alpha.1cf66a07","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.1cf66a07","@crave/farmblocks-text":"^2.1.0-alpha.1cf66a07"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.1cf66a07","dist":{"shasum":"f828099e8aabadb23e345b52d7b0bb39eabd06b0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.1cf66a07.tgz","integrity":"sha512-BozXIcrMnKZi1wGOa+dGzkEaN9fswpiW3aR/zwDv+w3GZuzPCrViENt7M78w6vww6LEKsC/OTJwg8QCoQqyPsQ==","fileCount":15,"unpackedSize":42064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdEw0CRA9TVsSAnZWagAAJj4P/3AbBsrhqMpORncTklHT\n7ZX3u7w5GxVfw9aeaqwNQ+Pv7wE/vG/VmZvDOKOBkKP3nobtwwkI/VckkfHN\nnTBhv/4JmuQdMWU0xuDXpuB9COjxQO5Y+ux8AftZqyOuZ32R9L5xXx02aoD1\n+nBYrrTxxzMzLtOxnYHBurGRgQatTohJKkCrjPpmQUKTtopI9nJDcrM6ZWst\nEK8ZQ31M32H8aSu5G+aHN5pQpFNlV+s3kw0+qQHONB4fM5DZcVRrbef+UW+o\n/MgHrPjLO2WGFFpZo7p3n5obyw8VOpvarUwuWXwqbmjpfTNvdlWSXzXO7H6G\nYg1pMOB7CdBCXMnYmN+eMfdlcEy4VUVqRQWdj80oRWqoMBljgPWqU/3/0u4c\nXukkJzKW+b305J/nBxQe0cjwWM41+fOGl0G5/4BRQexWYqHAytePzYQbi7aR\nhk+UvrAQRZwsOw52P1bLaQSCuFmGsMeIbuanXN18vEpEO6NVC6UXY32vVoIn\nsB9yk0L8X+PjDbkO56OhXpqbOUODesMvSwzp4AFmvO7K2aoewnEs7RVDnMdq\ntPczUmvXM1+kyhaBaFXMnRS9lnnxAFPt768NxaLBaF11bkyq5Wb443lD6yvl\nbu3uMbcQ2b0etNeOaq4bM4J9zfHgTJEl5ULfP79GfPRJVD2x7UrBv8f3EYJn\nufy0\r\n=aWgP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCekwcdeQx750kPbr88wMJUzI60R1kZPG5KSddp9asrtQIhAPFV9CaCv4dWI3l7rWAlHa+LRFyo0uF/6k2ra+95yfUF"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.1cf66a07_1534348340675_0.7775308626186823"},"_hasShrinkwrap":false},"1.1.13":{"name":"@crave/farmblocks-search-field","version":"1.1.13","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.2","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.0.2","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.1.0","@crave/farmblocks-input-text":"^3.0.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.0.1","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.13","dist":{"shasum":"645f33df1d8dfe33feb7e55861996f4e9adecf94","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.13.tgz","integrity":"sha512-9q7APDjOUYHha/q2eruwOB7/roPjryBoXHQe5eSegUPiAG2qA3Q1RWF+5FSgZWaUqBhMYj2qnZBLnaNOUnt6cw==","fileCount":15,"unpackedSize":41874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdFQNCRA9TVsSAnZWagAARTQP/RIRiMzqN5pqcI0QfWba\n5SIIsD3XcZfmo6DoVyJtz8rMA7dq6CpnvIMnEaGNKdpoB2XO2vMZ1nZWA/NC\npjztrIeF5ydTjZI1pFZpBwoiFEkczEHjvNj1P50TLNQeQMGVPJwlV54EMKQM\nvkwdWlebb+Qgt6nm40y9/IdQpWzvzxBjW1ojUJLxJDjSn+7jkDdpFB/BeM4b\nrwZfkA2nO5CbU81+GtTQDPDzONfzki205HA+YuoLx/kW29YjzLu/2Zn3jw+8\np/slBgNeC4176JH0Jgxx8LZ4mH1rw8tuvJ/IqNbaRdQjfw8aYEFBwjhXyyuI\nw8Q5mbA3EthJPKgsMub3e7Tamp2OOnUk1rqgZ6rvGNZQzVRdwRkJm7N+4FeV\nwLXDm3ZaPvpmPwJNVPhxh34iFNA5Uu1Is0hku0IFxpbUJRM8x5uvTA1ZoL/U\ntQNoSujpjvLmSC4mbHg2hiLo9vuSjoDTTbpK6OUAqXBjY+Ll5L8GOFaVnHs0\nRVYIQopiKakBU89xRYc6DOMrfrFq/a5IbeT+v8oU/7XLU54C9REgiKY6+ovB\nuQTKsgDKwQvuDVAJ7P446J+Q2pFqJNS0WyK0CqZHE9Qjuur0CMlLT2k7AYB5\ndoQqsZUz5ySEmaCtjKLDbMDWf4MQ+qPff6TrSh9B8Dsc2xx9kfocx/a6a+9T\nhoBR\r\n=f33P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK6LroVp1XwGcmzivpFw4wmsNDZU45Xf4jIjN2TFul3AIhAOKjIW4YL98TwYnRrMa/t4YdV4K7h/acC8mNAX0+FP7o"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.13_1534350349634_0.4523490190929571"},"_hasShrinkwrap":false},"1.2.0-alpha.42615b45":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.42615b45","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.42615b45","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.42615b45","@crave/farmblocks-hoc-input":"^4.1.0-alpha.42615b45","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.42615b45","@crave/farmblocks-input-select":"^2.2.0-alpha.42615b45","@crave/farmblocks-input-text":"^3.1.0-alpha.42615b45","@crave/farmblocks-theme":"^1.7.0-alpha.42615b45","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.42615b45","@crave/farmblocks-text":"^2.1.0-alpha.42615b45"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.42615b45","dist":{"shasum":"263189abaa0b97c5e4e72dc623660fb944cdc434","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.42615b45.tgz","integrity":"sha512-ixxVF+Kl2iuoe7VXCtNcuDC41V02C/Eg4y9oOikhn9UZZpG/iQcNvzgocfVgl2wu1jKUAMEsFv9Qg7Om5Q5FtA==","fileCount":15,"unpackedSize":42314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdX6DCRA9TVsSAnZWagAAajUP/iB6LKhNDDWJCdHvG4+a\nhkS9e7qiirvYZjM1gtQmcsuePrrxIvmTwz6UeG09lTk/fcNBoCW/tW5OCISd\nB4a0E6+xsvC9tJY86Zr4lxT/kct2ygUka0x+F/ul0vXPoY7ynUh6Q5h7qsHe\nWRzNzLv6izUxszWfEZ4jCAE0Mn5fbM2bo3ckKAeQTrMg7ruhHs9wnqZ+UUFf\nmvoQ1Qzdm17oREGf//hMl6wQJP/9BvsMDJdlFw9ubx/tMGLnxGCimBGDBCAZ\nIfAyShQvF7qh3G/sTUNjphkY3/q9IBVWRtRWEhcWPurONDuLFr6ANSXFOa3T\ngF/dtTwgc07/iAZMES/Nrs+7rjsOt0/rVDovUW4MHPBIciLLRR57WmZH05Wj\n5LdYDCdifV9Ji2dj9ijhBls3LC0AgvHLF0MGMS8F11Hm+NaAzM/Ykrpuuwb6\n/u8EQYrLojZ8EfaeHFyC3FCelppweiS3TDsiARU0gfR7Cb9vthyE+Plak0RW\nDzw1yV1LsF0lwbomjg2s30A6D6shYqjOj4CBw8lZRdKCQ80pmiTs4eTMFWRv\nT0DTYru/CThKgR4jJUTxZy0nnDJ+kfAZ6TNdUeqM3bovDcsnb2FRE4qK7je2\nu16lwbcOHbLlQp7QviPVZPtaGCr9m1CKXFipLsX1OuOxYMx5CplditL3H+P7\ndmuO\r\n=sRaU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEJRKI4kxgOeckCsOqDONd6d2NP340sebAU72/oLE85AiEA77AmVNnBkU15Hz1n7UHKLog5kNxy4BGvXRhIO8zBhas="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.42615b45_1534426754722_0.7844860524784882"},"_hasShrinkwrap":false},"1.2.0-alpha.236ddf5f":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.236ddf5f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.236ddf5f","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.236ddf5f","@crave/farmblocks-hoc-input":"^4.1.0-alpha.236ddf5f","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.236ddf5f","@crave/farmblocks-input-select":"^2.2.0-alpha.236ddf5f","@crave/farmblocks-input-text":"^3.1.0-alpha.236ddf5f","@crave/farmblocks-theme":"^1.7.0-alpha.236ddf5f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.236ddf5f","@crave/farmblocks-text":"^2.1.0-alpha.236ddf5f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.236ddf5f","dist":{"shasum":"59e2ee05097b8a4d2319393830ff65c55b15ca7e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.236ddf5f.tgz","integrity":"sha512-d9Ctid9jzexCiZ0ocYYz8sI7AaCe7rV+bTRiuFWHq1lS9NOjGiSv+z0ABVdy46WW6fPwtbPZYWtllBWYoPI2yg==","fileCount":15,"unpackedSize":42314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdYpzCRA9TVsSAnZWagAAsecP/2q/n0YWmx8EPipLqROA\ntmHJTMrD7y+ZI6wPTUXFOm+1xxDnIRJQScCvQ/hu5ub8VvS4p/nH1tOBXNHd\nxx22sGzBHvHvu4Z3jO7bcxRRMcSP1IJypxTUaLfoJADTno/yIeT6gl4JOPPI\nn9Hx2HsiSgfoELFbKIwTB5Vn1rIyBG0VKPbi2cfMEFxTDzdJ+gEO0ZA+3AqY\n9Pa1QHrUVZOuHswRS8LS/W18qKkJHTac0ZdtoENteodJENRoQ58Iu8sa5+k5\n6zpzOEFedN7O+SVUs6FcZP/CGuk09XR5IUiPHZiMQVB4aNj/yGLbT6rxbdYD\nEUOuRkIpkjWY0lBi2w5fxFfi3gse53DTQ8BEP9Nz7uCkjApKg/0eawMu4fEE\nsQmVdoX/+QU3wD93Xd51GJmwCKbMJC+OjkZyxHqBG1hmJ9ZSahXyPCKxf3l/\nHtF9gOy2QMlTAQlGqxz5nqCvqk7YGs3H1AL09XKTn9cJpFgLIUuRCtZzU1ly\npkylvQ8xyXSuiwEL6p7UqeePw933gWUqsb8lzJdvAl5wTIIU49mQs7+jvw6l\nXhrvEaLSF29c3jGWSB3nEhPKpGTYXxB8PZrD60wPIPZ7pahhrQubJJJFDF5p\nrMXQGPG8yK6VeMmOZSfHPwn5HvhENmQW4ysILpB1lRMdLxcij854D3LPQwX7\n1L0y\r\n=AM++\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/JKc/C/1KTTBccVPOGtSXOYMjuoF+wxwsSUG883IooQIgUkDDgXDYZ9q/J8WW0ffl/Kcq43M7wTkE+yC2Dqko6tg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.236ddf5f_1534429811499_0.7745878036359397"},"_hasShrinkwrap":false},"1.2.0-alpha.252f9b38":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.252f9b38","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.252f9b38","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.252f9b38","@crave/farmblocks-hoc-input":"^4.1.0-alpha.252f9b38","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.252f9b38","@crave/farmblocks-input-select":"^2.2.0-alpha.252f9b38","@crave/farmblocks-input-text":"^3.1.0-alpha.252f9b38","@crave/farmblocks-theme":"^1.7.0-alpha.252f9b38","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.252f9b38","@crave/farmblocks-text":"^2.1.0-alpha.252f9b38"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.252f9b38","dist":{"shasum":"f27f72e9a48ab98a1dadb59b09034b7330aca063","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.252f9b38.tgz","integrity":"sha512-68GVreDze0p20vhX5tjACWmuNX/RTt45IXXb5HVdF+ze8A+ti4fb7s79kKZbGQPuazXjF61/qOkOeigBP2+Tiw==","fileCount":15,"unpackedSize":42314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdY2PCRA9TVsSAnZWagAAisgP/005KueMUNnUu5e/CMHU\ncdsQgWMNkCAH54ug0tAfdrAwq3NgjFJSPX1j3pYhwbCaKR2RZlSNLnMkzNy7\najl225SVCRQ42NYSYffZkQ8HUg1/2p3Cu8RMs/gSogzvm2HwIw4ibTcz0YpF\nKmjVEC1tNEhT5Uvhh+UJvY+SHNRHYAkHauqnwamV6xw4gDmls3yVl7DzXtqv\nkU+eoKRsJsStMv5DdfJ7Vruvged/pZCykGUp1fK4mj9LMyThi5tsYwcYIexi\neFNrTaQVA8twmsNovGr2iXBBKyM0KR7FLdIicW5L/tbudW12w4MTq4FZqZzL\nFNgyydHkbm7mHZk67givmK2oea+SAhj8bpnx38ai/w4atltKhctQwJdJvdJ2\nP63eHkXU7Bo4kwYW5+6klXDJPWrhUJaHkD5qMScDj0kmmVPoTVWs6jyzjs03\n24OVe5sHdciQ8WNh6c0LMZVwXm92cU2VF7XeBifaPHZGScMAHjSDWzU5ozm8\nAMkjgLwKCCp2iSLVPmh0hT0FrNQIzHsPV9YJ1Da1iJ3DJ2h4qNAkDDk0v2LW\nBdFmaLOXOlAHc9MuIlq3z2WOufn6Ihqyn8J24dmRWbO8gfVde5rhYdDn0qEW\nQbF2SkarT6ghYneEQ6+dFE+WKceyxjpKpRWSLfJ8wnRclSI2BYZ8cBwEEuXs\neRj4\r\n=wd0n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICxhMNQciQIOl0t7+zyM7YR/lgYNIpHem7RTqM9k8olWAiEArAx1QztaSPko7xHVxdKTVoUOVv7MZdS1WVMnCCFkB9I="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.252f9b38_1534430607298_0.3307344025064922"},"_hasShrinkwrap":false},"1.2.0-alpha.17f7e81c":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.17f7e81c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.17f7e81c","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.17f7e81c","@crave/farmblocks-hoc-input":"^4.1.0-alpha.17f7e81c","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.17f7e81c","@crave/farmblocks-input-select":"^2.2.0-alpha.17f7e81c","@crave/farmblocks-input-text":"^3.1.0-alpha.17f7e81c","@crave/farmblocks-theme":"^1.7.0-alpha.17f7e81c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.17f7e81c","@crave/farmblocks-text":"^2.1.0-alpha.17f7e81c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.17f7e81c","dist":{"shasum":"7b0b6adf8b6c177f608775c6def927104511365a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.17f7e81c.tgz","integrity":"sha512-C4Nj/9GMwL4UcuSN7003Vn59qLzUp01k1GvlAB3WpJs31ukuIi4uj9yPkhiZYDs4l3sU101ZmNcSaLmCYu2QUw==","fileCount":15,"unpackedSize":42314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdZ4eCRA9TVsSAnZWagAAV9oP/imVlJEp1XFymc1tx7Lw\ncPW7IbcMQSGpzivanLViypsQ+V1yli+CxG4rrc8XQN+tK78g7oLmF4Qnt+qR\nlxtKaUgrRPUp6pk+t1AhCQD4TYRHYYtmTsuy1UjNq9ABjkhQpJDVViVqiBGR\nRQx5Qqp6ydsebh458jhRIMH1K9yCcZGRpdoIcIoigP3ASipYFqRbDAVWI26p\n5ab7Vem5q5caMTs+SNoaxW58koU75i3ovqIxGd2+olYP6umM1TMiIVB5dfo6\nz9eIjwiwlHGWAym2ddUyBngavsXQVUOOOqye0PjiqYQ8/uudvUdDGUf3ZrUd\n+xzSFbunxbAHZBp1w7dXVKpuAClIOk1krTdr2wjl4CNDMrbmply6jwL9JEZm\nOgYTiI79SWL5F5C52LANEhZHD3Ub+UULhlBmHbvLaMUMs66L3DOglzzO6JrY\nZ/ZZXCLyKJ61xZFsnSXQbn7/1XeED9jaQTMJ7mn7zHs6Kp9gY2jFTs5GlhlE\nPPfGVXv3958y2VaitXx+uSABivYRt0J1OnRE7EGyWUgGlDfTfUzcKWB05IWv\nBJvmOokkcnMm4gmqiKgYapG1UYwl15STItpC7yF8oHm2sg+WQ+m16yHKVy9q\n4I6CO5LR702rN+mvuyEdClmBdm141vVrIF/uOL7Q98FzG1Nr5QspVZsvDmoq\nqfAm\r\n=I6U1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnWJeAnKKtk6JYJE0o+9ngQr0gh1FNHua/hm3Ui9P92wIhANIOW+8cc0OMI9GnPjmnO139mkmcNAVh6b1i0geJ98iY"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.17f7e81c_1534434845431_0.8854272543464148"},"_hasShrinkwrap":false},"1.2.0-alpha.dc1e82dd":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.dc1e82dd","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.dc1e82dd","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.dc1e82dd","@crave/farmblocks-hoc-input":"^4.1.0-alpha.dc1e82dd","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.dc1e82dd","@crave/farmblocks-input-select":"^2.2.0-alpha.dc1e82dd","@crave/farmblocks-input-text":"^3.1.0-alpha.dc1e82dd","@crave/farmblocks-theme":"^1.7.0-alpha.dc1e82dd","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.dc1e82dd","@crave/farmblocks-text":"^2.1.0-alpha.dc1e82dd"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.dc1e82dd","dist":{"shasum":"59e4f45d26f2a25b0db4f46117b072c1d786dd8b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.dc1e82dd.tgz","integrity":"sha512-/3TkYgZk5f8Ioy5LTiDXMmU5DhP9go1ie3p28HM0Abtd8h3vfHkVAI7qpJTGf9ebOk3Sk02AeN7mM3J4bshvYA==","fileCount":15,"unpackedSize":42314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbddERCRA9TVsSAnZWagAAnTAP/2yU0DBC+EY6jNBVVfuk\nCImy4haSAZoh2mNlqfjCPUohsa+PV2sMyt2oV+G6tAEuFe5RXuhk44x2DABQ\nDpMi4r79uYa64cNQ+1XDbBsPBGOGNIe+8Jp18EwQusekOhOR+fHl3+dY57LA\nQkcAZhJcBUqAzY5z0vHMnGlATcLM3SSWlkLqCKSI+BNNjSzAjJA4cU4EKiRv\nBxd+zOavfn0jZcKmNWQWtVi6FuCubrB8ZWBZ4kIxKYltVEVxP+6v53j2FUN1\nCVVa+wMCvfdAqql87Drzu7LRioAAH0eaqAxWwkzB1Wdfp0Ij88yojKY11xdr\nUR6a2n68fjD6P0S6tLvHKR1O0f/SNn6mLvep0pbwAn2QmPZS98u5fscMFiUN\nKRwaXXXLDWmv+TWh83tv+qDmuOicJhOR3q6qiGRb6OcuYLuP+4YjAEP7i1se\n38Mo9L9YGcv0qTgs2LM36CkbamIMa4O1z/F485snGJSRsjZ1g451cds1VMIs\nW7I1J0iCrKbrj2XwT3HySH246xrFs9A2M/fxCkYX7oDZfC3EsW2pfsmvBDeA\nfPeA82F2NwnYYRUXv4QFhsQZXBPiyMOe8QdBFyEfgNXb04dSvrpApG5jOKYE\nJxg5xfMCCkIUkmFXlXKdrzGHt1iLyN7fFYFP1Z3a6qPfa/Skrhd1UpMGwQCV\nFDz/\r\n=hcRC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7qok0GQIhgIzX2aRlj0hZ1AOW+3JPt0wxsLzIr+WhlgIgBnE7O7vX3KNt3ocfK0G7S7WuSPymJvua7evGBaLV+ng="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.dc1e82dd_1534447889221_0.4921357396751813"},"_hasShrinkwrap":false},"1.2.0-alpha.0f2a575f":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.0f2a575f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.0f2a575f","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0f2a575f","@crave/farmblocks-hoc-input":"^4.1.0-alpha.0f2a575f","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.0f2a575f","@crave/farmblocks-input-select":"^2.2.0-alpha.0f2a575f","@crave/farmblocks-input-text":"^3.1.0-alpha.0f2a575f","@crave/farmblocks-theme":"^1.7.0-alpha.0f2a575f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.0f2a575f","@crave/farmblocks-text":"^2.1.0-alpha.0f2a575f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.0f2a575f","dist":{"shasum":"70c1ea444a2416e7f7603c820ddee3d862965832","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.0f2a575f.tgz","integrity":"sha512-4PfAcUwN8DQMx9jauXp+GqAzmjuNdCnPu897NSLFWb+W45AaQpBOR1d9PTz41n7M42wi6zyrDbpJ+M99pEy7SA==","fileCount":15,"unpackedSize":42314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbddLLCRA9TVsSAnZWagAAAZcP/2/DtVmC7gW8Bni7/qMy\no1xoXfPziUlnQgf53m57qNGYWeA7DuR3e5OdtVDQmVAD2t4BxEcNGj7t8Cu7\nKxpXqxCxW7Cgq74n8sD+Sb6ZNWT1xGJ4cJfA7WSJOauMECsMUgeP0s7TGrsI\nwcR0aAUFMAYT763CTDdJP997p7qkLQXIhxnWQBs1BX3uALDMP2icy7uNCbKu\nQ2qKh8E6QXJLDaHW0uwGmjJQ1zhEGswFlcU4qcQuAPTiggEjDYsicEpFrQrp\nwaNAcpRn+tTD5V2unYJy9TJ0lhrSSkBlJzJeNM8Tya7A5jcfBMlJ+11X7jKJ\nDJBbDwVDBrLM08NN/Z16INWheTb37s1txcMe2i1NE9U9/Zv/6K4tt2+6Kj0v\nbaG+5o0mHo/Hm9G5FUj49LEPrygeohl2hb7bYW4mnAP8TrgB8WItTkb5Do3b\n5Gkma0cN8eRAY5eJhx12ZjD4CR/fbL78SJ7y2bG0dEto/Dx7LtJVI9Tb8EmC\nnnwKxpJyXIU8ELFl7gpQv7+zJUYSQjDAswf3gutYEiVo92oNcwCBFuGaVIJc\nBjY+5craRey4mdegIBYR7RHKBTH4A4CQvHmVBjobyeWX2IilxWwts9t2T+v9\nfXLP+hH8oYza+d0WF89GQv+GilU927GismDJraHkFCyvaEKz449R7FtEP5rW\nCp6z\r\n=5+t8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDggXbXUwL+YUk4PbArqkW02rfzAWZy8PJrMsoL9irRfAIhAPT8dKsG13T1F2qdZ0BBpmCJQzzNSRjeRjre7gTif/Qt"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.0f2a575f_1534448331471_0.5435395414183732"},"_hasShrinkwrap":false},"1.1.14":{"name":"@crave/farmblocks-search-field","version":"1.1.14","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.2","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.0.2","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.1.1","@crave/farmblocks-input-text":"^3.0.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.0.1","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.14","dist":{"shasum":"1aa34050ac395b5ed07772197ee3961716beb498","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.14.tgz","integrity":"sha512-toqQofmcdUmjQAal7PGzVx9/ZmCp7bsdPDdXK1WirWWxAJa0eEhoL3OOzk7u6PsyqiQyz1k20MRz7xAKS7vUoQ==","fileCount":15,"unpackedSize":42124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbddLvCRA9TVsSAnZWagAARwoP/RDiBkcYwNnAqk1+3vf8\nJa+Ekflxx8wT+p63Lp2k0CC2O8f1OJeiD60QSQteCDzxcgc+RfjWNP5+V5yA\n7FABSE6rRpfzSe6L9kbwktOgSPAyOcwKSr8Ilg1t3JbG4nIWHyOgho6MZjSr\nyjdPn4+JDgv0acl756yU7T+uPTiLuPD60ZdOh+wfCoOTP/y2Ar2EMJ/JsUF9\naCs303JSyn7u60tXaMjjI6il9f0NfKLAClUBfUX18KEoG5jsOWrnVA++ZMC1\nFy4cYx3oK4SgmWPWFceAGQHh6Q60s2QtLKQolDnKsrR31JeXhX1tI3MAzfMV\nBB7bMJ2Fl7aeRhP9viqCDnHjJbjgZH/efRdvbowmXcGwW8pX9d0EDtKfeoUH\n2pIa8YI7RUjSgpQdCwY70tx1njfZuGXFnhrONjF9ydrVQwXQMd6b/5YPqjTe\naOuXWrsVzuMSeXo9Y6yD9ysMxr9SDXO6DNr7/KkQsvV4ei5f2jThDl3BMtpl\n/Vp8FVuXzwIcC72JDLfEmLEVm6GsfPbgDdwH11A5cxzOHHGyAxFe5kje0sxR\nVnZ/H1rIciDu+BiiUTGutELn15pbBsa/E22kAMNbUwpjhlYr7+5EfnTWJUX9\n0yX1QQ4MSN9+j0oNAdKnta1OTplBYDiVa1cbGyDvoeHP2sJJUk2USmjwAWtd\njHJP\r\n=wMkA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmt2V1rBTzswnaSkV7LFvbOHlLgHbju2I/z3OgdPxZBwIhANYqIr7lBW2FzVkH31Q0MBEWBICy/8cEA72V2FYdPcbU"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.14_1534448366642_0.29558175115609164"},"_hasShrinkwrap":false},"1.2.0-alpha.c5a38e0b":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c5a38e0b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c5a38e0b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c5a38e0b","@crave/farmblocks-hoc-input":"^4.1.0-alpha.c5a38e0b","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c5a38e0b","@crave/farmblocks-input-select":"^2.2.0-alpha.c5a38e0b","@crave/farmblocks-input-text":"^3.1.0-alpha.c5a38e0b","@crave/farmblocks-theme":"^1.7.0-alpha.c5a38e0b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.c5a38e0b","@crave/farmblocks-text":"^2.1.0-alpha.c5a38e0b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c5a38e0b","dist":{"shasum":"823321fa20e348a29c0507b30061eb1a9a720c26","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c5a38e0b.tgz","integrity":"sha512-CiviNf0wOpyXDhhAIVuuN52dXcsTuIqq3KriJOqTepQ2p13yhj2+1xlrhisO5Cv4h2EOaeO2s6R3/DQMRwfcKw==","fileCount":15,"unpackedSize":42314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbddL+CRA9TVsSAnZWagAAErUP/jVIQKu3roi+sT/bHp4a\nTNCuMlreVQkK6S9L9+Hlza4yky/fa1PaSDpa/9weuUvcVg8gD3ItSVTAPLO3\nQxRB8FPRrE3/f+fcrekR5qkWppf8APgiyxdn7r/UX1wi36SDg4FxWdtVD1RF\nBH6xEqacUVMNdxWnowRRNJsHwQGoOx8Dz6HtdTMlWfE4pgH3vl41p4qkZOD+\nvPxkI/UrSuB1nAHkDv8camsA0WmtYc6buhm5NKYf3qgefVYQm+ub6K7d04QD\nFyYe2o0WRzXL2pKM7xkBsi+rzePttDu4Vl3j57b2xrP3fN33TlKmCgu00pgZ\n2Fnz7+W49DL3fbCjlf0L3qUa0BSRw7QX31iswOkNlzHmHIw1mdd37k0Ll84m\nFMMLcj9fI0FqD6xCI6dv4H0tUegc9dCWfnkq3xv7T/gLbxYbpcTPtVbIfBUd\nxAW/m2op46Rwpl8IetALVZPsWuEFbuBIBkabGizldhhIvxfgIQde3ItgtI+6\n1bRMRyg3SEl1el1B9nOXDV6FXwmNVHOoSFLpvTwBOyYpWcDoAf74B9V7YbzQ\n3u8Y4xr2XjG7gETrAIAwP1Vw8KCoTYdZX7WGIBt2lmHZkN+a/RObAEthaWWS\n/vUkP0Av6WFL3eMMfOzQ+klxvHCcRU/aD8devFJ1Kck7QX/XOz7oUszZKLzP\ntars\r\n=58Uv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB/WHzAvnIeMDthXpYPSXcEO/tnE37DB8I6eutMFG3hbAiB6uHxQWqdZqDwepgS9xODwDYaFLfzfBAm+IO18Fne3+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-search-field_1.2.0-alpha.c5a38e0b_1534448382160_0.33148485579066733"},"_hasShrinkwrap":false},"1.2.0-alpha.c7186ac9":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c7186ac9","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c7186ac9","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c7186ac9","@crave/farmblocks-hoc-input":"^4.1.0-alpha.c7186ac9","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c7186ac9","@crave/farmblocks-input-select":"^2.2.0-alpha.c7186ac9","@crave/farmblocks-input-text":"^3.1.0-alpha.c7186ac9","@crave/farmblocks-theme":"^1.7.0-alpha.c7186ac9","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.c7186ac9","@crave/farmblocks-text":"^2.1.0-alpha.c7186ac9"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c7186ac9","dist":{"shasum":"2db1d853d8a7260a05549c4446e0dcd209c07068","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c7186ac9.tgz","integrity":"sha512-XXeDc3NItL0f3hMDSji6SFrSWvLAranpQjbtr8ZJClZt14D+ePRgGM23giZ+HOfKrbLpxmIOFT2LhVb2UjVIUA==","fileCount":15,"unpackedSize":42564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbddU6CRA9TVsSAnZWagAAGGQP/i/zQx1IdUzKxT8h262I\nBOeVKWiQVZJONBJEMhd2tleP0mZ9Pix3+ldabvaLZQbe+KpcAOACVkcjVCMR\nbgR675Ae8j6swJ88h4gh86f9MvhezCLUbOMU580Z+u5NE69pKPm/rdV9dD2V\nTv6duDkrQMRGA0iwxw8Gnp605BzZgmXJK8oVyOacClQNwHnoMyZD9KCyQh+L\n3viA62Xp32BIVQTRcQuWHCMdEQJYKDH5EpNBhNWMLlLUKq0kobVuas+BKxM+\n7GBC4KTeV7YqN4c01rRr5oKLMlI4Gx7LN79Awxw581HI/jPf2E33VmKy0dpz\nKzA48TTh1BVEcAElNXSFg6DHucXQtCFEr/rYIPKXi92Xic2OExfD+n9ZAB2U\n0FYrmxcZb5i+ROWVZTRJj6nijazEMX9ODaiLpNDdWJtNgVjAHaSsDEL6aZAf\nT8Ga1WER3E9uTXyET24eL5TK1UsCVpSe6KqVKnAcfDPD41VRF93CCCXWAgVe\n+gRCJE9amlra+lPQmPdB1gVG3gYMtMG+r2VbDnkpSdeYVyPI3WlJ5HPPIHU5\n/uyre709kUf8+jtdvRSV9sa7vZcYxgthM+WX+IrCSYE06SyWeMWQHaau5Dlk\nnzSwGP8SS1IrDyN0Vg6Qfri53FB8Lbvp1gGHZDe2ypOfpbsSJdCJoHjdtIgB\nPpIQ\r\n=XYa+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIZEyt6OhIhLsLCg7swYBvhlSyPM2uf0kJ3U8V7jHQEQIgG9D8aQ6tIUwDrRbhVVUL4Az8bEr8siHrse/zuEo/9CE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.c7186ac9_1534448953800_0.7106569538637582"},"_hasShrinkwrap":false},"1.2.0-alpha.127dd9b7":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.127dd9b7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.127dd9b7","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.127dd9b7","@crave/farmblocks-hoc-input":"^4.1.0-alpha.127dd9b7","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.127dd9b7","@crave/farmblocks-input-select":"^2.2.0-alpha.127dd9b7","@crave/farmblocks-input-text":"^3.1.0-alpha.127dd9b7","@crave/farmblocks-theme":"^1.7.0-alpha.127dd9b7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.127dd9b7","@crave/farmblocks-text":"^2.1.0-alpha.127dd9b7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.127dd9b7","dist":{"shasum":"6f65e048236553183de93ecaa20a74c23e0591c2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.127dd9b7.tgz","integrity":"sha512-H4v9+WRRPaUgOV5NMQIGoQ3n6NE/a3bkpGhjPY3/toDe0xhyeLJyl90MEE55sJPEYS4p6ObA0WRaHOx0FWqXcw==","fileCount":15,"unpackedSize":42564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdd89CRA9TVsSAnZWagAAiH4P/R/G36a+g6O8Ic89V+v/\ngOzpNv0vZO2ZBiF2+t21DvzvpdqmzS7wj0gdvJTSqP2I0mC2LnNgZ8ZqCuPt\n2NUSzekCITHUuXxjd+7iJ1jzGDZd4++pKavqj8+cvFeOO3mkR4tqCapGbfk8\nUqvRY6ZwcB37up/C9Bn0FpauqTR11I1sm8GqHjVFlnwzjkJpf2gszfRGhMAE\nUviPBpvRleewBGmJXyXYZuM1Wg2Jwe+RSPduGIzmFsYTJYoEJiR5gQuFfX9T\nkdNf/ZF4YT94nygbyz79GZIQjoPMYKADv0JVq0AwNdiakmxtC4NbGNQSx5UP\nNMuQ5rkLJOyh2XRQuFlL2ceoAThw0VJC8VxvsRSrFEwOapcJAZx4cDzV5UY/\nR1rBDhH9UD52lGF9b+N99HIh2AMz7VymRRxDkBXgx3FzLXpbwlCjmsDqdNJs\n0Xo0JvCoNgcSwWhdfLmvWROfrQOfkABAj8s4VSmeqVj0cw/ETYSnZW8tVYF8\n8CYeQFusRBBFHf1Q5IbPtJMPGjuLnRF+/LpJU2owFVDsDcVxmpVohXNffI6y\nitg2htdIsmm8IrPa7lnP7XwSpEBB11PzL2NvwgZZwMT0IVSF+YiGEK9+EjWP\nC8acUhWnkPfuS0iIDxnWF6e3Nz6poK+wvJjLbfnrj7AXeQPlcb1MexfSaQxg\nYxqV\r\n=ehhx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAjdyJbYmWY7X5YF6xyJeUQKfoXlJJV1fOYx7cTqHkjUAiEA/A0Zf2DznRxEp1qVKp/1o/Z70OdfImimWPIYPjylqY4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.127dd9b7_1534451517398_0.531596263020155"},"_hasShrinkwrap":false},"1.2.0-alpha.2463a497":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2463a497","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2463a497","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2463a497","@crave/farmblocks-hoc-input":"^4.1.0-alpha.2463a497","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.2463a497","@crave/farmblocks-input-select":"^2.2.0-alpha.2463a497","@crave/farmblocks-input-text":"^3.1.0-alpha.2463a497","@crave/farmblocks-theme":"^1.7.0-alpha.2463a497","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.2463a497","@crave/farmblocks-text":"^2.1.0-alpha.2463a497"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2463a497","dist":{"shasum":"bff73e6972b7268b7dce0c8049e645f442015502","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2463a497.tgz","integrity":"sha512-1SFaR1KZD8uT+P4hDm2OOALvarksK32LeHUCP/+G48t9Ieg3tEabsrmcX/vUXV0C6H1Go7OvKpvwBBG2G9qZqA==","fileCount":15,"unpackedSize":42564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdw4SCRA9TVsSAnZWagAA7AYP/A8f3OLFNdGCglixIrmb\nbHKY0gz2vjSSAX195esXSBCaY2hQwA4zu0NT12kVWCZ6iTzz18JkySLXdoDf\nPxA225LnQmNq/DyyHsWbqm6oYaAzDsA46NfqYheUwcPpQoh/h/nx0d5uNhkw\nmSfruox2erzixQns0orGi/YG0d+ihTxDOGak5Q0jwOgcHETiDrXOvlAQvjqD\n4HFtZVuEVV/0mRwbADTBIZ5aAuYVeA9aobAxB/fnN/By8rcXObGbBTQfxA7I\nuroei1kLz4JY0eaa0KYo7V6ZWMJirPue8kpRGaWVDMjqqlRGAjDt4QGBdeUf\nTq+IPiQyhmhdl4GbQ5s1yOIaKclGraZSIrGgrJ9rqAPZZJw1Y37GPakVZhPo\nMitqVqcZPXftEYWl6NIQ6z2JEGljNNYIDryjmM9yvX+XNMW5iyOUN08TA8xZ\nboZmCQ1F16Zu8+jBItsdh1wIuIQ9axIColJbre4y4IfdQo6l8s+vnfQkf2xB\nHBn0bYjrlTtiTnBhoUVYxkIBarA7/ilNpMQhFSuApZhf+xhFXw4zG5ZsmNUw\n1R3sqDzIFE8BEKEblFr6CxurJ0Yby1Ft6nqZav3JAeJjtgldPdwbkOUn0g6S\nosYGtM8ZfZrvJkLnLghLG3fBc+qsreps8phxjYMExY9slG83z01E+KoKNF35\nu/KF\r\n=V+uO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC32yyr9p6FaMiXAtjyXTzceQgJj+l51IhpgCm5k14G3gIhAO4EZUyHu0aaCw8dg8t60pkIoHC7T0ayUnBhyx8+Z1dT"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2463a497_1534529041652_0.5674936116540334"},"_hasShrinkwrap":false},"1.2.0-alpha.d6ee3182":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.d6ee3182","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.d6ee3182","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d6ee3182","@crave/farmblocks-hoc-input":"^4.1.0-alpha.d6ee3182","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.d6ee3182","@crave/farmblocks-input-select":"^2.2.0-alpha.d6ee3182","@crave/farmblocks-input-text":"^3.1.0-alpha.d6ee3182","@crave/farmblocks-theme":"^1.7.0-alpha.d6ee3182","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.d6ee3182","@crave/farmblocks-text":"^2.1.0-alpha.d6ee3182"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.d6ee3182","dist":{"shasum":"74538b7bc9b2633674fcb779a7f8c7a55f38d511","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.d6ee3182.tgz","integrity":"sha512-/jurO3HvkQrkAMK7Y2EpU4cAWHvXbWQi+ipUTmO8PVrDmrgUWLqVpIuzcE2Z4tuE/PSip32N8sLQs2SgtlMf2g==","fileCount":15,"unpackedSize":42564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdxMrCRA9TVsSAnZWagAAGwgP/3uOPRufDMNCOdLBV6bR\npQ0vd/GtV+aDT2zYKZCUF1O6yRZDi/4ghJV/o/ycE5l2yevijPtOkcJ/0AgS\nYYMoFySyk54Ak4PgsE0hKZXbP1xIlOURWo+Ogznqaf/8bd6mU1ONGVe1c0jk\nCVUNEM7HLWcsU8n/EIsK0zWWR/7b8nH2qCm37/yipYcgb2e3cffEr5KHvg66\nHJsZhUsHlKSf87DW8ocYTlbUMukoUpnxDOcN+K908en4DhA1sODUfSJDjD62\nDQrcPrHHPArdXhSRdlp1TSVwp8z8Li5ARsukc93aRKw472t+UbKkBp7qBCkp\ngkiSjcxiM02jrlReov14cmGtkoHz2px6XFIOvPGsa064x11dEjGWvnn3m3Ac\nraRuyQn9GDIu1BqP0s5b2G0Y2Nzgbu8nZJUsD4F/OUYKD8czNB9QxZuXctzi\nq3FnWDuIJbgoIXm+twE8mIh0RRNfhlMyDseVkjUR4bHgPp2DF2/GmSqUgPWk\nKTKGZpAgMBLn4Xjglkt/yKgGw/+WcDwEAex3rCm8C/lK0wfcdXCrLBfWwSy4\nBqwwe4oSSLhiP3tPr+QCV463ZwkinjLf83JWoI3gsHU4mZ2lM8sMksNKEmPd\n/Q3ofkNGRHkFKKxyausFtFGq865sQeDGjSsSJQbI25TDJLKGIepwbC9w73uc\nRLbL\r\n=lKUR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0kXgRa7vB9LBOgklZioW2Oq/bkYxD5TNRxn3jw2F3ywIgY1BUbwjIe3f1J8KaoTpBSsBfKi5+3JkGkM9EMbiRLS0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.d6ee3182_1534530347105_0.788052139140851"},"_hasShrinkwrap":false},"1.2.0-alpha.7a26eb24":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.7a26eb24","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.7a26eb24","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7a26eb24","@crave/farmblocks-hoc-input":"^4.1.0-alpha.7a26eb24","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.7a26eb24","@crave/farmblocks-input-select":"^2.2.0-alpha.7a26eb24","@crave/farmblocks-input-text":"^3.1.0-alpha.7a26eb24","@crave/farmblocks-theme":"^1.7.0-alpha.7a26eb24","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.7a26eb24","@crave/farmblocks-text":"^2.1.0-alpha.7a26eb24"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.7a26eb24","dist":{"shasum":"db32840fe6ec884d4e5cb12fdfe07ef5f7552dc8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.7a26eb24.tgz","integrity":"sha512-VbVvHd3ipvCafo1vHYtyamCqQrBH9f/hq0B5LmtY4gi/yy28VZwYFsJ1ZkAP5u81HIvCHrk1oQwingzl2ZZX9A==","fileCount":15,"unpackedSize":42564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbd0O6CRA9TVsSAnZWagAAF7UP/iqaKACZ02inCRrrVFxb\nVlJzruwvKNwov3MUT+CyE73HQEbOeOW+a9kTs1cbDsJVvS/hOWG/pasM8ysN\ndM1aXuLiNEQGt9a+rcWbEzPAzV/kN6YeKmaHjAe56RfvffespJxIN/v7i+iP\nBb9baeiyRs7QkepeklR+uPZ5O5pOwQbNjFGF1+le+31mL2sLtEEa7S9mJNNu\nmjKBaecXHOcvTYN8fmrClAzBM9XC6RO/V7o9v16SE+GVIYYClVpUN/ZfioTn\nq6ymr9qOpv5fRLQZNs2Lt46TD54/E90mFIi97Y5iVcq97GUuHlcTEM5TsCUH\n6fOh4PTxwVuB2xpvYgbmK7PugYjm7r7ZXx9M1Y65bz5vg4X/ffvKTtLxireQ\nDyL/BTav+tKlHWKvaBIndwC5cIl/f175bn/A4ckNvYTk2QEPgLnsSBPja6gE\nrWwUwPp6Zrq96m3+jfkpvdnARUehjF8qhXNFJXaa18BLdFPv9suna8JT1QwN\nFRwPo46Fda3pdo9HVkBM0Dbh7KVDYY7hxnWoUpOsy2Cthg5jH9cIfRRQXSEv\n3A124gLICDpU5OHRthjQ8uQMKE6fBWYqdj/4fhXehiOJ1CyRjCzKQN+l7upD\ntHJwQABQrbb7bV9o0msk9LRXFzPuiWF12zKErB+/zNwuYBpuOXos/8G+4yCx\nvgR9\r\n=9gYX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtrSFpU/2BK6AlcjLplSeKlh3xk98auZEf6kneinUV/gIgJXGz3SDdh6EDnMnH6G/o4KEzt8plC1gVkbisiKxhCDI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.7a26eb24_1534542777467_0.19256520388236176"},"_hasShrinkwrap":false},"1.2.0-alpha.de257c32":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.de257c32","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.de257c32","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.de257c32","@crave/farmblocks-hoc-input":"^4.1.0-alpha.de257c32","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.de257c32","@crave/farmblocks-input-select":"^2.2.0-alpha.de257c32","@crave/farmblocks-input-text":"^3.1.0-alpha.de257c32","@crave/farmblocks-theme":"^1.7.0-alpha.de257c32","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.de257c32","@crave/farmblocks-text":"^2.1.0-alpha.de257c32"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.de257c32","dist":{"shasum":"fa63fc79f1c51b5480ca047ffa215beacd7475eb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.de257c32.tgz","integrity":"sha512-Snw2wn0vz7c3MevKoaCqyABMuwOdmv2shoBMlR5tkfgCYQ0lKW1fHMzqPdaz0TKWpgKXRaVb8OFkLk9ZvJNz6Q==","fileCount":15,"unpackedSize":42564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbd10fCRA9TVsSAnZWagAAfwIP/iAUNF+oR+KWbjeO5kQ9\n4j/PaOCuQeuSbYUz96BldzIqhr5u7GBjLrPFM760a6httyVXD2CatZY/4KoD\npBeDIyzdna52j31tqZRf95/wEHk4v65mFv3AG5sM6wFjTXJ6YftsF9LpncBY\n3ublWcmUIaPwBtVD7JFc4trDa0tbreyDmebBiiYTWJPfp+q03ANyTHaXNYM1\nMdO2pu9YOFSGrn5GxhM4u6pC9k8oHpLWkxCvdcUzASJ/pULm/9DZOqpHhpMt\nf6ubycr+Q0SYZNF+bRrk+rhMRvrCyxuw8CNMv6BTv0SqNwn6hRgA7a99ucrW\nEOpJbPpB+FTHrMauH8IvvsR6UyiOXt1Kw0uSXMUxYNa+EsIlOs+vCYU5vwM8\n7IkTlC00i9/k/uFeED890VyUecmGYsod+Txv7+TsQmvyrIZ1R7MgAenuztx8\nVpW+7W4qqL9ZBbUUwzxF9JfGznXe9OgsZBxR/BtHd6uaHaWe7SoGDEn2YfTH\n3uPc90bof6vKdWI5VCDpBAUIRpd9nFQV3hNHOyTH1maVxEiiAI5xLqpf0X8M\nUW/pbUeO3qYPtxDTWMnzxDK4ksGpuUtS5b7w+peOq0e+Fp+stKTlpy9U2OzN\nj/trXuRn1UHuwPgEK/Ksmddks3fd7ETNl7ZjQ/ZM11vchHE42M9GHhzffrK+\nrojS\r\n=z1mS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjXBPDQ7DI0xQNb1tea1KFza8v5/BsRIToC17sHzx9ewIgGYguyajf18T3E5oyY1ZBTt3C/5OaM03zEs7+3wC7nXA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.de257c32_1534549278844_0.17075289241840363"},"_hasShrinkwrap":false},"1.2.0-alpha.78cf3adb":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.78cf3adb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.78cf3adb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.78cf3adb","@crave/farmblocks-hoc-input":"^4.1.0-alpha.78cf3adb","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.78cf3adb","@crave/farmblocks-input-select":"^2.2.0-alpha.78cf3adb","@crave/farmblocks-input-text":"^3.1.0-alpha.78cf3adb","@crave/farmblocks-theme":"^1.7.0-alpha.78cf3adb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.78cf3adb","@crave/farmblocks-text":"^2.1.0-alpha.78cf3adb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.78cf3adb","dist":{"shasum":"277327d166d5727c65696e8ffdf45076bb7267d3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.78cf3adb.tgz","integrity":"sha512-p1AKGNw+W/BEeKD/xH2hw4hqQYoLpO7S6aBjGEbH4Dsb7Vws/Arq0GbyddqkT/GBr2kmyOr13fVCREY3fb7GHA==","fileCount":15,"unpackedSize":42564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbeYoiCRA9TVsSAnZWagAAR2sQAJwSIc6k1gW5D427dv0v\nR05rfDepsXExwNPSCyHb0tXWcmSm1TzAjFEp7ezaG38eVQXbSubHEHb5iKs0\neVoKe5UWB3OfUVtR2WOzB539+RsUYGKqZrkutU044q6C/2STFAtqZmglbh6O\nCvcgIF/esNM2F3Hgg4eEcvQhuQZLRpVgqC6N4pB3g9S9On+pyPt8vkzwoxfu\n0leeewwALcqus7VlW+WoaKnyNwyjTMR9iC2vZlnwk+lrABSQLH0IKZo2FS5d\nzHza2pE0JvgiugabcT8+5eYfmFzZ+EnaFbx7IabuiK/8QgLr3aEB75enHEnA\nRqxLdkOdbRAvg8DbCkb7DbFl1uUZJSLMWB0X1HNZUk0X2S/PmvlMfFYDcBTL\nDY+I0ElbQnjefwCe+XoQQdKUwQ6jwawhPIA8RtEh+0F/sD3RMGTN7OB65CLJ\npl2Rp7TcIWo8b/nUcN1Hg0Sj079l25QwWeTQMDn18JbeVsP4dTh1ws2f4xRe\ncHEA5ya1njLg/UfJQTvhYLTUF5MY+WXV78SLq1e3DtkEvzATI85faBjtiXeY\n80a1gwhi1Gns6Qzhi1XcWEQfcFn85Nh0EZCTH/fHNv6ScT47iZ7E+cHM3Hu2\nnZEfY8SYClIzL7yVllGfJSGj8tDGtbyKhbEvHMGSRL7ZlhdYteUuef+i60NX\nlS3m\r\n=bh+/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDct39NuXAAb+/SaMvzesfRABU2OCNN3sYKKqV896+LuAIgKXhJW67xTQ8mfr6j4i9KDNl/ykci7a0x5go8eF5Jg1U="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.78cf3adb_1534691874286_0.9153575092834916"},"_hasShrinkwrap":false},"1.2.0-alpha.f6d76111":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.f6d76111","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.f6d76111","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f6d76111","@crave/farmblocks-hoc-input":"^4.1.0-alpha.f6d76111","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.f6d76111","@crave/farmblocks-input-select":"^2.2.0-alpha.f6d76111","@crave/farmblocks-input-text":"^3.1.0-alpha.f6d76111","@crave/farmblocks-theme":"^1.7.0-alpha.f6d76111","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.f6d76111","@crave/farmblocks-text":"^2.1.0-alpha.f6d76111"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.f6d76111","dist":{"shasum":"5243a6e968d30bf92f525d75ab61c694ea905536","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.f6d76111.tgz","integrity":"sha512-MQeemItvM0Nivptg7xUgz7Z2Z59XbVC+6JD89iITLkF0pT5m5zabAqBPqPxyIJsX/6ui++y9E1MEeBJ3PXy8LQ==","fileCount":15,"unpackedSize":42564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbesmKCRA9TVsSAnZWagAAzQcP/jsA6jlEmdPK2OYP+wTY\n+MRVbrwJcHqY7o3koDaX7uurNc2OcIvN54DDnLg4VWMP6jta2xGaBICcf5Xn\nKi0D6n9SubRuYD6u0R9dI6Le+/LPDmfMd5Nr6/JPW7rhzqc+vbUuSRwZCEv6\n/oIAW6Fwi9KZct6POOc8VSAhCuZOqAR5VmbqGnLc+HDYAMytTD7PIL35fx4f\nqysmBPiRgM44iW3eCCxWV6e22OTJkRUYRJ8Yb77VvT5u2SqXag7AnBIfx0aB\ndS9iSnl+6lk2tXbZGHIYSQYCfZtWaElbQgUqwCueTJxw9wwBqvLianWR7EAE\n50kDdJ+hA1VV7Tg5J4gM25isMwAGxe1fYn+8t2/azavp6Ek72NcW2MSKapb0\n7K3LYI7tSD3goPBliEJuRzHRodAdeVwR6GPO7/pTKG71C6IqrYh+zhUKXgtN\n2mRyGaRzkN6ezVWs4QAeQ0178bNljlMK+tf+8yxlnR+IhHDh+Do8DD9VP+Wc\nMbP715MyhYVxiF8LNR1TWCoabcN31D/TGWtG8LqVPMBCd6gdPLxdHTqESR88\nKHSzFEVvK2uj3bdxEM4bZ0pXhJjs1X7O7AhnqZFYz3ie7EIN7YxCsEP+2+Z+\nN3+8M5ZRa/gRbZomPU5x2ZRs5mimEW+2bXzj487//c5NL7IPWo8vyI1l7x6j\nWuax\r\n=ZiIC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0+FXmixbEFmSEXHNakAVLd7woAsKR1pcu6utiJ8aZjwIgOuhjifw9GhYXR9anQS+ngTTupbuc+m4Fl7asUN8SZMI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.f6d76111_1534773641188_0.45462414850162824"},"_hasShrinkwrap":false},"1.2.0-alpha.7313f6df":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.7313f6df","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.7313f6df","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7313f6df","@crave/farmblocks-hoc-input":"^4.1.0-alpha.7313f6df","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.7313f6df","@crave/farmblocks-input-select":"^2.2.0-alpha.7313f6df","@crave/farmblocks-input-text":"^3.1.0-alpha.7313f6df","@crave/farmblocks-theme":"^1.7.0-alpha.7313f6df","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.7313f6df","@crave/farmblocks-text":"^2.1.0-alpha.7313f6df"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.7313f6df","dist":{"shasum":"a528cfd4700495fde2070025bbe0251714bd52af","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.7313f6df.tgz","integrity":"sha512-ae+t1ihRCg2BOYM/Vk3H99gC6M8bHJXiiZzFEVT7iQ0/YCmcjnpKDQm7jiTAvir3hcOLKWwbWwrlPc1n7f2pEA==","fileCount":15,"unpackedSize":42564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbeyvECRA9TVsSAnZWagAA5ysQAI5+PH2uNX/Hz4sE9iyz\nZ8gxaHSODFEPwFNu+fUb0nnhPkY74di9J3xJmdgOIUsMKwGOpjtFjtvlSui0\nwV0BsG1KGlLmpVPrp6sWUoO/9EhFgtZCHcwENp31vX0UtKMy6qAz5ZGTqIIi\nyJv+GygyQYhMpel2ZQ4ejuMmyzSZPe/DbtcWSab9vAXLJcjqV/ChqiW0Nox2\n7RmC0mOuEgcqtfx82RNeKfpSB1FSWbB/TDvBOVeJyts8W4/OkLv56M9nxOGX\nTg55ETrI+Cmp1U7LqZ/0CJ+o+fl7GjwlkfH0BgoXkN5s+TZjtZqf/IDSc9KO\n4nPDzY+k8cJDG2JUV/ScRd0opSWMW/DwdbWt1HNl3dw0iasRyL2WJUBgdkTZ\ntFGkz85Vbtht+7w1LH0HvF2vNYP5oCMKnF1Vy2Yp1p/Zjk+mErCfbXlekCLf\nlflhBlIPyPwJ7HluDoBW6vvF8JKsvVV67H/MqD45ODCVlu8c3zAFaObaYjex\nnFaYCiyiy07y2QD+38CuQdpYIxWcIVfQIrHRWnDxy4MZ2Ta0Yn932nB5SoEq\nlcjRvI4t5t1zsobZ33P1lCdzbszmszLET9Nu1buoVjzcuPiQZi2dRMnCTGI1\nIC9z5A8gLj09B4DidGPa6XO2Lk8dtm40Nh7gTfjP4aHltHD4gbr2AG7vqTb9\nb7Is\r\n=J88u\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAEnQ2oy2KqPiboTCG666BfQmjq2gkR6/D8iQ9vVuS9BAiAdyowtwoZRhdK6+iqKpCc+dBSewFqhzmmXw8UCiJ9RAw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.7313f6df_1534798788310_0.044569089701536946"},"_hasShrinkwrap":false},"1.1.15":{"name":"@crave/farmblocks-search-field","version":"1.1.15","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.2","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.0.2","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.1.2","@crave/farmblocks-input-text":"^3.0.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.0.1","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.15","dist":{"shasum":"e3c6361fb22fbec74c72c0b3d0a07bb110d09516","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.15.tgz","integrity":"sha512-sZUUT1DeekEZBZbg+d2AEE9dSKZ5ypEXMNWM+iVEB/mzvwVOhAfwL6E3IiZmc4ICk0DB5HOHuP8I7mnX1g3KTA==","fileCount":15,"unpackedSize":42374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfVT7CRA9TVsSAnZWagAAgUAP/3A+ep/jeydzQh4voJ8O\n5lFHpuyOnuP1Xl1pkdhf40g18qBWbdArS332GQkTYrrzHjS6mkYNOwAFFpQw\n2r+DJTCsCHKgUA5DMMFFlKqZSjNP14FDV2gQ8uU8nOoF7lrfeayrgCVQXUq3\naUFdPOPi00oT0cCfNCEVMbeOYMuMka6icmJchtS4jsldQ2BTRIPw0GNMIGRJ\nLuGELVOgQD7TO+96i/YBq9/s5kAO3Nk0+q3MIJaLLMuMTT7W60Q56zkz0BbE\nrDiO8oXjGwIGx+pkGBhQg39rdBsajxcL7fgh68yyLRLkOnAdawDOsrbxmPP5\n0vQgoNXUtOUUOZqANO7GDZg25+1ru7DUTb5DE95YnTcfRYnVt0gnetL4Y8Zi\noeg52Wrnq2zPGbBp1YVOzodwlHdBIcJ8SdvlSqh/+dQ1ED87q9ob6XDvfVk0\nRfXteoQ5DleQOIoOuOPyp7i8zJGo7u5z6EtJfke67VTScs2nDIH2wtUlGdyw\no0Ic93zjgrIT5EhUtuaQBBvVtuFe9xRGsrJ6EzdaQK23jGHlqc72sWtW9Wd+\nUIY3EyQBgawTgFxxxDn/buh6H/1gCho6z7z5vQch39/SKul4fiRbCGSrdY8s\nMUnv5gIA+3mYfJ3DZeGlSHNj2hWXTL6Yr7cuNFKamSp0vkirCJZT8j5yLF/F\nj+YW\r\n=h8hA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzNbjuDH7gkGe+jEogS2pWeu5r3Cf5gNehBZ7DzFtPzAIgPXi6il0nqnJoAHzALicBKodLxTtp2gZU8ddgFEGanAI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.15_1534940411095_0.7742108821891682"},"_hasShrinkwrap":false},"1.2.0-alpha.c7dd8ba3":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c7dd8ba3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c7dd8ba3","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c7dd8ba3","@crave/farmblocks-hoc-input":"^4.1.0-alpha.c7dd8ba3","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c7dd8ba3","@crave/farmblocks-input-select":"^2.2.0-alpha.c7dd8ba3","@crave/farmblocks-input-text":"^3.1.0-alpha.c7dd8ba3","@crave/farmblocks-theme":"^1.7.0-alpha.c7dd8ba3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.c7dd8ba3","@crave/farmblocks-text":"^2.1.0-alpha.c7dd8ba3"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c7dd8ba3","dist":{"shasum":"87cba6274886992b02d151007b58b98f8f7b9587","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c7dd8ba3.tgz","integrity":"sha512-gYfGB9LkxEijxwxQljgBMCj2f8PAgQXEYqN/cHAWGU82Jo0+Eg7svkd2aLMwhg8dt01wynWdSz5sswaCr34pDQ==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgFvHCRA9TVsSAnZWagAATw8P/1zJztgdy6L13XsIhlwx\nOxxaWORTYAt9C46VJL9WnxSd+vr95vJWjvjvWokLzS8xMinwn5SfQRUfSJ0l\nCrY6hMC8IwIAoxdazNhFtRv/PxZuBiRtVwu1U7pUUHKlvW1GiakJC6G4geYK\n6aucnlouNr/u8ojxZbwKPsyeg87gzBRtdTcKvE3txOxQoIDXjUA7aPgEwcTr\nxhR3/NeocECdle0yaJMWEYLM98U5RQKkJZ7Mir2UnQ0SMlBNkvshIJdV8EkW\nK9WDJSJEc5dF2IaTTfZiN3kmTi8B4COzf7GSwqaefIIPYjU8v6aT6hJauqLo\nSOWyaKQ8aaVVr/QGxo7mRao5bfaQ11v9NiRfU/6mIFT8bj7ff/zufUtN1KzI\nFihupNHDFpae0n1gKsH+xF1t/6gRN12WCL3H6JhgyakXB6/sjo1n+LyOZS4V\n3IWfqvoIwRsT1NkFT18DRAgU4NJfDiKMXfI7A1myLFd9mF91Pj1WP+BU2FXV\nLsgzniCS7Wdq4e+bRmW2rb5xv/gXze6LSHRgkxkSo/VH2qwGF7KlScbZjK8W\nQCgh/2OKMc6nAEmpkQi10nOJn3W3lHUE/JQDgl+Zf9wyh4JSAUT4iiyEoX4e\nDn3pXZDy2TZDMUfZY/ieVgY52iSpDHgGqULi8+THldd6c66je2Bt+/tifBy8\n2pnR\r\n=tOxb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDH1wfVrFEtn8hKXGa+G3d4lobw7cx1tiC6T5mSgONykgIgZbZsZcohdZvf2QekcqJvvhwntgbfD1aHBebsnZZ4HZI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.c7dd8ba3_1535138758859_0.5412387101457214"},"_hasShrinkwrap":false},"1.2.0-alpha.961cefdb":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.961cefdb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.961cefdb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.961cefdb","@crave/farmblocks-hoc-input":"^4.1.0-alpha.961cefdb","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.961cefdb","@crave/farmblocks-input-select":"^2.2.0-alpha.961cefdb","@crave/farmblocks-input-text":"^3.1.0-alpha.961cefdb","@crave/farmblocks-theme":"^1.7.0-alpha.961cefdb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.961cefdb","@crave/farmblocks-text":"^2.1.0-alpha.961cefdb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.961cefdb","dist":{"shasum":"8067d305467b4bbdd6b36b806ceec83c6c92b41f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.961cefdb.tgz","integrity":"sha512-OuvqyLuPP/KIdBCy5/nnknwIK1U9f/C6kaTUM4OegCFLGPA9w6rw8plkY1WK/FdXs3eZqFWFtAezt6VrdHCR5Q==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgGBLCRA9TVsSAnZWagAAbboQAICiLDbn1DYHfwyO2Fy4\nIQUTfroRaqw0sJohdoLrp78l1Dm8dpl2blWHYgPlC5u//kQZoB6OVCv+aM0a\niIHMctdI4btHj1jcanqjIT0UTP0u2ZVjLyxNUtcJeseXcmZAQOZyPm9VF6Yw\n/2wUHXkJc/WyZqf3JXNtN0QHXjl5uPz0cA7aEpMwgrHX/Swqwm4OX0c5kXlH\nFLyPCSG6b4hp7dGaWiV2shy8k020xs/xxYQhK4ZT8Nu9jmDY5TJLUQ+g+rF+\naS51eoohlJmcLbRjaai5y2oYfn1Mqtk2MdHXWT4i7el79723uCEmyyvwo5Qa\nkUENmNG55bWH2ea7SNFza9+M65ff7zU+q6XnIUA6pUn9Znx6iUHF6wXcr5SO\nl1g5vEzLIKZSx4eH5irOY2bdpe4s3+F0T6V6NK2HrFeHvnlFwDlJ8K7MncZD\n4vfBOdKrMd2FHSCqSyW4CZPiLJTdP2MscxgVeP6XQ7yKx08rcZUYit7S7E78\nIhDPUymjdKih33YyQ39Qnf8kXOtD2SkM+JyW+qI6vTna4VicMkdbSUW2AkQI\n70bMu2JkNHofVdx0ZCt/iJq7qnNVhgh8zpwuqprzi0rSuawDy1wDuMopNhvP\n6N7/89r7L4UboF231JvowhdSpB3mn0oCPf8ShMS2npMGAHF66nhLhX7gyOQt\n8PGF\r\n=AaXh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCsgIg2jkajTT2obwkPI+ZYPbNejvTZqc1GQwG4j/uWVgIgS7Q7oTjySPRU3v4PWEh8fJnhUOjlbTSovAq+MEiEwAs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.961cefdb_1535139914424_0.38787415232309597"},"_hasShrinkwrap":false},"1.2.0-alpha.1841f038":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.1841f038","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.1841f038","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.1841f038","@crave/farmblocks-hoc-input":"^4.1.0-alpha.1841f038","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.1841f038","@crave/farmblocks-input-select":"^2.2.0-alpha.1841f038","@crave/farmblocks-input-text":"^3.1.0-alpha.1841f038","@crave/farmblocks-theme":"^1.7.0-alpha.1841f038","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.1841f038","@crave/farmblocks-text":"^2.1.0-alpha.1841f038"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.1841f038","dist":{"shasum":"949f12c5bb0a1471d989844774f135c1d245723a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.1841f038.tgz","integrity":"sha512-/6VbS2TiwLJJG+Irq8Kawfe3WULaliyFt65XR0TebIzVu3dtA5qW2t6CyVB6mfXAA29FffS3MJstlnjQZ1RzRg==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgR3tCRA9TVsSAnZWagAAuGkP/j+p2JfnbcKr+qKNThYz\nOehdH2rHnQp79DCUa3qHEkLar+0Vuo5s/B/sOgmFu+DvmSigfoMMWBD7Xrbf\nyZ8ta1q4828vd/PJog5LkfMmxLydMVpLtg3jDiudGlW8fxjsWRPISgbf6y+c\n7BhjD6LzxZWekUj52ZANuYWWihqs3IIL3pW21v+8afUdE2bwWK8zKcbvJYE5\nry9XcKWS5ueV4K77ObN27FypVugpDaleSZf8TQQI3SARfBkYwLyqVGgJhPlY\nEWOl3VpdISTNqSq/VvIm/RpcauN2nDFwVVYAJtdI/t0A6/L3J0pt5n1Ofl8u\nBVe6INhfGXP39sQa1ljxy/55H5kOPg529JWw4dMIVlcI1ZQ4zHVbrRnoROn/\naHwaaFy3MY30Bo2PAQ8zk0QKHLxRmoP7OtvL0u8m0y6a8Rg6fkyeWRV4f0WQ\nYAAzs7nqwAAdXUqpALkz3cvJHMyR7f1e7kdmj4KWY77JcMiOBSsTRMwXrR9r\n0P6xp3q4lYWwmrTjA6dQDP5wjDAsm/whF2LeUi2HkGNPHx6fFQtnOlarfmMO\nUBGG3ZMR2fCs1MbeXrDRUd9KsYnwEPedj60/fOwK51Ps8uBruTRFRT33JX8J\nHAjXfP+DO+R9RMWbyRkxLqfe25hgJ6mmKQYO9HTq+DfsHYQwxgfdEOHBaWXN\nTmVu\r\n=BSzw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBUb8RfwE+aKdAc37DeoW+kEV1Gsd5ct/+zAFg216mFZAiBWQlSLad78+8pIFCYAnwaPHmNwLmpgKq2n72ss43jaFQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.1841f038_1535188460790_0.7089986878170955"},"_hasShrinkwrap":false},"1.2.0-alpha.7f8dd094":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.7f8dd094","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.7f8dd094","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7f8dd094","@crave/farmblocks-hoc-input":"^4.1.0-alpha.7f8dd094","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.7f8dd094","@crave/farmblocks-input-select":"^2.2.0-alpha.7f8dd094","@crave/farmblocks-input-text":"^3.1.0-alpha.7f8dd094","@crave/farmblocks-theme":"^1.7.0-alpha.7f8dd094","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.7f8dd094","@crave/farmblocks-text":"^2.1.0-alpha.7f8dd094"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.7f8dd094","dist":{"shasum":"13e27f9111aa7d7756dd685c44536b0ad129c735","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.7f8dd094.tgz","integrity":"sha512-qQi2k6pvGoP/Z+5OvAqjKdr7JS2PnSHW8/9rYnJihT3bpLV4jTjqdfaBDr67Ict7pPSqmFQcKFTI2VdSDC4Flw==","fileCount":15,"unpackedSize":43105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgYPhCRA9TVsSAnZWagAAeSsQAJBGDbFV4btnlK/QyD4A\nDvvPNCOoxZ5rMBASu7P/MNlNJwX0D2NvtYbODUy4FM7ZkBvkvdZOEs19Wz8f\nEaeiQOilRFGajyslskKCZi0nuAa/qnErY2bMNVZfKtUfjHcZWgKvhm/djrAs\nSXcP8gB1ooR5TDTHWkT3jhg+ifPJ13wiveONn8Kj3CrRJR1lgEgJ6Zc5rzxX\n6YoDzLDJVrYyKrNHQa2VuXy3dMZIYiwEoN13j+t6x5IBwOgRzICq43xbrFyF\nQF69SgEb6owPIrhnOaFPYkHH8h3lE2ULQiJS56FoEtHXYxxSOXJlQvS6rSut\nh8YwQNrVK71+x5qsycJeGBVNpn46+OOnvStRQ2JjUoYHfOKJUbbLaM7A4xNk\ng80uW2hfkyGyYocB32acen+k/r1e+5Ec4LDXQ3XhB2qB5t0Xe6m6dPxjtzBG\n97S+oAL/ZqJ5qPe7gkohhUo61a8N50bFKfJJtTSM+bB9A5fLeFpGpRaMhbR0\n/NxTMuPbf/HmD7uwUVhx+BuSEy4QE/JLBp2s+C2jbidxbqRDIp8WXTdHmD5z\nytXXttj1KAX9M5TON+J3Gi86OFt4FyPYO3vkBaG6aoYi0lwP6QP2lZqqJHpB\nMYNy7x268YG5OFiCw/E+tdUE8aB1/8sJNij1ydayWDUU7jED/DU4oe19Sxm4\n/I0k\r\n=IBd8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjzusaNDlPmyBTV+cMO4myGOa98kZQnFCGvvRPAK1cHAiEAqYz6pFn4RiKKwRzS7rPqWGDXH+PudXMKG8E05dqUIaE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.7f8dd094_1535214560545_0.5092787355639052"},"_hasShrinkwrap":false},"1.2.0-alpha.fbca7606":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.fbca7606","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.fbca7606","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.fbca7606","@crave/farmblocks-hoc-input":"^4.1.0-alpha.fbca7606","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.fbca7606","@crave/farmblocks-input-select":"^2.2.0-alpha.fbca7606","@crave/farmblocks-input-text":"^3.1.0-alpha.fbca7606","@crave/farmblocks-theme":"^1.7.0-alpha.fbca7606","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.fbca7606","@crave/farmblocks-text":"^2.1.0-alpha.fbca7606"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.fbca7606","dist":{"shasum":"06674528a4c233c3c33a87e0f7422d430591afb9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.fbca7606.tgz","integrity":"sha512-2EBHL122imwZzXZPidxelq3QmsViFK5CEjT+rP+HnTr/tMetEPMP7TU+y98UDE/Z9PXhq+bDRHM9mDSO1jYJrQ==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbgYs2CRA9TVsSAnZWagAAtR4P/Amw6crWoDmuL7Qid5m5\nBTpsEkzBbcIFu6tMWbmiQ4sJwyJSLuZUGSxQKdcmapMyEJe4w58xpWl6GJIJ\nUwBGqR8Gi4DPbp+JwXK9YJW1GKNxhbJpFH0xn1ig51IPEbFGXjEGgoFM0+yL\n++gs8Os0kdUd0i0ULSyDFaYITCdk2pPNcAN6wygwNoLU/udv2UIK+0TaEXoO\nTT6WtvLirAh/Y4WcpfLr424WcjdGTbalIBRlUyGPWwMqPAJlmKTInG0r/9rS\niT22dFulrgVv9Wv2Qjwo0MRoE6eMk5vSyufOD6xs1uj05CHY63uxf/EhJvsq\nYv9+XMPTgyEcsTi+OtRDGGMLyDuFNHEz4ROphnOL0H7pNgY1G1uI/1OVIH7X\nC7G21S6pm6YYOlCQ+cTdrgF536J4fbbyxG3kHJdOGclCFgAS+RWqY0BXwuxL\nyswkGC1qTCVy2SiwYYN+x58zvzHN1MyFpwkg5iPHS6TnH8ybc3zrpsQ5+kWk\nbPhA24EdlT8OPKo8cs2STQKLmWM9O/LjAg3s3zkFDbFVZ3TAG3jlx9iN9Iac\nWRYP2Z4V63yaTLpdYxt9KSOUn2owYfnuDse19UHtar2hjjU9TQKnj3zuaJ3Z\ni7Nir7D2eNHoX3BXAzRmxcU6Vmhgbtvuwtz3nsuMw2Kw30AdJHvda7L7RFtf\nnZ20\r\n=e+ac\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+32x8/0EhCMazjUo3ah1axQBtlvIQ60mGNoKsRxJz8AiEAqcjpoF4Bcrek5YjNuScsK5+DwVWtkHRZ8uNlKbAd/D8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.fbca7606_1535216438211_0.600939016102686"},"_hasShrinkwrap":false},"1.2.0-alpha.c31e4564":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c31e4564","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c31e4564","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c31e4564","@crave/farmblocks-hoc-input":"^4.1.0-alpha.c31e4564","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c31e4564","@crave/farmblocks-input-select":"^2.2.0-alpha.c31e4564","@crave/farmblocks-input-text":"^3.1.0-alpha.c31e4564","@crave/farmblocks-theme":"^1.7.0-alpha.c31e4564","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.c31e4564","@crave/farmblocks-text":"^2.1.0-alpha.c31e4564"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c31e4564","dist":{"shasum":"1b8e4abb5d5d66f3b82337b6792ed22a2d64ccfb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c31e4564.tgz","integrity":"sha512-mkGNxu6m40RzmeIN8EczarW7UOi2vWNbwR6NFDSsCN9tK+QopfQKvNHqg6Ef/nVFknymiVm+lCR6AEllejhqiQ==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhZZuCRA9TVsSAnZWagAAoxIQAJYF0LqVsOsdjkJ4rG9c\nlg1mRDQbk+1J7gEe8G9qgirQAB5tEPvqZBiwuEvnq/t4naV0dQXKoDCJZddM\nYRhYZ5DRv04XkTD4TeQWKRdVfkrOCoPiCOU1Kv+uGtoTgkYFQZQ5ZAy3VoP9\nwibshya1+LVy+QGS/oM/qAm+l9ovXWT3pXTQ9G7TdYIzwTuvYeQhh+latqWf\nrUeU6RPZUxBODs1MYJpBpbOcVmU0VzOki5WX3XLgiR4cvPa7EqDqyYC1lxBU\n5DZ27q3pOPamr1MQQFgE5hhAJcRjQ0EAkDwb0nJ3Y4E7nTVOkrL1tl+oxdA8\nSjvcUOA82qwbyMgdPkrU731HCxl/BiX+mNxzbe3R7UyoleI8hyZqn3/zjF1m\nK9EgVBxMU+yTsRJ10bDYlLkOVL6hwbRKKcadPC+KAAmb6J5VOas2wvGQSCBa\nb36BZMgYvYi20xU8Dukd3y6pwY0M/pYXsoQDS46pq0vTvG7rstr+ZHM8hgrf\nlMLgkRFxLZb/L6eKC7zp9sjPcU5Nn9Zc0Ji2Dc+9hM9pRSK2rlKc15BPwU2w\nwwZnpYtCJ9YkOU3YO3GzZjdDgcYqH8Bd4FYXKk4Q+OgGwP7F9TYUija6QLBN\nOvf5e3gwppBuhrpqRQMGu+gHtUn+hmI9Fk+FXRGeG7poFoa2bkbkZmu66I5W\ndNdz\r\n=hmru\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9czE/nyf28j2ZlGKb3M6M29idcRLDjPxN2KGlDiceuAIhAMUJHc2RsUlznZrTHx9focnEZQNtj1ft29zFpciQlaiC"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.c31e4564_1535481453493_0.7058097076942469"},"_hasShrinkwrap":false},"1.2.0-alpha.95bfea5e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.95bfea5e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","files":["AUTHORS","lib"],"publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.95bfea5e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.95bfea5e","@crave/farmblocks-hoc-input":"^4.1.0-alpha.95bfea5e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.95bfea5e","@crave/farmblocks-input-select":"^2.2.0-alpha.95bfea5e","@crave/farmblocks-input-text":"^3.1.0-alpha.95bfea5e","@crave/farmblocks-theme":"^1.7.0-alpha.95bfea5e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.95bfea5e","@crave/farmblocks-text":"^2.1.0-alpha.95bfea5e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.95bfea5e","dist":{"shasum":"c3034eaff8857af26f6b8736351bbcf397d4f346","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.95bfea5e.tgz","integrity":"sha512-goMrqGqjhDCK74nzLzWVnLY1k6OwinlOAvNPkqQ/DQS3qWQ8O2FVXMe47kR3c+vzd32tV1nsPWKr0C3cxSYCSA==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhZsMCRA9TVsSAnZWagAA+fAQAIZd+c+6pcfZHVZSWW7P\nSbIWoUKfA1EP+zSe26Rl0q6++Wsa0M2LTXJJjnE+IUm+zPoeNfe3hXchlcCL\nlTk77Q8UPwIklg9+zbQkizwXsbWaSTEOwebmVmHKDHIT0yO4pwT/DY+j0pbE\n7bRlQSYGIYVnuuT2lF1Xl/UaxWpdG/x5kL5Wy6siBfDF+/mJk5Aj4tjNBlIj\nvm/6yCfY4Le02Z2pW6wmwbDKgjDfj10zPIEUWI4AM4ny7EzlYWJL1SVwLxFo\nvt3XK12SmlMpvPf15hUC3WvemlZ3VUihqGG507ltcpr+CCzjZu2Tyv3vTVuS\nWvFuNC7sBXnvNR7mZ39DkfUZ4IApTgYrifFA1mdquhKKflv8IRgHb6+3WxbL\nz1tvKvQhSbdeUhha+Flr/OBF72jGPlpPTSFbO3W5NJpq6YsRB9V9OPWfwmKr\nb2fFKJ1xl2ZaX0WbngGD6gdqpYemV5LTLAY1zAuufm5lWZH/OXcPABFB6ZMB\nGjrx/lmoF3Cfn5/oKSPRYqoJ4f8dGmgjQP/n5NkpiDiEkM5swIuj8iFcK0mF\nMfWnQeO78cFd5WyLNjeM6rtURABTQzQa7nKlug3OGlrftrtZAlU4UNsY7Rup\nlJUpJfgzwLHYAPAiQNR+y7N36XzHL78N/2lkzPddTDcgz9RmkCdXUFxyx5Ab\nbPkc\r\n=v9gf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyro+OVwhkJYi6xy2cryi0pottBHVfI+njAgL4Ie1rUwIhAMi7RCsW2C/BcbsF3XcG72w4Ga1PtJcNu6v4Gie7vSxz"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.95bfea5e_1535482636190_0.5639446381290296"},"_hasShrinkwrap":false},"1.2.0-alpha.88621341":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.88621341","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.88621341","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.88621341","@crave/farmblocks-hoc-input":"^4.1.0-alpha.88621341","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.88621341","@crave/farmblocks-input-select":"^2.2.0-alpha.88621341","@crave/farmblocks-input-text":"^3.1.0-alpha.88621341","@crave/farmblocks-theme":"^1.7.0-alpha.88621341","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.88621341","@crave/farmblocks-text":"^2.1.0-alpha.88621341"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.88621341","dist":{"shasum":"6217a076b5413eee04c2d9ab79afa882879f08bb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.88621341.tgz","integrity":"sha512-kYpeO1i/dSTJx7wu8dAZSeZ+phoXbLX1UZnNHMtoWcYad8a7duEfMjr/L/yEPa1Cow7yA6lSCjYghvE5Hytrfw==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhZ+FCRA9TVsSAnZWagAAkEEP/0xmMaSp6cTDeJSnqDF/\n0jflfEx2KfrbJQjhquPC/aTfQqrMeZTfZ0zoXIGJp5Uj0xfRzQ1F+CLXLSwg\nPm/y1QbMbFmAxk9Qt6UMd68ZUBMSPljYncP1Du4ZsDMb5lzUGOt1BmEovduQ\nO+i6nEr4j4UC2nJ/Z4zgHHyIJAgvqY9PQevWltiIMoxo5E2lA+FvjsoEvX8s\n354daeXWzkMZhRlFhNy/id5vPxhVCO9yGStKRzH2I09FrWyeoqB5KPZOLiS4\ngcYeMvE7hcfVAQc+5TGHVGvdnu/MQh4evFPh6nD4G9VF5i3ZOMBYvkagAQIF\nsWRzlwRBjo1iCjJrGen/NMWYagL1aAbEecPhkvMhqRFC1/ug+mvDBfTg9C8I\nLsdBj8nr5+uAOzmoXpsuPcqTog9tMk+XOVz5V/lEypT5zALbHrQH8xjsaCKc\nwD67EqbsxC4puInpAjkS0Apukl3I0/trMOBR56Fi1HjZTStM05L/w4sylT2S\nHdTMtAFLM+LhwdXmLqZLjxYHDuFgknghdEjRzYTAXVrma5GyCWxbGYQkGQmL\njalHxhlVXRLLXFcIMuYJBNiXwy59JHJXoBoIzMYhLYL0ASrpWjBzCq0axspl\nQTDWQeDOc3bblDw6pDxqY4haU5AUk51T3e6AwwpA7Ti3VZKwz7KFTBhq6QM7\nHa3s\r\n=0+ns\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLgYSm8N2ArTlFLLJeCSPGUEJyC+yHwfEkvqCPFcIxSwIhAO3enWu+IWAaFcLWaOGdiGld3SqfzskKR2HnI+ioYap3"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.88621341_1535483780814_0.4604016351387965"},"_hasShrinkwrap":false},"1.2.0-alpha.26813bdd":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.26813bdd","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.26813bdd","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.26813bdd","@crave/farmblocks-hoc-input":"^4.1.0-alpha.26813bdd","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.26813bdd","@crave/farmblocks-input-select":"^2.2.0-alpha.26813bdd","@crave/farmblocks-input-text":"^3.1.0-alpha.26813bdd","@crave/farmblocks-theme":"^1.7.0-alpha.26813bdd","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.26813bdd","@crave/farmblocks-text":"^2.1.0-alpha.26813bdd"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.26813bdd","dist":{"shasum":"7245f0730a196b1324f54ee94d2c77afd9b43c0b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.26813bdd.tgz","integrity":"sha512-rn/M8Kwp90m/G7V7szl9O07DFZEsDZ4q08SHR2N4gFFhimfceds5Vyw7P+7BbzT1IC2qBMZHvrRsgnaKEVWEGA==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhejlCRA9TVsSAnZWagAAhBoQAJm6UbaUdJ30MpyemOpb\nBjAw9l1gqJYv/ZjtQ0edzpWc1pNmdouEOcZ6/dRlXeG5pYqT4nrQkVHJiCbS\npaxXe7bptXqQFmnivb5271+se9GA2lWlFbypKGDWtBgs39UfBeEdZNCEpZuu\nMJtFZLigcv+sNzuVgFOLeMBcUdsNjEkrr0Y2l3jXEhR26ArefYXKVbYBLpXD\nMsjxI7o5IM3g2Qw8IB4iZzqR9/DUezDmmNinbAxI0FMeWhV9Zrp4B3Aoo7iF\nWz6zcOpHtyp512PHq3uEAZ/jVXo+bGGJ1vklafFOJ8CqA/jaznEBEHO3OKSH\nOd/r9mox+FEUbky42YqdfH+UqVmL4KUd7Cb3PMbNHU9z4SQYD6mgRpKpGyrJ\nTOW/5NKEtbXHGKAzhpS+SNMHnefx3wnH00pKoQQoChBVMePJSWhCQ7nlbeDn\nAdvDB4LILY7PuvSxaGvwJCUiYpCK4atjKzn7KTs0bzGFdcgyGY8VSO+ODwaJ\nMAf26VAN5dmRFoYbIZoo5iMRDZY9XbBgji6hXMcrv4uM3CfGBOZNeQ/2RNRs\nF1uIzWSo2DucQv01prbRr+jeUPOsyVW8ZAI1wc2M626AJxfGfw0WcH9dNqsX\nnOmUAc/sK2uDLmnIxnq++qHpYaFl8s7JcNwA4/t7dOZJmDGBBgn4R3jarRjl\nHGYi\r\n=Vbxx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7ArCt62Gi8GKYPM+oT76yleBC+xRZmmia7OAMJ8SlFgIhAPCJOIQ9f6GxJP1nsZGT9323GrbsrKW1kPxSbpSd8cOD"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.26813bdd_1535502564640_0.9611115607928797"},"_hasShrinkwrap":false},"1.2.0-alpha.5db3f5c0":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.5db3f5c0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.5db3f5c0","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.5db3f5c0","@crave/farmblocks-hoc-input":"^4.1.0-alpha.5db3f5c0","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.5db3f5c0","@crave/farmblocks-input-select":"^2.2.0-alpha.5db3f5c0","@crave/farmblocks-input-text":"^3.1.0-alpha.5db3f5c0","@crave/farmblocks-theme":"^1.7.0-alpha.5db3f5c0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.5db3f5c0","@crave/farmblocks-text":"^2.1.0-alpha.5db3f5c0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.5db3f5c0","dist":{"shasum":"b2e3ef5c895cf389c357e0d6921be8551e281344","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.5db3f5c0.tgz","integrity":"sha512-KF9jK/KS4V8NzJ7uK+YbO0eUo+++ayIuwWt5oS3WUAUrpc8Kej73MPtEjTgOPae8KlaebzWzBBZleOD2DpmdOQ==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhiHSCRA9TVsSAnZWagAAneUQAJtwqy4ISwrMisJ5YtpK\n2EalkDZBsHSqGoNXvW4ERc5XzmDTp5Udxmgbo6NCGDUkDs5iWRQN4IK58n8c\njSnNk5r/j+p+Uz75e1ktOPOI7n04IU6PbOhFL6mMKo32DYKanpPzeQQjWDVq\nVx9xHr2CabAVW+qpG9XPtQ17Hg9H5gPzvF8aMonayNuWiQGToCUFq9AkPJQG\niO6GpMheE9IlFKRRNk7nNN3u/nr+l7qJzfdDIluqDCXWyn9K6a9Qc1aDWelI\nh6KXpvRc4zS0SWMaG2LmdLtusodxhFdcnJWH8Vcq0Qt0VY4Q2nS/K9h41upq\n4J1st7ECrmKRMhk+yBVNXkJ9zF7xjOVgX09JLo3UWwYUunjsaWy/GmL0D3Jl\nj477HqjXUbSQ/sk+woRb86NGGB+zZMGhPLWUIRC+UXJU9vdQf0JAQC1EGRUI\na8V6lRTMg4j79Z0RxJWk+8yidPAScbkuuQGeBZD3GNd81JkFynRW8QT1oWMO\nsZ9v5mHYRabnnN8VFVxit44J5lCMUSg5Q9ZeH/RgVisZTwJybhJAYclj6ACV\n/3Hr4RywODvUMlpZAMFXWbVp4zGDR1movuyOSlzbNzoQpVGTOjsICWaBEHYn\nzkcrP2m9oScsd/5UIWRp+DcWjFxNnAhdK29LqioOGd5ab6XrFyw6KQZ+zyiE\ngqot\r\n=ZMWQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqaf8wbyGU6rkxcFdeDvv6rVfXjKGZtfWnPpyA1IgK5QIgMoD5HgnKq6EJaQtxLFnsswFCP1PZUTPiQ1qDWGfwqjA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.5db3f5c0_1535517137390_0.8543309370069663"},"_hasShrinkwrap":false},"1.2.0-alpha.14e363d1":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.14e363d1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.14e363d1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.14e363d1","@crave/farmblocks-hoc-input":"^4.1.0-alpha.14e363d1","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.14e363d1","@crave/farmblocks-input-select":"^2.2.0-alpha.14e363d1","@crave/farmblocks-input-text":"^3.1.0-alpha.14e363d1","@crave/farmblocks-theme":"^1.7.0-alpha.14e363d1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.14e363d1","@crave/farmblocks-text":"^2.1.0-alpha.14e363d1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.14e363d1","dist":{"shasum":"f1292977fd7a7bd3e68e594bb6399525940e974e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.14e363d1.tgz","integrity":"sha512-6nELmbef5yrPywMNeV0a+/7DG4GO9nAX6GTNPcHwbsIFtnHfz2Po1DbDruBywlTL/3F8iluqEv8gGOnfy8tAOQ==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhiIpCRA9TVsSAnZWagAAnGsP/14vDwx3MjD+ViwCdGt1\n2AuYXWaPPgwx5i6zo8MAtcOijNM/U/PRaLqX3ZUgCkmV2EzFfTp1BWaIO7TK\nIZU+wWfH7mA9T0sCaI2p7KRUFmv8eY11lOcoGmB/VO/mIKaRt/Bh/zLDlf9V\n6rB+Gyrr7Oa4akCtXlj0eZJpVsUZ26CmVkjA7ogW2Nx0I0cAmQIEnrg+iNZY\nzsG8+SFhLUOkvLhuVa2iBs/livi9fgBqevvgdsG0QlAY4SjCCsxXWukXlV7H\n/qHnJHiy57jJ0X+jhQpu76neMBXPbOFIRIkRDYL9jFJzxykdwWmzxJGoBRg1\n+UxifbVjxTpXUMb1lznPkh3Y84v/daI3Cr6Pw5EcxTRZL0yC0ixNbNoqKwca\nbD1f/MUeptxsSbnsTW4yNNtUBtPDzTZ07HR9CgVySdcuXON7M3zL8+kuG3BQ\nO4B6wJlOJpKHpUyHSQl1TjvKnmdj3L6etjOXDo46rEF1ps+NCuZBlI6xcEXD\n/3OGgeg07F/awqiGSctTqk8xqesdOPhz6FC4D2vYqvuaJsfWyk1HY2JoZZ+y\nXknmX4wg2NQ/1FcOZPcxtHMM61cTuHDJSSd+z9ug2LsQZUiyOqo6nqY64uw+\nhVgHvjBTV6aYLLnld7nCdITWNVq9b3lXDWULmQH5IAmrImh9LTJ38QlIkpHC\nZp31\r\n=9u9M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDfCsjgl7hDl8w1fiMEarS55yA/SZKb4hdVIE6naOQtMQIhAKp2W+LvXv632dr0/5gFBP2YQGuqIpkXVz/Ig+O/I5DL"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.14e363d1_1535517225116_0.7631081704791092"},"_hasShrinkwrap":false},"1.2.0-alpha.eac53cf0":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.eac53cf0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.eac53cf0","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.eac53cf0","@crave/farmblocks-hoc-input":"^4.1.0-alpha.eac53cf0","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.eac53cf0","@crave/farmblocks-input-select":"^2.2.0-alpha.eac53cf0","@crave/farmblocks-input-text":"^3.1.0-alpha.eac53cf0","@crave/farmblocks-theme":"^1.7.0-alpha.eac53cf0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.eac53cf0","@crave/farmblocks-text":"^2.1.0-alpha.eac53cf0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.eac53cf0","dist":{"shasum":"afda6658facce4e78d8c36661932e1004dfe4e0b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.eac53cf0.tgz","integrity":"sha512-Ue80j8AqdUDDiHqc0danPFdJB7wiTvnszuTbkXy4xuCaBftVzFMw6qAdTfu9RGylyFfS4PUEBp+zNd9Lof7Sfw==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbhj8oCRA9TVsSAnZWagAAKZ8P/ihiQnRj5dh983ba8g6L\ng0cdIuFls7y67QS3iU817O6CF9pokJVU/WIrhaW6IPuXjSqMMK3hyEiTh9Dp\n1Wa74G7RnBmxP7aq2hbgzZoLeu4FDKSt7HkLnTjQNT7kSfzO05SR7D0MdzOW\ndNzJnHjdIh24Zp4Y7MgPmPNllEfwsHTEoG4kwIiVaeUdWc1arxGrmLtK7B5U\nmC9Zx6QD1hM28mORhrbHuawVa7xOqNie2cmcjOk0EaILNBRWcqgldk/oLrbe\nMFkkKSG0UeqU1bHaV25c61q/kWnu500V7L/PwoWwaBTP8jtoI+clbqQPkOLi\nuJcKFvGvgmEOj1pZx/nJ3Jk9/JG2qs4mQtyIoqOkak0w2i3muoRmWG4CCqmM\ni8lS6k7k+Ayf6oAZq44R+h9P9ZDlRxHj9D0q5DBwtXgejCd+9vi+1nahvrtn\n8iDVAHqVV27hJHd2vylj3AT9IY8P/4ZxvtMAu4YOq3klfwa0/tDwNO52FyLY\npaFJ8rFoevXT4GHWCXAOJUKQ+U6s4OUjumcdbPWpH8OQdBFViJQkdVAPOUqJ\naYfbvMddrmfbbyMeVZfz8tqOubd9nOSoR+hklKIfF/Ztrm4O2B0JrYvQKnYh\noRF9sSOrjZnyoKXo9Fgv1fuJgNmAlG3ugj+ACAR9BWbkhkRmihGBe8KNQTac\nfKJc\r\n=ksvg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlZvKljRURk1Jxf76Fc5nmXXNIvCVurx/Qqr4OUo47AAiA/ET6UYp4yWWS1cGwLKbmQ4GrgQBCm0ETfGFYfGo7llg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.eac53cf0_1535524648005_0.46014883171758303"},"_hasShrinkwrap":false},"1.2.0-alpha.5a143753":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.5a143753","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.5a143753","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.5a143753","@crave/farmblocks-hoc-input":"^4.1.0-alpha.5a143753","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.5a143753","@crave/farmblocks-input-select":"^2.2.0-alpha.5a143753","@crave/farmblocks-input-text":"^3.1.0-alpha.5a143753","@crave/farmblocks-theme":"^1.7.0-alpha.5a143753","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.5a143753","@crave/farmblocks-text":"^2.1.0-alpha.5a143753"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.5a143753","dist":{"shasum":"847a370b421f459cc67e9d889704c57b3c161d58","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.5a143753.tgz","integrity":"sha512-rkBpZ7KE+lhjOEnN1hJwRnIh6MCwx9X/F2SiIJwl8E0nyOXACbxaTf89zqVS4G8fibzpbiXcO/m3WIFIuiyqog==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbh8+yCRA9TVsSAnZWagAAzFYQAIgcwIJc36pQLhHX8EmQ\nuuA+CTvhRhSivd0XFwyorrCpIZlpDSx6Xd0xjxcUIrxgSBhzowzSOkK+vvAd\n3s851vemBQNhcDh0LVf67PTVCRUgojoRQxRL0GbNA2IRp4UaG6HookiZzpbo\nqAKM7FbqtE94Svk6LI4R2K1Q4W/O1qLyaEtZsNTI+PWAyHlOwnmOw3ol6bn4\nom2lh/dvnbN8iFs9cUcZNEEXNV3VSrT3b/GJsKj0H592dDxewS4C8XNUTCtU\nXxkqeI/cRVM7BEmZGPTZln/ZnMFShouIzVzQHgA605M7nHXn4rmCQ211ceEs\nEVSvTB+UJ0aTsyetS1nOOIbSDaHMix3JCtJK5p21ajbVr/Wt8owBRYPndMqH\ns9603v2f51/8StM55YQq2/KM0xrx9XnDPkty4S1Mf0hb1rHmAyONEeCTBPgH\n8sWNXFwa3KuAdS68/3DZi3pFdxOAxyqy79J9O2++5hVPHsHKr/3DVSo6tDIl\nSXkDijzDxlm83qMkCuHo772ZpXrQQ6lI6XGqtn8+f+h645/kADLux/iuykB4\nnZtzJn0T85ikjIAJcjlpgbai7lpQNbpbSoO12Nn1eZti1yZ1PCkK5E2x/rVU\nN29eaulEFTcmqF7pUxKbeCixyxuvMZ+gbDStfsfBcazcL+1X7TFusUjjipDa\nwx/C\r\n=89iY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFZF32KPsY84M+oxLE2CpB2G7AkrYlHdWErRbZ6jvnMgIhALId1/K0N8mMCUGUu00cSNByzpb/5m2bl9Or5ADMYGDS"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.5a143753_1535627186374_0.5569363846404942"},"_hasShrinkwrap":false},"1.2.0-alpha.cabd3e20":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.cabd3e20","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.cabd3e20","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.cabd3e20","@crave/farmblocks-hoc-input":"^4.1.0-alpha.cabd3e20","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.cabd3e20","@crave/farmblocks-input-select":"^2.2.0-alpha.cabd3e20","@crave/farmblocks-input-text":"^3.1.0-alpha.cabd3e20","@crave/farmblocks-theme":"^1.7.0-alpha.cabd3e20","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.cabd3e20","@crave/farmblocks-text":"^2.1.0-alpha.cabd3e20"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.cabd3e20","dist":{"shasum":"4bfbb402c42676b9dafa62c411083bded4cf76bd","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.cabd3e20.tgz","integrity":"sha512-9eMcGqoSngpSDVcATx3HgfSKyIkgvu4ZgE0JPP2lJdvWveh4xOIuPy8UzE6kHPPvRiEX/otF8+0A+09tKyJ0VA==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbh9viCRA9TVsSAnZWagAATy0QAJPVUnKCMtd/RO/AcdtM\nN8zFVG3GBaYrRKx7PwhkqnSP7bJSQC5PzDDTmtg3V4QK9AHWEfa+e8YrwEr/\n5mFnMeHG84DNF01tRYQf95bzABJGMdMIqHaxXz3/CfkN0d75kERnuIEic6SL\nEpN72oyfRq/CfBFfx9Cc/bcXW+fpguc7mH33dl4iEhWxhvo73GGU0FVTq+2Z\nz+Fp0/+kyA1oZNBdb5CO6k63TaYUbKMzvXdYK3Jsx7m/kXv8BlpVvwbKkDhZ\nvWlBBxUzVKjIBx+AIwv/H3Zh0jGE+b/E6UOsjKoHmGB+nkNa//0qGMFTKhKn\nNuFRf423cgDVIxSdKIOOsy3lmYuD4Rb4m8AXySDGUFqnn0WTANMcQq2s3HZo\ne8otjUlnnmaR3oRImoM46d0o/OVs7eb6jK/BYkkE6S8QD5UI+v1S+yVp3wOm\nALeCHRIzzmuMIVmUUQ2Z2LC5Tq9sJP9zpCQzCRp6Mr3hWYIzBxb1i3LDkIFx\nypUmD44L8rHrSmqnnegFH8cxSIH0UOFDonb5FpU2zTbOIe1vEhe8jGD9WAF7\n1WB+qsT+P6yQmnj1qqn5FrQHaGKOMZlc+J04942rCIBVHokN5vLtZg32RgGH\nRMMxi8XEwSEU41X4CJiRUDCfel+jNBjf9p6iCfG4epDbkryP7v1I8Oy2YId1\nWoff\r\n=74zy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBWv2F7WIImink4onfdwdFevzofQ2YEpFX68W9Wd66RBAiEA2d/HOXpl7jojE45QN7R3qIpF6nvhgc3A2SRfffFoxsk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.cabd3e20_1535630305553_0.07546089209824025"},"_hasShrinkwrap":false},"1.2.0-alpha.2e583664":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2e583664","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2e583664","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2e583664","@crave/farmblocks-hoc-input":"^4.1.0-alpha.2e583664","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.2e583664","@crave/farmblocks-input-select":"^2.2.0-alpha.2e583664","@crave/farmblocks-input-text":"^3.1.0-alpha.2e583664","@crave/farmblocks-theme":"^1.7.0-alpha.2e583664","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.2e583664","@crave/farmblocks-text":"^2.1.0-alpha.2e583664"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2e583664","dist":{"shasum":"4102295d5075b6b59dbde64cd7aaf55be283fa0a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2e583664.tgz","integrity":"sha512-LcymyHeQpqrV6fZjxY63YaPVBPLFTBAqA4g12tvJLcTV6W4RLCb/343wU3fUwD2q4c+03anMwn8HmNc8HchVHA==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbiJekCRA9TVsSAnZWagAAsycP/0oRWDtkavUqd4k8qBHv\nNc5Kdr/lM/DTZZBluul/31URY4fgHCFCn4ogergKEzCLbhEtoBglfs8IKMio\nLWMCqymvNW3WGxvFrnK3T8vQb2N6i5/pcW3iMWAPHUJLzSivtt7VvHVY5Syh\ng1NjLFZTwD5o2awU9cLZ1U0cnlDzlgsTj1KTL/TeIGXoo3bRo9w7es1V8yVY\nm+mzcLmcjvT96eJ8NwckOSAMOrat1bqLFIDPlU4syaTxRYLRuVmoGl+/w2R2\nAA8+0gaVu6PFd+qU62Ik7hOSg+MH80i5/4FAAlijME4jGXquzKTqsy9O0iwo\nuK33loz5zkje/3ow9qKSd67cH/EfsZ5JzJCDlw0++88LNTMG1SZjucZa/DMo\ntqvy1lsYeS3CZkc7zwhbPGSMu9zjrfPicUovzYWFplJrnUGwC20+JRE7nLy/\nWMPU/lvGdrkOUbKxiFHeoYuWHeV2Nt+tyycyRPmeQuJ+1npWV8TyBhak/8g4\n0Xrdd5oYTP8DkUJnoZbRsFnJ2s6waZvFRdIDWPgUVk9oe2mfAvAkSmDN+S+6\nnv5aBXK3pJ49KULcQWywFVvbrO7WpAf/g9roQDIn080AMtrkQ8dl30miXFwC\nt1/eFToC4ctiktbqQxOQOS3rIpPfGFKT4WB9fifogwa4Fn/dffi3vQaRrjb0\nj6jg\r\n=KB4b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyannsFYtsTORB8zmmZCvBWS0dn4SY5TK2fy5mEiJdOgIhAOyi+GraJAEDcXjsa8ZDA5ZHsBKuSjYSSxkbpiX9F8gv"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2e583664_1535678371784_0.7212751053420927"},"_hasShrinkwrap":false},"1.2.0-alpha.0f1a7669":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.0f1a7669","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.0f1a7669","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0f1a7669","@crave/farmblocks-hoc-input":"^4.1.0-alpha.0f1a7669","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.0f1a7669","@crave/farmblocks-input-select":"^2.2.0-alpha.0f1a7669","@crave/farmblocks-input-text":"^3.1.0-alpha.0f1a7669","@crave/farmblocks-theme":"^1.7.0-alpha.0f1a7669","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.0f1a7669","@crave/farmblocks-text":"^2.1.0-alpha.0f1a7669"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.0f1a7669","dist":{"shasum":"7fa98c9e0dbd43c53a2d21b38500cc72f7cc48ba","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.0f1a7669.tgz","integrity":"sha512-75mjsThjx/cXnEADcdoKdoTzYoOMIY3ysAf0iGmZEUIWkN4o8l9K+ikGHuHB9KEUipPZXXAwY7FeanjBFrhMbQ==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjjz5CRA9TVsSAnZWagAAWagP/0fh8DW4Ap9Y4fkAsx04\nQ/FXpkVzqfbcqSc3zh9IR9J1UR2nzoeKRe4/hNismMHJkmXJLcFzRSkwHdE9\nJgHt+8joVS+ZmKctFMbnNufwekkAKK5fRr/yg+mgVQvBkQk8KqjVuGvIaBxm\nHiu5+a6Xez4+9MGfO/AgZDn3bRNnDHbVn2xv1TgGwDQ1L8V4MgfHqxQtO20X\nk7ZJFsXbkQHUru6uA/UYSNJN1FnfI7FDiWDpyrkqikHOt8/wCOxD1DtQJdJg\nkXsAZMAu3YDIHvCBVURHYdzIh3bqNsXYLdlnDwSF/tbpoL3HCo4EfScEZICA\n9vVmEHWJCmDjappt33L8hbaMEyxHJzjS8QyA14TEPQe8eBWmhzPaX4MUuF9f\nJFq4RgwJPsVCPF9TnczuJDDy9+npZJiUVZMeOozKXMdG30t9+Eo1bQ3Teo1R\nvSNOALu8fIhmGAWNMlmLqf+fFlIV1WCfYMFiSHQthneo2Go8AIdhSDFOXCdI\nWLNWs52xhbBRukaIcmQF7E1CGb/Bmnn6rgg+UlC/YVsNahCP3pouxUQWoMOO\nz+Gb+TZecp4Fcgv7I2BPMzcPkuuOwF2qKMpr4h8kMx8bSWO1dwjP39nelehI\nsEMGLFfWn9rka1vLIrp66jI3+qnFRsSHYIOAkspdDVpogzFTzQsXzWMuKpZw\nq3jp\r\n=P8GT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH4dJDOcJU5hDVSlP3FESz/bVyAZbN29Q3oDKOUyBSyiAiAwrQJ/Qyr+xXt6V98lZLWmuHhCiTmHIEeK1AnHP0Hrcw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.0f1a7669_1536048376892_0.4857115252208466"},"_hasShrinkwrap":false},"1.2.0-alpha.8de4581e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.8de4581e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.8de4581e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8de4581e","@crave/farmblocks-hoc-input":"^4.1.0-alpha.8de4581e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.8de4581e","@crave/farmblocks-input-select":"^2.2.0-alpha.8de4581e","@crave/farmblocks-input-text":"^3.1.0-alpha.8de4581e","@crave/farmblocks-theme":"^1.7.0-alpha.8de4581e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.8de4581e","@crave/farmblocks-text":"^2.1.0-alpha.8de4581e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.8de4581e","dist":{"shasum":"8363968a0707dfb105ea4be66d2d2de98cf78c98","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.8de4581e.tgz","integrity":"sha512-PVM0bukRa3ODtEQ6UJiHnS5XzRAom32KLyhZOl+LZ7E9HsYTPXD1gFSg2N4a9NWPpj7PvvMi6Zr88tq982dQMA==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbjraOCRA9TVsSAnZWagAAZKAP/3IZq65XJR5lmbxAas8v\nvJLMdgj6iFdmljtT/4jQ0SK3WafA/D9unPOGKoWo03U3pnou3ELVBO8EbzQc\nTaH9ZSMjkGlwCB71QxFHyX/VyU31B3KR4OT5XKlHU6kCE5BZla2agzB7woWX\nH68Pov5FRlMG5ocPb1GjCtSBzc2KoTyQEmRMRn+hBiCP9t4mTnj0IemNplnu\n/PaoX1PkXbMjrnTArxNAY8tVm+D7FUHdlCHokJTfNbLn+9pYsWzJJeboWqhF\ngQ6BY/R46FA6cm7abJ08Z741IMeWXy1LRGCcvQdHnLkzQOcKgKBJTyjh9Lea\nvqGgSWmhdHgqVfEyGIvqPBtWOI1nxK6reCSN0oj8SXadgAGTRxEmYvE8eZFe\n2ppeOf0wMHF1psIblZplKbVgMhRX/oxf55ye+4aDX7pcpOMiVuv5jTWEBeVX\naR4Fed2Ip7gAzPbSh1jCrh7BDXYs8dNCprMXUbckuz50jBIb5prSIlhfncqg\nGfjP6QVrgC3R3TPVwo8tHcm9qcGdDMlNmRLiYe5ymNo7ifKIGz1RwcAWrZtP\nS613/ADPf8rTDW+kVKoznFSxB2BCIpRMjJ8oba95IWZobfwb2upmNknfXGmY\nE/YMBY9eQUwtidS+GiK21mqv6zWBzqDFgGkRVrOonUy5ypikTCcIgvC8ILQA\n3JNa\r\n=M/Sj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFAR6MgR7PddpAg1DlGXe+RTqNmSTeo6gejCE35bNJKRAiEAr48K4SJmTeamlkEx0db9OMY4gSk9XXK7fQMTf/U5qWk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.8de4581e_1536079502079_0.7401796655377004"},"_hasShrinkwrap":false},"1.2.0-alpha.89fea527":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.89fea527","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.89fea527","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.89fea527","@crave/farmblocks-hoc-input":"^4.1.0-alpha.89fea527","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.89fea527","@crave/farmblocks-input-select":"^2.2.0-alpha.89fea527","@crave/farmblocks-input-text":"^3.1.0-alpha.89fea527","@crave/farmblocks-theme":"^1.7.0-alpha.89fea527","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.89fea527","@crave/farmblocks-text":"^2.1.0-alpha.89fea527"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.89fea527","dist":{"shasum":"e347d5cac2d3a931f8e9519a6ec1f5a7ade9c7e2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.89fea527.tgz","integrity":"sha512-2uw9CpVEkqbQf3s9UqmlKDszsn9sD9/2Ilk0dC7y/Qf/VJItz/H7jN8QLuNnJjz1+DH/BsrSMEYQvnYtqIXzOg==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkFIqCRA9TVsSAnZWagAAqxQP/0N/XOzBXphTGnSW1J5K\nKgB7AV3O/d5QukfFq9arAKjVmwVQf8d3+9P3PcsOvbLP9NPI0Au3RkkIuNxu\nAw/wozQh08WPGHm3aTmxtAd1ABch/q0yllVwZ1WACGBarVn1svt6TKNg+k4p\n5+e5seR5YIn/chNlOUI0vzfjuhPmv1fYTovVDAnti3Hy/Z3YfILtCBnzzqiL\nPe51mWbhnQfiGTNprNHqpmzIH6vY9Xgl9Ms2KLVh1DyCNp3bJZoklirECzYZ\nr26uQF657dXIpqmzYM772KIy2R0DyhGLgJBy1+AOUcHfyyOK0JNUjjp8kHDZ\nRMuHejmzbnkQ56jbz1YuB6QRyYWnF/N2OLwxzdIuuC+ZdYgUrCtFahhwHdcF\nY2gqkXW/ywsRTpEoLFEHvGKNcdWkMkCxzRwwsqozHVKBMeKp3w5VRTY1/1jC\nhAr1dBzNxMhNFmAPLpLl9FXdOIWxVk82m4901tx0ceHVF1tV0WjQv96L2/sK\nVfkPVSqdxTxx1McrNkSg6KofD6euwO11sz1Q5ua+73MKvrrrCj5EihD4GkNx\nTQWSFIBpZSlsIVUwHSEstHne3/zM4c3tx8VujIvUfAbHp8RZb9dCI8WAXZVP\nhR1O5VqauEEriabZjVHZhrYpVoSyxel9JbmdW19QGpIvLt7u2VTtV3C0WWJ4\n/r3S\r\n=rxOT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDcGLXpn4eW0dCU/K6fG0gixkHrOZpdx0Z92z8CZwl4SQIhAIz4V2KIM5bveqWDHbSIYQP/WdMdn2cTrRiJwrtW9fbT"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.89fea527_1536184873843_0.1934771310631911"},"_hasShrinkwrap":false},"1.2.0-alpha.4222e148":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.4222e148","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.4222e148","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.4222e148","@crave/farmblocks-hoc-input":"^4.1.0-alpha.4222e148","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.4222e148","@crave/farmblocks-input-select":"^2.2.0-alpha.4222e148","@crave/farmblocks-input-text":"^3.1.0-alpha.4222e148","@crave/farmblocks-theme":"^1.7.0-alpha.4222e148","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.4222e148","@crave/farmblocks-text":"^2.1.0-alpha.4222e148"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.4222e148","dist":{"shasum":"b826065b7f5d63a723a0657f2e38d960c5bcb3f4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.4222e148.tgz","integrity":"sha512-h80Plmi79qQseUgFrbjjfW6Q3oLJ0XZETjVUnsF6mL1G4AvF+AmoVfoqSyGf5fkTowQMsOMFO8uujbIQQKae9g==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkGxeCRA9TVsSAnZWagAACFoP/igQ1iDZORXaQwYmCQaN\nY9pNSkQMWWGNZwXfb1pKZ3z9uEN9MM2jkTdU061dqENQZstM2ZB3Yy+vkuCm\nhbbHAwHY1SKWe4RHggmbwrBpiPDIfcDcKFd598St/J4HektIJtu48S5lFPUC\nW4s6T0ScSCUAcZESDgzNHb9LFfkWK/KZHV+MJvq6JnB7+at0GZIN5p0aIhGD\n68aQjNAQnt8X+ZMyIb7tRfMTEZg75h4/jWOmWUFFnZVGeB2pPHl3Fy3RdQE0\nZXdJ6EoBhNTvnRUZQJM0nSAyqtMiFzwB0RG3RzYHakkvqUPC9F7Zk9N4C09P\nj1eVHpts2m2LVbY0G4JwQSkj5shHxI4kgsPdh6xfpjOc7U55HSU5yCINIBr4\npi1JAptt7DM8vug4uGvJfWi8pzWYVjke3QtBlh3kUvP0c7X9wJbB1rhJVJmK\nN7xHNHg7mF1On2+3Clk6qvX9EXN9UZzolIbfTHXw2rQFS6AWFlNdvovgF83Z\nTTqpnxlYP9bqx/kfxDvuzoy6LtjuVjlhJ+lOJeVnnd3jFuqtkqZMRI6nI5lb\nAGJUw3UDw2GdN5QLK1e5MuCkz+uZdwIlSL01FoS7d7LPILv47vBdWHSPKvFB\nlTRTHyA4SpsWsm6gIK9B61VfctmMHshDgd4lCO20noMQSJFlZuEepEOvfsVR\nueW0\r\n=6rYX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGGx2JUI37NEBrpkfJ7uja4ds/rgUwMiaf9O/vbpqRu3AiA7vIS8TpmNLbyf5I1bCQfEFmQVWIrq0XhHk05uFTadiQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.4222e148_1536191581663_0.9445386560838411"},"_hasShrinkwrap":false},"1.2.0-alpha.029d6c67":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.029d6c67","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.029d6c67","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.029d6c67","@crave/farmblocks-hoc-input":"^4.1.0-alpha.029d6c67","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.029d6c67","@crave/farmblocks-input-select":"^2.2.0-alpha.029d6c67","@crave/farmblocks-input-text":"^3.1.0-alpha.029d6c67","@crave/farmblocks-theme":"^1.7.0-alpha.029d6c67","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.029d6c67","@crave/farmblocks-text":"^2.1.0-alpha.029d6c67"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.029d6c67","dist":{"shasum":"ea2615b3307353cdec4c067b23a57736878b5b22","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.029d6c67.tgz","integrity":"sha512-I7Hk8wP08pt2QqVR/aY2ZyoFC08OZTvp980+QRV038waO+MMlDsrraTrPXdm5vF7DwunIraNXQvT+2M29zAawg==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkTsSCRA9TVsSAnZWagAAqV0P/3d2zDiHHzWHMRQ5wLt4\nzODnhJgGaI4lYeHY7LB7yGqto6w7ves9oNlLiJP3XgLpgliWHO/Pk7OgDLMu\nl1EipGm9QHMvSR7I2Q9EtmLWwPZLbmH0+bsbltcy5i2mTmlZos351Fh+Mmoz\nsflvFrdtlfbNAWhHBOsQFDt2R1uNdg0dxAy5Agd3FF+KX7ciubRrJ7cjEewU\nYI6nNFK0FY5cdjAldmYdWTyao8VTCZdE2K2S4peBMCM1CLCQh7dOsqhLI/2p\nl8ASkN/ZRI+Xy7KF41JBHCjwEx2SRaafvi1IeEZoOXN29v59L4TzM0OM+Lfd\nvPDItxRYxCTjyRGTcWJFPB66fYxUDaFxWARXAYfM1oKd1tPhNTz61vV1I6Wg\nWrgO63GsNAN2CV3CniH2BskcpFN0fCVG30Ofai8Bb+Ow2tufZvb2BQFgI8ye\nAz5M8TnsEbUatsUtBFqoEB7D+G0GVT26SddVNnM79y17jBZDV46MD6ZY2/xG\nt9ow023oLljD9fcm2HIebsTWYNzuUozLiYy6RDm7vXrU0lrC2cojJFPlaT3y\nUFopVzTn4tx7uATRWgt6m/D+IF7gREa8+yjc1szChguq7J31wjqYB3UzAXuZ\ntI0op2JbTWEYj1ywgVv/gzl7jJcR4wOOaEeoJaadrL2w6nCB6zXDyD8GGmlI\nrs4g\r\n=JLHx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF5GYPSrqukGvJwY+mdMSp1WKFftRRQu/mYjQgxParNsAiA3YseLX7hvQ8dyHG6x7r5jqhydLfsqSD/isn+bv9kZbA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.029d6c67_1536244497995_0.916221675452811"},"_hasShrinkwrap":false},"1.2.0-alpha.62b8dd7a":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.62b8dd7a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.62b8dd7a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.62b8dd7a","@crave/farmblocks-hoc-input":"^4.1.0-alpha.62b8dd7a","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.62b8dd7a","@crave/farmblocks-input-select":"^2.2.0-alpha.62b8dd7a","@crave/farmblocks-input-text":"^3.1.0-alpha.62b8dd7a","@crave/farmblocks-theme":"^1.7.0-alpha.62b8dd7a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.62b8dd7a","@crave/farmblocks-text":"^2.1.0-alpha.62b8dd7a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.62b8dd7a","dist":{"shasum":"afb9f9feb8a7f935cdf175eb2718f435c377e7fe","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.62b8dd7a.tgz","integrity":"sha512-SzmWbPOZfVSeriliGniC2fhpnFicDfdgx4jRiOl4gYKrpIL8gBuw5OW+TnYNNQ5i/AZFAOs4Sa9mAfVTuHEYAg==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkT+mCRA9TVsSAnZWagAANNEQAJqKIQZDjcHszH7l35F9\n04hf7Yt37NqKcQBgexRoMWNltYWY5psTijgexAr6sAUeE3P5AkoZr+y146Kt\nd5L8jWaIkoWa2NNaubo/6fWjrNM638eE6W5KxO2C2BMlzqQxx4/cy/jOLSY7\nk8U9JG7Wy61tLCZTVy2xu88mmkFyRzIgs3PPXRJESSinZWm5/xUAMxxRBp6r\nMILHtvMNORNrks849odTtoxendQWwP+KL3/dThtqsmig//i5If9TEI4/JZSO\n4IOLQ+sLNN7Q0VNfD7iepZMQAfgtbB+eQ3qm1oCRQr3ocizHLFxCvR7z8Uj7\nLMVbQaKwE0ESH7z5ZCu+Um04BkJKeoimmYtWtj0UU8DHX1sDR+iMmpJQeSrF\nyQhBJcKGJd9hXg8G93CnRNy34k63fMDnaqXzqXE94Q/vK1GdX4EJ0eHRT4q6\nR+eB+xbfRDdpesPZjeSdZUcFEbA3hRp+P4s+rhA4GTsAPQypos63mzGxceNO\n6kgCmR6DVubtm/AyCRRkbxRkAP4MhEGsG8WGXoY2pO7KZU0K3JZ6a6C9YBZS\nQ3ZL6lds8vNX8brGxwOKhRyGljBxE61k72Ji14olzee11mNzkaxhQHWkzZb3\n/JAxdqgWcvBxXYgfLWkXYeMVwG/3f+Nm9925Z+pwZTSIb0Jnk+uAVQm+gcYP\nMGmA\r\n=3tQP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQ6XM+8+TsudxwF+gFdZmCq+f3HUgDlldo47BSEk62+wIhAK3ZAAHP24k3yQQDpjxpxJ/lAU8qh5fOnrelo+aPBcm3"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.62b8dd7a_1536245670172_0.18083074830167"},"_hasShrinkwrap":false},"1.2.0-alpha.83e3ee86":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.83e3ee86","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.83e3ee86","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.83e3ee86","@crave/farmblocks-hoc-input":"^4.1.0-alpha.83e3ee86","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.83e3ee86","@crave/farmblocks-input-select":"^2.2.0-alpha.83e3ee86","@crave/farmblocks-input-text":"^3.1.0-alpha.83e3ee86","@crave/farmblocks-theme":"^1.7.0-alpha.83e3ee86","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.83e3ee86","@crave/farmblocks-text":"^2.1.0-alpha.83e3ee86"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.83e3ee86","dist":{"shasum":"c955d879ed5305823e91c4e6e2c322b34259d040","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.83e3ee86.tgz","integrity":"sha512-d1EGAsg4+shdEn7QjxvLa/OTLZ8m4/r9KAJLAI+NkVILgfXL4faABxvSH+ImTtZfDaC9KyNmu0RelRvJ5VGyTQ==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkT/bCRA9TVsSAnZWagAAK+sP/1/wL0F1GG7d05d4MzmQ\njvn1Ew1bdKWJjpaDgMoVeSxa6heeyODKCOiSd5VmlkOyNdhcgSIr2f39+Gct\n1wLa8HEMGbO4xbNkL7wwQD2JqpRDuMLS6YplT/J2FqpxHpxz6lmlqoM1KAjM\nXgie8pYwlHIWetL8f+E1+5UzxDZqDUY0AfV0/sQ8ffrb22w6eQadCO/y00V5\n9L75qFMycJysiE+2vcNF7Q2aeBxxD2iMr/BOU3yi6CwkqFRD0RlTl/dfn0xR\npmp0cAQg1c8vXGFSxNLzWjUuz1SUdqQ2nX5hMiZcDH00Ux9stBpSmGYZfPZn\nl+QvypPuBOfaHIcLlRzNlNaa3SXZty9/8RyzC8gsjAcbgNUOxXFzF9U9PIqZ\nD5gNJnaXvKR0nmZHLaQJmGkNQjuRv3Bh/0ZXgssjgw7fwuTX0Qy0aXlE+ArQ\nUUfKsO4O2FrnMxuPhlG3G47PJoSw656Ja0IaNxGGWSSkc9FCuFi6esdGTble\nEPAGpfwpQO0ZF2DoF0T8uKHg4eTNGcOGMBOx3ZpC0RsS6DK3GVc6PKZBzKaM\ne9VC0jeUCh3D0jqZbBTVqrE5GNt1wzYhSqSIP8iWSwAtd3fjcaqiRRvVw3C/\nP0lTKiBcimBS8GdKv2GlHRHp9Bz1uVL19ZozQeCs7wZBuNkX0b/2x5sw0psF\nrgjc\r\n=lmiK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDepr83ksXEiHqw1LQs+pVmlxG+zO+62ELw3RgPyT8qswIgK4PT1nVqX03oWSZQOXKLxM9ILg0RPxGgz6Xe3+Blgu8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.83e3ee86_1536245723040_0.22535486088541967"},"_hasShrinkwrap":false},"1.2.0-alpha.a3bb9044":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.a3bb9044","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.a3bb9044","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a3bb9044","@crave/farmblocks-hoc-input":"^4.1.0-alpha.a3bb9044","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.a3bb9044","@crave/farmblocks-input-select":"^2.2.0-alpha.a3bb9044","@crave/farmblocks-input-text":"^3.1.0-alpha.a3bb9044","@crave/farmblocks-theme":"^1.7.0-alpha.a3bb9044","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.a3bb9044","@crave/farmblocks-text":"^2.1.0-alpha.a3bb9044"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.a3bb9044","dist":{"shasum":"f5adc67a18c2ba2cc48f6d51135abc4fa804bac7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.a3bb9044.tgz","integrity":"sha512-ZsxYroPZE51jz2aO2HHhJmXcvdOhBN535N34B7iD1QfbcDMISim4zbczskRxSuqcWOzYcfz6Wi+CRm+YRVHdww==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkWqoCRA9TVsSAnZWagAALn0P/20xuOQe9fWJqwQq9Raj\nF30CEtwkJZ+Sk4Zn5bGHxMxtjcKkLD8pAlxoFkTf8M4WXL1lAbEUvg96q5OO\n/IF32tXJmdnaj7UrJK8RaO0JUhC+erHD87QbKkRt3R+XIRL52yTm2AbxfSHy\nP1BPBhgWYprWl5Suc7tOdhHgC5jD7jW8P8hksihA5K6K88bYa+pCMDM8wV6f\ncrbCWJ9iuJFx6lQipwIz6GR/vQvYCQqk4qiHZGP1PipRNt9QEpwhcYamX88Q\ncLTUls3PaMBRdOzJLQ/YVrLq0N/ov7AdGWvXUYDNde36Wdo9Tp1lSXv3HTVM\nuKS/6Bojyrdti4FOHtoyYLNSYZLKI9pcslGaWXlwKlAK/igTjp3BLJTGLSlm\nMjGMziA4FVD3FS3CV2bTkcpnbQaiYiVDeOOsMzCXMKf3bcGLaTBjVYXqDV2E\n8Vyfpi/G0JhqwI8GnKxnv/EUtwjkJctU5yougYBQMZON91TzsdBGeryr5SXk\n1VaCPZh3o3vajLmzR/SyBsIvm5rNEz1HYVgQYOoZpGqvSpBkggHaQZJ3h+0u\nC3dtNHJxD7ctD3NtE0XmFqcp0FVy6+VFobryQgiRAZ04qFv+WtzJQYFXFsC3\nHnmaNIDZXCxfKxCw4pupOyZf+BNVkvdp+I5JGOZNfxg5Mxrru7LP6oqAvezT\ngJUn\r\n=e41L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWlaX4LyU4Iz2ZCtxn9v6oYKwEb4tRXy7f494kh6QkXQIhAPPYoMfP4hUBVcQcpL3aHDgWh/KVDU9NAOx+sVnZn/HL"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.a3bb9044_1536256680238_0.68786478340893"},"_hasShrinkwrap":false},"1.2.0-alpha.e665f260":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.e665f260","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.e665f260","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e665f260","@crave/farmblocks-hoc-input":"^4.1.0-alpha.e665f260","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.e665f260","@crave/farmblocks-input-select":"^2.2.0-alpha.e665f260","@crave/farmblocks-input-text":"^3.1.0-alpha.e665f260","@crave/farmblocks-theme":"^1.7.0-alpha.e665f260","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.e665f260","@crave/farmblocks-text":"^2.1.0-alpha.e665f260"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.e665f260","dist":{"shasum":"c4e9023a28b2b632813a19038c4e4001bed01e8c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.e665f260.tgz","integrity":"sha512-NxMz59Q3z9Pn08ccE6a/KEEEcSGL/K1oPZG3dhHvkxGA5QS4B6quUzRmKZG+MYca7H6Pspvm7TRg8yehAtPP6Q==","fileCount":15,"unpackedSize":42814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkW3LCRA9TVsSAnZWagAA6XQP/0xrp3CGNj41g2CyMaBe\n+GocKLznUzorVagygJvm0WO4oygaojgg9OhtA3VTG322wOv9bnaVkPYH+bmI\npb80B6QY8drDHX1BAAvLIZL+uw6SpxVHM3fHAHW0W1Fa2ZZStUcWM8FkELYv\nvaWBF96WwjJO2Su9Kdik4uDE42mxXEC0Ifyn21dDWNNh7CDLWZzkFwZ161wl\npp0cYyrbLou6+yChd8HE96gh239pM4Z74PvmcQBtd43/75+C9ka78Gakape2\nGG/OYmXQSFR4cGgixRmyGGvgzXdRUpjNauPQzzbT5I1r+Z5OVekJK7A0t+sI\nbYWRN8gKxwXwYnqqX/qAyZhtEfI+79TR36Pt+6i4N3wlDSXfswpGe50dZNtk\nKM0tFq3bI9nrdJmLkiMbk+qk8r5WPY3LASkK9McTrdd27gFq0nQBZSgyRnl1\nJeJoA/4HzWSceZoOK9FocZHSn9UMQGY/Wah8zcRhZfKYotWKlfqyAbcM0UT1\naMAUdI/CKph94n5LAB5y+7YblrLq3qDojajKj8v6o64QSqOyX+pPxEWWsbQY\nBCUoDsWHCGE9INpy2mZTyXIbOXppNwIAO8QVW1pT6yCFdj/spVpeEhO4z8p+\ntyj/Kqvaun9PkshLrEmDW4VuylQei2/w6/ZxpEyuLe+3quXH85EZnZs4pAAB\n9yEz\r\n=kAmj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFoG0pusMl9FenbKGKXqYeVNedj9Ea4+P9JU8vezPZcQIgQP/wtvP3rznemCpQPj3HCHynh5Rh1elDvY+xXMfgRDs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.e665f260_1536257482885_0.7907555588423354"},"_hasShrinkwrap":false},"1.1.16":{"name":"@crave/farmblocks-search-field","version":"1.1.16","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.2","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.0.2","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.1.3","@crave/farmblocks-input-text":"^3.0.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.0.1","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.16","dist":{"shasum":"4303a48649da2cce99222cc51ee24fcb0e996f57","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.16.tgz","integrity":"sha512-z73mnxknpZ0cDkNpUhhLFyRu1MhXCVFqo/UakigKncG4opoAWSXWA6Lwxw26msdoADAv8N0JuUV08UzSZQuIMg==","fileCount":15,"unpackedSize":42624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkXXFCRA9TVsSAnZWagAA9FcP/i5bN1lYSRvytdkWhuRO\nUCBLdV/y7RstlKMpo5iMYonU2WKlqxGFqoYZajDPPPmyBRNG0sAt0Xr+YYbH\nYu5XgEm7b7OFmw9fMTVchU2m5x3Jyb+bwQ5HacY67U0y3y7o9oWFyJR2gRPt\nddKaWolNH5ommVunCJuURucCa3OnKDQSWozPdiLa85X+gT8P6zsdvVNHueq9\nx1GRMubKhSiOF5JbiFw0+E5j8FGCnir0nYMshh6fz97iajbMWB5RTsHvY5BH\nFa8MZfGhcUFTAthhkiPNvCbNKzsBeS/cy7K0KbYvW/hlmy+UKdInbsdLDV15\nFMRtvdQfV6lbmtlZIFaws5DAkeapnxuD2168rf3vZ/eO0nSIuNVBniL5/6Ax\ndDrhXUVuKWonXZjnEbTtD5cNtNwh2+tuzSg8r6V3/py4YpaGFs05OlbqfMYw\ntag0vOH0liODUcS/QcrcFOzposuupF5XgoJhsAnotaBtZBjRA06d/HLME8iT\nZmgJ0MgG+Yy46glP94YcoPPmZFA6aZcAFM9vTDCPyu7cJEpLljLDZaVCL7A3\n6hD14xjOeJvwYzuR3MYeZSl9pfeP1AOA3oQFFXA4TaXDGH2xbE45p3MmR9MP\nptWy+MpclkgJo6zpnbujvQm9Ijqv35ppHlgq9KOZQFblQ5AKiW3S5m29tt+G\nWRf3\r\n=ChMJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL5TY1bEgwyK0Ze/5NjpsJ0jf2CySwb/kxgVZxo8SR9wIgc+lL6/TkoDU8feHLKG8AdFIvuZqREfPW8lNdYnqpUDI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.16_1536259524933_0.12097033686669056"},"_hasShrinkwrap":false},"1.2.0-alpha.137006ec":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.137006ec","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.137006ec","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.137006ec","@crave/farmblocks-hoc-input":"^4.1.0-alpha.137006ec","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.137006ec","@crave/farmblocks-input-select":"^2.2.0-alpha.137006ec","@crave/farmblocks-input-text":"^3.1.0-alpha.137006ec","@crave/farmblocks-theme":"^1.7.0-alpha.137006ec","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.137006ec","@crave/farmblocks-text":"^2.1.0-alpha.137006ec"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.137006ec","dist":{"shasum":"195aec705fb0b34665ed501cb6149d3fd7a9b2f2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.137006ec.tgz","integrity":"sha512-Kz2cZAQCdPCW5Ng9BnArR2z4Zu1vHBr/2QY6UA6slxjpcqoieyzIUs2S0TdkeYLVpbBFdwcEUptj65kVIUSsTw==","fileCount":15,"unpackedSize":43064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblpPGCRA9TVsSAnZWagAABlUQAKHldC6boR3L+s/lWJ66\nS4zBkuZPRn5737e9kIuutLt7V4US8xL/c6u8/bHLZBImf4a9qkw/w6naCjeW\noS7IKMVbRE96TdAI/3Dky+Cf9mW521rhciWM41XMwlrC/GypnW51LkbVfblQ\nFi/i1BOcfCpeK2BNFDiFFsrEKswL+89K9WhKqVhv9cpD2qZ/7n9nxV/Mq8Ee\nOsubCweCJ7O+DTjX3jj1n8ewBRnvBSDVazBIQjLq4zGSfd0U3JO07wm6/i+Z\nkY259ALstLTWqWS8ZHRrKncj1CfMpUK8FMSIjn0nPVqtTqeoPOA1GzZ6f2Xi\nbJqIdmLmY1u6oLcKVUBC6VEhz/g/Ku+5F24MLGyKOGvuK72vo1eBDWirJHZD\nirHQP4nxr57XZm10rsAEWvYSZ33g5L3u6Y1js1+sgZdeUgV6QSAIYRDpqpC7\n7pX+ZPW8xp33+GQwf2nqEPpzhSkDE3/EOK4gFknr04narvs0mzfbXUN+hpS8\n5jLIeQcUeMExIofuIxppAcF/eT1MT/3zCmEEBfNBl5xXN4phLjVwe8OfXKL/\nMr3Ew6dU8urjYiaqQYyKpmie5ocqa/3tzpD4B/iBYZWiN+IH3gwkxMYClVPK\nKz0fUq1EDinrJi1uqXX1Gt2eo1WqBe7hU00JyYQmp5cJBfkV1Yt8Ay3lCgPJ\naBW/\r\n=hBVz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAnvO2sKVcs3XOLO96q9KnKQTOQs5IcCQtm2qmc5DDSzAiBxE6CHV2R4EUDuSqmLldQZCmwHFF6KHEO/22pVHgSAdA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.137006ec_1536594885301_0.5613260759310514"},"_hasShrinkwrap":false},"1.2.0-alpha.16b39aef":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.16b39aef","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.16b39aef","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.16b39aef","@crave/farmblocks-hoc-input":"^4.1.0-alpha.16b39aef","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.16b39aef","@crave/farmblocks-input-select":"^2.2.0-alpha.16b39aef","@crave/farmblocks-input-text":"^3.1.0-alpha.16b39aef","@crave/farmblocks-theme":"^1.7.0-alpha.16b39aef","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.16b39aef","@crave/farmblocks-text":"^2.1.0-alpha.16b39aef"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.16b39aef","dist":{"shasum":"d259efdc9afc9a48592f5bbdd401d3ae2f3d24d0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.16b39aef.tgz","integrity":"sha512-Nqyw33iyPT/tHBxrh0Jx3LBhirjm7WQ9EQYfKqw9gwsymvQzgQ58gj7wVpaE2n3XLvzx+YCz7d2i6ysDUs1CJQ==","fileCount":15,"unpackedSize":43064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblpcYCRA9TVsSAnZWagAA3UMP/0dfvXHLwiznYwf/4iIT\ndD5vaQNja6r5cGamtXtJxMCMS3imSY3ixjS6u0woRJrzUAjxBxJZKgdRwJx2\n7xS3mzqfql0WkSmk9lhOFdqmW3wrDiJEtjQDfIR6obiHFmvx3ZLMsP0rFE9G\nuBzyvMxdmm2VOMm1MakAamTl1o9ktgytpXjZFfH4tE4jSZiST/oCFpDwEbnq\nockgD22JPS6wUiLBFTYzaMu0b5EuOK6DsguMECCbYH1oR86pj8SabzmH8Xox\nTWUsJolo5cCfQL5DMNbSBp/lSvSSk16/uPlGFX09gt3fK42Lgd60S8SECJRd\nTwXWxL16aoHqk/m2wqVX8YvUmd6srjlqEcQJr6v+aViez7lsgNInindNbE9K\nY0nm56MINWNc0P6U4gkfu4gR6VDKTmJDBrgANSr3VSGk1OGGJiOeLzth8sUI\nlb0tGwUy+dsYsTy8OlkbnmFsuk3C8u1E2hQTR1RPOxRRCuUYJgTo8h5+I7Th\nysEPd7TVhiAbvhDHmjWiszlhC9jT4UtQnNdqe3JU625sVh+cvySj/UqPqRtT\nzV6Pmdm41/Lglw0gGQCdUwp9wbqFjQ9m9Kem4TvbrPcQ56wo6LkZi9H3ikou\nzsyW+G4KmnpyXcGyFN5Tjk+HByvSuPJ/6U0zz1P3Wiv3U0SdgwXhRE6pZCZ9\niM6Y\r\n=KdnI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwIcFwJlsdqa8MJrHxFwAuQ3NEzIbc+eTuxJGg/9wDZAIgHBv0Za7Aami73ObLus8zmjF8Iu4uqGaKfQ1srN//Flc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.16b39aef_1536595735567_0.4021905257002445"},"_hasShrinkwrap":false},"1.2.0-alpha.ae5fc0ce":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.ae5fc0ce","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ae5fc0ce","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ae5fc0ce","@crave/farmblocks-hoc-input":"^4.1.0-alpha.ae5fc0ce","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.ae5fc0ce","@crave/farmblocks-input-select":"^2.2.0-alpha.ae5fc0ce","@crave/farmblocks-input-text":"^3.1.0-alpha.ae5fc0ce","@crave/farmblocks-theme":"^1.7.0-alpha.ae5fc0ce","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.ae5fc0ce","@crave/farmblocks-text":"^2.1.0-alpha.ae5fc0ce"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.ae5fc0ce","dist":{"shasum":"2a0f32b505bbafc43c8a37dc77a971cc6275a8a4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.ae5fc0ce.tgz","integrity":"sha512-Z8r2f3iSETocNMEarRjHSxWd8Q5+9CQVQ0936xOF+V+SZ0j8HSszpHq993OrUhHwsUAOHbxlDPi3gBAqk3fbfQ==","fileCount":15,"unpackedSize":43064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJblxjmCRA9TVsSAnZWagAAOi0P/iwzXME4ScrRFk4BzKjK\nzdsLaXU90Px61vwF+1Wii/89tXtxQzwQw3cYCpn52Ik4yAm0yD5I6+j4QCVY\nBVACPT196nChOFwEgpXfY7W0qsQ/RGq0LQ7G3boY3AqVxB4hOQ7pju4OAuJZ\nfs60XyV9vYKuLc0jrqOi4kFZlFX7MkkL4pGTXE0Eq2vAovcp/YMQlcXBBdcw\nK+snQ9COWaWLmsTO9xSorbedT/Xk8CUwyexc3atx5VVgMeCFFPYFBmyDyVFS\n+ikvwLNPGNAMSKRESsd44jlsKK/aY6jX/dPNYI8SWSxs2A/RBn7HcmIwuY8/\nY0D2RfHb0Qkfy54dGnycul6adsYZkj0ZGRkyfPRFzZ362rQwemj5Bq3sAzxi\nH1n7hJ4rDU9u/dUrYNtcA+xx6FWAy+zB3V0QIVYML16XaAIt2OjKnXvS6hHv\nT6MTu4/+B+TTcanZGcFK6cqUC0hi6LFeMUTa8J/S+Ujv6W6UqcKaWJRE8fue\nKlQmDFDEONsiLnMSuvuwC4P//QQVD/7Wvnz3BoXG8tAtcw4H7HCbQZOSM0WR\nxgvWZY/oMtYPxyKpwQdU6yKoOMoZyzKfYyRsF+A0zNCyxc8OHnnmDiehPivV\nAZb3wopRKlXealW0AJW5gS2nSO6dI2aaSHeUp9ZCvI53d0TJEV/JdyzdpfA5\n6ML+\r\n=Cbuj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDXi3ZBoXI/ySDWlIKbQaBHslj1La0YUyKUb7dkDTQDcwIhAIx3MBTOPHLbD5SHssfwOzMz1GHlWRBjAxEFH63gypmI"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.ae5fc0ce_1536628965852_0.22864275780201515"},"_hasShrinkwrap":false},"1.2.0-alpha.09d24d88":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.09d24d88","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.09d24d88","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.09d24d88","@crave/farmblocks-hoc-input":"^4.1.0-alpha.09d24d88","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.09d24d88","@crave/farmblocks-input-select":"^2.2.0-alpha.09d24d88","@crave/farmblocks-input-text":"^3.1.0-alpha.09d24d88","@crave/farmblocks-theme":"^1.7.0-alpha.09d24d88","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.09d24d88","@crave/farmblocks-text":"^2.1.0-alpha.09d24d88"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.09d24d88","dist":{"shasum":"88e78df71840eb15127d2e607b835b2d04812dec","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.09d24d88.tgz","integrity":"sha512-8bTN35UzRE5IQ7A8FuK2AK+XjPqm6e1jaZJ3J1Q6kBU3c/V2RBx4D8+zGzP5FB1rpgGh/TrFwWRh4KQxkQaF9A==","fileCount":15,"unpackedSize":43064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmAZGCRA9TVsSAnZWagAA8ncQAIdlmwt8pGM+eIt4idGJ\nAhFCFFfVntDWGPXDtrsZJuCI/vULCUnrRyIaPHi6Jji+345US88ihq5td/s2\nmfyBXeHJPxC+2rgIqJ0sYuszYuMEe3pIISaAcouMLzXSIn7ya+8R5TBHB8Na\nskP0rqWQRhpJ4YC/uO+9R0s6S2wxNkhy/XfLLr+QaY/99GsK4ZZY9lrJsH8Y\nY33zbk/TJ8uIKEE/mOX2Yv5MvZh3URgo0Za9nViz7BwCjKHDHnRjkCe4q88Y\nSZII/Lrd7Np2UIM3YoThyc+IedN8qNnnavTEn+Y/e7sXYmrknTCM/kE3PsYR\nMpyr8EoJmi0YyXYS8UhU+o0NQbUCKgshemP8g3/Z9chf3zafcxprn04P8Z4q\nX6dlpGK+phyMhRZYKi6AZyvQwGOk7ymK4Uu/2Yq3oqPWE2OduaOhFDRzwAsA\nwbozUIwgzSKYbB3kAvGF1uiwCUplQ6bhjSAkSF1ejwAwm2bhrlDH4IE8cMXO\n6HLtLdTFYQc6m4/NPpf0PRi3ZvL/PKgq8IWIEBwcUfhxg1QqpfuMxH5XPOHz\nDUbD+B5PSuX/Hk/WPQGWrNII2Fqe/QO3c4F6mmPjvQMf8YtaQx9muR5EKVqS\ncE3Tus7An+rwIMQqd4oVWBNeSq6wnmcWLBnypu0mlfq+2bhOBww2S10FhYPf\nIsEb\r\n=+v1y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDmR7KDuhx0ScNcPwSmz6bH9jA0WZvazBOvGeQB/RtkTAiEA3rXRH1/nKi/SNArxELARzqE7oxwUOsRpZ4zVfdcjDBQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.09d24d88_1536689733667_0.5105297729586804"},"_hasShrinkwrap":false},"1.1.17":{"name":"@crave/farmblocks-search-field","version":"1.1.17","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.2","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.0.2","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.1.4","@crave/farmblocks-input-text":"^3.0.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.0.1","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.17","dist":{"shasum":"c7b1bfd1c4114b19133ee757ab861a5e33b82784","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.17.tgz","integrity":"sha512-jXOVbt8KvZ+fG4VnQfa5qLRGuuQGCgmGVpgkJ2j8WAXtAulNMFUnlSULMAsaNBD2gG5vcPEzeX6zn0YRUsMTcw==","fileCount":15,"unpackedSize":42874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmApVCRA9TVsSAnZWagAApnEP/jo8/tDc7dNI18SFYnIZ\n//CDeKkSahapAaNhMBFO/rrCcEyiCZszkygbuWL3kRH3ydT1rudCbJx6H30K\nrZM2AFx6ViD4a3T/ijxcstP6GBFqsFiL5mkUxHMKTCWgQlqiktOLzFwZpAVv\nTWwYQ3LKuDFZL5JY37NgArQ17vLMoXTFonOLLACSj00NwVznnnP1ojwskYYH\nhZFUufK4LnU3Agp+CAWRP+tNs7pVXUKZFu7vv+w3JlN+NzOzDlKkBohYoxyu\nF/P5aUMxq9lkf5V7sQA+7FYaJ+Qi5W8pooryEuMYUSaC01Jmn27vtQzK4ZHZ\nwEL+OOaz/M0WJADwSLhS0TcWSjGz1SJhfBiCrA/mk4VJP+TCBYxuJfB+iZzX\ntlvkgQ0bwbi+Yz66kJZba9U6S5aL0to6qG+qTijJvgaThb66oJy2l1p9Y4EY\nSCE43982wuQyC6ujSt6sTbVNHkea0MEaYCqcJ8Yq8PuA8VP5NaNw4NRi9QOt\nL0l3y6T140BqWDXIZLHMsEx5/FcmeF6vHMpRwUN+gjqo980dDKkNWcRzUqn2\nxtr/xqYqyqS92aL+Y5o2jH2Un90WKlny9cWSGEmvVOfBNHNoIdhQMdqA96dB\n8b0Nd0Pon/HFb7zjRxCLlwNSCfFKNLpVQCP9nwRhQPeEzQR+O9KYVt8ch3gy\nijMT\r\n=ocmD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgVFIgUxU0t3vaLqY02Wnpal2L+z4E/jBwMloVrTqfkQIgW8sP1W9D39dgEtJ5YFqnKte1KdVeDcsO/2LQozFkSwc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.17_1536690772964_0.9802826919268863"},"_hasShrinkwrap":false},"1.2.0-alpha.2405e027":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2405e027","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2405e027","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2405e027","@crave/farmblocks-hoc-input":"^4.1.0-alpha.2405e027","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.2405e027","@crave/farmblocks-input-select":"^2.2.0-alpha.2405e027","@crave/farmblocks-input-text":"^3.1.0-alpha.2405e027","@crave/farmblocks-theme":"^1.7.0-alpha.2405e027","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.2405e027","@crave/farmblocks-text":"^2.1.0-alpha.2405e027"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2405e027","dist":{"shasum":"29ca54e94956ccb1f4f44376dcbf44e7bc041fce","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2405e027.tgz","integrity":"sha512-NZDyLbsTPMpOHEq9PgYdJaBw5gvgQx6qIR1NWnzsYvX+HOfCFAOC/KYoqnteguRVdjl1nJTZzvk6gzYM51fMMQ==","fileCount":15,"unpackedSize":43314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmVZcCRA9TVsSAnZWagAA5qMP/34NvYTszpRHjKDM9q6W\nBM3BGr8zaBct9y43xssukXz0RNJx106AvcdKWlliA4Zp5oLXP4rQTLlTO2nO\nVXdcd836pWKlsnRnNJ3GEZHdUygmm4zMJzKzZbHWDoU7/J+a9l3h6wv0Hl7U\nHXqB4eEqi1cZj3tVBX+vWNUUuO2eE++R49+meHxXsFzoDh7lZDz6JRLPXKdk\no0Cj/XjuflihtBtC4D5gLGnqxCv7uxnBBeG6kkmVIFzp7eLjMiQWl4eCsPe1\nFuRjZkNQlqV7GojGmnEQ17uSvuA+lDtAAcONJczjw0lhSvvEiZjZCceyanh1\n9rKOXjlDSRcpJf3RstFZ7eXA+xM84tJQaQ/rYG+QGjxC0OlhzO9KVzNCvVwN\n6JRjW30d9nDSlECsQ2VcURNu3u5yt/PebdzUwu6O3iwR5xwihqS1uwKiqmdO\nEsJxwoeGrYCzoE7qu2s6cZY/FW0ENxprM4XiNCR/BH+FKqD43W6zx3VA0tLB\nw/TTvOJOMGktaSkpQ1AMPz1ujzGvknkm1ytrCwqbkmGbcejbnSl4l4yzIRi6\nOicdtEcyrcoZrmfufoiIVXE89nHWRhDwVqx54R6mA6kC6fhM3J+/H0ou4iOi\niEyKg94UfQOXjRJa3RYFrWcS4r/5/4+uboFLvqzxQ0JDbpQKOZ3LxKFjqW6R\nPuYI\r\n=fRrc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrgWuPJX16SuTnw8q+aDmMfhl5C3sQN75omZRnQhkwKAIhAOLMpmEoM2N3G8TMeEG3mRePbUiqRS1Yd18OetJc0Erj"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2405e027_1536775772096_0.9866280828313858"},"_hasShrinkwrap":false},"1.2.0-alpha.3793cc42":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.3793cc42","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.3793cc42","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3793cc42","@crave/farmblocks-hoc-input":"^4.1.0-alpha.3793cc42","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.3793cc42","@crave/farmblocks-input-select":"^2.2.0-alpha.3793cc42","@crave/farmblocks-input-text":"^3.1.0-alpha.3793cc42","@crave/farmblocks-theme":"^1.7.0-alpha.3793cc42","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.3793cc42","@crave/farmblocks-text":"^2.1.0-alpha.3793cc42"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.3793cc42","dist":{"shasum":"6a6d274146ac364eecf6bb2bfe4c674766b5d3ad","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.3793cc42.tgz","integrity":"sha512-tIboh5G3RxgadGxNW+w8ZiXbQUbjjsAGHMQZPXrWKx3OrXRNLu9u0lw42tcKTIWWVh7I4Wt+jC07t84L+scMxA==","fileCount":15,"unpackedSize":43314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmWciCRA9TVsSAnZWagAAmG4QAISTQujAnxTLBPrN79Na\nz8N5p8LOTTdseTzhwjdIM4HnU77xW1kVlXg7VtoCpneup2ADxBAfCvxAkwX7\n1BiFeBa8SqefE+SJxkkmxuWpiiLc9WzUk0ee2GZ7a2VMJfnJhH9NAFHmk9DO\nkwb9r5glVNnjbHDxS/JKt0FCOMdXi8vVCeAvO69UPE8YCSAROnR8/kka0lEY\nkDvXmBujenG7WmUMJGSAaYRyJQW3zSoKCRsmH6KyQQWRMWvr6lWuZyi57Kt4\nnASfS6wZ+F+HtGXEC0KOYnIT2wxtOxsE4Zwt7KwzWsLt1PbM5PmOfQv9NPby\nE27halR4sY8Z7BHURaapFLXuZrOH7BPD+DJY0W9bLlPizi6it5DLQEQMp/4P\nkr33RAC60UutT4gXuVhmNxU23JIcDMQXMC2l/9cFD6rbZzmnCgkkXhJEN13f\nOeB02NIphSlM4rIdz9RwWqblBFr7cUM4HPKaSzNrtFtDGGHjpiSAx1v6xReB\nT+3qMv4ez5y5OwQrPtFiqvlW8MYzjI5voHUQJxTIJGmbDP1MlYnhMcv7Boax\nzCG5Y0lfscjtTcCAFd0z4Zv2bolfX9wbQzQuRg7VCFf8c2/Zbc1RAZBqfOU6\n6yHojd6qjLmC2mPfKxOgtZWOK2UdK9gzhWO3V9/Z39xgsVExH9QSMFo2qRMn\nMBVZ\r\n=TAcD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDpPhHMl8VMZleN3BtUw0J019apTHTAvLAkARlZ89J62QIhAMh/rMRS1Ip1U6J7RV9lr0l2gSAnNBHJrEX2KsUKDYbV"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.3793cc42_1536780065386_0.8309079084712636"},"_hasShrinkwrap":false},"1.2.0-alpha.de051be5":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.de051be5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.de051be5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.de051be5","@crave/farmblocks-hoc-input":"^4.1.0-alpha.de051be5","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.de051be5","@crave/farmblocks-input-select":"^2.2.0-alpha.de051be5","@crave/farmblocks-input-text":"^3.1.0-alpha.de051be5","@crave/farmblocks-theme":"^1.7.0-alpha.de051be5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.de051be5","@crave/farmblocks-text":"^2.1.0-alpha.de051be5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.de051be5","dist":{"shasum":"f40f6ef845eef1bc3080d2cfa1e6f08c5718910a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.de051be5.tgz","integrity":"sha512-daBn4/imyi5k/jqXrmp/HQgT3AhU60lxfMN/vVV3ko2cM6YTJY/qAtZjbF2n07l+CzCmApsQUdvAu98BDdJHhQ==","fileCount":15,"unpackedSize":43314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmW/BCRA9TVsSAnZWagAAwL8P/32At9MYC6UK4MwqWQvc\nd2kYCnXll0HXJQwCEx0zCJE/qiFUrxHxa7Y/LnWWeZTYAWk3ZwaN1Hh7jbRo\n2cETQDBqWxjmYRk3/SzhzAFkl7zdgIiX5zJ9drmLX4oSczp5zfHLCEfaR3ig\ndmW/GVxEgl5+XOjJJRZji8vkP2kU0+NYO1AcLlnwbZ270zn0gRnrAv9wILUR\nFucMoNOIAJoeT1lBRmYleEm2Zn926sKfCcEnBZTbpMUTcYb5hUQoXqjDtIlf\nMc+vxa6q5nOiQnF/dpVxjFNqc5K7UzfMSWDGyCNA9IVMdPRy9RAa9g8MSBnE\nWaBsjxs2+B4HnpbUDiMI/HItH5/REg59g4RB+5xQ+070bBPQ4Fi5TbV8hFpn\nmRe1M8BEkkL1FSdqQyHjQh1YWLpgB2EA3JmmVPDWp4KDPkrR7iC268gsFj63\n5LIXnwaXVqEGkPcys/MHpXZogzyocpTHo8nAAFFAFxZahp+xxbnwnb8//G8Z\n0dK69JXj2BJ8qC/H5M7XdveoCtnTG/dJGRst/wX9gduPF7qVW8cjGdFijQi9\nsdYWTwWcvvCa+g7qH5oOTZFLMOIt/751wCgW0R/A45MAO8UJyHjIJsG64o50\nZIVxyhMacqUB+L9DaSpXe/6ovTZTDX9kFkUyK2KZt5BOcW2DyuVLLl9SBNCm\nsjY7\r\n=ZnRd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJQ4bMQGbV0qhivpllIDF8MkttkyRPu7ND2EE8uzzMbQIhAJhYSEW6FCrxBRJXwG+9BVWxkQ1EWCXiJFOnOl6YVzHK"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.de051be5_1536782272563_0.13956506573298455"},"_hasShrinkwrap":false},"1.2.0-alpha.fe90344d":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.fe90344d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.fe90344d","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.fe90344d","@crave/farmblocks-hoc-input":"^4.1.0-alpha.fe90344d","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.fe90344d","@crave/farmblocks-input-select":"^2.2.0-alpha.fe90344d","@crave/farmblocks-input-text":"^3.1.0-alpha.fe90344d","@crave/farmblocks-theme":"^1.7.0-alpha.fe90344d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.fe90344d","@crave/farmblocks-text":"^2.1.0-alpha.fe90344d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.fe90344d","dist":{"shasum":"92699064bdf3322a585adb4c6e02f067a66e8b3c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.fe90344d.tgz","integrity":"sha512-CFx+qTMvmKAMxEaMnZTyv7hx1GNPYdkbU4nm+/fDDEO6U+M1zrmCgqlPiormCV5V93yg1FsSo927Lv06xMq4sA==","fileCount":15,"unpackedSize":43314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmkggCRA9TVsSAnZWagAAJYwQAIZZ0XFviTqUfRvQQqC8\n6xPlJfWE/j6XTJYAAwAg0uu+HZCrsG8czBr35vmA/6EbsNNFn+hsQP/pgkfX\nl9CLwn5lFay4iDVzCCMekOZ+8WTIqFxAzWFwKQhVW2/hTflUXJQ6TfRslovp\nQmBIPkuANN9oYgXgx8Y+MLMdpgTWwdgXx1MtCrSQwgNjuYm3+FWGBXavymkM\nu952C/FS7MYUnBHm2jVfm5YN7FSNhNEG0qx4E4u1nxT+62d36VU5VuPhOMPX\nWiKn1+losqjY/buGchFi3UA6MYzaXkgLL5+hJUxAZOytAjp6qnEnMl7Mphnq\ngwvrN4gCOMRm6ULM8IYFjyiVt2WrenDnq/wUw5ojEjsH/4p0JRwELsnVwAt0\nlUrzVY2wLhNABzQLRbOdTJ2SMidLnZ8ty7jNwyMfje4zzIkmkGBHpc82V/iz\nwZ1DtpiVb2Lofc32SY+5jzVTYMHHAZ0c6nMylJw1TDiLgiaMyYQ3tYMk06gl\n+GPyHlDLGPc2pqXCDrjUCWBwdcqnnDP86DWddqjUUUg1aFL+ngTGtU0nJlOL\nwfIfiGljeMgYcQ+dIiCnIqq+vCqv8TT5ONjdgOkMYQTmrEeGsueNkygb6C+1\nc9bIMJVvq18Sc2WA2VTPbhNE0uCiJYJrV8Igm7Swm8bavBqFhfYX01wSVQ8y\nTwEt\r\n=rjOl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDUH8mf2zAMGcbAx/f3ReonqyUT33L1EFjEjvqae+jBsQIhAJnZA10GnCT9vlgv4t2aVaAeObFqkAxCIOfZb+Btl16z"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.fe90344d_1536837663775_0.43478326533502587"},"_hasShrinkwrap":false},"1.1.18-alpha.12":{"name":"@crave/farmblocks-search-field","version":"1.1.18-alpha.12","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.3-alpha.0+a385bf6","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.10-alpha.0+a385bf6","@crave/farmblocks-hoc-input":"^4.0.3-alpha.45+a385bf6","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.1.5-alpha.12+a385bf6","@crave/farmblocks-input-text":"^3.0.2-alpha.45+a385bf6","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.0.2-alpha.45+a385bf6","@crave/farmblocks-text":"^2.0.0"},"gitHead":"a385bf6d7fe4191dbf3700dd62bd1ab2f19b0ab6","_resolved":"","_integrity":"","_from":"file:crave-farmblocks-search-field-1.1.18-alpha.12.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@1.1.18-alpha.12","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"dist":{"integrity":"sha512-GPRYAEDOaN/I7/flczyrW7t70WpA59BP5dryaPR/jqx+z7KMtB1x1MFP06rmZs7kxOpOO11wSpirbqU+suvg6g==","shasum":"940ca5c31cb9bc41c2a4b9057957f65df861d69d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.18-alpha.12.tgz","fileCount":11,"unpackedSize":43049,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmkzmCRA9TVsSAnZWagAAJzMP+wVaRkRcdISXdW/u7nBB\n9fBkz4BCkQybAOqZcJTvSVNkhLbvlbrotwtoUUlo8x9N2mdE2FJnI523duG6\nGEafLaEVCD/NpBouqlOtKsMtGILM18Og1VC6OGtgiEsNcKrKlQTgz+FiCsVr\njDxr05HmohkO3UnIzfgmij/AM4bxU0cSzDAik6dxeOrvTYeLhkPN3bHeBj36\nxlIOWqJBoTpnRWgD9wm58/AhzfphmHlwXyTEOfxQQK9IR2uv6+L5lHgSf/l5\njJkRJA7oSIokdKzJ615rNjDRui04Rb2msaBvYeBPBvw2ySHIZjOrv9j1BlBh\nLVwvKOeiLrvoxwx/+8bO9MLqX9e8cByEi5/qvLApNdXJ8B2B5arqzzXhFaab\nM5Fd3e2KSdGriCfTQ1LBCU0QpXi/61E00Q8j8qEiZuxN18wfuBa0mrHRFlID\nu6YtJ4yr8PGs4D3gKxP8A7hfE48QmMLaJNLoNa6mlwrfXZQBsHHvG/BVDihq\niDsduM8Bk4N1HyLwIx/d6V9anI+HGv5atBX47xdnoPOf7sprofLSrjA0cOeI\nGRqrj49eFCAvWZARICjpxsDpW5W4AUGudYdd3oH3Rvh9kCu0L8uaDxAqf/ye\nhW9xyHuhqerh3ETkipOtDmi8uNqTauENkKkaQ2WbWWR8xsC00+NhmbdXWhkM\nW+i3\r\n=NjCv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfradxJcXiPHn9+MDz3TLHtnPGfG6b4dTqJPiSSaUBDAIgO2PgH5tVWc14+M9+/fTYNrms4yzGzp5qdj+4tBuz6nE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"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-search-field_1.1.18-alpha.12_1536838886190_0.5272991102983389"},"_hasShrinkwrap":false},"1.2.0-alpha.6aa76345":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.6aa76345","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.6aa76345","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6aa76345","@crave/farmblocks-hoc-input":"^4.1.0-alpha.6aa76345","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.6aa76345","@crave/farmblocks-input-select":"^2.2.0-alpha.6aa76345","@crave/farmblocks-input-text":"^3.1.0-alpha.6aa76345","@crave/farmblocks-theme":"^1.7.0-alpha.6aa76345","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.6aa76345","@crave/farmblocks-text":"^2.1.0-alpha.6aa76345"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.6aa76345","dist":{"shasum":"3a333cbd0d7de991f70c582c3bfa3f74d6e00cef","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.6aa76345.tgz","integrity":"sha512-Ja0mLPyAK3mZkJc7oWrADH6j20YAS5t/fpRjv3sQDQwHOSsMwQooriTHStWGuEBErSymXjdh6DAFoSSMD/d0CA==","fileCount":15,"unpackedSize":43314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmmXcCRA9TVsSAnZWagAANQkP/2Svkd5HGzqluFj63XxM\n6xgGfo93FurB+oorGHyNFexGqgpb4Z7IUPxEwKV7jpaR176VfRj54lMkz8en\nI03wtCGK+sDwD9AAcn/zu7WHlPWql5DljyX+Azoji/OICCk6OthLtWGTapwt\ncbfLBltLifBExc3JkyB8DBKMnlC3L54EiM+hhh6pKiimOTsSlfwaXZxTs4lF\n0ND27CZ7IJy6PVaPbEO1IlVK+ldA62d1YJ4weLq2PISHdxpMBO2oz/vPy7LK\nY3LBnB/qJOyaNHhsvO3X0kBanKGOtMssIGS6lE1sWgABTTAVutCRbkip6r33\n50iYl69Y5SKUIPG2lIdry5gD6zHrHD7Y9bxKtg8eh4VHiRpz50Q0NO8jUnB0\nA2+UqyMvqPFghp4CjEDwBPrcFCT4EsVfXtsS2cViaMZZtIu8he6EnB+GjCrU\nvy5ekSwFEWzpXHBw4Zqz/hpWDtakGeCyTfsIs33UB/vWh2Ka4GsF6EnmorP7\n7wzRrp3gKXYQdxLrgdqmchporBm4Ufoj1i90grz9sjAyqU5IzpCfwK1qXk/m\nhskqifeaqtBSNJCznvvWhfULJrvj+bLyZl5uaEUT/krvG4m3nBz2fV+NMYFW\nhF0gs6hZwOmCnjmJjgUTbIlB+1+rnsVSr/vA0CJ4sTq1RJexi7nPB666dqrB\nHVUo\r\n=9Fnz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAHXeYQcGKJBhSxQCW/Xo59J67qh/lMRkkf2iera2OuPAiB32C+RTh0FkLPpR/YNDqAXXe6axnU0kRDyC/6x0Jt1zw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.6aa76345_1536845275329_0.8654501136140833"},"_hasShrinkwrap":false},"1.2.0-alpha.d4208acd":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.d4208acd","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.d4208acd","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d4208acd","@crave/farmblocks-hoc-input":"^4.1.0-alpha.d4208acd","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.d4208acd","@crave/farmblocks-input-select":"^2.2.0-alpha.d4208acd","@crave/farmblocks-input-text":"^3.1.0-alpha.d4208acd","@crave/farmblocks-theme":"^1.7.0-alpha.d4208acd","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.d4208acd","@crave/farmblocks-text":"^2.1.0-alpha.d4208acd"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.d4208acd","dist":{"shasum":"80d1a71fc71e83c4fe1c9b1b782b071ce82c3a08","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.d4208acd.tgz","integrity":"sha512-ORLsnzUhEwe+ju0D7Sr+XIi3mFrxPXNoBz6wFZwhytNUVqV+uKKJ/JknoA3D+2/VnioJYmSeDL4mI21V8XHRKg==","fileCount":15,"unpackedSize":43314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbmxSYCRA9TVsSAnZWagAAi/kP/1Jc0m4wj1O/RJv3PDOV\nfFpRdtCs0sDBzscs+K1sug+LStAEjrSX8ZRpyFOCOzBKHownTP4UfMWQNh/M\n0wwkPiPra/tzqqNjZ671ZFLGkoL0FdK74oWqowSrnxkvzZJuaptAXCUaQwdw\n6XkE86Ju8o6cETGILrSKsHPKR7bPTO9Vx9ipOtE7z6CnmJ0Nfqq20JcR15/U\niGjqL8hlj0Vqa6Hg9GDd2Sopfq4twxgOnuz68EKwWhYPJXhuBzSU2VEiVdIG\nhwFZ6+AWvLp/UTxDB1Yvufmk1T7nwj9Yigrb+7XtOHV2gUWajbk7fuHAIshX\n029Ifq/Nghv6aPr2UREo99j+Ps05a6mkSpfOk4ymxAlk8jYjg7HrjL670UeL\nEYPCLOTST3b05peRMfHfKoqMRFVI1NFjgWzL3qDLyfNCu2veZZnKlpOihrYm\nDXn66OBDET70lYZF4e9m5yu4mzPEcYeCJU0UrlZ1VluOK1vp2bwVuwhdtf8m\n2jldl05HVMMYVK+lUAL1Er4OIZCCBqphrnd25Me4g2GM8kNhKbVYEe973C1a\n44bmPJfEK94Ieic5MiRtKQnyrTqDd/zAqpNH0vIz7+0GOA9gfrU6GLr6i16X\n8FcW2guVx9UcoB6iCuiYjFeddYNGv7A07gODfEyaInypEzJMWwKNJBv2NB8R\n/9Ka\r\n=uh06\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEP7+hlTt3WODFgFGEApWa5wHWfk5ShT4GLMKaDXvgXAiEAkAkLHQY8mBi0JsTHnL94088veeqK32GijBkoMLKCLN8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.d4208acd_1536890007999_0.9750765420679788"},"_hasShrinkwrap":false},"1.1.18":{"name":"@crave/farmblocks-search-field","version":"1.1.18","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.3","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.0.3","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.1.5","@crave/farmblocks-input-text":"^3.0.2","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.0.1","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.18","dist":{"shasum":"ace3012cffbe6cfcbdd24ebfa88bb136f729204e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.18.tgz","integrity":"sha512-pmlZSlUBkkhIlFs0VMrTvkf49kkZeGzxFsLhmQWtFdtPbnUI8bkwth+PfaE/Xl7Pwl5rNThSG9z70Ei+SW8Wgg==","fileCount":15,"unpackedSize":43124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm643CRA9TVsSAnZWagAAfaUP/RXhqJYXRCT20gVMbLk3\nqwmyHnwcd87Bh93OzhKU1UnH6CfEb5oqZPfnWLelFGndQFRm6QCdwbNFWKB3\nLcR+q/XGrXjtjFYI5Nw8cFVwcYrGKQ+CaPkAt7IzYe0MiX2a7ajYdTvJvScA\nw8MuO9QJxF0zDRybG3gyALKEOpjBeWsBoAwfdA0w/WSlKnh6A7OOuxlhfqoN\nQqJH6hS2IwYEfIdhKSdfUMPE7s+kVSXbKnHRJSoRzj6FWxc+Le/NvEczctOU\nJmxlMZ5hiag6msAlS0IKY6fAbwZaJEqE1vw3ww6spTQVL5egxAF/8apHmnXI\nHXc8XS/9eUfOkbApAtYble02llKlnYd8Y3533y/uUUxZCszKi6J/wJYn0Fe/\nnJeS7ivs2N/A8r44bjC9Ufm+oDVABubxvSqjj8qM1RrDIKu3rMMtQ7AiDq6H\n0P1Rvmc9yP9B4lSMRKDIe1IMJT11nHMYbr1NJ5JTUk7bMez3Gziejn76Ju17\nDsTT0J5ZWZbicmhXR7m093zxZOT5kOl/th0A/1o1NoM451Vpk2GZwV6iIU1K\nWVGE5jysRM8x2Sz8Go8sQTD60jr8aq35QKh9VHT7nn+MKRGOFdxc82c94nep\nNAr2nedjdftD4Gw8n10LSRC+fGh6d5kCvbzDsSoUPeFtZkGBWpqXz7MJ96gT\neof+\r\n=MS/M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAYJ4748Wn5l+kyF9YJaEQ/Qw/dPejx70KBtdtKcg4GAIhAMZTtryYQuPqiMYaSWtnMgyDvflwHpKRUAEwcGEpqL5J"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.18_1536929334654_0.20834191151563997"},"_hasShrinkwrap":false},"1.2.0-alpha.8902dba1":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.8902dba1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.8902dba1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8902dba1","@crave/farmblocks-hoc-input":"^4.1.0-alpha.8902dba1","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.8902dba1","@crave/farmblocks-input-select":"^2.2.0-alpha.8902dba1","@crave/farmblocks-input-text":"^3.1.0-alpha.8902dba1","@crave/farmblocks-theme":"^1.7.0-alpha.8902dba1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.8902dba1","@crave/farmblocks-text":"^2.1.0-alpha.8902dba1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.8902dba1","dist":{"shasum":"11a9fb9c4a8421bef40bdee542988c7ea31245d3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.8902dba1.tgz","integrity":"sha512-BNS5OVHW1y45JaySt5zpqPoBpz972O5aYruPPHwqMIKYaFkXdDdK48G3Ro6EsrjVHVKcLGA9h3EbifBdWj2Y9A==","fileCount":15,"unpackedSize":43314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm+VSCRA9TVsSAnZWagAAdskP+wQmgJ4SSdrVZDeFWmrw\nRI9p4XqPMBBn6uisrDxXUvk2KpXAYZNhlbofm9TexKTexvEc0CkCwed1St4h\nBk65UE8oczj1P60z+LcCx+u/Y1tvCzc1M2BjEGImtHksN4a7vzU5E+Fb+oqP\n345/20iUybfp65HF+6d7odsVopxDfDP4Qf17m4Fcz8KdDKWrmf8VKCJ5KakO\nbxCTT+KyGaUvpnadKCTuDtB+kIv4pKD+vN86YQ0T4Kn9IbDMAWwvGrF2i8gt\nnaV8QGE20/jqOmPRzQ49/g3qJOjDuPoVpll2oVU3PsfQtDxVD0X90IxYnmby\nBSNRqMJeDvhs39sOhLKADEXqADYpOwPI1YN88WKCihkSpu1ylfFhvgsFCDQi\nTg4K+YvwxnVg4WeosJJfrqgxoz/IrdEcAQqmEKphE5aLGALrGYCr8TsORVNo\nuCFGoWofs3NjS4Fi7MCVErhN4VeNKcCfRGH0qcBR6r6YtxJ05yDNA8OkM1Tl\nfC7asBfPa/FIyMWTjvtveGaL6owjc1Txn6JByrxtZg+n5l+HdNPhWCVqyXz7\nTMhPQFWIFCsdkfA/GHpMieqZaWZ9V/zr3W6dNSxL2313ykPhOLMKJqHtNO+b\nnF5zti4Kh0RXk2bxXajt/Ob9tHGlmKSBxNIcV0ZB/tbQKQUj1GeEzVxiZLep\nTPVU\r\n=pi/X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBH1pzEm/uB3sgR2asSN1UnxfenwUxFJnY/+eOru5C2oAiBA6+V3ZaAs+DMQ+1w5LriqyIVLGuO0RE07PEFdqnGpcQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.8902dba1_1536943441536_0.8941257460683623"},"_hasShrinkwrap":false},"1.2.0-alpha.5d9f5cf3":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.5d9f5cf3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.5d9f5cf3","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.5d9f5cf3","@crave/farmblocks-hoc-input":"^4.1.0-alpha.5d9f5cf3","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.5d9f5cf3","@crave/farmblocks-input-select":"^2.2.0-alpha.5d9f5cf3","@crave/farmblocks-input-text":"^3.1.0-alpha.5d9f5cf3","@crave/farmblocks-theme":"^1.7.0-alpha.5d9f5cf3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0-alpha.5d9f5cf3","@crave/farmblocks-text":"^2.1.0-alpha.5d9f5cf3"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.5d9f5cf3","dist":{"shasum":"3ab69ed3dd207155bda59d11ca894213658336bf","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.5d9f5cf3.tgz","integrity":"sha512-IJMdx49+4OoKpD+pwMgWLoYSVTuum/Z14rSWyugTChKUJ3Jx6J4F2MpY7AC4VtOPrQDXxvF1wQWe3PgWXxVmEg==","fileCount":15,"unpackedSize":43564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm+fPCRA9TVsSAnZWagAALdgQAJLAVbIACClSbOxVPYwq\nSpd86w0pIX6GruI3g/tvKsx5mWgwBCTccmtuz7QgCGyFj+u+KaoHk7IsYsgG\n0dpGjqSw+HQxlI7e/Kf92EOCtiuKdBE0AmkC05u6H4fUXctZ6aMID9PwqSMA\nMc431PxDZz5xwRJSRsD4ugZ/wnte0d/jUxjHe1Xj8TgO4V1U7f1hkGVOAPF7\nxqdyGQdMmCLvz3deJzg3povS9u/ivEx51WVh5Kr1lhRRwCFrkZWXCQgIDmS5\nQTN2ANFalOxHHBMfW8G6InQ2LRxHbAZjRKbE8mhE1lIKw5KbpWs7Hn8cpsvN\niXgPnEgalkpmrYZoSGN9KGZXHxKtJnFfTl+hla1J99S+qhysxg0KWAMykCOB\nNc+cKPsxmcYYT/uWV0IH99XFMc6K8w7S/UVDHnJSpznqklFQmcXcVTm7E6QM\nrdwBuaFw3aGtLSe546flZarRIrxkuPT0oY1YGQ8Y1YJ8ZcEK2l88bsPirwbS\nNrzwToFlT9KlTR1yiX7TlUwxmBrvXAey2yQhC/eRKG7A19MCkQcZTTVj/MsR\nlaOd1AYvsPbZciYESCJ+GBDF8yQ+iHvS88YCT3xAkCmdSdb7XnYMRsQdTZ8s\ntHLT0oRWIyHWo7oYDugZs7jp/7e3tKfN2l56xDwhBeQx1xpKjtyrYO/InS4S\n9Zg4\r\n=N0Cv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICs0cuk4MM9AiBEyiIBq0DeQusLfq7cML1GANe/yWxTsAiEA3ziMdc2c/gJJAzU8PI8cqdfB+sGltiHKuaNikPztM4U="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.5d9f5cf3_1536944078581_0.08869340559093186"},"_hasShrinkwrap":false},"1.1.19":{"name":"@crave/farmblocks-search-field","version":"1.1.19","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.3","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.0.4","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.1.6","@crave/farmblocks-input-text":"^3.0.3","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.19","dist":{"shasum":"1266385377a0b0eab70be90fe198f87275fa9220","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.19.tgz","integrity":"sha512-XGpzXZpJuhjK4a8UdrOATKYLzIpBMgWVtt6imXylycwuNZFduhBD81AXVic/bRUKRqPJAwzbq2v7KNCXvVO7UQ==","fileCount":15,"unpackedSize":43374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn6JxCRA9TVsSAnZWagAA2KcP/37/IpMRnZh3Uz1+J8og\nK+uDC3rf3xJpSAHsnbEgsyhRwyN0sMvppkkyzwNUArOlpFfJ2D1Amuox5Six\n5AqfNLkc+dKtYjsNLVOlaHIXZplNUKIkXTJlQlBVg+l0BcU37ZMIiG01/d2W\n1Sk15ocqjqkNIuWjQRFmNLEZDOdtiYxV6/kYNk0C3DajGyF9vdwx55zrPMIc\nyVtp7OBgR95/MOkXyM0CV4CkOHLBCq7SFpnAPuCJZmwWYmzFXdr2ASGbmLGo\nVsNz7oAF6/xSYv/9LC7afTCMjvLU1M3Eh29gKMaRymYOmUGvIW8yXXNZW4Bl\nAwFry+rGTF/ze1eJUFWGwuwF96ScuE0kjhxHZvJXrZmZe9UcVVZOSQQJkuNS\nFxVUxQZ9wTAkKcQPUTqSgGNnhYiOsvpM45o3JHVl4q/5WiAbIveG0HRTzJzu\ncyun0j8HoX9B0Qz6vgdV4UWAcnb0dcU3IHCrWHAluYT2kM5IIMMF9hB6gkzA\nMtt/zTk4I4VlZyPRi01yNiMZK9iLfWvM5PiVIOiQ7irIs8yBgVh8GZLESzhh\n8Hx6LcivzAhoT7XgerNyPHcQEXxe3FmJFygnNEluLwsksM4qISUUbIzeHmsT\nZW8NXdHUvzMlMtTuGSvdkkDty7QdqeluGo9sJVOj+3mwihIG40xBU9Wp1Kry\nazKM\r\n=tJIJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpMkmyWuK8hG6J2JK/AEvXLjZoDOh6b1KlRSzz8oeT8gIgWjRczMMMI4Tl7OslVoykmnNqNfphz+pt3t3wojzzg6Y="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.19_1537188464744_0.06230579406901504"},"_hasShrinkwrap":false},"1.2.0-alpha.e07c6875":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.e07c6875","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.e07c6875","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e07c6875","@crave/farmblocks-hoc-input":"^4.1.0-alpha.e07c6875","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.e07c6875","@crave/farmblocks-input-select":"^2.2.0-alpha.e07c6875","@crave/farmblocks-input-text":"^3.1.0-alpha.e07c6875","@crave/farmblocks-theme":"^1.7.0-alpha.e07c6875","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.e07c6875","@crave/farmblocks-text":"^2.1.0-alpha.e07c6875"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.e07c6875","dist":{"shasum":"220ff0ed957694a8e56593e5820c1b9838eaaaf7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.e07c6875.tgz","integrity":"sha512-liAxN+bLTFpM6AMagjrDsVbGn6Lv6I3Oq/mLY8aw5Or+65O47GkdOdyNTZCL98d7OOhGbeSv9HassKew80QXzw==","fileCount":15,"unpackedSize":43814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn7YjCRA9TVsSAnZWagAAmBgP/iDM3ht8Dzx9vaHrHMND\nJhEDezPg7FOK2wnL1mKE47QIgeYzTFQnaPCqcPrEt+5PKc5tub5vDhsNeR2n\nnCJU0SAVd7ifG8H+ufG5JFq0jj923AI8ituJbyQyGbc20xL4axjPxPeJsWwI\nEnO3aXWvQEMZiAZAARS9IG2gLvpcp/WNtNlEI2r4LJXRQqjlyGP+JOou4rTv\n65FufujtTW5jNbACVfv+b5as6z0qgxzEO/a2Ax5iABgGggDtyp/PK3Io9HLt\nlnLk4Iss8hhFthq0xDOIQ3TZT7M/I8LUJSz3F9zHVKjLVPX0ZVSzXRXm2XYR\nbaDGbXAhh/1Bc1gwSLXO/CQTyLyK34SipOxEF68ewtczaPJXP7TbIK1XF+1I\nk2VTuT6HRSUnGGWxdxUO/6lL1DgkbDKRhn420LxT/XzVx3RZwD1d/1XT9w7n\nGaepGWlrlm0baNIHsVL7zS6bTjYczgkuQ7wJ7c3VvX7iA1s1Y9p+fR3gSXO2\nV/eZRIMF51qsyTV/zrCIR2kEmlRxLuEPmuxnwhRLXSKHe5et8ddEQ/vLcUHS\nYYT9yk4xNk7jva418xiwWICx97f8D4BmTaa3PgcetIO/Rj2hieIBfn8ZuWaG\nljxsPvVDgc/n9PMtswURnfDIj6AMOrFcfr8h6+KWejcCt0m/7LcbqNAZVVxt\nz7SS\r\n=Oh46\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQnHlq1eZUzytX/Bap4mx6bfQJh1UReNK4v3JqkvU79AIhAMd5T7v8sSYxVD/MURgwwVelscv27fP3k8PxxDRnthIy"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.e07c6875_1537193506165_0.18357498983873577"},"_hasShrinkwrap":false},"1.2.0-alpha.6e0ea6b6":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.6e0ea6b6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.6e0ea6b6","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6e0ea6b6","@crave/farmblocks-hoc-input":"^4.1.0-alpha.6e0ea6b6","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.6e0ea6b6","@crave/farmblocks-input-select":"^2.2.0-alpha.6e0ea6b6","@crave/farmblocks-input-text":"^3.1.0-alpha.6e0ea6b6","@crave/farmblocks-theme":"^1.7.0-alpha.6e0ea6b6","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.6e0ea6b6","@crave/farmblocks-text":"^2.1.0-alpha.6e0ea6b6"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.6e0ea6b6","dist":{"shasum":"111a91faf2b570f8ecbabb02966c82ab0cd88776","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.6e0ea6b6.tgz","integrity":"sha512-kBtaMz3Kik+h+vhHgfB3W01VQ4sbfEFJj4d3n6cnGk3AvqZhJdArYZ2UX+LNiDZejfrL1XUpAHbPXhY/EiyIlA==","fileCount":15,"unpackedSize":43814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn74bCRA9TVsSAnZWagAAXn8P/jcZxJmJGfVrEyDO2PSq\nTi0zjS35BVUAIZJm9AnUwZsbEsTf2qjdefD2zeTnHtc89cxuomreXiH/b9cr\n7a2dj6z7AMY6X6X7eRYAQ2CHvBCcjXq1bVGJkMRJk1df4uH2YK4K050+Wi1L\nT5FLQ/zLyrWLcDASb3OJynMlUyaefIiS9r6INLCKNlXYKftGrCSsbZJr4Jmc\nEd14zgkVjZSgEmbLZbSIjv6DlU/0WsToL4FNqkp9jY0ABKp4VO4hzHvS20+2\nVUUyZRUqOyQ62YlyX4kle94ItFSNGExDyY8eiFFkyAbTAnTiRohqYXpy4Tkx\n/UdB8NL+kL4x/wy6IOgWngR1wtFp9p8WeLdLxJe8+3W8aMzBT6t6xOFkSbdc\nfepVueRLGSzhckQ8rbJDJLgaSVAv3OqEOtToTUNlCN7JCRSTJh2D0OThFi3I\nXovtZ0puh8jMaaufdytxZclQnWX/4VsK2W7kpecY34jqh32CDHuzio0cS++N\n4zM5bhM0lZPPySGwGRPHJbjMtWP3dhOdFoyTYFElNj8J121GTC43kwhRWQ2v\nAr2zMZLl2Usd5eJaEDlLxNHwhS5pxIolWD4B/lPqogBRahj/8RHHk4ZoYOGt\nIWTXIb60TzeVMAeaT4/EDeT3csThaN3Jy0gBR8FNE4dDzBTOszIcR2BTn3Rs\nJlsu\r\n=yoEp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAbOKg9sgd2quM+yrwwTympDYUUWCQLdAMKKnabuZZJPAiAHe2XeU6LoWKTMKN75plx9uzaoeh1qsI7QDp/Vi9qQjQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.6e0ea6b6_1537195546958_0.027840688804921854"},"_hasShrinkwrap":false},"1.2.0-alpha.60aaa968":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.60aaa968","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.60aaa968","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.60aaa968","@crave/farmblocks-hoc-input":"^4.1.0-alpha.60aaa968","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.60aaa968","@crave/farmblocks-input-select":"^2.2.0-alpha.60aaa968","@crave/farmblocks-input-text":"^3.1.0-alpha.60aaa968","@crave/farmblocks-theme":"^1.7.0-alpha.60aaa968","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.60aaa968","@crave/farmblocks-text":"^2.1.0-alpha.60aaa968"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.60aaa968","dist":{"shasum":"f95c02c477ab4e916c3f8e51d77f4426b409e41c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.60aaa968.tgz","integrity":"sha512-z7iHjf6WoeBqfJGAwBm2/cnl/REzBaQ1K+i01TnItg9OGSYe45jNsG0MZUgP6PYUPRdMA0IT1F0/MGBtwIH0qg==","fileCount":15,"unpackedSize":43814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn8nCCRA9TVsSAnZWagAANxcP/A+9uAMXNno0ewndy41G\nb5l9aL0Kp7bIAbkqgSodQ8DN5NPo3e718C2ZQLiUX6x9V7LKxnbZzWlkChFw\nXISK2hMxSV8nOnEIbzk4c5Su04dviIYskNvGyCtXaIvb0ejxeLPQm3zAr5wt\npU6WrntNhviZhjCwQCFVdB3fa9nqWOpTOGHHuib+DxEgg5261ME5wBVWpJJg\nyfn7lxKWpzcJUlD7Sa2jvuCOfzz3YdOexC0NbtuG63u0ygiX9Gvf+hqgVAdB\nGZNgn7+9/D9o6K3ALspLuNf5Iw6+6h2HQ7vzYYaRsOhXiqQTFPPNRwgOyMGa\n35JV/negiuV4GxmdwG9uOKoEwoSm6sZVjXGqrHVdsWJv7P39lBirkEb87PLI\npu97kk9ztdHuzVcJBDMz1ToBYkWKC64cl2zOydmjQ9D5dBB6KEZxdiMFl7+o\nDYtz3yOET9FR3c/EQF0nr3M1UpIZPShupTImk6dnzpIOZ3l9xLYhdCvWZgK+\nppR4r2bKYhHIBdZHFpC89vElB7i3HVUYdcn22tAJFjBq/KMYSU5+lmX6lzW1\n6jcw61ufKEHv5rcWZmCNGpsTKliG1msk1XlKjqVqyssN+Lf62ExVj00VpRfB\nn54Em3i8i1JppE6yrEkmFcfome98bQpVeOkFAgmixQ0XYpJovsM4D4jmiWUT\nsOIy\r\n=QoaG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGv88bj66brR37Q3Uj7Zp/JBiGdNriZ3k5FylsoTldDFAiA3L+vTTGZ3+1+8lac2HLgsJPfEncfNZgjMvsV2oVN6ng=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.60aaa968_1537198529341_0.7226271355631522"},"_hasShrinkwrap":false},"1.2.0-alpha.211a5123":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.211a5123","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.211a5123","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.211a5123","@crave/farmblocks-hoc-input":"^4.1.0-alpha.211a5123","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.211a5123","@crave/farmblocks-input-select":"^2.2.0-alpha.211a5123","@crave/farmblocks-input-text":"^3.1.0-alpha.211a5123","@crave/farmblocks-theme":"^1.7.0-alpha.211a5123","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.211a5123","@crave/farmblocks-text":"^2.1.0-alpha.211a5123"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.211a5123","dist":{"shasum":"2f531f2c8eb3c7bdfa60a983832420ddbbd745f9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.211a5123.tgz","integrity":"sha512-Ei3zpZhjZ3nTqFPFRMhPGCE528Mw6bzQIbJS0sMDu0znLayqcIqSwsfuij3xi6fV8J5Wxi7mRa/paQ+McofL7w==","fileCount":15,"unpackedSize":43814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn+LcCRA9TVsSAnZWagAAY1IP/1lWDZ2mfIe2thOtQiVt\nTQcthWUiVBjL3YXwF7+rOsd3ac/G9J/RIk/xODhz62oPDB1qUaSssT1zkCra\n78Jai32hh5XwH/cANjIXfIQEBzQ4p1j1Yod7Lx1bZN140wb3AlDk9L4bS5bO\n6mxuBKbqvZyXVM1m4o9LayLHj8IAVX6sXN+6L9gR/s1mIlBylvrOMFZMc/Lj\ngGNf4sB2kI2tm+8y16k7CGMSwXiv1E7u5367ahQd7iC2qy7yUwFpShB123Ez\ncAgVprMLAT1VQ4QXwX5ejZFNImbBdPzNL58Ha/U+jd7VOD4rj1FcHaMER0LZ\nfZJhmRGsGdk+K2q86ODOosgAkUf+UFUKWo2onGlAPvf4Xf43Rsc9fwgHkxtt\nzpyvRTwsRuFUeFMaqrVcBgIKwLInHQE/KqDjgF1OkyhBPEKGwln6064ahoIR\nSrlt8/3uweH5dWZ27uJBEgVFS0XJoRc9hwKYGzcP/yD0xwt3aYRuDLo2nTxo\nirdGahMaW44GiuT0d1IieQMBa5q5SF/WfV/VDKki16zZgjd3XxP53KOYxZV0\ntbkZ8ubSxNvw2q+bhsrlLoNWiTvA0OHAi8N/VgFQ3U9r5tIYaNR1MBAFm986\n4ozKCSx0xHffIJyA6pDRpsGByi7qtA11Ys6dFFUPs1KtJ00/r50KMyC+lxVD\nZVE+\r\n=c+Xp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpBERbyWhvkjuA+YgxzHBZK9bHxtyecA/Wjmd+d1C92AIga4iJYi23eP7VTj60sv58wQfJtPehRdNQqmg/ajsfXuw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.211a5123_1537204955582_0.7518837240169043"},"_hasShrinkwrap":false},"1.1.20":{"name":"@crave/farmblocks-search-field","version":"1.1.20","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.3","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.1.0","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.1.7","@crave/farmblocks-input-text":"^3.0.4","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.20","dist":{"shasum":"67f65603c366243b9741b0e125d830b4598c080a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.20.tgz","integrity":"sha512-wV0hvwnQlChQT6L3iFEwqdz+koszs2qFe02TEhBVxJAqXzW/7AzQwBqMK4D7P2pTBsuK5X9Zq80OzvckrJmHLA==","fileCount":15,"unpackedSize":43624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn+76CRA9TVsSAnZWagAAnSMP/2vT6KsJPSxaKUKMccGV\n70/pjKHw3OkNw/MFeiKo2J2sXUmHpubF76T3gS3vEZfxDS/xvrTPt/9Pi1hg\n4oMO7i3A4G0oz5zApiY3dvdMFCz+v6Qeom+ojBs1L6uz4Wv9v1tWLK0ZW26P\nL9qwcC8GN+waJKJKp1GQ7af7uaaJfjEI0TGRG49PtNd9z+sXh1/x0tvALsrz\nYz/qMKcvV3qUk0nby0tTp5FhyWee5YfabRYNX46KufUp9LauPJNuNqXo4i8Y\nmayG/rsjtdry6hXYrbcBVeB0hNHuC2j8BuHqqaq1Xpap7wRdkKtTUUHebKwo\n9CSKNxW3DWz6+lIoA0WgkyjzYuAgvnvlPobLg4TG9wCYShl1Owma6cPuMj2S\nvzlv2bygv/xfNPrA/OwCzvzvLR7KZ1DvaEVN1ZE1FRb4TLtWFVS7swQIK6ke\nVpfX7hvMsJ+E+EXEv2aGhNIsPl0etdJedwwO6a9DVSe5WtJGiv87ymSnEmWI\nZwrpZibWzuZahzpIWT5PCaYhya8Pe2+TdQymasGpwULP5nl3mpbia4RU59PY\nwW01zqtpMhm+IBW9kVft6KF2T/td2ZFP5ZG48G+jyYTR3EpI23QFsMDBgLA7\nX14DRG4QaixsxyTNL0ZDcsJmclMih3yp3QVkmuhG+29K5LqsqNzNt268Gd7z\nWdnf\r\n=BNfz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+wZQkNe8DVNf+5V0y35ASzakA7iP4oLoGGLTin7rr6AIhALS6wlVak7VSBGGGtV2MUbPndZAZr1l1HAoyUyIpUGW6"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.20_1537208057473_0.1821752109265382"},"_hasShrinkwrap":false},"1.2.0-alpha.8832807e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.8832807e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.8832807e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8832807e","@crave/farmblocks-hoc-input":"^4.2.0-alpha.8832807e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.8832807e","@crave/farmblocks-input-select":"^2.2.0-alpha.8832807e","@crave/farmblocks-input-text":"^3.1.0-alpha.8832807e","@crave/farmblocks-theme":"^1.7.0-alpha.8832807e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.8832807e","@crave/farmblocks-text":"^2.1.0-alpha.8832807e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.8832807e","dist":{"shasum":"bc0265b690171ab2d6f2edb9d8bed368a7ea7a23","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.8832807e.tgz","integrity":"sha512-k8aLM5iWkOpny9PGaL6/+Ft7ZmGeyA8qW6+BPo9B72Alj4MtLum+Ouaxw0l+vc4rmLbFWr+Wgws++RVfY8HUhw==","fileCount":15,"unpackedSize":44064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbn/+qCRA9TVsSAnZWagAAyxcP/Rx0nW8h1Cu85R7jvP9M\nQPpcFCoCltvsrOQcMeV+G1RpVPv3o0lCwAN4h1usc8u/I34fksI1zHYMj6ei\nR7wVY4mv1u72KHHWccnRld89MfAr0slmxHiLhxOS1IjLFGDSrpRigB8uJo/o\nGfwfAUfW7Oa09fjQerrwz7v1ZR+IaAv6/9TQivkLW8TnaKMFj7ouchzDDMrD\nTDk8UgLUHpjt/YcMPC6f9AGlZp+i4OGIjjeCcrDBD+HEoBgxEEgeGEHs9ubH\n9VSQ//05cdeVMgSqn7S6ae41pZEujkwvyAW6+RjAJC6JmPTdTaTKfgNzSmAt\nnMZCP9lgnmzvmsglHmZcDJmXRNQ9N8qhwWSkFN9WujI+aO+VRzB7S0JqQEqv\n2OeOpGTJcgEUVOq8W3LGadJ4inwlF1CjV2vOvvrI0cLt0AoilDDqU/LFXx70\nqw6sAdH/oP5R0JFk0PSJ4rehgEq5mrTAcOZMho79WfPGtAkkVPA7ASi804Nt\nk4KDStFQE4pfkqj4m38e0XbzxGMScs84J4GjCUm6AgJ/sFu0zBtXDjioYYLQ\nXhFkLl2vTVBpBBLeLykOPoPxae5xdHATYE3uS1w9aoedHHXBrpTv4HSg4X4V\n5sdKo1oupeHTg9W68QXYtVHwk+SamURzD2n7B6icFxYq9qOlTs3SOobDMlLH\n6V5W\r\n=HpdN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChr5Anc9wa+Th3NS6seXIBNkNVWG3V6y+8tyvH5JdQBQIhAIh3oO8VPQ4DWiTt5vnKq4Nv7PSTmsasOlgIN+CLMmKF"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.8832807e_1537212329682_0.4491619411715657"},"_hasShrinkwrap":false},"1.2.0-alpha.e150336e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.e150336e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.e150336e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e150336e","@crave/farmblocks-hoc-input":"^4.2.0-alpha.e150336e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.e150336e","@crave/farmblocks-input-select":"^2.2.0-alpha.e150336e","@crave/farmblocks-input-text":"^3.1.0-alpha.e150336e","@crave/farmblocks-theme":"^1.7.0-alpha.e150336e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.e150336e","@crave/farmblocks-text":"^2.1.0-alpha.e150336e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.e150336e","dist":{"shasum":"2f9571a0baaad0958afe4b18f9dc12901a502965","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.e150336e.tgz","integrity":"sha512-MnmVWvaIHRVn237r5R2O6k9iIaItwBPCG8Rw6dnNNwqHuNK6Eh8RTwtnXtiYEUngZ1RElWGGJOmqjq/YHl1/jA==","fileCount":15,"unpackedSize":44064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboAItCRA9TVsSAnZWagAAMzgP/2iXCtkVV3fUs4cd7WCv\nA/v0xa0h4iHIOYzlg78AlbjZFySNnUZADXSVz/adUFouFIQUo37lUjBxVWcY\nBOk7FqZ6ZuMHlwn9UClkLzntgYZp14Ubch1ObaoI7HvxSlwg8o17tl/1MuFi\nYoTbDVhefEKQlHEtHL92PLNh10qouPjXlQ4SH+9n6pAGepcGGUjKQBdpxGdv\nJHkzS0i9fSoosx9oqrEvIxd0h8w0TmsWNODl5OWsPQM7pww3EO7biWLmq/tu\nF7ZeNRf8iMQaJy5+PJpTMioLkKZ8TKB5EHMdp9b/vnqnJ5FqE+K4LcY8d1OT\nG3vnK8nt/wwG4xqxIoWfs4G7QB+rakVz9XLG0WUs/yQvbY8yflpn3VbXRBBc\n5h0i8Y/zPxpV+1kBpdOr30Ewrib3rRbGG/bW82xYonbpExEsybPBMitMDeW1\nadx8BDXV4KjPF9JTTymdSjz2Ab7zp17n5Tp1Or1eOvq5UWR6P32GtqS6AfLr\n1jug1xGiDHIQKMJWOXMowdt5TX1+mhN3sfob4gHlAn3cpqXTVEr64pdGPzDz\nvsQda0AipJF98i4afmkav0+n5tAub0aS82sxTbNGS3CMCNxGfXajLx7Kh6iC\nPx2wxucPmX9tGl7Vezzey0XhT2N4heu6Hgm5hIViUN4mGgNqjVSg3lO6YCor\nbnwh\r\n=sba+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHextk2PwDokaVPtuvfAQslTyerdTjvno4i7Gn+v5ro7AiEA2ETWU01iYzGJX1r/TNf8Lyi7Ek+IMwb0XImJ1azi0Go="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.e150336e_1537212972649_0.817696447448613"},"_hasShrinkwrap":false},"1.1.21":{"name":"@crave/farmblocks-search-field","version":"1.1.21","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.3","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.1.0","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.1.7","@crave/farmblocks-input-text":"^3.0.5","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.21","dist":{"shasum":"6a7f00ca64c7653694c7172cdd019ee868427ee7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.21.tgz","integrity":"sha512-Uc1A7cp+IbpkyzqqSv1A14YmLvMtDc3MxwvDS8U+ncEwp3ZNMWq9bYmi6WQmIpu57MkDSLdZTYlQtbcLBhWm1Q==","fileCount":15,"unpackedSize":43874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboAd9CRA9TVsSAnZWagAA5iEP/ihjNcNZ+PSHsEYw8++t\ndauHtCeg7Z3fPn++5RVdD4GzZTL0oGhWCghI0b3Y3b/RYruVOcR9GrjIeNO0\nQ7/Tqy5tNx/fwH8VywxW6U84p1BV24nfk2cMq2Lu/5Hg4Z0pRhrGrZH75zoz\nFOh3z/K/b3XWy8Lzp3cVou/lk0LJK9Z1I3xJNS/J0WH5SsFgiBluiQLP+iph\nbyDHGkjUAfHV5hfWnUmQNHsirT+c9/ebVp1rl3fUVDhyagdcdm0zkxhZr8q2\npu6CCSbw8qj6nfR7++a9tj4V237D4ARr6hVgWJR5HDZdAhBAmwBGl4d/zV/w\n6s0ryIVRydtsSkdlQffQu9DqKKB+cFDhMO1uRJh9i5Vm8Y1uJwglq6FxtNZZ\nHZA7+lTT4qcoTuwNFpBgjhkHlqf9o20ImFRlOV5XWxpak13wkOD3rJA8jBI2\nYVBdGpbuf0eNfSVyoU0HWjr4xQacXP9LdI+cYifPGPkhfa2YqeL7aIjWqs/K\nqRvJBl5zqc94Lm+5hGs8aRzi4+EzhzWBzTsAz9h+TTNOQvdJB4hAlCbNsJCb\n5ysU9lpBFMspvVXDNQvW7X8C1z2JvbOFjZOfYXMpIWDl93k/+ZxodHmF0mHm\nTj7pP6a8LiWX+NVRyL32+iFXXyIXHKCFRa3X2PEmtMaOcFg0uLc+6R86Y9Ix\nVBMj\r\n=8TAE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTpA9xw6I85axH8SWqBthkWi776ZTTSjR6wXuBonpLgAiAVEllDVDXC05i3GQAquW0/rUw6DZqZgfjf+VFDGqp9yQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.21_1537214332498_0.8383180470082208"},"_hasShrinkwrap":false},"1.2.0-alpha.227dccfa":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.227dccfa","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.227dccfa","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.227dccfa","@crave/farmblocks-hoc-input":"^4.2.0-alpha.227dccfa","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.227dccfa","@crave/farmblocks-input-select":"^2.2.0-alpha.227dccfa","@crave/farmblocks-input-text":"^3.1.0-alpha.227dccfa","@crave/farmblocks-theme":"^1.7.0-alpha.227dccfa","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.227dccfa","@crave/farmblocks-text":"^2.1.0-alpha.227dccfa"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.227dccfa","dist":{"shasum":"ef17611a621ab32be5263b85a1d54d97c63082c3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.227dccfa.tgz","integrity":"sha512-PGxY0he4+SgDkMtzDH5XxOanijILHDbU51MAfodnwdlxbn8I+/cV/BjLm86Si/JYmUCF5ghkSXyG/H1uF+COEg==","fileCount":15,"unpackedSize":44314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboCc9CRA9TVsSAnZWagAAazMQAI4kbbRgxq7d560/n85B\n4+d+/1gCb1iScbBbixTR0B/3JE6lnK5XBU3hVXS04tAefxmVE0fiMzAgyl9m\nYxCBvkwqgzQojhlko6qRlWGMGJl+OlANJ1O4wt1XFdcFIGcCMLfZUJNqPhSL\nW71qXzxgINe9jNi2jQZ5GHMeoD1laOu5HhW5mf4ZON1uLcomuo3UixHa0eAy\n1IQUhVODG8DE5gxoksGUINR2gWxPSI8d2iK+hIM/x9jVJGazWRJUnncvWYiV\nNnUd2KWEWNM/lLQSKQePkdhEPl8REKF5NGVl9+QU/A3ETl4Habpq8kBk0hI1\nYoOk8VaU8+wYAKqpRAP9D5qYLM27uIIZ6wqLmSaph3LSYOrbOdGFyane+a7n\nSf2flolK0gLuMURQfYlWXww8HU9YcBaP2tL2dct6FPDSIZ/ejIkY2/kyVC8u\nT8EqLuMFnfhV8lzOjVz41ryY4rkUyirQGCQ8QUuMiHaD+AgHVhNQcK2uRxzK\nDCa/6YPKzA11z1IBo7WC7rqBldQsFg1kP0vPmzRlP+6uPSeMuNpwK1767ONF\n/c8sJvvkhm5KA37KUIwk/Ds/3wr5zOgKqf8QXVOkF3i1t5kbozRnbMFTbYqv\nqq4TW+ZpG9EirbtpxDOFDaiW086yI3+D8CCJ6FiKaLYHhtM3379jdN09Rtu+\nNsHZ\r\n=urpd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHyF19oi98Gc2Xh3HIbmuyrCohI6vvwpP/2njDqlzOtTAiEAj2c/OVOYSUw4nDPVdrFlaoXKdRsMxPtQJdI1Rjv/LMk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.227dccfa_1537222461202_0.0911063731845363"},"_hasShrinkwrap":false},"1.2.0-alpha.ac0d405e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.ac0d405e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ac0d405e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ac0d405e","@crave/farmblocks-hoc-input":"^4.2.0-alpha.ac0d405e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.ac0d405e","@crave/farmblocks-input-select":"^2.2.0-alpha.ac0d405e","@crave/farmblocks-input-text":"^3.1.0-alpha.ac0d405e","@crave/farmblocks-theme":"^1.7.0-alpha.ac0d405e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.ac0d405e","@crave/farmblocks-text":"^2.1.0-alpha.ac0d405e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.ac0d405e","dist":{"shasum":"2e50f45ffb90b7977275fbf2b470b2176c8141ac","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.ac0d405e.tgz","integrity":"sha512-jLzL1SSIqIk0HAYuPSNt6xf0QPC1sW2V3a50T6FaZSgq+s6Uz9K++uhahxFviyHeD16zu1Nwc1+Xp0H4EXXvfQ==","fileCount":15,"unpackedSize":44314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboKyQCRA9TVsSAnZWagAA000QAI9f8OFtgIsek7sGrZt8\nGmSL3IWf5AxpE7RyOosPKeBJD3DVn9IAQSkYpuHYvOyFX2wRGq7qjThJJOTD\n3S72sWHA4LyWA3R5fJWBQMqU30bkc1feLxq2RhtdTRt+FLeT+vjVUqWP9F48\n3UVU3uFWjebkUKUBe4Rn0jFwMWFhHxW2wJMAZqHGXkXMRESLKGl9ar5YphPi\n3IycgGGa94q/sjh4ZybRLqjLAnJrQ5/aYQvfeowOUNZkUc4V7hepgQhwpwZp\nS9/zDbWpYT6PDVVUI/yxBeJSZyYgNjrlJvHK2/30kKIFijN81CfkgUBeQ/g6\nRWzXAJfH4NHHy4QfUKnJHGgCAAVy+SGIyJnyHwnJwTmviD2/krvCdqrS6ZFg\n83o5X3HWzv4aqdQhi5C6VSY9/cVE1cB+U7WHbTMWDtq6CXptxGaynmmGtnKF\nS41GoLfh3/k7XeaTZ1uB5aEZBEK54fxewwRev+Gwoiy2BO+GREI6hpuwBbcU\nHkXzVtj5aLhxee79y0nQ8dcrOJCi4WEpv7UNz4/Y52+7zH0BTXUM5oeZ1RgZ\nm9pIJw0Or5lX++dxYI3PlZASriTVPho/G4b4jUDkExqmAAMzU0ZMLNWy9Rhh\nsOhVPfDTn6P4Bvq9l7gX/PmmLTKs8rUaVXne/ojXG3CRA/9C8ynfKghlPcLM\n/BQ0\r\n=ORKt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIeAqnHkFznXzHMDNvH8vrntOgfbcAmvvYvI0PowMOhQIgEIivGc4lFu3Y4qfLsld3GOn/iqNwPBar+SKsHI1jmEI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.ac0d405e_1537256591936_0.20819748701264684"},"_hasShrinkwrap":false},"1.2.0-alpha.64a9a753":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.64a9a753","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.64a9a753","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.64a9a753","@crave/farmblocks-hoc-input":"^4.2.0-alpha.64a9a753","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.64a9a753","@crave/farmblocks-input-select":"^2.2.0-alpha.64a9a753","@crave/farmblocks-input-text":"^3.1.0-alpha.64a9a753","@crave/farmblocks-theme":"^1.7.0-alpha.64a9a753","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.64a9a753","@crave/farmblocks-text":"^2.1.0-alpha.64a9a753"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.64a9a753","dist":{"shasum":"b9d9d6403854c992816e103017dd617450586642","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.64a9a753.tgz","integrity":"sha512-ri73Y6MD2RgEqk9mz6Vv61ERT52Qlw7P1awJFzjgsCzwcDisuc3AALRgABhw1qazlQcLcms9Pa8u/9h7ohVecA==","fileCount":15,"unpackedSize":44314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboPa1CRA9TVsSAnZWagAAvAkP/jGn5W13EIZV+ZKAxdk7\nV6GYj0il2+mUGIMs8GAfMUbTYYPd0D0+igyWDd7N1ameBa1bhncP531icnbL\n4NvYteuNq4W3iX1GKQjabusjpg/DGbVLBoFprG4Jhq0WT2uRuF/WDOBEj+cS\nanb8Yw5dJFc85PAWp9rgsI5nbdhIid4sklusjs7nuJyLEJvOPC/3WJYp4G43\nKMClrBSE39QDMADaCZaOOk/ZxaOnOPzrT2UvYLlBPzZDtC9O16f4caaAuxZZ\n3o5Tr6SD3fSiOYurwpoTq345akBaASwfGN2lmcaTvlx6pxxanoilYQHW5O2l\nWTinPOCZkE1+ktIc48/NIvjYTcFexDyCCWYTzE4/8WdC9/4qlk3foEwIePb7\nUl5tNlREfr1EwVfrUN+tw+J/E4bPZ/rxqNvw+2vliWQbycrKKofnjRdYjSer\nd7Yih/tk+xvBC2uzpoa0AiQhLlULuLRxPDTnKiyD1pgqXB6Bu5A+oQOqN4gI\nkZdwuyeFcdwlnkSP9jAbajTsNQ1UG24Dgdn2obx3aXUtHU4KnwTtII5yirnj\nU+tsJAy8oDmWlYh7Vh0OI8lFbfwPdBZG9vmTuyN2HQhWddX6OMxwoViq6JVd\nhNArajp9wEJwPCZA2zKmOL6p7fhIymDE9RROEUUn0ypc1AsMzBoaDAzh6bFU\niXvv\r\n=i+wf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRK6Frzk/O1r0EAbZkCUk6zY1oVEEJNktX1ZOi1JzcfAIgZss17ktPvVpwBknLXRLB59QOsxErqQzOt8B0v94Q2DQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.64a9a753_1537275573282_0.5323696073611393"},"_hasShrinkwrap":false},"1.2.0-alpha.6728014e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.6728014e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.6728014e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6728014e","@crave/farmblocks-hoc-input":"^4.2.0-alpha.6728014e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.6728014e","@crave/farmblocks-input-select":"^2.2.0-alpha.6728014e","@crave/farmblocks-input-text":"^3.1.0-alpha.6728014e","@crave/farmblocks-theme":"^1.7.0-alpha.6728014e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.6728014e","@crave/farmblocks-text":"^2.1.0-alpha.6728014e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.6728014e","dist":{"shasum":"5bdfde96f3e3de2f01a842c0aa17ad1bf5b70e1e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.6728014e.tgz","integrity":"sha512-GgMzppywki7XUPjf8QVQig8w6jf3+zKTGU3DQRlpZGLpBF5wqjMPgKMFnxEPrIfVtDw0eAgDuzNj9WTC+pEEWw==","fileCount":15,"unpackedSize":44314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboS8uCRA9TVsSAnZWagAAp0gP/1orXjQrKBjXWMXUIz+n\nhOz7Bk7rjkCbgXosTNuqLQpENjfB6OApWCEZFU4Wq8Izr4A+9w/N/+hGmG1/\nDTzmHq3FU5cfprRifvYj56fpMUuwXic9mG+eZ9RSV/HFfAUse2+/cRydHJKO\n2QKfl26BBqHYXgT1w3di/aHXEWQ9a6N7CitZSdl/QqX1TUXL4bokNsjPv1/b\nXznEbJqRrE/lVHjpJap5b0mWKQPu3ST2KFDwuYWd9r3Y2Usy37z/wv6PBePd\nHzBNFivenGvUsjKfmzbVJOR6fZHmJWviJ+xUrBr38Kv9K5fzlKiXspkY3+zh\nLob5AuIb23n8oy3WzyVkTEGh9gQDz5XNEWsYIHF7SZuiMxXF9ZfhJj2MdUAl\nf0fwVnyP7PBD+YUh7+lHK0xG5ILaGXz0WZOVfuhBh1E8FJe3zXk5AhUSr3rn\neuSTwnmw4LdaDWxOBT8fZ8QWcfwxwNDq3xBF0ktrGNAR+tfnKPtVUYfRwo+P\npiwqv02PxxFQr7obNL8Cc33Y6LaRH0Po01W7n4lP+TwQO9Mve2pKEsdbqN+3\n/n3d+LS42gZLdQGrRs4cV3+IC8/DERvEirtfQxkzsyPHVRlVXbNFBMCfUC3k\n85Qm+fgCyv+u14qhJRF7B4ZEVaqOVfOt+AZZVWBcs4nOC6rLgeqRAlj04BZK\nyb0s\r\n=CdzD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2+VgtfE+4I613QLQsNrCxWKsnglll3D1wrCsb+rlH6AiEA+wn+I3tOqDXphynVKYk7ucmYuIIcjFpeHob88pcIlTo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.6728014e_1537290029990_0.984658242385074"},"_hasShrinkwrap":false},"1.2.0-alpha.90bddbe3":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.90bddbe3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.90bddbe3","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.90bddbe3","@crave/farmblocks-hoc-input":"^4.2.0-alpha.90bddbe3","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.90bddbe3","@crave/farmblocks-input-select":"^2.2.0-alpha.90bddbe3","@crave/farmblocks-input-text":"^3.1.0-alpha.90bddbe3","@crave/farmblocks-theme":"^1.7.0-alpha.90bddbe3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.90bddbe3","@crave/farmblocks-text":"^2.1.0-alpha.90bddbe3"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.90bddbe3","dist":{"shasum":"a00b53f036bc909af150e1eea780fc673affce46","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.90bddbe3.tgz","integrity":"sha512-l3NaYawIJddQZohyV1RFcU3VbOGxMWS3+6De3XNkHKZb46JaumK5VcM5fWnaDbkzORA8Mi43PPmHBvjQu7gz7Q==","fileCount":15,"unpackedSize":44314,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboUXACRA9TVsSAnZWagAAWD4P/iHUFjkAJwodu8FDP04h\ntRczTvLlJBlOrNIYKm3OIjpoFaGl60Mka5gF8FmWRwUKey70asF2mxr6khR1\nM4qP26n8M+2vCp96bQQeeL+AqIY2oBiPGzvEz2+f2QKLQvE6At3OSua4HN7F\ntfNDe+gut89ESwJTgqqs5ZkOCIs/tOR/6UPXqCegqN5yih1B0HvX+hVaJiFW\nGna4I8IZzmsM3cBL6b/GVdJlbIKOmYX2T0h0NJOBzCmtaWmNJIZ4nrVL8bHH\nrnZWpJcsrp/DSNex2fSdNvPc8PUARyP5Y5ZU83eJKr6vqC54dsdbKbUYmPxi\nvS93zJTj01Y7T9dFWYHhHt7OyGvrvGyzsjGWnlHt8T2X/BC1Cw7puxe+yrfc\ncjXIdy6Ucrg+NdEUedpQQtsPLgzgwep7lOeWeXC9t7AbwGyFQNhXF3OeEfOr\nJaOL7JaPbdVmRe41IgNOgSy0ZuqMGXWyqfJpIlELVD+KtiX0YB6/GSP5F56v\nGA/RNpv3k4MpF6pS5n7Sl1u32gcIajJLHopbWpcA5SCa13ExF1z3NfwvL0uk\n6JZm4U7y1moi09nWy98QgxxnvIigiPsfuLIkxs3RHmzoDA8OKX3eG4vqJr7Z\n3Mzb+U7EYzT1nbNaaWWGZNvCpVkb86abCTEyBrJIwMFkO+NnN28XhHO/ZuCU\nq5Gj\r\n=lh3G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD2BVmsuYKZfNYMNQk5UrDsp5JVfxKx7neSpvx9IXRKGQIgNaG+p9ZLTQXyEc7XPa52SRyZ6ndObw+8DjO9PBb0DJQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.90bddbe3_1537295807733_0.5193162698352081"},"_hasShrinkwrap":false},"1.1.22":{"name":"@crave/farmblocks-search-field","version":"1.1.22","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.3","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.1.0","@crave/farmblocks-hoc-validation-messages":"^1.0.0","@crave/farmblocks-input-select":"^2.1.7","@crave/farmblocks-input-text":"^3.1.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.22","dist":{"shasum":"8734d2b5e50c297678ba3afa7f5c9db15b6c9cdd","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.22.tgz","integrity":"sha512-ZNqvrNQXu1dP5LYOfb9vv7JbbUqzzavmzbTf1s9sfH3ggu8KjG3SbLSbTUr+u86Ij6gjXmRVXSnJgOQtKu44xw==","fileCount":15,"unpackedSize":44124,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboU26CRA9TVsSAnZWagAAv1cP/3OPMIQbCKypI3z0clBV\n63OlAxbaKgMHw/b7S+zoaJPHFhvpkmsevbQTyatbUC77qZ77kmGLSom/cEtm\n5FDdfFPay+fSJZ8zeMMdFGhkKouXEaPToNLnquWh52UCtvagiy2xlTyEKBZ3\n4Ddxbjfbi2uHsKRH82w5e9maJ9qC1BD9nBStRzRelXbhkIDZLAjpShC261lf\nsAZ2eKUGgrYNUbE9/NF3qDZu4gZRghCNhNIAZ25dvg7wyewvCUDR/P1K7nks\nZeJXk9b26co2iuCzDjlPC+ETmgjCU91G/1XDs19wBqjcfRRUWCNY2dybcd/y\nUjDRyve4NvbrViI9niDtoxKfnOh2JKLinv6tnTI9hYOBBDFtdwttf5AyUDdE\ntTQQBockAjJXzH8VCq9NZwGmMHEjZjHTk1SHr9jdYWVGKog9HW2WXctq/i+w\nGRRAbE4GL2IrYzXBXjE9JRyLee7mM8Aziu+SD8FvhOkQ09UeWF1XFIZ7lL5G\nFs8iGs+Eib6qj2VxwULWw9ST62+rSx0PwSplFJTb19SsGq9igSS51kKBpXk2\neByXH6FNA+9aQHSYNnPYb4Gd1ieYwKRYt8CoA0MCU0wq3nUG6h/twVTr1ezM\nYi+tvXWZ/i/s0/NpcNr/arW73ftOBP1m6VIXXpaZ6HDkUwnF6nSbi9K1l75Q\nygf2\r\n=hJTe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTN20sxyslMpJl8hCcS6DSiPx8sMzXuiOp6mjK0gfhgAiBG9G3FWnWrgKNVpBvd179R4d2ljNR8yTFJj0CxU8yYkw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.22_1537297850193_0.1689310689055128"},"_hasShrinkwrap":false},"1.2.0-alpha.bbcc1ee1":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.bbcc1ee1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.bbcc1ee1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.bbcc1ee1","@crave/farmblocks-hoc-input":"^4.2.0-alpha.bbcc1ee1","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.bbcc1ee1","@crave/farmblocks-input-select":"^2.2.0-alpha.bbcc1ee1","@crave/farmblocks-input-text":"^3.2.0-alpha.bbcc1ee1","@crave/farmblocks-theme":"^1.7.0-alpha.bbcc1ee1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.bbcc1ee1","@crave/farmblocks-text":"^2.1.0-alpha.bbcc1ee1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.bbcc1ee1","dist":{"shasum":"957da7c32be70421b882adae18a7962dd1c9b1f7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.bbcc1ee1.tgz","integrity":"sha512-f16RAMyyJ9DK/rD7RYQ4LUw2+GIKfoO88qn6XO485UEf78H4Mul0luLErmgCjXClplKxIps2481Q37XfkRyI7A==","fileCount":15,"unpackedSize":44564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboVIpCRA9TVsSAnZWagAABm4P/jA+mhiuK2NmW9SCg3ab\n7Vt6BF4gtAfUfJEo71ggi+sg748xj8gT1i/Trvfnpzt04cZSFl3eDQLEOa1m\ntYZD2QDhjcNN0joVqm6sHwS5KZo9foAi+cvVCbptE3aLWRDT/X/8K4yo36sf\nl7If0JeI550IV3B8ss9wwW8pUa+FMORCK4R2+aouMbdYWIoe1CXhRewS31S8\n1od39/kPexKrI252TMLjif2iO2o6v9f0nxASon5/M6kqQkOmBQCGORjlKE5o\na9OAsUPhRV70FO5r32ax+4b9mxr+QHl9ZMcX3mPoBCdYV3n06Nv60s849etS\novaqU3uuQlGUjEHB6k3QPJj7DdbAerB1NaoVx9cmr+Qyd0MV8CZpFEW8TXwj\ndK73TrKCivS/RcwYlu+o9JIsYsqvx34rKI3QO5gH3UlnowkdR4K5nAAP/xOM\nf6S/ZtvBSv609MsBL/v+DFC8Mtf9ZoeL8Xs8wQjCs9qsGw4VyizvjI24L2bo\nUM7bZcKbz2nSkJfdpcQVOJcc9WAJsMsieO7yrlu1obNm3FQjBDblKOC1SOWV\nigKYxmZaMVYPpyCiWLiQzPveYwvnSjZtELMxxdzRkhwtVk71USHzR7Lf+40+\ngbJBHbQr+XhqB7ExOWzuBhJdb/mYA7iZ+rmoYZ9tN+cyxA5K9hdStSfg7IJS\nEDNY\r\n=Aegm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCE7oEIBmZ/U2GXU9VaIQGPfUwcDQbRH5oJqB667yLkAwIgHt46KPeib4FXko2OUFJbj723HMFlaVlhZIdN4XCNF38="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.bbcc1ee1_1537298984432_0.8090290967585885"},"_hasShrinkwrap":false},"1.2.0-alpha.9f432df4":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.9f432df4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.9f432df4","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9f432df4","@crave/farmblocks-hoc-input":"^4.2.0-alpha.9f432df4","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.9f432df4","@crave/farmblocks-input-select":"^2.2.0-alpha.9f432df4","@crave/farmblocks-input-text":"^3.2.0-alpha.9f432df4","@crave/farmblocks-theme":"^1.7.0-alpha.9f432df4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.9f432df4","@crave/farmblocks-text":"^2.1.0-alpha.9f432df4"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.9f432df4","dist":{"shasum":"3cc248f2ed23d527cfcbce1e8e298da7e0d988e5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.9f432df4.tgz","integrity":"sha512-PVv9YE3MNi7+Ipuxa8M7RCE97h8AaIfwtBXfyrWVWIQ4i+8mlWEf5scj0rvbiFRXbGrtveBABumgbVqvnq9Rfw==","fileCount":15,"unpackedSize":44564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboVy4CRA9TVsSAnZWagAA63wP/137WXAllmJWPTyviPy+\nnThwnkHWBU/n1u3cw7ZBkG+dQH2V9B7noXk4dEEsKcIQzm8UpsdWmqKvJBw4\nZfIPnJ/3QrgM1EA4qCxBlY+jEu3KMm/+zPrGq1CvT196mBFXmCsJlZDp+J5X\nSy6kzoFNY6w93QX+oM/n0xJLkDhxPTHT5XbTf6ohj2iInR+Uid8UYxzwQkOx\n4hO+yVSCb4mYbgFKJB370Y2X7td/Ux7wNq0P8QL88pxIiukPS2DIbCUCZ0fY\njyJ3gYNxCZeUbbqsrsowdtNx9KTtKhZsOGRbPzRNdxS6fzp2fz9Ym6CIf8ma\npAg0m5BGlHRG5IcMaqfalLRv5VWapZSQZe+h4GoUacN13p0QJTHJDCAUc0YX\n2KivNU9qu33ASHqXh9OAdlb+yrcYCEWHTxhMVm1EbeeIXIpd0J7PPl5oCzKj\n7lYvAzYC99j5iTftBH7+XORB6ZaUHZ5JIC/PUpCwsmd/ElRoa4Xl4+9veFTd\n+ssj4HkQ4vcVHjyBnmHGwcwOhQSeINGrhrnkSyXieItDNsI6vORHvj9DB1oM\nxg60HLf3AaVnMl7f4RPSIl5McWc2PXt5v0WNm6L8fNCxTMJ/+4ERtubcBpfM\nq/H1mZvkeACLRsBzKyGHKrl4DLNABZ5MzomdBWwGqomSgg1BuOzwpXxBSKsl\nj7Qm\r\n=lSfg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdHrHn1MqvEZq7ltwOnYDmDeXh3sI1VlxwGkIMRTyEKQIgVywsZNwJH/P6fDbWGQXF+jkEnYf+zwTsZVJ1u0JAtHQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.9f432df4_1537301687544_0.05904457213496617"},"_hasShrinkwrap":false},"1.2.0-alpha.065456dd":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.065456dd","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.065456dd","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.065456dd","@crave/farmblocks-hoc-input":"^4.2.0-alpha.065456dd","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.065456dd","@crave/farmblocks-input-select":"^2.2.0-alpha.065456dd","@crave/farmblocks-input-text":"^3.2.0-alpha.065456dd","@crave/farmblocks-theme":"^1.7.0-alpha.065456dd","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.065456dd","@crave/farmblocks-text":"^2.1.0-alpha.065456dd"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.065456dd","dist":{"shasum":"5504239292aebe9d3515354da4405f01207a0b24","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.065456dd.tgz","integrity":"sha512-sYB1Cj5YYCVF+vr0DZ8Jpv8AMEOSNJ8PQNmjJ/BpEEEMXd5+sQ8gLcGSuCbzmqN+eQW/lGbV7VA6srucqV4KHA==","fileCount":15,"unpackedSize":44564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboVzECRA9TVsSAnZWagAADfUQAKUcS4b1yfC/qh/3MKuL\nCHxwm1RSuZxyaFzKMzWgMlgIdD5PHsp/sDZo+ZC9Pa9WdU6T2b3OWqV176C6\nt7tFRG3HdY+wxALMIT2HPAkckgEfX/APtMge6XC/w0/Zwi2xMqa/ehkEv6NM\nkiPctDkGwN4GtrfRpUQr3ywXDX/gVt1ceAAev8AznGoeXsvHgT97+fM7zRur\nDGsK+4wCKyFsR1RTf4ZpYQycGFCVFx7RgXvgwC4ISVa7Z6HZW5N8WhFaG7rm\nc9T4YYXvVkkMn6PMs89woQKxPC7z4Z+yO4qErIxOXi3xlk+ufdacNjQZNvTf\n2NPb6JQ2t6fbSdNeuY2WxNGBP4nJqQXEysd2Px4oBpoyQq1/mtPe3Oz3TNTp\n07seV065wH0oEsCemvwhovUuIWkK9Qxw06w9WMOaxnB/76nDoIOKuvlkb5DI\nxaKyl+8rRHfZImbWz2RN4YHmD3bW+u07aLuDQaXmyVJkoI39Bkp1hhx17SKu\nTUQX3UCSkM2lkWVQUx2ku0vPQbu4VJshSi095fV6KFl6IvV5eElJZwg0qQXG\nUTew1cZ7+EqcXoJyTuKs4b35NS+TQIt4sF7YXANNvpOR3KeNZnUykjNi97Ed\n3oe7voZrmAie7cRr58wUG1YGGRjWWU9bzbtXucow4RFhVD4VBOtliDkjjvaG\nYM5e\r\n=SjlS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAQT0wWXFiu/2oNUnfKpSQ06cb8VhdBcpKaPEqY641ZJAiEAoIPbqoMgNLg6PZ1dY95HZhUGgFIdu7zfGl7t9sOdH04="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.065456dd_1537301699399_0.21859586221891925"},"_hasShrinkwrap":false},"1.1.23":{"name":"@crave/farmblocks-search-field","version":"1.1.23","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.3","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.1.1","@crave/farmblocks-hoc-validation-messages":"^1.0.1","@crave/farmblocks-input-select":"^2.1.8","@crave/farmblocks-input-text":"^3.1.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.23","dist":{"shasum":"4735b20bf02ac024998f66964553445a55195f46","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.23.tgz","integrity":"sha512-DEO2SJ6+vRja7F4LnQkU+gtfstICqbsyMgIa52lVp2J9m5kJtFHpzyYneGp9TLAGudb9d+XZWVfTbV9wHEdb/w==","fileCount":15,"unpackedSize":44374,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboV7yCRA9TVsSAnZWagAAmFIP/j/3RtOylPHcICoRZ3Lf\n/wszihGx3vdNwmsmT/oMICcWo6z25VxXEV9eRwkTc/xkRn7ZBL/wcRGlYXKj\nHUSrGIaCN+qdAnsp/EBJHMlxoGd8dc9uPQ9fJaDI3S/ioBmYMAIozRIIG9g3\nnqZ5lkOkYbTpRLWbebqSHVEwvgXeKXs4uWhIajpOEkM7J8s7uqkGtyK34Xy4\nqXx055rYDyFPOyu/45K8joBCeSXicdUpJnZmuhydeEy5m21zR2bASlleiGr7\nQK71AoH7E7H+pJTt9C/tWujbJDsbaaxuZuehP7Le1C2QSZ3RwfH+yNf3eJjz\nOUW8LjN8Mw9Bv4NPctpGqhkQdVbNbZWq7MVjavS85Sulcv7dLjYjc6Dz2Q9Z\n+P0UB4YBHCQWuwEvKVBhP8l0cwpvEsZ3i100Z4oIThLeRZZym/AJdzGMX5Xj\nAYqjbveDEawmFogWkXd/s8V1kYDqG10RFU1tM7nP+Ar6gOxNKy5npDPnL19C\nFaIyUCLYu3nMp/YQ4/RKa4tx4G8fmxfptJxo7yVy53Ag8LyqFMMHZwgjHKNy\nodHZIXnsm0rmZRFCCA+w+z1eMMZ1/RJvEIGwGYlsm5tGzamT+aoqckM97Hod\njm8s0PbJrWDwcGTnaPN25SRFIdVk/ziZ9NLAP55Rk4mo23IJSL/QPRrjNcKd\neeD5\r\n=GgkI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCr9v7/9+I7ZF1jj0kHyI64ijhN6fd/l6fQUZSIYZxuBAIhAN0QTxXD9PIoVLCQ5VOawuFtugc1wWfwVXf/vXmZtRql"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.23_1537302257253_0.17348435804162943"},"_hasShrinkwrap":false},"1.2.0-alpha.72d25e2a":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.72d25e2a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.72d25e2a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.72d25e2a","@crave/farmblocks-hoc-input":"^4.2.0-alpha.72d25e2a","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.72d25e2a","@crave/farmblocks-input-select":"^2.2.0-alpha.72d25e2a","@crave/farmblocks-input-text":"^3.2.0-alpha.72d25e2a","@crave/farmblocks-theme":"^1.7.0-alpha.72d25e2a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.72d25e2a","@crave/farmblocks-text":"^2.1.0-alpha.72d25e2a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.72d25e2a","dist":{"shasum":"33f65a05690d4d3171e4a79f4c2686260a9fb46f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.72d25e2a.tgz","integrity":"sha512-jFvUkWLPYcwIwbMPY6/IxzwYVlXLvWvP3nTrqqg5tZHvYILvZWmH10KiCJLxjDSmkAyGyDWeAkOYpml9YlfTgw==","fileCount":15,"unpackedSize":44564,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboV8XCRA9TVsSAnZWagAA+zwP/RQR0eCE9C/qh6lVqzHA\n7lTwkAS81phedEQc34d1oRexLM30RUV+jv46jvZlj+uGijfFww2YF1YH2SRv\naGTqrUme1yGYqhtpcVTRgw5r1lxSF3J2Otvfqu3MjZlpFLyXPR7CIHl9yA8r\nKjR9ePaguIvLpG+ERYeIQ77SjMnTHQZnN7YECQDXs1ClIAA8JYLV2Ngzrhf1\nha1ym4Q1qnD3qPZR9idQ6oivmeJ+qDT0phyShXmc0yGlcKhBPud/w5IYWegy\nhRdXndphHInrUAgmDIaaS5fdusITHLTFUfVzCuKnyoSw3tXO8SZrk23VRo01\nrMoAnX6BY+RD6yoQSlgludBxkMsjBmI1X1hyJcEpscBVvxPwUmD/f0fBfIUA\nVMQawQFVKl6kOmT3dTQ3gEd9yHeC59fCXfcLjxd1YY1M+Eg8zzxb8/28SjYj\nimnzuFfEzbLEEh7np+GKJUltkNtWx4gUJfpdx3T1i7RZcPeqR6hKzsLp6EAd\nAxzeSzATw72G+AEDbhAEPiy+pI9uyn9o1FarbMsCbzbtcMH9y8l2R+JgRA3U\njwuuCO+cmqn8ene3o7ol3YAtboE3MTlNw0dES7acte6oBF2EGnxgsbh/nP4j\nhwZNvcvjqJfaccrlWxhHDupAsjhsDZf6ngrYdmLRR1h1QJKjpVz93x7tHtke\nX6j4\r\n=OsWl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDx83AWDdhv4vSO4yGZy2aXBYS5uwoAO8KCdJjOYV2I+AIgHup2L+uRsAqTF9oyexAeCtS3UEH7+9Xd8wLC4ceF4So="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.72d25e2a_1537302294953_0.18083318509566415"},"_hasShrinkwrap":false},"1.2.0-alpha.158b4241":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.158b4241","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.158b4241","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.158b4241","@crave/farmblocks-hoc-input":"^4.2.0-alpha.158b4241","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.158b4241","@crave/farmblocks-input-select":"^2.2.0-alpha.158b4241","@crave/farmblocks-input-text":"^3.2.0-alpha.158b4241","@crave/farmblocks-theme":"^1.7.0-alpha.158b4241","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.158b4241","@crave/farmblocks-text":"^2.1.0-alpha.158b4241"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.158b4241","dist":{"shasum":"f85d4cbbdd6b9ae219b9964171cade84522d7cb9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.158b4241.tgz","integrity":"sha512-ZfpVOBL5LSzzJQxOia2yeMc2GPumoGsAAWFXNLjMIMMraWt0cdc2QDPGq6vSqTYxKt92rQdIhxMNQ21o1d4pLg==","fileCount":15,"unpackedSize":44814,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboWL+CRA9TVsSAnZWagAAmIkP/jXr4zjWPUuMgF/mCkmR\nhufVYAe1vlAJWAC1b7m23aegUA3OEPDsI/ULAJJqIkjznqypZbv8+U0CuGCY\nXcpJT+qSS5xOghpS3qrvFhK5pHTHaFkz4iq31UGM0IULtRvfKMMWrncRHprA\nU32blSkii/ioR895WM3P3nb8SEoGctmk99iynf34KL9cwVdZfS5qBa0+HcMV\n43UUVU89LJ5RAIci5O718veuZRP/UBwZnu6lRHDEHvrNaNktCQv3Ga6NtxYz\nrumFAg7h3fT+s/GF6NJn7RGu8yJngswg6Oa9RJZd/1In0Fmag/vvvlo8weW/\n4+AJxIeFTCa12vASGq303mmgX0vkcjHgRvM33Dt+yBlyjlNlJ8pQ+h9+RMMA\nb3wPU+S4nlZOd4G9/MUevBRRSg86m7iEivCZySCh1GhFXY47qzeu6LO+xKTR\n8c8YSeI4IWb2kTs4JQtmzfw2N/a3G1U44E09APkGVL1rK2UXODajdxgQJEfw\nwAbX62ARGxlLoD47/dOMTd4xybioycfDIK124wQftz0vyeM10WNGN/gSxJP2\ntAzMzh4t5IaT1xMWYXQS9ety6pC7eN7E5kvSzGdj2qfRLkhd6LYwgtKkPlH5\nv8nUe+otdsYqXGHwQlApJiUMqqClKWZ6L06p1BRRznQmo6+hIaz8A614U0Qx\n4N6r\r\n=Lmx8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHxQNJ+BXwC5D2AJsTjuWA4gH2lbDQDWUXZHz7vsQntxAiEAsSulfXc7Qt0hZWYOWIjXbItWNGftJX8iQklw4X0caFA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.158b4241_1537303293448_0.21819810686818042"},"_hasShrinkwrap":false},"1.1.24":{"name":"@crave/farmblocks-search-field","version":"1.1.24","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.4","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.9","@crave/farmblocks-hoc-input":"^4.1.1","@crave/farmblocks-hoc-validation-messages":"^1.0.1","@crave/farmblocks-input-select":"^2.1.9","@crave/farmblocks-input-text":"^3.1.2","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.0","@crave/farmblocks-text":"^2.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.24","dist":{"shasum":"e426dcee86bf20bdd6ac3aafce2e6157b615713e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.24.tgz","integrity":"sha512-Cw3yB8rVhmMEZ/RnHk8loiueCt3pftby+uF4KS7Vso6LxOmFWWULLBS14HP3xF3574Fx3yBqP+y63NkwMuPIqA==","fileCount":15,"unpackedSize":44624,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboWU/CRA9TVsSAnZWagAA9CsP/iPIsWE/XNMSYWCNu6Wj\n+tcgZd4hmrShmuyClbWyzHRJBOvgtm425Phitqee7ODD34BwFVtFxxo2w7jB\nsp/vLnv6kModyV+KP6H+RgmA9p2mo7NlRSdQ/qDV8shdG3tbOtVltkep2QLQ\nZoxL+u8PvPIEl7c4SUsCJ3Y3ktfn+CqyRGfmZC8vG7eyK0HlECKX+Zk8yJmn\naDxSi1iDXUFac8Yxi6B+3Qs/8LvyKlXJb53hZrVVcjDYpkZ65yfyOfJJEXq8\nHpuX9fl5JcWYSXPF6yaxVd+Akq6AxhDN6Zbv/wtmwSKCOT0T/v9D6LtwnwjC\n8UeyCdCyGjjdyPpA1V5vYEajl7lM2deAgO/Svrr3fzgnkfwdlo/dt3ccb+2S\nGpRHMQ2UF+6m6qMDeDLa7mdJE/26M+mQt9y0y5WFyP49E/7a8zePNhrouNAP\nb7UKmQOgm+10ZMgZgyqgicikZ/ldYCSPx7vo85+OMYy02fgF/jqNl0BCvNuz\nKXdPkDzVFEcfvF0ca+wizIL7FD8zeRBVu5Guqpbr3CmR6vSCzUZNzca7Z/H5\na2u7gnsa+1lL9uCkEbgDFnCl/m5U8Zxg2ELTEmQeUSbK25LLiKROTqghea2O\nx6a+uaPJ+B2GLA6js57Rw8MweQjXry+dZ9mdp6lQvLGYjdFEjFKNr6g0h+h2\n+Ztz\r\n=yYgB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5hlhhQahLv4n2mZ1ffdkAMvDv8RFTvmc+Ep46WDqWNgIhAP96lim6Kpc+YpoSmBfHNpAoAOu/y0NzwyYcQxBxamgG"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.24_1537303870729_0.23669724800569414"},"_hasShrinkwrap":false},"1.2.0-alpha.0e3b08f4":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.0e3b08f4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.0e3b08f4","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0e3b08f4","@crave/farmblocks-hoc-input":"^4.2.0-alpha.0e3b08f4","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.0e3b08f4","@crave/farmblocks-input-select":"^2.2.0-alpha.0e3b08f4","@crave/farmblocks-input-text":"^3.2.0-alpha.0e3b08f4","@crave/farmblocks-theme":"^1.7.0-alpha.0e3b08f4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.0e3b08f4","@crave/farmblocks-text":"^2.1.0-alpha.0e3b08f4"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.0e3b08f4","dist":{"shasum":"ee4007c856b7ca43f2d63bf88c821c021e0bb252","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.0e3b08f4.tgz","integrity":"sha512-exbKsofEkJN7MOXM1g51H06rKJ5rwS/59XXTbOWprJ3lfvVaHJPCm1z5HAxoihjWJYzTtrT/YdDaN8K3OQ2K+A==","fileCount":15,"unpackedSize":45064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbontECRA9TVsSAnZWagAAf+wP/3bbIHc0iiQnOWkhHUrM\nryMz/J1Q+TRtwDZnEfcCfsa3wmtlEGxqac/HSI7ioWg5zO3pC4xqD44AaYU5\nYRHHjrIsd0uXHfoPRDYWQbu4HszyIheTARQzYYyWaS2m/NMQsPLmoWUaG8YF\nb21eaeu3WPf24jk9osZc9jEKux0WeYGaWDGUDx1uGTszZPBUctB+rpbCTcOY\n85c5ZuaTVGSN0GXHCh0z/BCIxn1WzpLW3WEgD5O1JWAtGYljbcDoNlycpAEp\nc1hNwYU3IzdPMnC9xebqN/WOkANWvv2BjpPqTR00YzsrgJMOVEmjNxrn9Lyv\niw+FP9scgeA8zQWbF9ZMSyqLkZF5L+q/MiQf1VlHn/PEIU7LUVXg8AdbQtHK\nbmwS45LsL2Xq1oUg96i1Bcwkk1SA5h9GiI/85wBc5hP96KaO9bMLEvY3IyGg\nd45vXF1H4YyIen6pgKSRes5/a4RgL+tGaCm4I96YfCsAYnsvX6z3DC8iR1xw\npTbYSbpMy/t/QvLw0v95JQNDtYjZO4YgYZL093LoYva6xPA2n6s/xXQsyzC4\nweGcT21gu4cmNNiAP5PccVfVIuyS/QPSMvUrTHehDd4au4g4jnHy9S0H9l1b\nuu47Mc5fv4IYb1ureQkF+FrY0CBGL2xbiigqbmX4866fM+AeaCSOOWRyNxGl\nvFWZ\r\n=lt4z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzuTdjgLZRtrEALF3ItOn5sR4S/vpEfxEg0Wla9SyWZAIgSJiJYSZAz+3m0cnC4RliEL/SBVXmhchwTtKjOy/o16E="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.0e3b08f4_1537375043396_0.8328939682569927"},"_hasShrinkwrap":false},"1.2.0-alpha.80c1f6e4":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.80c1f6e4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.80c1f6e4","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.80c1f6e4","@crave/farmblocks-hoc-input":"^4.2.0-alpha.80c1f6e4","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.80c1f6e4","@crave/farmblocks-input-select":"^2.2.0-alpha.80c1f6e4","@crave/farmblocks-input-text":"^3.2.0-alpha.80c1f6e4","@crave/farmblocks-theme":"^1.7.0-alpha.80c1f6e4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.80c1f6e4","@crave/farmblocks-text":"^2.1.0-alpha.80c1f6e4"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.80c1f6e4","dist":{"shasum":"7da07ab4d38f56916a4ffa0dd7e0286fdabbc4a5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.80c1f6e4.tgz","integrity":"sha512-PKjzzDcUxj3arN0fU1T3kvm4JJbNDi1Jg/jv1Xjx2IvwbmbldhYpnb2bvtzRH5ryIPrYPpksnze6S064HVRrmA==","fileCount":15,"unpackedSize":45064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbooDVCRA9TVsSAnZWagAAWcIP/2sFderL/wNbYoXpLGJu\nqRE3MTpSJg2svEBsl3/SJyk4QL4dsTHiid82Mazz/uqWnED3zmrV7wNK9Hiy\norAY08BUybYeu/DueL5MjETj0mkcCake9uSgQOcbgcy3QcDL8WPcIs4GAZqx\nLUo7t5+EbubiLH/Wv6j3p9pmt3bE9THwFUm3tugwFXBXDEEZ72JR1iJMQJIe\nd7pRLbTG9FaRVHyt8rR8D0zGCgonIPYyBqMwjC6AxB+RRO5F1wk0mr5H6TlC\nHzB4kpix2qgIFRAbpOB/tyCvKn9H4jMGS2SPdwTK12hBRUyzTLxaK+seNYrM\nbpkm6HGxVJ6fUdZmcPk/sOKN7B7MGKlAkJbn/ZqkHybg4KxRhL8IvFXqPx+w\nd8T7WwzZO/wyps5wSisoV/3Da6NTclo5rbEK56cix6NvsBt4OQ2/rscR58c+\n2MXgRVLpCPX7lNJzqsG7TY3V2TiEkYYm+KY4n0VNJ2/uWvofTazzrqfzrHgu\nsn0DhFgA+tDdzUY6sv3FSZH/v4vRlV4Pd+Bn55Iu1q8JeHhJ5ykPtmQkuw1K\ndmKJudXOqyOtU779OXW9b6RiureEggcbs5+VCMPxZQu2MHxvDPvZd8+9djzD\nNnTOyypzoxVFg+bvDToi/60X84akTkO5fm+B+7TyJTaoKihdv8NJ8dJfzqwm\nxa7g\r\n=1zS7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH7KCelRXQwImD9+AUusUBuVIeSORl2GR55c/vZhXOSwAiEAkphTDH92/uBiCXqPESeoUNnZHprBLJdkT49uLiTu9oM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.80c1f6e4_1537376468919_0.8909186322339451"},"_hasShrinkwrap":false},"1.2.0-alpha.94718854":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.94718854","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.94718854","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.94718854","@crave/farmblocks-hoc-input":"^4.2.0-alpha.94718854","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.94718854","@crave/farmblocks-input-select":"^2.2.0-alpha.94718854","@crave/farmblocks-input-text":"^3.2.0-alpha.94718854","@crave/farmblocks-theme":"^1.7.0-alpha.94718854","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.94718854","@crave/farmblocks-text":"^2.1.0-alpha.94718854"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.94718854","dist":{"shasum":"3c3e92452ed5d847a326c35c880626b5ae00352b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.94718854.tgz","integrity":"sha512-kL2F2V/92Qktvf4yEFknq5F+Vzq2bUgpKYpBBQCJ7nFmqUdlJufKP63u2naw/6XO4hYw72zlhNK3EVlhdi1TAA==","fileCount":15,"unpackedSize":45146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbooPeCRA9TVsSAnZWagAAyuMP/jkjl4hbq8Jcm7NWmPVb\nq40uDHSxs2fd5fAySyiT+nFcN3eqH8zIWllCcUKbAMmJILaSxqNYaudGrtwU\nRx17gIq/c0ygQv+I+PWQp+5CJTuR72aC4szGFhQY00WsJcNp0C3C8mtaCJeM\nbkOLeGC8e6RDaw+hdkdqz9KJr/tf50RuMyU0q/1j9XnZJxpkHt+GgUm7qv/z\nkBNhP6IgDcwBfDEnElH0qlER6x3UwIFJb9YZxLvjYB2xhJYapVerTpSE3shJ\nH3QZjPRFfUNUY2HLOZcr+EWNkhQBnunRdfZi2pBaCwFuXVniVL0gdGNoXAD8\njyKSeECuk7yUFGCtcUEjEtl2hOYgfKzTtJ4mD/HrcwnyWwVVotkNEk35XFWs\ncpZjVnMM2uC4XUFSYhLd/Xxu6r5toyROsHOdlmh1bZJDxsmpGQK+/FRZHe7M\n/iEVFEv44emeGPzfOT1PklEvNw5k/RqzWNtXmYo1GwnnN5ya62oENpebBXHR\nrgWM18g2kPH072kFXk2vQufGblMYfqULL5Oy6NT6IsBh6vgmGCYKMbaFmsXF\ntBmn3iixrMrlxsz7nUPufkMf1OMzaVrB101p+7rEQgAuhOiFnvmIgzJ4apU9\nBLgDcM9aZDa3jRvRGxkVsvk/7usB0/cePuW9SqdQX01VwAcdhcN8BzQU2Soc\nFwh5\r\n=wL8S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHHzU2Sco6p3Zbcoi1YbCDPx/JmRi8Wvfh7JNwiynkbAiEA1dJ5VZURgLVjQ9zMxPMbeI+g5tMeqLp1d+LTKWE3L5g="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.94718854_1537377245316_0.36782479501711296"},"_hasShrinkwrap":false},"1.2.0-alpha.622effc8":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.622effc8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.622effc8","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.622effc8","@crave/farmblocks-hoc-input":"^4.2.0-alpha.622effc8","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.622effc8","@crave/farmblocks-input-select":"^2.2.0-alpha.622effc8","@crave/farmblocks-input-text":"^3.2.0-alpha.622effc8","@crave/farmblocks-theme":"^1.7.0-alpha.622effc8","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.622effc8","@crave/farmblocks-text":"^2.1.0-alpha.622effc8"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.622effc8","dist":{"shasum":"c3cc2f61f0dc63ee0e5457a4db0929873cd4ccea","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.622effc8.tgz","integrity":"sha512-sYS52LbXQvVFtAoseWBpIpfSitC1MAQABRdHGXshyh0oO4+gNTV0e5230IbWPwfNif4sSUDlv9xevBHEGUfe3w==","fileCount":15,"unpackedSize":45064,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbooT0CRA9TVsSAnZWagAA1tUP/1/6SxKtZBlrfe2LIDLi\nMCpR4uixZnwmoS9IQnz+nZNcvK94dPokqZIEqmJXmx0YaauzVaR0Te/iFkkF\nIYB7qmghMafteyz/iqFysCapMf0RCurRMe91o4obfuB87s/1ZmUPx9x1yFjp\nlZl7HfPZiU0NfA53eT9siP9wVkPpVLgX5Ycw+jXC7UPYZHi2o2dVt/W7Ovus\nEqrvYl8DMKP05BISs8IGUMqDCCb6vwmYKpvmqd5hXJYqP5q5GdOuubmprm6V\nqea8JyZBHpb8o5Oz86M7B5HNCMixelvM9r3MKry+yrsc+6Kvb6QiiwKhM+NG\nCEssnZMMcgZpe+B7wUXjt51zOpcVUKNWlakp5f1S7H5Xeki15Q3CV/5qZQYu\nXChgmBLBvqMAcbpC6JhdP9sbN0TqR5SAnxeiS0oohWIbe79BZYm1OVACDySU\nOl62gyvcixVJxAMC86GkOODFJINoGGnCfEqsuziAOUTn2iji/593/VQf/ORg\nzEFrGN8OrY/OeVmG787iPP1Z2C+Ls6ltzSLF8e9qYEJGwsdqzjsdY4NWq8/D\ngU2yOH1LXjuc3k0RsY16CV49cUPKeuGIY8BpIByHnQF9G3os55asq+hB+/wu\nlEv17flEWvkjmklz73jXMifrpm+WsfjwGjP7b44HgNXfsELZH+EeeOjqrlHG\nLfVB\r\n=p3x/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZny5To2h44XPtrYZC6kcImVleestkr25rLM0EsS/9/gIhAMeCR8uNIIrBY5uSyyY0gw6eFSYflymx4BgkMJ9sXRhd"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.622effc8_1537377523336_0.1672789646612758"},"_hasShrinkwrap":false},"1.2.0-alpha.c648df42":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c648df42","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c648df42","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c648df42","@crave/farmblocks-hoc-input":"^4.2.0-alpha.c648df42","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c648df42","@crave/farmblocks-input-select":"^2.2.0-alpha.c648df42","@crave/farmblocks-input-text":"^3.2.0-alpha.c648df42","@crave/farmblocks-theme":"^1.7.0-alpha.c648df42","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.c648df42","@crave/farmblocks-text":"^2.1.0-alpha.c648df42"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c648df42","dist":{"shasum":"0f8955d74c25aa2b8a6def41c26378380e11a5d2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c648df42.tgz","integrity":"sha512-lYi2T7anOcpCjSdDGfb+Pjjnez9bnAlNgi0ywysNoe8iVSgddcLR58hm4LgnetdWPBzJqAm2YzhPDBvX1h0TNQ==","fileCount":15,"unpackedSize":45146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbooUFCRA9TVsSAnZWagAA0wIQAJ264Vr5RqWEIGcYtmgt\nuufepPlD+ozADwcm/njdQQMwJVhMhiHmpu5Ptce4wlvXcvojCF1EePNc3WqH\nXpDP/KLT5SgZE20yOagvhYuzf9h2a8ixQIjwdwS7wSQKTIJDNBpOy542yOJa\nepgNJE1lojljyU12qIBo7LKj9YF+AJgyoF16sxEfhJXeZw2nEEHIR78JYLG/\nisPmdFLMTyrZ8vQnY3L4FeCl/zke2t2jTmuJcLvqK8VpQhMjeLGmuS05plFF\ngoFfVw+JL3BSm4hleCVbZuKUs9uqcgt3IU1h2nbMka83x/8GJ//YlAshE7t9\nS6SYUdY0U2YZB7MSwN0s4qi4k+pxSpCiO/aR1nDYCTCVeUSucx3WShICsO0W\nh/jhx2CAc1Qyk5hSQCDnUjNIPVwgA0sC6iWqj0SctMdau3v8uEkZ/Z0x9h5d\nSDlhffMC2gonZ4ztkp8GadvMuxEBf+o8Edn04zPQbMkhBGx2Z4nPGnEsEZsO\ndDL3Jh2xPqGeoNtMvQzfqynRoOwLKVSH1HUrLyQ8IJpnezoJloI67PaNfBvP\nOZlRtoKxRo11Z0GRFupklNPo7apFJRclnybWW94NUXLRrdkY4xrNHcxWF/tx\ngaomhhJx/jgmr+jivz2zp/+HvGQHZb0jxAZNIum2iVhPAtJVPlIKloBI/QO0\nnfN8\r\n=ewwb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPysDPN1etUSomxQxv5HkMLH5i2+TUKFBaNQMdGC+l9AIgIrfMpbQg/v0dmA4IZuTC7YB9wLFnyu+OHnhf/uF+ipE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.c648df42_1537377540368_0.776496148967786"},"_hasShrinkwrap":false},"1.1.25":{"name":"@crave/farmblocks-search-field","version":"1.1.25","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.5","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.10","@crave/farmblocks-hoc-input":"^4.1.2","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.10","@crave/farmblocks-input-text":"^3.1.3","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.1","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.25","dist":{"shasum":"37d977198e8d2d1468c21a30e1d97320618f8b23","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.25.tgz","integrity":"sha512-AFoIzazI2tPw0q4eF5ATVPzZmUOi8K+k29C9yFMPGgn9dr10+tyoe4nrDonnQsg1vtBOiVVCiHbz1rVZCGf54A==","fileCount":15,"unpackedSize":44958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboocsCRA9TVsSAnZWagAAWJwP/A7jsQctIGVodsDjwrka\nEcAABmetUl2EwnqSEHsH6rPjpVpohmDZiLSvFlaIXJ+j1fEeiwba6eT2ifEt\nxhnc+dKGS0KV0LgndZqua2zNDsFxn77StU4+b72IYX1FIO2OWKr/gbs1cZT2\nZo3R2dXEljvznx8KGVF461PAKqqIDcG/KgwUks1JVNA6ibaNyTEzGlr86Q6x\nZKPRwT9VGn91F7dsP409L6uQSvl8efz4HzY92xGNHz+KRwlacFDawv13ilPt\nw41oAbdy2tdQaPZD/Gshj4k43bnJgCmUU5/OrExPQioV4xwy9llHl8aCaYB0\nb7w9r9lSM6RmAx5Y/stDY+B8WkyLPtCnRxYex1lmUNlmZCVF6mLiLmRbv70G\n6a/EDhFCsl63AOBew1BgO8HEkZBzMubLTv00LgVaZM+FzPDfX++51ZbNkNz+\n8uXc3BQgzuz8Vx3R/3q/x1fPsAmsTpa3XofDnVitL/N4fGpE6+8Suupi7tK1\ng7nb4ujzDnpb1IpB7wxdBKhb0WUgAvOofb6RBl2IXl5YFTomujrQAFLLz1lI\nWAlhIau7RX6d7JMldl636OhCiHue0rRW9VBTL/6DVxTk9c9HVmyqXb5FHpSu\nTqLjARu+t4qKHXiTKdjmzTYETFLNHoe7E5KdAjz4H8rGA+H5EFc1qlq/66+e\niXNe\r\n=AT84\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEUfQyXHps8NQWYAATV5hKX+co5agu4lIRsROUbG/PDpAiBmXN4E7BNrijITUS/TbbIU9qm+TWdNUQVW6UUSelU/9A=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.25_1537378092171_0.4834055122814611"},"_hasShrinkwrap":false},"1.2.0-alpha.e3dd44ac":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.e3dd44ac","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.e3dd44ac","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e3dd44ac","@crave/farmblocks-hoc-input":"^4.2.0-alpha.e3dd44ac","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.e3dd44ac","@crave/farmblocks-input-select":"^2.2.0-alpha.e3dd44ac","@crave/farmblocks-input-text":"^3.2.0-alpha.e3dd44ac","@crave/farmblocks-theme":"^1.7.0-alpha.e3dd44ac","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.e3dd44ac","@crave/farmblocks-text":"^2.1.0-alpha.e3dd44ac"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.e3dd44ac","dist":{"shasum":"6e99232135b87fa7806cf5ea05f3d8680a22aaa9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.e3dd44ac.tgz","integrity":"sha512-a/ILa640n6mVtzbzi1/bH5pG3MDfH/b6d6UoQfl789SbKObrg0EHjnT8xGU5myxle4UDJgLqT4vmv0c2j4Bkwg==","fileCount":15,"unpackedSize":45396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbopq1CRA9TVsSAnZWagAAyH0P/2eXmNhhYWlxCo8uD7RI\nCFm6o3eKeb23sGJJ7VsZ4aXNl8UhMaIW4r6H+2uLpYUXldjm/rs/UPYX6naJ\n9IHng5tAFTom8FX7fcam133DrW62yHY/xpibNsT9u/wJJg+4pct7Zfw8LhHg\no/cYZuJWVjZj/qrNPAeAVmlGdrhlvf0pBZj+G5MLZvX3WuhSwD2zt0PXB5Ik\nD9Oz+N3BVvHvb3XXwlzq6PMDw+vDJBZ5+mK8/7KblegMqV0kYCEbuGG5M6Ij\npPNCvM1NOXGjy0J6IcFg01Pj0w3RWBQ2dQNaxzZs7wulXUneI96AZPvvKNjQ\ncbmuPrUhjkIo7blOwONCBFLVgErIIvC50DuuKnw9JdH3xeDbAL/q1MPHSX93\nebNhEc452Lnr75qfiDFXoQb+TYZHeWqgQvyh7HSvu1LKZGvBWuPTihDJDqPE\nCvpr/sFnJIN53rB8rd0TfMxARSTuMU72x/4Vto0zMUzLHHyoxSMogoHr63UQ\nyXY+6KkgyCglwvJ39NXFcAAq9E0pOtQLNMQugkgfuK/yCBkbuRjxWHw9CEfb\nZURYeFO/hwjJE5RCM1McZolcqjdOf5T+fSqP2RdBrdPugII21Du/rB6uGWDZ\nMxzSy/8Y4IsUElxks8p9L+mhQDUsjKMl7kGY9lbsA2GAPEP/3zBZ9wXMSEZ7\n1J33\r\n=g02T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCv0dQaLFhIoLjxUbb1l1QapRKbzIS51WWzw21n8QxkVwIgBrdwFyRWdKfS0yxMxP7O1VuFeDD2UkFG7slRCP7wWlo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.e3dd44ac_1537383092603_0.8911909282098309"},"_hasShrinkwrap":false},"1.2.0-alpha.46069564":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.46069564","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.46069564","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.46069564","@crave/farmblocks-hoc-input":"^4.2.0-alpha.46069564","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.46069564","@crave/farmblocks-input-select":"^2.2.0-alpha.46069564","@crave/farmblocks-input-text":"^3.2.0-alpha.46069564","@crave/farmblocks-theme":"^1.7.0-alpha.46069564","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.46069564","@crave/farmblocks-text":"^2.1.0-alpha.46069564"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.46069564","dist":{"shasum":"2ff87059bd224e0c1629adfaa706127fa2ffcf3d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.46069564.tgz","integrity":"sha512-GtE6jvvVUgFxTB7SKPtq7ua9wzWOvqXK+meGY8P4niCMwrwkieR/4Lh9nslXgEe0zLc+gOzsaCBr5IqFC3AOzA==","fileCount":15,"unpackedSize":45396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboqX3CRA9TVsSAnZWagAAD6MQAJ+DkAlH85LGs1oonvzw\nl6vXKfxCYNo9iTLx6xBQ7Nds/sPRqSpZUW8vfIT0Qeri6v83X5TZXAl2ao4d\n2ONPd90UVzTn6nrX7mHmsB0JWVcC5HMFZ5CMJdpX3Ktu4Di+B/lmsqbNp8SC\nlVA9pOodhZUeDgzf5YwZKKW1M4suM04WBzOGm1+y+L1Z2/7mIQmQoPBeCTgW\npevP0WB+vpTd7JaL3N1NR17HewyWtr6lT1Py5cT3MXBmXOQ/cbIMRqY1+Lfl\nxTgeSNXeP7y+bIWUp2HD1BxFumq4tmY5v065JHwOXSAyaDafeoqQxK24iiHI\nb/qnCoOqp13Vc5uXtdgwFuQezAO1lqAO+/U3pARDEbrGaq0YoPnxo9vtZ95z\nHcjbLoti+T2Z6ixYsFpSRGm85IxuyS7GoacIrB4nsuAWH84asF0xlJXVDwDz\nlHYqmKwKoPV2DoIme7A9agOCGHJtijeFxiYSCzpwPBYuvNhmAOEpGazyQbZ4\nDaBbYbKLhNWXuE/s7jh92Orx51YQkhZIuolqOg+hR5PCKxK9BRHm0EyKKEbj\nbFa1d3OESdHDUO+ejVUj/mqYGX4lJSutxbiW/Q7+5vFZgaCz834PD2CoYVVl\nU18yzOALrBao69idGMaeAyYzQ/WIz26uu/QSC3U5wBbEv80g2CQyk2DbNig3\nVfN4\r\n=/UCC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtrRhiUibJlumlW75H1SRDZxgfdZz69Y2CAjdqYSUqFQIgHhawikWX1M3u+/XlpXFaQrilgn0hI+8ciSycNlBxW7c="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.46069564_1537385974274_0.5839339434210611"},"_hasShrinkwrap":false},"1.2.0-alpha.2df9def6":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2df9def6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2df9def6","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2df9def6","@crave/farmblocks-hoc-input":"^4.2.0-alpha.2df9def6","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.2df9def6","@crave/farmblocks-input-select":"^2.2.0-alpha.2df9def6","@crave/farmblocks-input-text":"^3.2.0-alpha.2df9def6","@crave/farmblocks-theme":"^1.7.0-alpha.2df9def6","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.2df9def6","@crave/farmblocks-text":"^2.1.0-alpha.2df9def6"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2df9def6","dist":{"shasum":"3905422602c914460008aa7ad526de690bfb15ed","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2df9def6.tgz","integrity":"sha512-yu/t7CTq+Pniw1Vr+wr8Jo4leUTbPriRj4rSaaQL4d6wJgMR8j4K/2tCPPSA/Z6740f7MwAAv53rmCF0TxjvdA==","fileCount":15,"unpackedSize":45396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJboqZbCRA9TVsSAnZWagAAkJIP/3Kc+L+k0h5feKJP7KYl\nHqbCuZjAu1AhuXyAz6fHlqBwa8j2qYpaNNGCBB43eW9CVUY6yu9QpfzELaVY\nzLgmPnu2DhmGq/NjjoLEOpmis/sWANwogV+rgSwUOnycjqmevtcrn4dEG3XE\nRW47pDh+MHrBLlRojNCpV3aJhkObJyQc2U9nlP10rqJM4eubdBBRG84+zbjy\nEegsPWG1xn+UFMQZC9qfn+qnnW5j4EMfR7OISDr00zEZpzel5au+1ycZX4k1\n3bbxzGC46C1MKwVaVb80cOOfbjssptusItMy+WIkNI4vLiz0/TDzpdH90vtX\n8h81LQaeccC8EFYFPC4qEpHeUA0qwirJSYS27tT7r6GrwJ5EupWuPBQ8OYhG\npMtkn+7skpNgLc4FEBZYDQtkaaqwbB+P4r9LU8MHzYI3z6OtzYwnhc4yEvk6\nRPAvkfoy+zoPX3kc6NmJq1j8cEA9bZLIx4wFE+3uFaUOvf5U8iGfMHEzgQuG\niFNRDyOPUb1ryQvzRJQ3DoREy6a2wzawsviGvyp7Yft+imypLe5PUSYlg/BE\n8R3p+iIf5eeRSfeTsfZi7o/gM7kkE6T404IfbaSkaEsCg4Mu1B8+j4dYQ8St\nciQ78775Fu2NLX28sdP5JkqYlthP7Gc60OmklQ/PCeqSlJ5mOGW0xmbnZOnQ\n4dZg\r\n=0goU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNNGqbFhS63dhzLHDwLsaudnWjl2IkUv3C8YEZGp7BKAIgVVJ8IY2NwJDF6PhjSFc6YXDmwFzRVJU6CalMTTV2VqA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2df9def6_1537386074634_0.7008610075634047"},"_hasShrinkwrap":false},"1.2.0-alpha.ab5b6155":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.ab5b6155","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ab5b6155","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ab5b6155","@crave/farmblocks-hoc-input":"^4.2.0-alpha.ab5b6155","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.ab5b6155","@crave/farmblocks-input-select":"^2.2.0-alpha.ab5b6155","@crave/farmblocks-input-text":"^3.2.0-alpha.ab5b6155","@crave/farmblocks-theme":"^1.7.0-alpha.ab5b6155","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.ab5b6155","@crave/farmblocks-text":"^2.1.0-alpha.ab5b6155"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.ab5b6155","dist":{"shasum":"e43bd7afdbf6be7f5a76ef464434e0d8228f8981","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.ab5b6155.tgz","integrity":"sha512-xzMsMHjPbukY7JsuZzl9RBqM7ARmnLb4WYjy/Y/9wjG3eyUPlv1PSnhu+w3yHmOFCPBPYEBVMP54obCQ6VAaNQ==","fileCount":15,"unpackedSize":45396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJborRfCRA9TVsSAnZWagAAZkEP/0Y+XGTWKG7dUJSwta16\nVJnzBGWGu7J429AtI80AtGXhuEA6W9dspZxyBxc99sXUOOZ+GqaYODQyC0bA\n2rjz5AbqquobybWe7y/qz3BodPQeWxBstrL6C8/R+C+nCzJPcjBCwrQ4IEbt\n+ZwjKSNebwV6Soy8MqgvEylEhNlU1vLBLQMEPN3CDyNbCBWJE6Q2ZfmK1++b\n3vFCvMmeDl85BxubKHQDOCnTUPPTGEMuVXUXK+g1vMAr6bJ7S+Vx5+nBKa1h\nChPabFEWfX6ujbkYxukW8YmoaflHt5gxGpEOou9Z0Bm1qlGdBC2rQaei9HXZ\nkV2b42twQJv8Yr+QtUh1qmBhi2MbMwYQSK1rNdv2pJCioxKPqJavkGt1ygB9\nx3q9OxPq51MgAt+MxB21c1G311ZEBd9rXBkPeaW9zbzVyVNVm2WB2VJqFid3\nROIOkdNkkGAzH1RtOZpGlXN4PRbNtDieWqZaE14WyvJmHnpIdNrf7sEr7Iep\nvf5KcgxaAdAOJM5UHowdUplrg+6ybuYAJTZdY8y2KZ5gZQfAgUSI9nHqN9S3\nxyiAK6xYQR4EQOcxiSdDtlR2GrlSem14TjSxtWjXpkBIJedAQIiaLj25g/X/\nalUcVG9BQDZvNQ2YsC2Qo7QLXNKr99IGtuU0D3Wak7PmCcxgydbggat2X2fR\nAoiz\r\n=Zlta\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICGEZz4syQsYTWuxMBlneSizxnQtl0KvCFFQN/xipZMzAiBeDdQmBwTU1ORO3hEEsLhmBojTL48efcdFCaZWCv5C3Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.ab5b6155_1537389662784_0.6557772443602872"},"_hasShrinkwrap":false},"1.2.0-alpha.bec2fd0e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.bec2fd0e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.bec2fd0e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.bec2fd0e","@crave/farmblocks-hoc-input":"^4.2.0-alpha.bec2fd0e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.bec2fd0e","@crave/farmblocks-input-select":"^2.2.0-alpha.bec2fd0e","@crave/farmblocks-input-text":"^3.2.0-alpha.bec2fd0e","@crave/farmblocks-theme":"^1.7.0-alpha.bec2fd0e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.bec2fd0e","@crave/farmblocks-text":"^2.1.0-alpha.bec2fd0e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.bec2fd0e","dist":{"shasum":"7aa9682c5378146c8497afe830360f6ec488892c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.bec2fd0e.tgz","integrity":"sha512-9LC2yv/4p/rz+c3HFnj/PmUzAhxutMfqu0gaGDgOLcCYMHOnpu3YxMtyD+/zLg1Z0jNGQ2aZXZIMwYz+7h0z5w==","fileCount":15,"unpackedSize":45396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbos8pCRA9TVsSAnZWagAAdRcP/jUUr1X+14DNB6s1CFg1\nkpQzNHN7VfIRUylA2kW0w/N8ddw4aDOPg+oQSTzV9sCuNK2tmoH51Pf61ze1\n9FpJJRUROJ/FnIBGAf/aUJ39AXMTv20/SmjGQzvU92t5P4NycfC6Q0JNpD6i\nyDqXiWfq2JHyMTA/cMnuayASzyiERMcKwpjtT0Jat0H2xrsiBeJdu+iQVc0Q\nF9puWHgtQ9M5O/9VLOkwd36+9FV5Oe4+ASrSMRRlg/H8c1g+CJ7WUKyfcLx9\nabRm3ACxsyUyfW1Fi+/M5InCnX8IfHfOfF6CsuHSuCZws6e0/VHZFxg3Xqi5\nnwiPf5/70yUAUgg0bz7rn6YQRWBhpVpd0hyNUno1vk0GRGTkNJG5Plce9dA7\nguooSWtSAdn/blHZgmwq1odXsNQ+oaQF8tmd3+0uZ+4pDRzhFaqwvU3/oiBw\nWKddgIXLGj8opTpa+h2G70Sh4wrKTbJKUhZD02PT2TV5phCLpkMBBx3IpHAw\ngWKYzIlnB6DPdnPOqg2BUrR1GZ4yu2QIyBxzCTvcbtYyXZVax9TnWl3NQ7NA\ni2Kbd4pipyJ4IrhwPhxgUDZ70QwSnICCK5uUJbU45ZkIaQIWaeiW5qdAtzr5\nbTiX/vAibsYvB4KKGOOanC6paGiWAgG0CV2VhnOYWUabx1QkLXTp5OqrY+Wq\nsGOW\r\n=NT12\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdoG54pGn/W6QmFIpFgiPYyP+dDGnuYemfUn70bwnc6wIgd9nb3thPH33yqY4ZVQHfR2BZWYBK3CO3WxBMbiyXfaQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.bec2fd0e_1537396520769_0.685017375725332"},"_hasShrinkwrap":false},"1.1.26":{"name":"@crave/farmblocks-search-field","version":"1.1.26","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.6","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.10","@crave/farmblocks-hoc-input":"^4.1.2","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.11","@crave/farmblocks-input-text":"^3.1.4","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.1","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.26","dist":{"shasum":"32f65cdd8e6d13efbedf1d3867b342b91a547808","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.26.tgz","integrity":"sha512-dvAiJrTun0Om7NbGlfjjnlUnD/ni4OajKWN0YTm6lm25lYj3hhmwtdK6X1J5KR2zp9jCIOeB9/kzyAdBmuB1GQ==","fileCount":15,"unpackedSize":45208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo5qTCRA9TVsSAnZWagAAEUAP/2zFf0Y1KbwqQoareL87\nWWZe9irYK7SqTQ3uM9Xcnq2N2jAjW2419Qi4Q6C5WYPx4Xm/KojUBptYZ0DM\nna0dhJGSia1O2yijmyMhjo16Ms6+PMeUlmViM7FCIX284YEECqipX8gkYTcm\neXx/MxEN8y2gPA0XfA4eD5xfkdNj3xkySW/8EeremJqW9BzYezkXtk6eZIAE\nqp1qJoTBMR9/8j/RNPcWPZvM9dWUIl68r+DMi6/z1DN39hxrpUhB51yKxbNl\nEi2teCweKi5KZGSDp+SFydEA2F8NU4JHUawhxPgPf79ZpdYs40a4xI6dvAA0\nXWOK0kVzt+GgoEQ6v8OPKqsX74GOX13EXK4GEhRqo6bgQAEg1525jEBTlpVB\nAhrOnVshGMhSPaUzATyURUfbp4Hi/KuZA9KZH7ok4oQBcHkczYmZ+tovMr1s\nZr22tYZqSVp4o73okf4gZx8CLpZ7hG7GA6i2hdz4zGRIhMAAoysQVSUPVbBx\nE26Yu+qL+bgkX4RGQNpBa1A2mEZpTsxhLTQRN0dnVltmeDIg7sO1JH9LTUrN\nng16ZvviRI5bg3QUzD9M7/tVU6lFJSx1ybGhlpPJt1HkQhgDCc5Unuq15xkP\nPJ6q5TxUfCbPaYxGrSY7V+GV/H0nqnEHOhzmhUj+YkssHc4auWreedNhFxX6\nGeGY\r\n=+7H/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFB9QTinvOJcDkSz1HXvfzHwt6qr4/15b+4RGzq5oY+MAiA+8jY+Gu8lLdoGrk3rSlGi13leQVAk0R5rUz0RTU9hZQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.26_1537448595336_0.4280319672858446"},"_hasShrinkwrap":false},"1.2.0-alpha.3cf6efe9":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.3cf6efe9","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.3cf6efe9","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3cf6efe9","@crave/farmblocks-hoc-input":"^4.2.0-alpha.3cf6efe9","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.3cf6efe9","@crave/farmblocks-input-select":"^2.2.0-alpha.3cf6efe9","@crave/farmblocks-input-text":"^3.2.0-alpha.3cf6efe9","@crave/farmblocks-theme":"^1.7.0-alpha.3cf6efe9","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.3cf6efe9","@crave/farmblocks-text":"^2.1.0-alpha.3cf6efe9"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.3cf6efe9","dist":{"shasum":"c92794d3fc8e5c41b5ee5998dc7ae7d3ff390c7a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.3cf6efe9.tgz","integrity":"sha512-vxXUe8a6rZ2u9xDZFgeHQQpOB77fv+pMbixSmcwI6NmSUnpZSEM/jN8xQhaQS0681trJiEKpHnIJsryIzj0uEQ==","fileCount":15,"unpackedSize":45396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo50RCRA9TVsSAnZWagAAbX0P/3LJU8ss40sF6skLkFGc\nTrbq/pscug1YP3KpVyeJ8lz+CzFfy/w9VmlRef3Ui6I0rajWJlj/Gkv+aWyE\n/fNMAMbPcJecquNFc8WL4i/XXSJn2tNOCI6vbv3MCzi/2r70G0/PQLhJXAAF\n8zcivzDuEajDk5s/k3gSqPvoxFOTz6KTEYAcZDBsMqf/T6BKsFdYrQORUG2E\nOtaG9DRfbRr3QsWPU6D5meQXBGh91sbW1wvxNMUNyi4eIIflGYzh7hrM92Xr\nK0W09t4+d2bRpCW9BJroOBHqRBhFn8sEFbUdE59HiI/UyfDPfwbsuTRjTha7\n33ybErrcVFiHwpPSN1GqDWscf1gPg9NuOo/Ck5GjVSZJbILtAmbcmIaDUXGQ\niS5m26mzt7qevCxvz7URKwOBLzF2YZC63EoDmmA1bQ2gRxfx8U/u8rAUHEYT\n00NxbuudIpbJqfrtvjwHvdJ3P4asjPPbUIwDbEaJRSoFODsOgA0uVx9sLGVx\ncMIMPskmqHRAx0qxGoDm1iVEuY5bPEWefs1NBl5Yn33k6NTRpHfy6Gg3+Af6\nM1dA5TKABJkb5w/j66ogD8s4lB5a1zLJr5S8sH5L8RuH2ghboxKTe00RMU6I\n8CYN+6RLcPFBMC4GGuW+ERM+XQjyu82qhDZJIBGtfzQ572nCUvEuVgBZ8tv6\nxV2X\r\n=9wN6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDicBtR6R0TGn5hCEIRSPp+unHfhEMXT0uFQHI12Oc8RAiEAvLsthag6uzY8ThHXd8gcJ/e+Pgbn9HxYow+OO16vNCg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.3cf6efe9_1537449233432_0.8170200246441706"},"_hasShrinkwrap":false},"1.2.0-alpha.95638ad0":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.95638ad0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.95638ad0","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.95638ad0","@crave/farmblocks-hoc-input":"^4.2.0-alpha.95638ad0","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.95638ad0","@crave/farmblocks-input-select":"^2.2.0-alpha.95638ad0","@crave/farmblocks-input-text":"^3.2.0-alpha.95638ad0","@crave/farmblocks-theme":"^1.7.0-alpha.95638ad0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.95638ad0","@crave/farmblocks-text":"^2.1.0-alpha.95638ad0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.95638ad0","dist":{"shasum":"cd77f7e916abe7310867e31f00d423b12e675b35","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.95638ad0.tgz","integrity":"sha512-HiRatJoC4uz4BATkUWG4ey7BO8mkFK9SsQigOI48ZBeyGCHNKSNb9iaUhRQ8TraiVqWr/vA8L+Kvj/byKwjhOw==","fileCount":15,"unpackedSize":45646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo52LCRA9TVsSAnZWagAA5UMP/3LmPuL/ScsTpyU8c2ji\n6g7pz2IbGnovro7rcMI6Xj1JZQlOXAVD8VGT4cMSRwaD7npNrjWjT07ox4Uu\nPbF37TXxtR3KZulopsJcGpf23y52kRTQf1wouUTCuc99a3UIqcNP3LJJIrPZ\n4XAFjNI+XnVrDMMe0HYIrmcT+as9GazOl52bPx8BpbtNEX7Yn8r1CtUdNokj\nbgix5zvA6aUhIo1nuYyaLvpAl3xdPgTQj+EyUCrKpHwrxFcjwbYs8+uZN0VD\n+i1K1xN2R/1XvCOvIZXiAzOcTirLRQ2zSCE/2Zu3Du5ww/trQBAEltm98OcS\nlloelH8oykq6Los80jcll2LKBmm0aFi1T8dwZYkzqT3AlKdwbTVA+F6RuFbC\n18CUwLJpzDdQxoMGoSusYsEdlzGimFwPJDqn99mvkGzglQ9UQ2FIOfcXUaIi\nBWzF+HqiewcbSpo0pBffSp0LKDQzbjsEeBLjlgDgbeesUYC/jJ/a1o67bG7V\n/UHbhQ+kq9LAEexiMBwNLgkt7fkua/fk3AmO13xxuyztBkX2r6cfRnYR+dBu\n6CepjWcF5Ey6AevBcliMgxGuu296SjX9vc0rc4IXx2lqgYxGCyrfyVlFeJ0G\nRzLSX2pB6P+3NU6xBixcIZ4gV7zfckQEJ95qwvocME6vgmwrozdF4tErDMET\nmqSB\r\n=UKhb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/8ccQAjWOIS4jjMrx3ZEKQuKFo9CtTPbNWqDrGsWrZgIhAO6/laLfqRcOPe7qwjoTJg0I3AwMOe0ru+Z8c6P7ECsG"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.95638ad0_1537449354765_0.23153311394034826"},"_hasShrinkwrap":false},"1.2.0-alpha.24783ca3":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.24783ca3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.24783ca3","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.24783ca3","@crave/farmblocks-hoc-input":"^4.2.0-alpha.24783ca3","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.24783ca3","@crave/farmblocks-input-select":"^2.2.0-alpha.24783ca3","@crave/farmblocks-input-text":"^3.2.0-alpha.24783ca3","@crave/farmblocks-theme":"^1.7.0-alpha.24783ca3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.24783ca3","@crave/farmblocks-text":"^2.1.0-alpha.24783ca3"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.24783ca3","dist":{"shasum":"55f7613ccd954de7988b235e1d62a4acc89837d1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.24783ca3.tgz","integrity":"sha512-OET9UktWodjMKLdDHrz7vRsXRhdjTUGd6XXS3bGqo8DD18HSYI40bC5BAyD7vSZDiQTp6tEJvzoauTHI5PnY0A==","fileCount":15,"unpackedSize":45646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo6CICRA9TVsSAnZWagAAOtEP/RZ17MlDtbbNW28OGiRq\nQfFg+ytL5E77sfrrmMOfzgZK3OhrqtVrfrASFQMZhCaD07logZ44O6sB376d\nQESPugbDrHnmBL03imFo5yX0YWQKjoJIVrVsXzU85v7lmoYZw/jUHhIDH6dP\nbEHBHUHw4e1A+7bViwO1N8D/hMu/b4XmhGs69iAHLj6dsZM/8/CQhnn9ABlc\nShajmPx748V27PEqzIsGhyTAd7pAKWRkkie/ABfUJox3Wso1JA8kFqhtuOTq\nAryIVfuFWuKguleirs1hn7ESH1Hx/48s+taEvrjaJevgZgJeubv11GemjJzU\neapaikJALO5P1qen+j36rTUcgtfhfYcy4q2YPDf8V6vSu8zHWFK33IR4hs56\nv9XJc8/D1VckOLKEyint6kQp/GcouX/H//wMpTPPkhlmGa2UkUjYnm5HOIFh\nbnBbe9JHkFJ7X2LuV2T4rBf5OJwr7uTDHflbGeXp2fWkpas2785r36qvBAOo\nYndIADpQ8R+QDoy5Sv+K81wkkmC830XtjqZPfrONcBrWlMD20FCy0JLxHh+9\nOUb+vOVkUlSTuZKxqbLe2JxmXjQk+6aY1bJcO3mHmmAKRu5mzHWri/AH95aL\nwaMKnl0PBWZm0URQHOsnjbbiWX/0d1TTc/DIWX3gX8ok78nHw+5inf8BrJEn\njTyG\r\n=AXbv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBj6205YXqlTTj8/pNC4Ws5UgboZ71Aurc4g5AItYidkAiEAvmjpd16s5eGFtQgahFAQv6Ze5dKdzn9yBbDk+9SPfVQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.24783ca3_1537450120092_0.9561545541835594"},"_hasShrinkwrap":false},"1.1.27":{"name":"@crave/farmblocks-search-field","version":"1.1.27","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.7","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.10","@crave/farmblocks-hoc-input":"^4.1.2","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.12","@crave/farmblocks-input-text":"^3.1.5","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.1","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.27","dist":{"shasum":"d74576c9953a0be589d9aa04098f3904cefe68f9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.27.tgz","integrity":"sha512-qySTc5Sc9BVzCgflNDNZ5yUYgoYnfCOchueLk14RBl6X8YXJGvuhrpg+ychNZdgCL5VB/Mlq2VkT2rjL87oYUg==","fileCount":15,"unpackedSize":45458,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo6CjCRA9TVsSAnZWagAAe9gP/R6T/3gM3WykTpdPKA4U\nvi4XniNDC1C1RNeZFozQv3lF13FTqVkGM4XFwju/Fpa+fdWdB+rGRtP409yP\naSz43aMjW0kFlFMRL+HBtMRg98+kYLUA2ClE3RwiMx/36+2oBo9NsCMFSJEG\nN/xWodb3WpTMPd2kdGiW7vdfO/CfWDs4s2Ae4GlTGUwyRVitGgfsIerwKcam\nn1gSjuOCzpeoBFXJ2hm7z6z3XUmaEg/VuC86SxnURSxLPJ1GbDsKN7MlF2J6\nUBFiCiv+yjIgTExQXYwZmt6uTXJSuofmAxNYLH2ELLQn+Zb40/xkVb9dnEEY\nQXmrsbSN3X69fI7upgGmcusAnQzyuWulrUJANpRFSFm6nuT0+pqhjohcivl5\nMOZZqh22BQBFrhrjewyuAwOp2DULOrUYfOD0JVoN4KHFhv26V1p/TGk4Wf+l\nCy+wZdTVWO4LCuQUsQXXlJYkv1veC33yMjOJExci4H0yNlSRTF82aCqE7wS/\nS6eQ5LDi3qUCc43ZSKPWENt6DT9nC5rPMpxaKa1NakTwEYEBn5rI+6PIiUFk\nbElF2Lt7Z0dCm+5H2mSyXVpoRSPQHXDYLHeGg/eTFv2uI96jBlAGSXeEXnew\n9j0+Kr59o6dlr6q4uLWig3kytEZ4j/39mbfmeKGYrHHzbTarCjgBr+Vuzecr\nrbEh\r\n=x0zo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQLSN91InFjie0mXRcd2is6EQTJPSbrYizetP9MpRkmgIhAPA996/wnHCFKQRCBKNoKIemF2k30HM/4sJIZLlii2lj"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.27_1537450147243_0.771870774319789"},"_hasShrinkwrap":false},"1.2.0-alpha.9c01f451":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.9c01f451","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.9c01f451","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9c01f451","@crave/farmblocks-hoc-input":"^4.2.0-alpha.9c01f451","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.9c01f451","@crave/farmblocks-input-select":"^2.2.0-alpha.9c01f451","@crave/farmblocks-input-text":"^3.2.0-alpha.9c01f451","@crave/farmblocks-theme":"^1.7.0-alpha.9c01f451","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.9c01f451","@crave/farmblocks-text":"^2.1.0-alpha.9c01f451"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.9c01f451","dist":{"shasum":"8644eeb7d680119b299c0089cd4042aef008871a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.9c01f451.tgz","integrity":"sha512-gQDbLjhtbzI7ByvP8UvkWSqqob8zpSt3qEktNJ4cFaXVcoLj92zGNqkQIrY3N15PWIvERyiMleahzbjjRCtR/w==","fileCount":15,"unpackedSize":45896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo6KlCRA9TVsSAnZWagAAXG0P/3+Co+d56HCcKVt4a71N\nBOgzLMO/40HXy3j8VP5cv5E8JacVC4XF1htZz4azOH3/Jxosu+XypTR49D+O\nzr4JPtRiPFk3f5tIetATyTI1SfJDlv9ymAcjkajjli7GljxNff7bGJQ5dUAB\nKZ2KLVSGZR/0QBCCVM3Ilobum2gNIBYmfroWhcclSWcprk7TEU6+D0nyHGbf\nQY8FHWgS30Qk3Ip9sLlN4X4+h9IORbwyVSxz6EoYMCL9+uwQmSOtxdpyVMXz\nMhIykVuMUi9p8dXHBGWyhJlNC8Z6bc8xiu+iEg3InG37ep7WUaCO6gEyQUTE\nFXUZrm/RkjKVRtgIZY91grJHDRMNGW20u08SSUnFJsXQhtvpfjF1l1LO9S0p\nf6oXWYlywDzKFKfhXy0bRsRzSMKJ7VlOhR2/zAG6jtwwJYhX8VlyuWWjVquF\nyukEbLHqYrPsvza0NJ4dQeNozKKlECMNzEMlbMfftuZeWZCuchXtC0nV9Hzb\neFEwnKkJrtzto4gkubRF9Sv1Xq2Mg2FFBdTRXmLcmketKGYIposlcDWTC4uZ\n1JV5WCNAEWoZ+RBPNh9+VUG1QuMZtwaaLkIYztxu50Lss1aXeJ0+0pV+Gs7e\nmBJzlqWynt9R1+ixsWWHRkpKoNEslxA12zfmGzldMoSplqo+SU82SppAvepj\n131s\r\n=ydyz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/HRz5gwoiscDak99jWSOqfUwOwgm7fv99EzdO7h7lFAiEA5suAvedi3MgXlNRyhwhyjJ8Gwtzd6fJB2MtSg7TcAp4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.9c01f451_1537450661276_0.7207802185276375"},"_hasShrinkwrap":false},"1.2.0-alpha.92e5355c":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.92e5355c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.92e5355c","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.92e5355c","@crave/farmblocks-hoc-input":"^4.2.0-alpha.92e5355c","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.92e5355c","@crave/farmblocks-input-select":"^2.2.0-alpha.92e5355c","@crave/farmblocks-input-text":"^3.2.0-alpha.92e5355c","@crave/farmblocks-theme":"^1.7.0-alpha.92e5355c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.92e5355c","@crave/farmblocks-text":"^2.1.0-alpha.92e5355c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.92e5355c","dist":{"shasum":"df61425aa562040e15747416a6158105dc2f9e19","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.92e5355c.tgz","integrity":"sha512-armBL1beCoJuLUX3vOTLDDi8URAkpgXVJvRVaYxpp0e9B9aHUxLUD6pAtKuDQhVxbLR0TKYExMQwUoang1RN9Q==","fileCount":15,"unpackedSize":45896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo61BCRA9TVsSAnZWagAA+W0QAIRO/4Loldv0MLtUXejQ\nw4lYGJfdwT+3aDGX5xEt1j4JtjcCUKE2RtQXYbfDoBps57f3AFVhGCuUyrTl\nKvQWazYJ/iyYW9Zw9dniILRyXJ4unocw1G7R5FimWtr062DTycB4czO30rLU\nbqJxshKNEwvZzp2Gr2pFOR4Vetna8meUMF0PWpvwszD6ca6P/7EeRKu2sznv\n22MnYXH6ROaqvG421kc98SAznwRwkDY7Tk4OzyD2oooNC13r+Rc8zev6ax5m\n3jdv4R5IkXDK2f8il3riW4Ow84uHYqJZW/8iCFN61ZjBeOHyk2vvhtCBcY7a\nT818fX4IQI0BBovygOYMlnDmtSMiOR47dwNu1Nt/fS5d4aRiRk5EwXrqhj3Q\nYMaDRHacfAPU6zk2i7znWcZbgUlw3mLFzCobe7sCU9lKTgi8dhd96Jkd8lx5\nvLd4/lv1r+qVErJQpXVcH2ITaAARyPjRkfzKm9484uD5qEzbExJBUzw3+Tx4\n/Ga/BGP7QL3dhc3tS17v4LCL3QWBydcpfKEvHXt/B3Ufb4YdCpeAnKnk+3Q8\nZtsgo3wrWR6pqJOXPQjaCc3BMOmK3YXfs5k2k4nqPAHWkeG2YGSsWXpWO3PJ\npe1kFU+GVWa8uUL1cXrzFbm1MuS8L2IymZTQKRWs2K+xi71TtaR2+QQ6jU3W\nU3TW\r\n=Bldj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAE0k2ogjC83BMu4FgXEnXaZqlsEvEeAaEAs+vhNeSfMAiByU+58tVcr1FNCTuklg5mWSSHbnZnOugPgg65L4xmSww=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.92e5355c_1537453376698_0.16109159420880936"},"_hasShrinkwrap":false},"1.1.28":{"name":"@crave/farmblocks-search-field","version":"1.1.28","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.7","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.10","@crave/farmblocks-hoc-input":"^4.1.3","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.13","@crave/farmblocks-input-text":"^3.1.6","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.1","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.28","dist":{"shasum":"99ec72c538643caab1c339018a25b516740d760c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.28.tgz","integrity":"sha512-xn/PtbNUj2cdDVsQrMs8KYY8l7Eo+fSNKuGTlBTktRbs6nYCoO4Xp6wiOwP9+4U8vDIidKM0cdfPXw7vV3UBcA==","fileCount":15,"unpackedSize":45708,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo7AYCRA9TVsSAnZWagAA9c0P/jEnPGkWrukuZSgRhmlY\nCzM0s1HUHnUps8KRedobWOk1wUbWkpcOl7ySkW6Gi4ImpGMiuvJKOyEFuawe\nCLp9aBTnSzGwHkt1d+HVJsaBTxn8YAmzMxOmR5U6+/0Ytq/GFrql9d38bK3a\noj6PKZNcCuo01hSFmRQplbZIa7w62V7zVTLsq5l7UK18XymAeHgiwJNN2OaA\nCSOT0LN8CTR8fuLMLMX71axlTDoy7pmfCeC6pE9wWvKEZHNXmEMGBhRRbIWo\nUI1Fzums640/GC7DxcA44Paf50nDZN5gVX1d328vlFFf/V10jDtTX5TRjhkM\nf8mD3idgF8ITk54VkTBy836IZrv/aBmAsyh3OCNwG0Af8oe7xtiOLZhHAU4X\neTo1c0TFAsZ0Dr2yCApzKx/ZxYB3OTxjJusT/i1gGqudj38FvX0yJf66pcwB\nb39T03kBCvJ9HYU8h30CBbJLukzVHjtvJtCXJ1kKaRaQqzqFvCB0nSwfJ43a\nefBpbQSYZIbrGiFr5jj2Mh4v+0PDVlR3vgDtWcNsHWgthsi6KKKWiFcX6PTI\nt70S07dMvN3KUQ2QDTCQc1HTv6HLI7XfsWIurSKCvdf8pA2fna4+jjA/cO59\noMu074d+DYsdrTGyI5ppQD2zr+YeVgVK4+ooWDgYSKFY9He94odugE1UJmEI\nERZq\r\n=7Uxv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPcSGtuEyeJq8YPvxlyCd9Vq5XPd8w1fXz06mFJvT2DQIgRfV/yrfLZ8592OT6euMBcbrlPWSzE7XQKt72eekA/l8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.28_1537454103885_0.3473737439864595"},"_hasShrinkwrap":false},"1.2.0-alpha.bf051f96":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.bf051f96","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.bf051f96","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.bf051f96","@crave/farmblocks-hoc-input":"^4.2.0-alpha.bf051f96","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.bf051f96","@crave/farmblocks-input-select":"^2.2.0-alpha.bf051f96","@crave/farmblocks-input-text":"^3.2.0-alpha.bf051f96","@crave/farmblocks-theme":"^1.7.0-alpha.bf051f96","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.bf051f96","@crave/farmblocks-text":"^2.1.0-alpha.bf051f96"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.bf051f96","dist":{"shasum":"55c7ccb9c91f658bdf7c1aa130c90df39e9277eb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.bf051f96.tgz","integrity":"sha512-natAkS2U/UJ9Skq1YfexLCKn/Bc16/B0g707RWfpYw96wq3W94Qtdtr550YfO8acokCwDQSCEfgnnzoRMs5PCQ==","fileCount":15,"unpackedSize":46146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo9MgCRA9TVsSAnZWagAA4wMP/2iAZA08/QucgwGDrcOU\n0HFNJdmAo7NMSdneRv37DQoWvY5qyogObiVmM49wLr4JgLkiAB/uPV3ik8LM\nYIg/ZFwnQqmcmNytYSPywxXp7Llo+iNodaQGyNIf4nEH3U3T8cLabXmJCpk9\nlESLAkwrEidB+5/E6EfIdFBEwivZ4bg25MH8c05FlNVmasffaQjd0XA7eoKq\nvydz2YJzXIN3Zj5c9BNC0FWUoG1nhwZeXSi0lPOND9iJO77GFrL361lgCSzT\nr8nWnza78/yj5a6Pw5CvJyfYWyfTdIT/nuUZNoTjTE6G2LnUPBeuAUQiB3UQ\na4fpgINj9ZjtZiwDRqueKTSw8f3iUiGOgJYmqKOpDH9Afo8Xq4Kcd+XEl9HX\nKYj5N00Q+YiIQQ7VtYRIzznyOxDCojmHcUyEOwJ/mAmvyHZm05b/F2ztPmBq\nlxivoIO0lag5OE4wHaIk92ZXaYNl4GR5IxHX1EBeXhufZ/AdwKycSD+301kc\nmUbViC6vQIiIgy3Fz9ROHA+Yk/fC4JP19LusYQ9R5R9x4Q23tS9lANgXRkrM\nI4JLu4hw9JBfqPW5HUyVHyRIQQQDGQUlvw6urLqORrNb01wcDnKMq8b1xDC5\nihj41aizKr+shhG33D3hcS/N64I+AAvJlTSYmCQWXNpNP0j11IGeC+np9lbe\naCrt\r\n=/qMB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgp3vikGLqI3MSMSFXrZlvClRYQT0vc87Wk/ixBEKRfgIgSARyku2V2R+eqQyyQ/YkVuiweJ0i8QMLkHibYSLgXTY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.bf051f96_1537463071714_0.1443499686834897"},"_hasShrinkwrap":false},"1.2.0-alpha.be57b048":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.be57b048","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.be57b048","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.be57b048","@crave/farmblocks-hoc-input":"^4.2.0-alpha.be57b048","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.be57b048","@crave/farmblocks-input-select":"^2.2.0-alpha.be57b048","@crave/farmblocks-input-text":"^3.2.0-alpha.be57b048","@crave/farmblocks-theme":"^1.7.0-alpha.be57b048","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.be57b048","@crave/farmblocks-text":"^2.1.0-alpha.be57b048"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.be57b048","dist":{"shasum":"3eb91d92f32d5af34a6758d2e2080c5ccba3359e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.be57b048.tgz","integrity":"sha512-jyCghfooaVcoDhUJzQLGWIa4CehazBXA4WL7E01t4XF0GKIoMhaD18zZk50fFHGwYmPZRRN0vxk4KvweZnsTVw==","fileCount":15,"unpackedSize":46146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbo/TjCRA9TVsSAnZWagAAjDMQAJ5eL3EJUxCRzGPZsUBS\nzY1+41lNdfvsRX7B3fKfe98lOQlaP/eREn+KoiLxXQyAnRR0hDe3udSvnSPq\nedDBCv8U1PLnY5yzq2KuJ6XiUV1F1TPh+Ii5eYpSdT5G1OqvCa/u5Wd0+h9D\nStHxvUTJdR1rFcgG3FgtZOH921ZnIt/XggrwbGQLSS31MpxATaMc/QuZEoQj\n2oBGxTnuQW+RHjD46p3u46LZ92bLpODmcRv8LPll7IMo85QvsuL5BehS42S0\ntTCki71HaZrwPq1otnY8DIdr6f0oIJn2j1jZK68Db8LQ5b4+yZJuyK5sPNoE\nfouW1rpMmI6qzzvkU7BPl4DhTN0+aAwy+Ebj4ptWMttImCFg+0kFt0Oum24b\n7qfoHLQQr88R8cbhzQ9kF/SFTcolRxXojqDtjQQZAVipQbqt5q31kl32KJtA\nQD0lQTJoRFFM795ydpdBLxKNOuzEbD4SIA93kDRCKS+YBUtS33ynEn0kjXIO\nmJdPNdN1Z0ykoiA7cSQZv1N+0L9f8Knu9xqBJRKT94YxrGG9Ypa/Dz/h5k51\naedjeZbOBePBxvZlETC4aPeIAuH1A6ZcX36xw9+/eUhFFaICuaiH6Y7cckCK\ntpHLMh5Zt0DyEbgM/IJllBmNrqfOSFKgdKhta67aq69X8iC79EfBK/11Y1Nw\nGmmo\r\n=ExBO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnq0kZ4+OdVtg23bQw+RGz+Zg1w2SLAqkn+y6d/werdAIgQ9S9mVHiaE1lt6ZJ6a93VbCGfkrS4VqwHQ/XIKu+4S0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.be57b048_1537471715071_0.6947878893266808"},"_hasShrinkwrap":false},"1.2.0-alpha.43c065f3":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.43c065f3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.43c065f3","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.43c065f3","@crave/farmblocks-hoc-input":"^4.2.0-alpha.43c065f3","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.43c065f3","@crave/farmblocks-input-select":"^2.2.0-alpha.43c065f3","@crave/farmblocks-input-text":"^3.2.0-alpha.43c065f3","@crave/farmblocks-theme":"^1.7.0-alpha.43c065f3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.43c065f3","@crave/farmblocks-text":"^2.1.0-alpha.43c065f3"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.43c065f3","dist":{"shasum":"af0070464d6d6c272835ecee6d70c0f331ee0f7a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.43c065f3.tgz","integrity":"sha512-OQGe2rqjS5hnhi7NdKvR+Nggyh8kDIglt7PpeO9X0E/yd+kNcnRDw999iIAEtwHqRE5N/5mcTxvBXaoWMBQguA==","fileCount":15,"unpackedSize":46146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpJp0CRA9TVsSAnZWagAAIxgP/j7Jue150uuTTXXjWXlh\nGeYJgVHhfgLzcfXCx23JQfsXZz3Bxg9Q54NOsYaaXWjrpcNc27V8bYq9EyDf\n2iL5qBy2R6p74xaXBdCMrM48SajUC2i9pdj0fEhGKJRy3gx2uLbFapLFO32M\neXbtKn84GTcRKVCyl4U0CEXVlHPRvGy0lc0lyLhghaQTF85tWM1SyWMn7cYf\nfp/hfovJg6/sYmA10KzySohl1U/3NpZUcF1XQXRD3qK3GjtJ/OQXAtsKH18B\nP8tjJCheAN5fj8cMrlwJVpmv3JeyhYQQCpANMnFpsKSiwHRCyDFfGWtJJE5y\nXMeACCqju8cNwFGnpncPswY/3rcygTeTt1BoLzQyIe5/me3zmKsdm+CE8AHE\n3ciYJQj6m5kwk9Lu8iDTh7w04dH0Rw5tHNeQONCH5o4K0tGtrpiKwnLTeQCV\nThUQTcCA3JmGETAHqbrjaB4bw6jTj+n07YJOT4sG4iCLD9FtykDkUKR8RMKa\nFI7prc9veJEDQoVzogPD+f/ZcgzP7Zs33hSmp5S7Gh0zXLkcOh7GMIwKFb7x\nQFA9/z3m27TFE7bbiEWkrg3NSuNVjHpMMHq0e5GExAwTryDcaUXogEEnUynW\nVTIVlFWMZn+XGdS6MlD659RmG4f5IkjQ8Ar6AcPNrNEE4jJmfLAzUSfO8Brr\nnIvw\r\n=cus3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID3p4/daw8vFJTQpZ24FRl/F+psFKh8lqoXYERCwEE4VAiEAnKa6qudNi/sJiIipBZqLpXjpHWe7Fm7UvQgpxG+rx1s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.43c065f3_1537514099976_0.7355093547022207"},"_hasShrinkwrap":false},"1.2.0-alpha.8f8356ad":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.8f8356ad","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.8f8356ad","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8f8356ad","@crave/farmblocks-hoc-input":"^4.2.0-alpha.8f8356ad","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.8f8356ad","@crave/farmblocks-input-select":"^2.2.0-alpha.8f8356ad","@crave/farmblocks-input-text":"^3.2.0-alpha.8f8356ad","@crave/farmblocks-theme":"^1.7.0-alpha.8f8356ad","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.8f8356ad","@crave/farmblocks-text":"^2.1.0-alpha.8f8356ad"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.8f8356ad","dist":{"shasum":"a965909f065e317129ef7cce72a80603ce545480","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.8f8356ad.tgz","integrity":"sha512-0d4f04khYox4/ojcZGFwtFuZbT2OyKUmEwaMxyo8uiyxGx7KtKUOQBZKwRUjYuox3RZoD+HNEemIsxUdvuENvg==","fileCount":15,"unpackedSize":46146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpKWLCRA9TVsSAnZWagAAhr4P/jgk3Lm1DwUxex45bWYJ\n3vbi2RjQsu9mh7B+qR/genItQ7LBDWjNF9ykoviRsbIz/F+MofsbQeJUCUrh\nj2e0nfhSbEZI2QLBAh6B48x0TNxYNpVvOR/+aZpFS53ENlOvoxPRAU4/hDMY\nKyF7vTx3AXJpUqEftKVU71aKs7Q4ICUQAfHVamel9ZuSDz6wVeF8Sy8Ijh1w\nsQ8Rfufbc3NOIpPa8DUzE0RPf215oAlHKQgWlcaRbvrlDhZkHYeWzbxnabFq\nHLuHkxTquaU8nJllyHrIpci/hlXXqwURDuELtZL+6HPMh51UWN4AjSglXD2d\naUxYq2WfTdjxI6LGFl39BSc1tdXIITmVZ7nEcFiyjOqyrkjvEpxL3oeIo/3p\n9c5agX7J2WVL9czDG287EzOtOdFKmCSE8SGMeDzlbRQNtqiXvqlupWgGHnHQ\nMSZdbPZL4C9dyf1R3pnCBgZlFe3F90Wu9HiQ54JZj+uX1oyhqG7GKltuooqt\nSLaTtGitcBLn5bnZSmxKQWRVlki5N3kClTHsQINgf5TRopAzOb4ZZYkAtjDi\n/ImEZtOrJmo+8C/2U8JBGpIgt/eqJwr16gKT0TAEniDRo5MpBtdwyzRjVYmc\nzVeBZjl7I0qikgGg3hqyiQ1s3+7Lf1jv8Y880MNJJhdj+YMtTKWYmBD7Si2j\nbWEq\r\n=L+N/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQ07ic/UixV/eUVhc5eh+IMVjz0YrRv9RnUJS21aaDewIgF6Tk9qRbaMpOEb/LVPfrXsU70dejNJ9d08JL/9Vr9aA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.8f8356ad_1537516938902_0.17557201402367717"},"_hasShrinkwrap":false},"1.2.0-alpha.2663735c":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2663735c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2663735c","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2663735c","@crave/farmblocks-hoc-input":"^4.2.0-alpha.2663735c","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.2663735c","@crave/farmblocks-input-select":"^2.2.0-alpha.2663735c","@crave/farmblocks-input-text":"^3.2.0-alpha.2663735c","@crave/farmblocks-theme":"^1.7.0-alpha.2663735c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.2663735c","@crave/farmblocks-text":"^2.1.0-alpha.2663735c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2663735c","dist":{"shasum":"d2cda38395aa46ece4bf498c7d8ff11f4d76fbf0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2663735c.tgz","integrity":"sha512-aWlf+2rw/sgk9jKW2/WgNbLA5nrKNH6uN3SWifP9ChSRumcpmUWh1GcHBUT6ZbOtWcddV8pFcBPxacNTb8xnVg==","fileCount":15,"unpackedSize":46146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpMs1CRA9TVsSAnZWagAAm8IQAKFbuMi2GRLoOmGaw+MO\nmRLUmKtjE1UsPszDpqhxGKKHQivWtzcZToDBH9BXQl5KKzTQREqEYLPXKLSP\nMciBBe7gtOli93BK7lktSyPVvk0bij9p+VWw7IglLonyLhill6CjNMIsYik5\nTH7u1HRb978hkLSqrHqBNTu3Vf7ICJSxPwTbFHtl3BxM+z2nt8ZrH4xA3DOj\nZ2ZhK1Tso5B8T8OcbazEkEvDKYXhhYkeke+//r13C4jX3wQWeL3rQHRsKe7V\nOC8RydOAhcxtQsMR4qyNhf8RQT7wCfeLs0seY8OIow8GVMXYusgHwoas+d9d\ntoqP8OwpQeMtGqc/uBx3D2XmBxeH8iofK8Ue/Gv/Oov3XhbsUZWMWvEWVdsy\ne55ZfH42gzL+cscscM1kvqv8uoDw2TBXxVKvOJgBQsYG3hWT4EbFbpiC/AAT\ntW71zPTH4B/QcsDoTQ5ekoo9UoAceBj4A+hZItIPCCC1MbPfKl0Xe9JAGVWn\nCrKbwRV8bLj7A6L7BOQS/jGqcJyzRQtjswv3lCJILEK02zgs5oNG2rBX3r8s\nnDfU7oFmqI6GGP0KQKfWyHi6cXz+3TEUCiiQXLPmGPYPz/7Nspk38/VzfP2k\n1Jlh1tnCOHcyR8N2mqbJ5PZDxV5LeAUZ5qPGjKydEdOl7mLdrTdYPJO3JjG8\nd5Tl\r\n=3/68\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAYBNDnjzpGH3DqH0UAOAU2drzWLychh4poycJxk72LmAiEAhagEKEr9znn/4OUwNwZJbGNn94Cjd/Uic1qLFkAQp3k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2663735c_1537526580407_0.9760017498713693"},"_hasShrinkwrap":false},"1.2.0-alpha.9cf256bc":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.9cf256bc","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.9cf256bc","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9cf256bc","@crave/farmblocks-hoc-input":"^4.2.0-alpha.9cf256bc","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.9cf256bc","@crave/farmblocks-input-select":"^2.2.0-alpha.9cf256bc","@crave/farmblocks-input-text":"^3.2.0-alpha.9cf256bc","@crave/farmblocks-theme":"^1.7.0-alpha.9cf256bc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.9cf256bc","@crave/farmblocks-text":"^2.1.0-alpha.9cf256bc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.9cf256bc","dist":{"shasum":"aa337d8a40d8cbecefb21859e2477c294f49f371","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.9cf256bc.tgz","integrity":"sha512-JhHHVEtjnwJafrVt9BBp+7hBv4RNz6jwOpVToagT/ZX57hBEXevwISn6LUFdqwUg8mbDPbPj5NZh24nUBU+anw==","fileCount":15,"unpackedSize":46146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpQnqCRA9TVsSAnZWagAAVZYQAJZ3w+1i2UY7WLTMmTpn\nZYQtUSlFvAxX9IhF1dg5W951Kgj4tY4BcvrUlCdRQNj7S0s2tt1MwgoFGKtS\nx8/RTuMu3V0CFxuWsmYEQ/tqg+VifAgtsUeInHgzJDi/9TbYYhmbn6rNfbpk\nTAntWMS5VEk9uL5yPvYOEk4akXFWS2Pg7PvSOHpLf1OGc6eVeQIW02qgEsSk\nv0TAEtR6rS3hrHw47a3/SmUwIybmTH4Rjojh8WiMGQTdv9ntzWiScCCP5S1D\nyeE2L4WoghIiOyyteEPyjNpiVTCe6hm2KuyLlLD2TFvHC6dHMO7rJADdr5Pj\nEDzostpkQDmuB0bUCJubZ+afLck4mD2dGLCdq+J5YOLp5b50iKU9WL1IHa6Q\nYeLkUfHqytCNSu8U97/fwxz+QYClsvfI9hTrEvLsg2oWPkRM64lPnDldTYRs\nRj+e2E554btRMdi4fQ5aqEtTqIZSU3ZrtnFwbdOxzeQhIolLw2ECd9X70hd1\nUnMVn4E+cYay5uLVDTGaPXgMrUbRl2YLNFVvr+dBZn0wjEX5CIBOqeVMbQVe\nvNl9jGe9rH10ub66NAGrQWwtgqVfMv+jQHi7Yoqfv6/leQBGSF9L8a8iGHGq\n/EYzSf4cZgVsFjVaqUqrSaJrrYwvPh6wtLTY57uCcL+Bmix7Chi5bQ1afAew\neLTd\r\n=yi4n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHYiK0wQ+sk1FWRdOz7cDvOTqZRxRN7lEn+giz6OkeUgIgGm317uzWqM5qqwiyEIfGKey1wdCOkN1Yd54alD4Ek3M="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.9cf256bc_1537542633340_0.20824296264296294"},"_hasShrinkwrap":false},"1.2.0-alpha.ac49b8ee":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.ac49b8ee","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ac49b8ee","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ac49b8ee","@crave/farmblocks-hoc-input":"^4.2.0-alpha.ac49b8ee","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.ac49b8ee","@crave/farmblocks-input-select":"^2.2.0-alpha.ac49b8ee","@crave/farmblocks-input-text":"^3.2.0-alpha.ac49b8ee","@crave/farmblocks-theme":"^1.7.0-alpha.ac49b8ee","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.ac49b8ee","@crave/farmblocks-text":"^2.1.0-alpha.ac49b8ee"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.ac49b8ee","dist":{"shasum":"2dfd16d0f80ebf87d927dec510c6c1d579a66719","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.ac49b8ee.tgz","integrity":"sha512-b6V4RgDEX4G2JlPL6hbTBmRAfa+9OHdgBQmOx6n4MxDeU2ifxmAZfClClmP7tkJACp/N++C+yWEeaA+kLbFXTw==","fileCount":15,"unpackedSize":46146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbphmrCRA9TVsSAnZWagAA8xUP/iP8g2pEEoSt6cdi7E0M\nlFX3zPmzj+Zk8xi4U6gpB6vvsP9Hy6UEDhZI3eXK8HA8OyhmMy2NojeeXdLy\nPINY+azwopDxKfIC08+60lrrGCy21lQmb7ZoKmS/XEnP7vCRR84SM8e6jNcO\nHknVFJ1xgbCiLiayH537mGvVGgqzkqhhEPCH2uy1SX66Iewst0xmXakoR1Z/\n9MXN9HlSUiI/F/2lyNdOX/1uxb3NkUt0cHkBIvnNye9uZmgSPjDate9aJ/Zz\n/zUXtncieX8EkVjeV1FM4bHTy2FRdvOSPfvB/uqpxnSWR8USwkpQ/L1x2WO/\nd+CjfMcHBmI3itj6hGAXLKvgig1qao+UqxGsLB25qh1j4ltSTUga0QMW7SRI\nB/q3EXzOe6OsUcBFuab5E4cAtoEYl9nkBVfu/CMWKVkWp/RyXI5jzYkhyrZa\nloZLcJGW4sxv+D9Fk/DlFNxUGsZ8KT/2+hnZ3zNNpH+GriTVNLlJTjs0tFHf\nso5cCr4GgXK4q3jB2iQY+cEo0rSnWgosfetiECFjy84qs97rVtbjPscYCgh8\nwphV5FVHc84AAH7Al6DCFE9bxp1S6e5qVUo5zlheO8FfwQvZ9K3Wuk0L896r\noW0rKmumTOqVDs5dlSPoHBGwdqjVGUoyhcKZ/vGlIuyJdnZuudvnKeQsUT5D\nLAKu\r\n=fz3/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID1nMbPiZOymoGGtB47iL1Z4IErdo1y0eFbfaIbU/afVAiEA5jrKNnIG2o4w3bTzh6810vWewYSRLpjnuPGEH9jJUsE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.ac49b8ee_1537612203181_0.5836863342282357"},"_hasShrinkwrap":false},"1.2.0-alpha.e74f7f42":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.e74f7f42","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.e74f7f42","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e74f7f42","@crave/farmblocks-hoc-input":"^4.2.0-alpha.e74f7f42","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.e74f7f42","@crave/farmblocks-input-select":"^2.2.0-alpha.e74f7f42","@crave/farmblocks-input-text":"^3.2.0-alpha.e74f7f42","@crave/farmblocks-theme":"^1.7.0-alpha.e74f7f42","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.e74f7f42","@crave/farmblocks-text":"^2.1.0-alpha.e74f7f42"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.e74f7f42","dist":{"shasum":"7e888c72c25413c303c9853786f9e291a2ab2666","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.e74f7f42.tgz","integrity":"sha512-cX4C0u1+FPjNc8XDguEkvGmazSUOcXabZZbsO1b50wJJmzvpbt9n4rv5EPw6Ok30vYrJwKNMAoAl9WggiIbcnQ==","fileCount":15,"unpackedSize":46146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbpnm1CRA9TVsSAnZWagAAhLIQAIg9rEjYLetZnPZTfKNb\n4RTlNLf/H+nsPObCLJQv8q9TGj8oGH6113GbhBvqbfBe8uyJbrAdwE3tZJlH\ni6UzXWyV0J0wpidmcxEF/I2DFMDo89LyH5cjEMGnfuxBkBFz1N37wYicakAB\nY0qj1JX7kuj2l5kkxrmr0yj+sgMmtzO+STKYNUUVY7JrqHMPfcLxm9mmVpm3\n5YZGhcAeWhrXERHno11jEav6n3o3fu8skSfh/TC56Y8G/cp+5Fyfh5Wam6Ol\nC+3qnGy/luL3M5LwFepPXFgxCEigA+G/TGoL3jFwYAButKJf+RU0wwo9V0dk\noiuHDvij/gfANkOtY/E5JIquWR6gVYr3a0DHak78IL4/GWYoxpuix3fGfjtL\nKhhnse/nEz8jG8i7rzdNkmrtOG5F9cuMNukd8R7MJLM2c6a+vPGQTpoEiRta\ny/LbIqXZUXCNu8yFfkoV+dwMcmM4WXPwIsvP8Iau6sUG0FYWEzH23OiWePMX\nY81+p4Z1bVyaxO9iBl9+UfYb8xAWMi2tgvcdNIYlvT7vUMcrHFAi5QyxVKyh\ncHAO18yfSphGLcmGp39RuEhqsBG7Yoqnl11939moCz1h2hT1SNPJhMQaNQGB\nxcMuDGRj0Aavxb/X3kzYcGRFM8V3Orw9KWR0PAzpFO/n0F94EAasRQGSc8+Y\n1Yl4\r\n=lo41\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzL2sbKkflzxcyiqCYN/V5+t1PuSkPIQ4JR+HgFF10NQIhAJQ7u8UnGy8rZwR2+xw7usDTYWs0wbZ2veRNJmke//9D"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.e74f7f42_1537636788714_0.9170495980611157"},"_hasShrinkwrap":false},"1.2.0-alpha.9b4bf866":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.9b4bf866","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.9b4bf866","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9b4bf866","@crave/farmblocks-hoc-input":"^4.2.0-alpha.9b4bf866","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.9b4bf866","@crave/farmblocks-input-select":"^2.2.0-alpha.9b4bf866","@crave/farmblocks-input-text":"^3.2.0-alpha.9b4bf866","@crave/farmblocks-theme":"^1.7.0-alpha.9b4bf866","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.9b4bf866","@crave/farmblocks-text":"^2.1.0-alpha.9b4bf866"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.9b4bf866","dist":{"shasum":"a16e33c7435b3e03c1b2b5fd18de105b0c03b16f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.9b4bf866.tgz","integrity":"sha512-UW60tj6YRN+q/iS9ecBtVAhGY0qtt8a/0BBQ1UfC3u59koNO1MCIGY5mAAUi/5eSX2z9x2toTXUe6Tz+73Dzag==","fileCount":15,"unpackedSize":46146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqQ8WCRA9TVsSAnZWagAAaPYQAJZeD5Yl0LQcjXqnzxxI\nni9SciWD9YY2Rdn45jOojX5LZej+m+BB7tiNsMcdbv+1kpGt08B9kaURlaOA\nWxqGpC8jqwHJWAQgq6Z19mwFyTA74WGGoOgMTRhbtyMx88njSd8h/EX+3UiC\ng6rcYXVlaR6PMwj9UHPDHUP+eoAV+Ouz9RYa3d0HnjNfAOps2gPg1hH2LwVj\nZ4AarSo3icOEHYqWG1yQ+GAuX/SgW/8ypVDySLQd5s7c67bVc8sI2Ju2Vkvk\n0/EH8zWUR//PR/M4Y5+NlIsMeBt+9Y4g+WfGSWWxUIHluwAeVS33k0/vKXea\nYkp4gnmes8+HMdUjqQA20OdjICpXBXKjQ0aAhiShd6lUDL0c+JFHw1xtS/Sa\nOo7q097QRmzt8XlJ1/jZt57g0Q2vpRXNWBTrHNSvXyZNbMua6+2nBxiUGs59\nBcG4e4oS/XOIm7otSeZvIe1s9XWjicWhw2Tps1xhKURrZ28cghJCo5+hg/NA\nBZ8JxFDCPGnMls7bFaGFkgG0psMNOfAXZxIf9JxfzxJya5dFs2qCY+Z5rhT8\nZcs7op9NEb6B9tI9pqBkss7UTtmN5j3KPj9NpUcHIA5x1ecK4xi/Y43zu0Mn\nHHe8uGDjV2JaSEzvi0yM2bPf8ArN5tba4Q/roB94oA9fZsh8mHZERkX+Msg+\nUYwi\r\n=m7/6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUieJ62tCBRLnpqJGg4efiLhibUnADWxL4XjuxmrIaMwIgbXWlq1ja8tF9yj8lYjoOxn5VirsI0fq5fmhaTulLbZk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.9b4bf866_1537806101370_0.36177945235469533"},"_hasShrinkwrap":false},"1.1.29":{"name":"@crave/farmblocks-search-field","version":"1.1.29","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.8","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.11","@crave/farmblocks-hoc-input":"^4.1.4","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.14","@crave/farmblocks-input-text":"^3.1.7","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.2","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.29","dist":{"shasum":"35bc9553a5b7569d03e5b0b76f44c9b528140dac","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.29.tgz","integrity":"sha512-iurKWCdzIjyd+f9gunQ4E3zxBB4eATZWEDqSrZAFeGtrq+/idnGKMhxM6acnm2jZjuBtdvKFb9uqMSDZ1ptxLg==","fileCount":15,"unpackedSize":45958,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqR34CRA9TVsSAnZWagAAovcP/0FRHqjVHQGzDXXxEo8F\nl/8YoHdpVf+nqQnoNrvM+Ay4bDrNWjWqqn0Gm/0iw4zzH+RoXxPrd2C4nVp3\n/WvfbV/3+gfTL6HFiY6k8dB1OlyQuHFPsy3LoSb4JH7R7PqwUiZlXNdK7AyB\nYSyTBWS1fxxeiuX1HHM3lBIgr9qB+p7xvmqzFQHOOX2GseCpJGh6YvfdhU3/\nkLkVUuLQuim97/A3luE7tl2zJTU+xXCDJWGdv4faQ204xST2jpEGhmgSkQXu\nTckry/KkhwpHNIa9fl/D02LFunDbF1oqKFXqPMtCMkzW6SOF2ZCMwdXB6luc\ne4mMNeQaeYxUn/TZLSBqlEos6w7wjIy/IlUoi7GdKc5qdcGntwIlr6v3u1CQ\n8asMt7yeM/U0fV84Lc7yzXx4Crm01s+OihilG7hRRtpLd7E5dFoksr+IInyE\nYecxS69FFeESm0jxnitMZLU37KeqZ2a9A3aZhd+QoA88Mr11xtnTslKMQ+q8\nebtV8F+Wmy4R3n93JLC+ngr39Ag7NJuX/KJISgzlSjb6n5gkBqVpVAdGIRgP\nlC6I8ncBU5Mf5+R5fei/DzeqrbmB3vSyIchYW5hMuDClGT1x2vUZsQNdP8v8\ncqmlBYq7fmTeRcnVOq/bNdF/b3taT8sx50w644kFhOqSpry/PHOlRHixz8PL\nCP7a\r\n=KyTT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDV2dDazB294Niq6NEt0qVkML6DbaA5hCvTVHjV0WcRygIhANnphx9J82Ai8It1EYtIdLpLdhilGo6OY50Xkpqwy1k+"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.29_1537809911171_0.7480920386040417"},"_hasShrinkwrap":false},"1.2.0-alpha.e3d6e0ff":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.e3d6e0ff","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.e3d6e0ff","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e3d6e0ff","@crave/farmblocks-hoc-input":"^4.2.0-alpha.e3d6e0ff","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.e3d6e0ff","@crave/farmblocks-input-select":"^2.2.0-alpha.e3d6e0ff","@crave/farmblocks-input-text":"^3.2.0-alpha.e3d6e0ff","@crave/farmblocks-theme":"^1.7.0-alpha.e3d6e0ff","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.e3d6e0ff","@crave/farmblocks-text":"^2.1.0-alpha.e3d6e0ff"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.e3d6e0ff","dist":{"shasum":"f4360419b79ac958f1fbcefcf5549004a0a7a9d6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.e3d6e0ff.tgz","integrity":"sha512-7EG9A6Brfa7kM/Qjwz+Kdll5DCN/48b4f30ktCaU+Qqu/h3O21rUrtYKOvyuooy3weQT9Dzf8UEwvoNcgKjC3Q==","fileCount":15,"unpackedSize":46396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqivICRA9TVsSAnZWagAAFgIP/34POb3Zv8C0dyUIk/Jb\nlgp+XK4mfg9etJ7ea3+gfSdCz6AtEhbjByeNeqFBHzlXJbcbfslILJJ6TQrS\ndHZvHIe04rs30pbnM50NZS685P7U6KVr+9DZZCRrZSdWt9xbaHfAE79IetxU\nPDBc2krv/W3Ho6DYZ/jR1MGMjmTqEa5JlZbMFCC0sg1FAVThKsAXNB+kxW5Z\nVykBvQUxJXTPLBbHcdSNtn9cpi3W1Ym9c6ZWn0tuSMTGn8hmeQEGcdkFareC\nMNbWi0rFiaPA9KJKPLa4ncDahoMWeSUPmXuDAg5WdkqJvjQnC8IOXyZkTk27\ntde5sGJ9JJJLN751C1ZYeG/jVTQTA9ZQ5D30EEaA9pJLNo48fR2QgbPRazTU\nnA3CI3MV9keuSaIL/FbpL9MaEFHYk+xL1i9J03jF8BNd3fAcKT2SDjlVxS22\nmDXx6nRU2MNwE+L2nmtyRLPNFcEyCiQrXLFUPixUAHSjwoZ+Qf2CSeNz2qTE\nl+sSiyxvqrl5BwdrEEZfQ2uWTSwvk4JiMA0tZEAIg8dLMDRsLtrUBNrwS3dp\n7WAm2jAbeor7bTa2ZMtwsExMEDFvK+A2PN/bWuvdJUL8xRNlubLdnbbOlh8A\nfjwdn9avyGK2Tqx+Z3nHlnyZ0IoXfVzZYe97bYkuJh9fzY1TilRhZ/WkmJR8\nswIm\r\n=//FV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD4CM1xOkmzWbeWDEpyhjJs+rXnaS7Nd6XzYSotSAQ5hwIgT5AwEoQ/mclCvknbsEtdJ4hKqrvghvDzxpLyNQqfX/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-search-field_1.2.0-alpha.e3d6e0ff_1537878983676_0.9030986674126011"},"_hasShrinkwrap":false},"1.2.0-alpha.5e8d38fb":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.5e8d38fb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.5e8d38fb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.5e8d38fb","@crave/farmblocks-hoc-input":"^4.2.0-alpha.5e8d38fb","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.5e8d38fb","@crave/farmblocks-input-select":"^2.2.0-alpha.5e8d38fb","@crave/farmblocks-input-text":"^3.2.0-alpha.5e8d38fb","@crave/farmblocks-theme":"^1.7.0-alpha.5e8d38fb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.5e8d38fb","@crave/farmblocks-text":"^2.1.0-alpha.5e8d38fb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.5e8d38fb","dist":{"shasum":"a2fc20b57377212bb9c1a47fc6dfe3be33e2584e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.5e8d38fb.tgz","integrity":"sha512-BkS2/cWPiLV/h/csxEMxZThzb3tydRykCo5nSQtdxQFmmrCx0e4Rn+YBBE5CleFb0DLpRMXxaxoDq8zdMSG59g==","fileCount":15,"unpackedSize":46396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqjnqCRA9TVsSAnZWagAAe5wP/3yCm9w9fDXxusKa2/ki\ndxlDRMZVGRH2vDxSU/MA4J73bJ682zPmKttEAINM2xrugsZaEOP7/KYwn4yz\nJxNatmHzWt7X5bILJEJWSnhKFxP/XJ12ImlF78d1j/4pfVcQhW1Vxop0HiS2\nQkPg1wdhKbmwRI2W/54qbZ0udYjSuyT/hYVdAubjqcV8PZoB4o1fEFShRyas\nnWNChFu08m2KAZN3APy+kIv1Bgz6W/vwbxo9cE58dugUv1TrMG3ENoehVKlm\nUJ9dFErOo9mC464Nsb4tUY3AMGzEAVMdOLQPTK7zf9+Kl3iO/CTWqjR0sca6\n4aj4iYY8bEkGIuCQQvkrihjHAv4/C6QjeEc+wRrSiLq79rc+W+WH2nMURCxr\nggFigm/goewUVyU5N1M0NccxRiUywOz/aFU6SsyunJmo7DbMJaEXASRHCaCY\nkiuxyzsXLYK3wnMjRTkiN/+lovNoQuYX+Mvgew19fWx7wxOzfTmLwPlfbeqq\n0EWOvy80dpEqRD44jHLCwEqdnjzobXHPJkILEszhFLThjW8/0m4LyJSZMSql\nrDSc7M2MO0qKfYpD9jdYbND8gIcmcW5DwFGCtxH47rlbRLzEjSnO1+Tfs7qg\nHlr9onckTadEeitraTiIXCN3wI9qbiszVEN+ic+esC5DtWAbVpsn4EHhHTcR\nVVAR\r\n=8G+5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQ+Z6IfSViEKflF5MwoYSItIkYlsazpChNsQ5pWRN9fwIhAPB69u6k+8MhdhL44AH2eq/s3H4afxU6PsEPyb5b9RX4"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.5e8d38fb_1537882602213_0.2385641398406828"},"_hasShrinkwrap":false},"1.2.0-alpha.3676586d":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.3676586d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.3676586d","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3676586d","@crave/farmblocks-hoc-input":"^4.2.0-alpha.3676586d","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.3676586d","@crave/farmblocks-input-select":"^2.2.0-alpha.3676586d","@crave/farmblocks-input-text":"^3.2.0-alpha.3676586d","@crave/farmblocks-theme":"^1.7.0-alpha.3676586d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.3676586d","@crave/farmblocks-text":"^2.1.0-alpha.3676586d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.3676586d","dist":{"shasum":"b70dc900326c92503b1f7740b2ed21076493784c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.3676586d.tgz","integrity":"sha512-APSslwZtlYAO3NqEPNUIEHtmv7mnpYgE3CU2W06qdBooBmAFM+QxPIdBuf5TWjOs/O1ydJSOuJA74iy5ZAMtWg==","fileCount":15,"unpackedSize":46396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqj7zCRA9TVsSAnZWagAAzI0P/3SIUREUANNvWUlfmUpS\nBjrk90X6ajthM/FcK/Pje0AvtOmphDtxlIZ5fck1Pu4eT5aiojpFUJHDZjXT\niGM1rPDmibIOU90Q5yFWTKHG9KCNBJ11w+uDd18dFqFJm0JqoFzDtJLwHET5\nPWJL6P1YrFXZwtpuNzapRm5RrUhagyGDSWeRD/Wp9VYav6uAKvX3LUTrYyZt\nsviDjWPaXb+iuMYL77pauUdovoUBsmfTyCzI3go29bRfxNmTgx4BHJj6O83H\np7xxxb76NIsB/2o1G9UN4p+zVGC2Fh6fwMmBl15W8xMKi1svWUfaBtfWfd6y\nYSnsP0jlMtD+7YeXts4BRCOwsRvJJESy16OxlzckdCijQjAK5eW0tZmamovE\nXSYicTMuFpSUVr4k++hPZ3VccJ1tN01cf0fbSjmv8uFg/ReQqdsjgJvF7WwP\nH7DjAEByDT/GYUytEsjGRBnMIVyHbJsHYyfLvAtrfO7drlpXOvSHEJ8fpmqF\nIM8O2dKgkW8Z1JJCiUiwS+QRyJP15OXqmhpXnTPwvGd68Sq9Ko2pf1Vom4N2\nTTp/LQR9RH7xdVQamOqYcwieHTTEsk3jaGrMTBigRm9rIbZ+LjzYS/KJx1TA\naT/zUa6rEFFWUkTO3FxbAyUnMDvXBhNMsDCzZT/jTT18bCn/EpP7xLT0E2QZ\n/7Fz\r\n=Dqnc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgqd+Fc+F0f5PI8CGPNFyoOBt4kUxxOgIBttc+TE7oSwIgf2+543g7GV04uEKrpNl0w9V9IhAljsUNktKHXBNe0Mg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.3676586d_1537883890810_0.38222510520146113"},"_hasShrinkwrap":false},"1.2.0-alpha.797c8246":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.797c8246","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.797c8246","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.797c8246","@crave/farmblocks-hoc-input":"^4.2.0-alpha.797c8246","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.797c8246","@crave/farmblocks-input-select":"^2.2.0-alpha.797c8246","@crave/farmblocks-input-text":"^3.2.0-alpha.797c8246","@crave/farmblocks-theme":"^1.7.0-alpha.797c8246","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.797c8246","@crave/farmblocks-text":"^2.1.0-alpha.797c8246"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.797c8246","dist":{"shasum":"2f6d6272abd6fe81ba7bef77a80202a1afebaa3c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.797c8246.tgz","integrity":"sha512-d8FPuUKzxAI2MWVBfy6vnCPDUGXHvBCD2L/uoqCQpCOW869Z0Mv1weIrYzpliU3Qse70v31qpOhl0QHKXhrUBw==","fileCount":15,"unpackedSize":46396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqn7mCRA9TVsSAnZWagAAWccP/A/4JEqmYc4UfRnqDmv6\nbvizRMzX9hiSoVKSyGnlp+zJQM87wPLX/r1prIk2pnMkvea0K1zuXe4pTGRc\nUIrvJztfVtdY9lx7+/e6/08OJ3ag9VisAnrbFlGZHH0xg6G/pcW1l1TO+cA/\nTQoV+ty1+lKPZx1MtfQXNHsgKGVNQUwtNrw8skBVhjmmI3L8saOQE9BOOG6Q\nDcegYDQVX0JlIHzeejG07SCrcX7+IN/sJYkmxIMCNO7043hZanMKzVEjxzwM\nWqBWATcVeEOfjuYKPTCiopwi9ih07H2XemjWH6RQcCbE1mgtWcXMGT4KsdVH\nUSMohOM/aS8hOSGYiV4pfa0FJb3JIsNMfRVWBcD5pjdAENm9Wf6qeUDzjirY\nLW9+6db5yVKI5lcuwOKGRNFVbJVyyzMjpckYwvkykwy0DNi+1yJV397OpEsc\neKEv2DYIVatJOLDekAr3QLruSbZDFHhR/JWj239oLpj/qWovy6b9o5j+caVf\n9uJXwT9uSR5XzGVazpOBaPTfeGTWiGm8T+Uss8oWrO3Cb1qj4Y+dHmNx7DcY\nVkK+KDdv7HC4GwQj9wBA129V/Po0dagBDrNT9EpWnCUBeZXiofAvhjxFqIYO\nRfHpizKaLq1fP6U4NnY8OwpXLkxFD0QVuK5lC0cODw3yJyrGIjOq3TTg4fmd\n1y7n\r\n=3/rh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBxJf5L37DrK0WIa60ZcO5mU3VgQGDULy40tmAMIJHyZAiBVWByv/3UXCX8hENnqeMCBKRepVm/RBLOZ9VM9f8rEbg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.797c8246_1537900261801_0.6163590544415576"},"_hasShrinkwrap":false},"1.1.30":{"name":"@crave/farmblocks-search-field","version":"1.1.30","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.9","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.12","@crave/farmblocks-hoc-input":"^4.1.5","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.15","@crave/farmblocks-input-text":"^3.1.8","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.3","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.30","dist":{"shasum":"bcc456a64f5db2ed060996facd7055b274a27094","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.30.tgz","integrity":"sha512-/+ERyDvHp3Lu7+b4IihHfflMggsyamlvWgRdWwGFLoph0FoJQFnGlqVTuhnOlZnjGBPcpssouteoWxfb7TVQYA==","fileCount":15,"unpackedSize":46208,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqoEnCRA9TVsSAnZWagAAdIoP/0jqjQmQcoMw2PaR3I/u\njXUq8mj1kZzBz8oFu/0b78HOrH5qlxOGBEEutc+NDfkvQTjPqRtLfDzItRT/\n/khdV4MAcVyVIOCOpmgy1xLSaMSVnglubqGkdMLFg3p33CU/YMvHJ1vG1JKa\n4HWRjeCaP51K8/UwQcaAyY/Tz4XEvnChiXgidaiNGkQziTafKlWLcNpTD3GY\nhlE3IqakuQjNpTLdHs6/loPhVG2DuODFiY5c+YzYXcGLQ1SZAISr+8RZADjC\nItPa2W+6/8k1P6Djy2GExICCuHX6M0PIzIWcCkSPyBbxDkm8SBDECbN7aafS\nW1ao+1uUaI64DyrrNjODx9RV3X899ksCq4gAxgQaf+JXE3wjDSruwIEIfNZ6\n8XKHNlf4VHVHvAlJpsFAlv+mguAUs41bnaf7QuUISw4felu4evYYuTyrRzY0\nRbjcTKskK9K7Ei9Bu4g07RDP9D8EnUnMRSD8w8Le8io8TqfccNFvxiKHzUTH\na58GUerb50vrK5QMU4HeNpuwS0JzsPLY3163ObMym6b+qXhnv9KGCq3L8cta\n4Gq9JfM9sDtsxLbN4JXKl6awPNp1CV8GKi9C3KXb2L3bwjUznMao+s0DCTru\n/B19hlM4wWQjd8isrBOzbiHeXq+KPxuUh9BX/RCQ6yJsriQyXn2lJ5q2vu+y\n/eav\r\n=dF6H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEKXY9111B+FiTGNJPdZQZgaxSeBsOJI+VyQn+DK8UUJAiEA9hHvfV32TBnyuTjL3OIXmpAMXEzA7iJFdx26CVaxAYc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.30_1537900838655_0.780036586351859"},"_hasShrinkwrap":false},"1.2.0-alpha.fc5d3caa":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.fc5d3caa","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.fc5d3caa","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.fc5d3caa","@crave/farmblocks-hoc-input":"^4.2.0-alpha.fc5d3caa","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.fc5d3caa","@crave/farmblocks-input-select":"^2.2.0-alpha.fc5d3caa","@crave/farmblocks-input-text":"^3.2.0-alpha.fc5d3caa","@crave/farmblocks-theme":"^1.7.0-alpha.fc5d3caa","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.fc5d3caa","@crave/farmblocks-text":"^2.1.0-alpha.fc5d3caa"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.fc5d3caa","dist":{"shasum":"6e61bd55f716a3836a45cde515442a0c98ff2c28","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.fc5d3caa.tgz","integrity":"sha512-7udjQYvwJCzIO5VVUYmFmR+NcTEVPjL94w9Hgcto3cMmADqT7VElHCSXwgfo1tr1x8bp202oCd8Y9bKngDczIA==","fileCount":15,"unpackedSize":46646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqqqLCRA9TVsSAnZWagAAP0EP/RPy5gKbWgB6Dw/FejAW\nXRYwlMavvFX6eJUhI+++xT4CfnesmNkQoJoRmLr2onmi+gph9b6fqlZGeVuK\n7f4rV4nbDaLbhywotMEv4kR6d7hICBticRm1B0BZM0XPTQZFDz26FFe7iiFw\n1/5yCW6Rp0DVc9t8JhBfQoHQE59oM2afuw7VMr0XXmVhDvXoL1/mgx+ofAHm\nhr3MTlL1WO5isjf6gay6TNE4OArt21OTrGxfJtt0cHHZFzZJwITLyB5Wb4nN\nAZK3DPGj8mkrtoGXZQpQckdvL4l0uqcBqsEY2JgPvpTtvDh+hW5Z2VYu1oRF\n5DLB/3W9xiO8HUV7MZNl9ceKzbBJs9EbcMVbBlWvGVjHefH/ZOR1EZ3VvlnS\npsekA7xjtYDI/osER5JGaFu5vcRVdlQep//6SMcy/G9dWZvPtM0WSWZIe0mL\ndBUzUCVAR6lh5/QguO+Jua9ld1xqhylnIrGmoz39bNPt/qKTqlrp/ahGbRKG\n3fC4dWaDZBVtnhPw/x622Toc3SG55fzqcgXiip4qIUMYHRvBEMucDeWz98xP\nDLySg0EnXY9dEbguxp5I0LKQAI/T8PlGdigKJzF9xtysg2AVCWI19ZAoQ/ia\nohlVFF6qm8xhdYFmtOhYKdKB3Sm0Kz9Hbl1Ox5cylPqQ8+kCFt3ePSc6j7LH\n/UcU\r\n=u3t7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDkxnjeHaUBvZwv+AKy3hj71VPjWnCMZGQyZ2gXGnsUwAiEAjeetXVY1zJECmqVQ8udD6B5UsTIx7HAjkXQGCRIGIGM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.fc5d3caa_1537911434894_0.21270768056191902"},"_hasShrinkwrap":false},"1.2.0-alpha.c5ec2d27":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c5ec2d27","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c5ec2d27","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c5ec2d27","@crave/farmblocks-hoc-input":"^4.2.0-alpha.c5ec2d27","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c5ec2d27","@crave/farmblocks-input-select":"^2.2.0-alpha.c5ec2d27","@crave/farmblocks-input-text":"^3.2.0-alpha.c5ec2d27","@crave/farmblocks-theme":"^1.7.0-alpha.c5ec2d27","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.c5ec2d27","@crave/farmblocks-text":"^2.1.0-alpha.c5ec2d27"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c5ec2d27","dist":{"shasum":"c4210848dbcabdaf59e5d382317ac8f033a73385","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c5ec2d27.tgz","integrity":"sha512-St+6/7gte8zJpM+k0298//3AsbbNIs+F0p0OPXL9Gyonc4+1x8ppZdux2W0vM5GbpyaFwckwe9huReSLSQCDgQ==","fileCount":15,"unpackedSize":46646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq6VnCRA9TVsSAnZWagAAaV8P/1+viSPyVJw5arO+FUyB\nBU4o1nE3pma9tY9mj9Gtspkj/IPUcItJ3FaXZWqRTdp1OqOGNjH7qNHbJmyw\nv6eXEaD0m0+rZfHc2ouMat7VhD1DzitUsxShrt90oq1N0p2Tp7eYK14MXZoL\nDOKd4CmfeChGgLn1MKUPjrBhEGtgvdLtHA96a6FFsV9IH6bx3wuIvyeZdorU\nmyrwetea0wEam6LkpMYTYwfzm/NQQFl4Ecvt1VpUicIMGdQUg5hllpGF9rse\nJURvcr946NTSY5JM0wzoclmBzNQbggFV7Q1Z9WTVwUDtU9eNUqdO1pkf2w7D\nxOQCK1hlm/i3Bf7JPzYeHczn2lzBELHeVLHlK2fUr2YdbSjlKILWOU3vHQIW\nv9lUjXwxxsEEiTQNji+VyMK1wzQJJoYUbDeZt2G1kTzUUF6OppT0X982iezJ\nflNe7+UrdpeMW0RHNff4Xmr/x1bp52H/h0G6NGVBkb+LEa9smlMZsIXOcLUu\n99ph3vRV2Q+LBhaMUPt/zrmscF4g47OpHMyn5kqes5ls8tvsD6DVkS25o0fS\nkq4cRrAUwGO6Qq3XkUNSxUk3i16WrzMzp1kgJP6Pg6Fd9KaHT7uMl6Gb3w63\nFsqROK4xMUzLNZVDf9RvQuTKcgxkq54LtFRORaz7osDI87yf1tA04ApuAqgQ\n/WlR\r\n=VdHu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/rwO0T5HEeJ+ZvdJoNWMByn1tJIseBl5Kmm8EUa/XmwIgSHKb19YxE6mvbZQ5FDjpbZFESYeyYFKGH6HdJn2FuPs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.c5ec2d27_1537975654507_0.06523044198275385"},"_hasShrinkwrap":false},"1.1.31":{"name":"@crave/farmblocks-search-field","version":"1.1.31","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.10","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.12","@crave/farmblocks-hoc-input":"^4.1.5","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.16","@crave/farmblocks-input-text":"^3.1.9","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.3","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.31","dist":{"shasum":"230c3dce5fb6f00da531c4294ea1e3829f2e2dd8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.31.tgz","integrity":"sha512-DjagyLPW7EIKGFhIOUO48VG/N6RGQyWi/DvPneLbB54r9fyOckLb98KdXJkGqAAoCXGxnUGWpicR0GabV+DfWw==","fileCount":15,"unpackedSize":46459,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbq9ovCRA9TVsSAnZWagAAL58P/jkeLJH7GzHUiaUtFNb3\nHW98vMiCx4sPZ18JGXKdLkcxRDDT1/fVRQBgzdyeUfMdv9ZnTzYdn3vutUOE\ntyfUeGAG/VTUWBMQBP9UskrZZpTwWumoqe4/cbB1EocLaE08RQKd7RTWzW13\nu/lXsP76mw/Cbp5miTojroIDDRPm7pX4O+CXkOx+IakuhHEZ3EJTJl8QE3x5\nLJSeEvNTzvLfNM+vEhpYl+DDo+epcBEevdZ4sn4NgUXq2nH9rrqpQjs3lYgA\nklQSt9S4eluFsCE1oWjTN9IDncXB4jCqWNDbjAOhmWX/w+W0S3E4CI6QQOVz\n3vZ7N8lU3ZQN9iN/1sM+eOkNfWKwNHcHRGbyFY0V5nhoumpRbsXPtkq5o+PQ\n5DigiKBRI2L8sO9NWrKHTULdyusx327PLtP6Lhekssa+wElI54jG+ahaYXld\nAh7BkFUQ+s2j/6vF4nEH8JycwI0CuDBvKketHYym/EJ6vxyOSLNdAmYE+5C1\n/ZoUGX6L2lYEha0SGAoxrdeOsKiL0e0FUhNWFouabx34CZE1zEFOHRhpwrIv\nsV+fOeFL999I190+6qYMMJy4x/pI/eSUh1glPTe7MMg6pgcz8awK471GaAw3\nSZEleRYhInAtyk/jMACJTloPtQCuLGv+R1WKjV7uHgW70pZi+rvfOV6FGLpj\n3xUK\r\n=zeos\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/5VBoxoPQd3YXSYEJPxmh8s88esuBahK+gRZFmSKzwAiEA6aYHa0HVq2zbqaNJCMUlcsbiMWVNu1Cm6STD2a6wdV8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.31_1537989164589_0.8815880664147773"},"_hasShrinkwrap":false},"1.2.0-alpha.254e010a":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.254e010a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.254e010a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.254e010a","@crave/farmblocks-hoc-input":"^4.2.0-alpha.254e010a","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.254e010a","@crave/farmblocks-input-select":"^2.2.0-alpha.254e010a","@crave/farmblocks-input-text":"^3.2.0-alpha.254e010a","@crave/farmblocks-theme":"^1.7.0-alpha.254e010a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.254e010a","@crave/farmblocks-text":"^2.1.0-alpha.254e010a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.254e010a","dist":{"shasum":"011dee8ef500de1a15a3e48dbdc19bc41067f892","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.254e010a.tgz","integrity":"sha512-MAKfg/BPCAOqaOaa21dX4tA12BvpPZ7YXqGaBGm6OJ3HUNd+v3/tNMWFARsmUALrSJvzmENDfozz5gZa/T3OTA==","fileCount":15,"unpackedSize":46896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrOEnCRA9TVsSAnZWagAAcVkP/3fALYGDLhOvwJcDASrQ\nmNE4s2q9nLnYv2o8o3K8Uw5y9RdpQNtGwQCb2v6cRIoUkzZwZJH9xrWcK2L3\niTXQAZJ0fPD9P9mgKaVvrTiZHsQ30QWzFJkAjfv2yrWTCYnJmublg94oxpj1\nCU4x1CuhxaGL3K453Mv9VFquHp0JERzCEF0wdJsriy8gjVvgSDFiiTDmMBNz\ntVvn0j1WNXS5dokyn2xPnDj2gQPZ5kBeYyId2zJclr5ofAdgWXpJyy3wlZPw\ngpLj0r4ELjInRUcO6EpTiWzD4TggfQ9U6wI4HqpmHSnqpLXtAcUyBLy6o17f\nfiQTzmmjg6P0Pk0XnI9w1M2sKPH/Gm9b9Bl1GtOwlnltctMqdt7qSEwO6VB/\nostGospSZ9VL7bHnZvem0bLzG0r3LJ6+7vddqWujzt6jVPQvy2gZ3H2q4yXH\n8jeuokXIUnGca4YjS4/GpPnu2WSmyHrF4x0FpV0gN2hWQ3jMNiLuko3JkZWt\nQvkJ03xl5qXKSgzctnYczwqKNXZzdioakXY6OyTvuGcxZIyc4kRmXQa9Tqeq\njx/lU4H+Bb0+2kRFd9jHozS7NmTdqkbADVagXYn7oGv5TlHXb9sd/y+WlayC\nOH+cb4bycRXRJ7ZVLruCTGmKYDTqgtXeC5dLIXyzVJdPucjsDDH1DLqMxHeL\n2qHh\r\n=Hi3r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGi/vG7H9cNZJ/kRE5VJXat74acMoolxzLIovhxvYl/3AiBlha/PsYm429lqt0w6hdGMTH5k2gZgcm3jtaFuooPEow=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.254e010a_1538056486961_0.32929413033774346"},"_hasShrinkwrap":false},"1.2.0-alpha.1bbf0c65":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.1bbf0c65","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.1bbf0c65","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.1bbf0c65","@crave/farmblocks-hoc-input":"^4.2.0-alpha.1bbf0c65","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.1bbf0c65","@crave/farmblocks-input-select":"^2.2.0-alpha.1bbf0c65","@crave/farmblocks-input-text":"^3.2.0-alpha.1bbf0c65","@crave/farmblocks-theme":"^1.7.0-alpha.1bbf0c65","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.1bbf0c65","@crave/farmblocks-text":"^2.1.0-alpha.1bbf0c65"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.1bbf0c65","dist":{"shasum":"ea655d347ed4b560509c7d64a20ee99cccc7e9b9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.1bbf0c65.tgz","integrity":"sha512-1XRHNhAUJipOcynBhgXtxtoSg+u+q9iDwpxbTrp6HR/jnpLu62orMzx2PDUW8xRiiuPHpmkb4XIe/kkBPd2Xpg==","fileCount":15,"unpackedSize":46896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrOzHCRA9TVsSAnZWagAAvzMQAJ8B23pCbb9VNgDvoFXM\nxacrV0pQd/Lf0kIDeaVkZiIUKI/nG+1i/N2rtemzTfu/OQ10iUHq/c8GXWsS\nGamn2ze8GVmavav+WYRVoCnw9MQl+Llw88+78YGidphxR/afDaKsM2QOUqZt\nzFbN08wv/3JsR3fYfPa2pU0dv70AKbuB9n3kHMmQVBQt+VuqmvZtXX509VQn\nppufPSN2gEPepwokn8JCULKPU3Hi/fs93FLEDtbXNWv8kxosM/CFgJMm8lCM\nc8Em5h1wLuV8T/Ylryct27G8HErZvfoRD0lwgBTq8dvVmGIHi3aVsDEyhw4k\n73AqcvwMN5hcEAMSp9fW3eV8wU1lzYC3BIQt/16TeNfy3XQ5Zzmj/q/KqwTs\nKL053bR/usC2Iw8qipg86be6/ITahiTd6tpd7/cFcDQ5Rdtv0Pk5Q/lplaM3\nvm9MzaWtPZS1pL0D6FfYmpIgVj/XhVjt++Ui6iCVOdRVqo/h0Py+qr+i0xtU\nyklMSREtOI8F06ZJcigAqjhRG8AyO0tB1fJztYOQs1KvQVQzwRtXVDYy6FV8\nGcbIpHvXhCSTIGT/OYtStmCiEUMkzHwE9DJ/eSFk5Su+XO1se/bTAW/DABMq\nOWRbxp/Zv08uQLkMUEtvJm9Zxhf2NqspHmzFOewCrov8Yq9y/lQxTRCJj+zQ\nA+3P\r\n=bmhK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFLZX2Rg4C0eTQlCQZCIogFP8V/+Tkfs/0dTZ/Y2GFsUAiAEolwElMhw//9+KWEQLi9JNGK0ss9w1an3C+fr1IYNwg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.1bbf0c65_1538059462795_0.10640447850388379"},"_hasShrinkwrap":false},"1.2.0-alpha.fd8dfdd0":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.fd8dfdd0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.fd8dfdd0","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.fd8dfdd0","@crave/farmblocks-hoc-input":"^4.2.0-alpha.fd8dfdd0","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.fd8dfdd0","@crave/farmblocks-input-select":"^2.2.0-alpha.fd8dfdd0","@crave/farmblocks-input-text":"^3.2.0-alpha.fd8dfdd0","@crave/farmblocks-theme":"^1.7.0-alpha.fd8dfdd0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.fd8dfdd0","@crave/farmblocks-text":"^2.1.0-alpha.fd8dfdd0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.fd8dfdd0","dist":{"shasum":"dd842511044112a6069e523daaefb651886ac337","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.fd8dfdd0.tgz","integrity":"sha512-WUQGO6QSCYV/RdqVow8NkTWSe1o2DIdofylGqGM4daTi+cIKQqbgjUJkpw9wtc/YnJXqTFupx7eQJXoGtZ47CQ==","fileCount":15,"unpackedSize":46896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrP6BCRA9TVsSAnZWagAAN7kQAJ+Zx97Oz73F9p/r05sd\nmu7RjMQYdV0+53iDVVPqSYdlo4T9v2sQ3eu8m+f7xdRJsvwUm0CE8Ue18qar\nzIGJUFZIuHcDOWqwCYbf/MNACBS99dPxAXJ+tgPOS7z4p9dN8nYY0DoV1Nl2\n/Qnj0qcy2/mGu/YcFiLrrLsHNt5uAXdIx4FoC5JQb+J0A5oSCieeixxvye9S\nWDU84cK42mJ2Ch3Alv7iGJr304MXfGUdF0vUCpbG6vNb1mS6G0o6upWwHDBr\nIPYltYzlZF/VTI4fvGFpaKwf2YYa80HrY8QRAMpgRtgSA00RiNjSQ02H4YAZ\nJ53ZT06itMbzj/xGLKgulIGyISDDGbzgThUSi9qIYUBGk5EMItaeLrjUCjZ5\n6CddGJ3h0qpnsAmYT16AQBav4WtMuagENxR8kh2or103tcNzruyq/WJK7vUk\nfOvXy6vypYOvgEMFOWhaAJr7a8h5jcql0fU7k63NQ9UZPmBwvSjr/IFrOdR/\neMVhNVxzF0FmRxP3FkRnze0chv04rJ+jWlIk7doTcHVDAFCua+uBTf82VD0T\naMbTSnqVhdGEyDqHdKRiSlZLAldxADs97MLspYUN3uA7wuvQ7YkPWZCjwGtp\n9SMyr0PvL/+ZoY46S0VMSh04pvJDfp+dO8JE+PJq2gdBZJbsEazLf5agXquB\neHyL\r\n=WFFG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEh+dZ7im3PwZIV8GdmWLVgBgj4QVIiTTzBmgE2EwrD7AiAyzCZ139sOpdRi2/Jx04muikDG1r9qG8wLgp8Os5Twdg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.fd8dfdd0_1538064000900_0.7592384813531532"},"_hasShrinkwrap":false},"1.2.0-alpha.6d167141":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.6d167141","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.6d167141","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6d167141","@crave/farmblocks-hoc-input":"^4.2.0-alpha.6d167141","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.6d167141","@crave/farmblocks-input-select":"^2.2.0-alpha.6d167141","@crave/farmblocks-input-text":"^3.2.0-alpha.6d167141","@crave/farmblocks-theme":"^1.7.0-alpha.6d167141","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.6d167141","@crave/farmblocks-text":"^2.1.0-alpha.6d167141"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.6d167141","dist":{"shasum":"85efe260193e4c87561af3785630be6d97c7f8d1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.6d167141.tgz","integrity":"sha512-DbWrG5i2M9iSN1aTDdCbnqZEDT7nEjIhKFavw9CicGBCGnOpWRrueAi9eVH4JxJgzy0uIYejXVOTO4RCoHX7/Q==","fileCount":15,"unpackedSize":46896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrRahCRA9TVsSAnZWagAAXjcP/21HhSb/dv9MKRxhDjJY\nN3sLOAKIRUCsDc1GsqqZFPR+raR4JActj4+C1EtMoCztLVjr1g7SlhislrtE\nL+toeTnPpo0SS4gq4bhU6hNL1ey3AcLkJbWIDuLp/tMPZOxVZ1VyeAgYWJWM\nG/JiPmmS1MKQKko8D26fyIkCK7vu3nzcndOwQCZdGUZm+1v02WI8L97vME4Y\nmf67wdIhtdhi2zaWFibR1WtU9cYoekYRywKlG6Z3lQzL+xihoGgoWtcqFhHo\nNA2npNC9Q2e6Ii7G9lzUik7WuqqV9/iK79ugSd7Rtk86DIku5PPk1cRX3eEF\nQJ8J3v0Qg7eunkp3xgX3N/TOM+e28SNkpFmjr3sQPMH8CVtX2Xm3LmJXpi9f\nK4P1i2rAzUpbJvtzTJC7ltUQ9RilegbhpCSr3ZCRDjsbDH2pWmFJsND6xXzm\n+3UPUpzVN+KVEr+6Mi5b6ZMyvZWQ+hV4aFWxjYd37QIrW19QMl68sK5MZVDM\nJ/LNGyDKHveqc7+X9GOufVi6pVTnj3ZmmVzgJmMyX0CgmIkBGNIzBr+6Wckj\nELUkGZnVzXTCmrL3DLoJc4yM2QBTQBd6zoDkHpnuKieRGTi49k3oge1CQR48\nHBNRbnRtdcQbiiKT83ppnqmPX1W9NqLUlq8eC4mZKBXvEk+kttY9ImwR4qso\nYIf+\r\n=U+hM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDjS87JCNgwssuWmypZW8mCIpjIq4cIAJoXISrWlDWkFgIhAJ84w8eMyyfuH3hjYEQNCEkb5gccKcEwDcW7yvuRAUUm"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.6d167141_1538070177202_0.5606060222109879"},"_hasShrinkwrap":false},"1.2.0-alpha.6a6c41a6":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.6a6c41a6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.6a6c41a6","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6a6c41a6","@crave/farmblocks-hoc-input":"^4.2.0-alpha.6a6c41a6","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.6a6c41a6","@crave/farmblocks-input-select":"^2.2.0-alpha.6a6c41a6","@crave/farmblocks-input-text":"^3.2.0-alpha.6a6c41a6","@crave/farmblocks-theme":"^1.7.0-alpha.6a6c41a6","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.6a6c41a6","@crave/farmblocks-text":"^2.1.0-alpha.6a6c41a6"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.6a6c41a6","dist":{"shasum":"328d005ef0b3cd2c6a1ccbf1d990d88a58312f67","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.6a6c41a6.tgz","integrity":"sha512-GdzGaIPQUtJlg1+nHBcnyvORI9fGGityMC4pJfAGK3Ag8G5PjnkSTq28vZi31UKHan4O6bQ1pPLaYulueBRUfQ==","fileCount":15,"unpackedSize":46896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrTXqCRA9TVsSAnZWagAABMcP/jAw0pnP/bB0JTtCtXn7\nyAQtLoYY37B4GWjqNjN3sfA+o9OHmQccb4bz4A0jXokKLNIjhey7qJEl+9eJ\nyWkOMRMMipSkcaSzHa6yAddV2VZH7eILADH1bEe0rqgOu+sDG0ToO3Mu9lAw\njul/rkL9KNGYPtxrqkfH6wXfsizYhHs+sK7820CpaMPTn3GLBI9aehWm54nj\n5SAzThIiFnZy5kqLjqtZaMPqY7sB3+TAOOtrHBFKd+gurALLOPZcumvxi6fU\n8jCkDuJouKhdts2Rz6JALjZ6edw/3lJgv5eAESS5Am84v4VV12h3CmY4XoNJ\nXuWVam6YXWJs560+lOk1cEhvETQKJZSQn5I0z74keZ+XCE8xz97K1lq9494S\nGyHxv7Lt46Mj7TbzCUwvQUGT+dOjctFhimsy7ocTnQ9l9N0C0aFGf4xP0xZQ\nHeK8w/BV+mTel4c8gpLjL/TKFBxgUt9S10C4ilOMh20w10SsUfK3zlfdIsjg\nOv+3oUsIua+ecJBiq8YPPSvT2oFPTTEoWmsfxcCUvhVsHCxcqgG6DmmNkfut\n/GGTtiRZJ/667Izyj2Cei1VXSmu94RsxMjeONVTVKGxVcY2JyaUSOiEIp1cu\neQV+/TOASWpJNNvWjKKrsleTWAdpwND+tm2tlem0HopO/plH5WxDBh9Enyzw\nuTfb\r\n=z0n4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGx7WLYY7zlTTdsdOR9af1QFQTWOhevT1uWa/mBFW4z6AiEAsghATxZAIEU7NvhmclBpK0cxFlUQ0ex17SZ/8w3UxyI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.6a6c41a6_1538078186013_0.12723006096422984"},"_hasShrinkwrap":false},"1.2.0-alpha.7ece2af5":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.7ece2af5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.7ece2af5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7ece2af5","@crave/farmblocks-hoc-input":"^4.2.0-alpha.7ece2af5","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.7ece2af5","@crave/farmblocks-input-select":"^2.2.0-alpha.7ece2af5","@crave/farmblocks-input-text":"^3.2.0-alpha.7ece2af5","@crave/farmblocks-theme":"^1.7.0-alpha.7ece2af5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.7ece2af5","@crave/farmblocks-text":"^2.1.0-alpha.7ece2af5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.7ece2af5","dist":{"shasum":"2cadc62c3dc39d45445522bda0dd83fad4055e10","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.7ece2af5.tgz","integrity":"sha512-1vTMlMPkNr8lCsCec1lQmr7Bgs8zSAzFVUEjiC8qROUPGSTSsIHIjsYK22whJs8bn4pIprdb1K587iu/cHbWXw==","fileCount":15,"unpackedSize":46896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrTuaCRA9TVsSAnZWagAACdkP/i67fXifJGsWoDHrAGs4\nKXLJLDfjgNRiYW70oj0IsKAPD8oQcOm591YFMCLcNNgK4HasG3jaJZg4vZss\nnKcJhoW5FRQHdNNQ6F4RxVChxHdkHVFhif8VlMpNH9vASsJfEdKQ2j7XezEh\nluZXE6tmMkj8gabaUmKDE7/UsJwJJ0IhqMgqgripnRSAUj3d31CjxRrg4VhR\n33JIG9mFvysj295rL52/eXiqwm+nPmxrEj3feDo/1EaBJoXKDvrVc6GkgfWD\nzVr9y20tGOXt2FRsIyWm2hHiVgwci/pCYt54G+QjFNDmpoiFYUl+eLaEQiWy\n7RlD1tVLoG4Xy6hLlkp2A0TEbmanKWxH/eVPgAjiJ01b8pCoskcEBkMP8ubm\nmDzc9SnHIBf4lT1b8QLBV64hq2A02If1hSscbOnitT0bVHh1Rm8HBcc12EDm\nkhUQ/p9h45l2JNv1xWbv1TPhNkZ8pecww2L5FGyIF9t9EZ4TrAtJOWI+71bU\nPmQpTQw5MpxJEzqzLYaOurwZL5i7eYjuQPLtMvDVLaU5Ow6i5A6lQO5ydzNQ\nQ3IB2AWwYJmS12CGyW4sldqQAvzgANMOQjMgeYVb/uDkqzWatJNGnQ8JFjYp\nzmWuqSWnme+LTFTaq7WvwHppCylRlLKCXKpee4ACWQ/sRlB+Td5c748Xv5iO\nzyY8\r\n=7ASH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDuypwahIYTqScCfdPqNg6MfFUUamp22A9lPJoIjiaCxAiBGy7MqYulOZOuiDOJGOIJEqdJGdDyX0usXKVLhcd3zYQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.7ece2af5_1538079642156_0.7305175820971292"},"_hasShrinkwrap":false},"1.1.32":{"name":"@crave/farmblocks-search-field","version":"1.1.32","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.10","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.12","@crave/farmblocks-hoc-input":"^4.1.6","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.17","@crave/farmblocks-input-text":"^3.1.10","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.4","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.32","dist":{"shasum":"8da3b7cbe8119a9d6b6f9c1fef1ca8e20bf63d38","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.32.tgz","integrity":"sha512-GggIx568WmbHa0yHoaNm/i1K6SIWYUOxnYE7ZfBQY6r8ISwM7Wt7N5YyW7uohfA1icrX5AavB7B+WrK/BQWQAw==","fileCount":15,"unpackedSize":46710,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrULMCRA9TVsSAnZWagAAncEP/39hEKt6MmogjIoIbqZX\nH9eao3ZH1/XBtzGPhOwUEDkmg4d+rkYMJ/H4vxfghZv6Oy7pKo7enYIH2bCD\n7C/GRykIPis3z/x/Otprgf3UTQP1i/u3OQuWDopnA+phBt6+Y3bDmCt8X7KR\n9tqIuXPbsLjCp9ybahWCokXgQere1rQ2uQ3Kq+E+EQK912tPXwqbsMkgRQKd\n7I3b3myzrHkUMyIuvT3j19BEwwoVq0m0lPQ+smDxi4ZUwzUw2OO69G994CEx\n68X/KOQ307YrGN9LFbfjwUxlIDqV4bHPoHWLqxuX0gFWrJ1Y77Bc4ZYij8/X\nLjBGweI0coTO6uJsnTNmoBHFoSVEP0jVjlCkceOklVbMYbj9J277gf0fR5YO\njl2fzUSjs89kYZqZPjUDsWPMQ0Lh8wTlDIIOYAiOb4UzEn0GW1svTVufR6VF\ni5mz7YnFCynJBWvElBR8nB4HtfAXV9xL2AkDBO1DUVTpcLd14FpRhwKp+BlJ\nkf1lZzVkAoYA+KiLF4bOv8LzOyCWFCwOVfvTsEkHaPEEa2d5thMiI8x2/IAW\np2c1xizTOnzgHEd2S6L8dV2BZE8h98DFb2iVW8rAIeNIoGMACFpJDGu8EM7E\n6jzGHiW8Nbd+cZmycIbJkVUwXAoqNgc9uJ5pAf/+CwGa126n/LZqTYT1eVba\nSjKY\r\n=TtEn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhMD48sFvm/hSNuWaC8x3ckTYTSiHxsE2CjFVhbHia3gIgdizuLDdsby24LcBoLvZz9H0IIFqGx5eAfRadLcz4nbg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.32_1538081483592_0.266386271988144"},"_hasShrinkwrap":false},"1.2.0-alpha.2fce455b":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2fce455b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2fce455b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2fce455b","@crave/farmblocks-hoc-input":"^4.2.0-alpha.2fce455b","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.2fce455b","@crave/farmblocks-input-select":"^2.2.0-alpha.2fce455b","@crave/farmblocks-input-text":"^3.2.0-alpha.2fce455b","@crave/farmblocks-theme":"^1.7.0-alpha.2fce455b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.2fce455b","@crave/farmblocks-text":"^2.1.0-alpha.2fce455b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2fce455b","dist":{"shasum":"296b0a8fb7288eabb7b55b74c31fdd731108f04f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2fce455b.tgz","integrity":"sha512-mQLWeeQj+SwW0vEdNV6FvnfZExxi3RsBaHTuHtpPg1Ma7U7qvjhf7NWHT/WrMXk8M7A4uXEmSL+Irwotk69HlQ==","fileCount":15,"unpackedSize":46896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrUSNCRA9TVsSAnZWagAAAMYQAIaM5qqjowF83oQUgAar\n5Ksygyo00e3JR2Tne2ltPn2tTQVc3SA6KLR/Mm2jTxHRrYsafLwGC9w5Iy+Y\ngHLwgl2ZPhT+LdEazU6HHIYlryRxjdOd1Av+jsOPScckS/E3MHaaDiGDxYvU\n/ABHkerJtb479H73JsG2qjmH6q+EbfVOM9feNt9Vm8VzdiaIsVkK/Dsi4pF4\nx/RBdsvTn1B/Z8eM+hEp8JRYWT2PCi+rcmkcuESKydxk5q7w9YtbyFJQbyxE\nbkTH7pnddJuWQOa+39YFQjIRiufttpbFwxxekB+Krq9U7y45aIqOOvxKeJcr\nC7xzP6nTEH83Cc+EiWqbBqpefDD1XF4mXrLsKuRuWVFoDkRsd3VMJmwqx6nq\nXz0XW5YMnjq2xMh6FgS5fNoN+PFckaRINgFaJQrndfABWQWAPDOrsU8reojU\n8zdKov8pehL40D7dVhY2F/TfWfI1NTKjzsjPgi9QIasbqfD20aZMEWmr+IJs\nRKmnps1r7COpOKdw/G0j53VXdISLX70EorKy5juGGxNUFUBzrMtyjOdCOhJY\nGmD8sVFLfWc5m3MbGXnavVOJa1Bx7Lw+Y0TyNtio6Nee3al+L3k3efE8gzeW\nrc8EXeNlDCkm5GvRkn8YI6hWq6QsCnpxMqszKbIf2ByfqJZYpZctFtX8rtmc\nPVM/\r\n=fmCU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCBRpHp7EPhOXL8a5RJw+h3IkNJi4Fz3Vv/3yl/Ax7/CAIgWLaO9wKFPOz6XZBMU51rvJZazEpNNcymKvsShkduYS8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2fce455b_1538081932568_0.7110228332622708"},"_hasShrinkwrap":false},"1.2.0-alpha.c3c09a55":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.c3c09a55","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c3c09a55","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c3c09a55","@crave/farmblocks-hoc-input":"^4.2.0-alpha.c3c09a55","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c3c09a55","@crave/farmblocks-input-select":"^2.2.0-alpha.c3c09a55","@crave/farmblocks-input-text":"^3.2.0-alpha.c3c09a55","@crave/farmblocks-theme":"^1.7.0-alpha.c3c09a55","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.c3c09a55","@crave/farmblocks-text":"^2.1.0-alpha.c3c09a55"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.c3c09a55","dist":{"shasum":"a4727d5d0add4594dccca762fdba7f870b66ce37","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.c3c09a55.tgz","integrity":"sha512-QKDd5Z6JFFGnaRafwfZgkPAlBeJjhxJcnILlU5QMpOL/j+6n3SXKX84PA57LYXSrbxApkL9h6mJq6iN+u8XvmQ==","fileCount":15,"unpackedSize":46896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrhjgCRA9TVsSAnZWagAAPwAQAJOgSnJKE/TThMNu/LAi\nW4uiN3Nbv6vwctN/PKPjBq4bew+DK6KsyKRp9MTRYZ8hJhuB3FZRVmHsk8Fd\nIz0d4zWLfJKF4y7yEIn5u/YAC3HzstrF2X7tIlxo6/rc+6w7EyltI5qdBQMF\nydLPYRnhTVbd4HWl7Lbz5KaWZNXeWyn34p9MJtt6VCiIeQWsvw961pQ5YGK2\ng/kOKw3eg4Xn1dATGy3RA5OAS34KhL7Zv0OTH5rLLYC40zxeFy+iTV94rkP6\nIWRKgn0f1bEl9+kkd3hNQE3tlJUKKQyARGJuvQsqfypatMxzggbMRc7hVCsd\nHIbdAQRygbNL1do7IRgxeOfc4gfb7ZOtsBe0IMZ9SZEbFHhgt61GiOoFYZnM\ngED5ZNut6KgJoyo6HM+MvSeZHWQn2qeLf8Q6PlnNOgGxWFc+jEO88FHL54yA\n+d/9aOIDTmffOYjZdwLQOpFSyzvS7j+FFBltXKM6l5QVbXmw0uRDOWsGvbav\nc6PPJENQY9Z+frfGEfSXuRtnppwmc0NwYFz0Tj4li/x4CiQ1rK7jtB5SpKL6\nD10LuOoaqI2Yn3l0tcD57Lih6EN8nuqS2rgOSKgkm8VDca9s9kKdh92TiOpP\nwWEQQQTPIkpt572wb1MLKmwQEwPfB0PnIM2P2RJIjTxcq5u9ho4otO/QnK5i\nEXfI\r\n=XkxU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEUsVMToiwJmJ5h+cujyPAgqUsnfER5Skycbo3cdfoZgAiBDGbwPD5dxJ41TRd+E8p/KONChsgQZm2ZrZa0DmX7Z+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-search-field_1.2.0-alpha.c3c09a55_1538136287971_0.8816285364762824"},"_hasShrinkwrap":false},"1.2.0-alpha.8d9fd451":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.8d9fd451","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.8d9fd451","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8d9fd451","@crave/farmblocks-hoc-input":"^4.2.0-alpha.8d9fd451","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.8d9fd451","@crave/farmblocks-input-select":"^2.2.0-alpha.8d9fd451","@crave/farmblocks-input-text":"^3.2.0-alpha.8d9fd451","@crave/farmblocks-theme":"^1.7.0-alpha.8d9fd451","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.8d9fd451","@crave/farmblocks-text":"^2.1.0-alpha.8d9fd451"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.8d9fd451","dist":{"shasum":"063a55dfb0fe9cc2dfbca540edd0d50cd606baa1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.8d9fd451.tgz","integrity":"sha512-uFt6KFaV2jxbXl/iC/NMphcrk30rn1OVebC4xZezCjjWSnsIbjBU3bXcSBpYPzgLQ92mIIIzYifeDie5pqWVoQ==","fileCount":15,"unpackedSize":47146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbriKGCRA9TVsSAnZWagAASBUP/RWHt2X3CKKznNCU4sLx\ny0Yih2985TAb+CR1QNXLAHI12aP/yvwPQs4bAjgK3lzgMa+W/mNnToA1yaUs\nn4Hu0jCrYg6RmcDQ49EiSl/+UohyH0F6B7LeHRA/4h+i2fJ3th8rIL22vTMp\n/oIp37c/tVXbDZ9zsgZxq7cK3YoBVj5vGNzAP5UPqg/up07K8gsUEid6S8zl\nFCJ+J29382ZNikprDnFofmqB5UAhaOCEkk6Y6HISv9dL8OuRm5xCR/XfQaMS\n9Dd2xhgYV1J2ueAY6Ey/P53fiP3nKx/XL1NT8ugHYSmiLAANn3LCenUd5Juv\nJW2n3edqncR99UMAwbWBTC4FVmhnp7dWf4uf632TCosYhpG4DzyJXp2UzE9w\nFKAdUa2YFekvKe61HZGlfcyzNrGoyp6WDc9+Wp/T2EjDPfs4+5O1jszCqZke\nYfnPFJspyIBY9aiY6+iqbOU4jsMBk1l17MDYzoJKkd6tmZF8VZTlA8712m8K\nw1hRxKQiooFKL+Kv4ir3lMjRvfgCkTjpVPZEcFK1GZGItdgqzwQE4QhORFw9\no6vtDHy6ybQW293E2aZRoAzHxI7bbbyb+Do7gmwxFVFMX3nQqJ3uiM40Qphq\nkoRX5oI4KOJkBKwv9sQny1tIrMIYHnmdsAQfR6KNqeVrzdAMNXM7g5T8yvKP\n1dX2\r\n=daRn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAeIDTARLEEYt+MA1iqIRTT7NLzQub3Fxc7Yr4nrR4FUAiAgPFV/luI6egpt/gZtEpSLqqYpGnk9mMcev3EHR7SNHg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.8d9fd451_1538138757826_0.6382209086203063"},"_hasShrinkwrap":false},"1.2.0-alpha.be9091ec":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.be9091ec","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.be9091ec","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.be9091ec","@crave/farmblocks-hoc-input":"^4.2.0-alpha.be9091ec","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.be9091ec","@crave/farmblocks-input-select":"^2.2.0-alpha.be9091ec","@crave/farmblocks-input-text":"^3.2.0-alpha.be9091ec","@crave/farmblocks-theme":"^1.7.0-alpha.be9091ec","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.be9091ec","@crave/farmblocks-text":"^2.1.0-alpha.be9091ec"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.be9091ec","dist":{"shasum":"220989f65b217ba2be3d6f3c151d7e155b584771","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.be9091ec.tgz","integrity":"sha512-abKyhCAXo1ZfNqaoVV0nWj5JxjfIfgSuzQKvIgWFHDm2GZFSXSEKZ1wIaBpAdphplWrz8RvBX5jjb6z2mtXcTg==","fileCount":15,"unpackedSize":47146,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrjleCRA9TVsSAnZWagAAvu8P/jYYOXVrUXLIsxk6Jxd6\nG/dIuzuPwKHtKv4KzLecRRYBnLKDz3WYdiY+0L4q4e8c5p0d71ZWOuoD7gld\npmLVLMQoWpFjmmkXSJvJiz59Bp0NSnnMgI16n3LGuMSw+11+PiR8WqFjOlea\nBiaxCkdacbY1MH0O2cqJp4tkje/jZMSrtWEPrzPk/2hNlycuWsXdjArOKb3n\nuaM/1PjhVFNqxWj9D/WyN8zWYUfn5E6ItjwLvUBxK4ER/tvx9pjBdVDwmOE/\nzx3rRidW4BQwG3M5xKHmhCwJ0UBqciAA9Gm78cOyRSGwHHrZZnSu+XtUq+eT\npuQV3Jt7YALShDnkdQPfjem92kl0drp33hkBwGSaPvDWtUXE/RqH9TOFBnCE\nbmy+mOvZHcYJXTwTXfbsAlqlNCpz69Dd/4nB5wElwhrg772DMgLD0Fqh/uj/\nfLzdfrKc3v8yFlc0mkaiSgrqAnMe5TksoIQC+AFl8UapSQd3gDlfQ58X3lTB\nFMl0lDJX2i4fHNHzTb0JQ2XoNOzxCTt6wxdCH+8Hxcu2uHy235ahPmt4i+yT\nUELaTSr0KAyL3M1gnmsya0HSQLkDOLkpq/430StMvXMEjj3/W4sMzHBFf2rc\nhZlJFeXOLKfRYqhXYy1iORuGZxjdkvHSpT79OwhjwDna9K2vz3JUAEbFPsUX\n33x1\r\n=lw5e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFyXljZ4vyuZut2ruKldvnr3C7z6dReZTKApcy5epGbZAiEA+Ks3GIz/OYfkftQEA65Q4or+kZMexLi8jdg7NCUFs58="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.be9091ec_1538144605627_0.7082467708290405"},"_hasShrinkwrap":false},"1.1.33":{"name":"@crave/farmblocks-search-field","version":"1.1.33","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.10","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.12","@crave/farmblocks-hoc-input":"^4.2.0","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.18","@crave/farmblocks-input-text":"^3.1.11","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.4","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.33","dist":{"shasum":"feca4d99d2b766c168c51323961a34750a2e0842","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.33.tgz","integrity":"sha512-xhbxacdbBCjJQZI10zl2TbwFVh3q6r8VkVtGVzGfofTeVQNfBFcSTKjD2G7vT2Sd0zuiW3Y/HfjaGCbDIT1llg==","fileCount":15,"unpackedSize":46960,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrlfxCRA9TVsSAnZWagAA/lgQAIoX3rWjPybEuYjxB4J6\nr+SCwzpwtlcxitPMsshBrbFRMUoWWbu/QXB2gzIByLH2B6GO79jBV6VurtD9\n1qSkaBs1Ii8NeoGqhrz0VYrnZfCSKJEf6zAfqlUJh1C3QJIGoCcTCXhZsKn6\nlSOFYWkjXrpbHMPkF3cTO/yiaLEobFhT6uiS/RA24NZks18XgT/1vip59qOU\n9hGfLJtpeBk+Oa5bZXogSSN4aELRKPVfSCFYctjalnGMYsqj+38ihhX0Vmhx\nIBHF82ao/R0czMJT+RWj9qymGFJTvMXFgQAkey28MDU5+eizXQVNRDp2DB7m\n+tBc0mqYVJEu+Nc9bpGoW31U0pmUachJrAlD+P8v9dc8P8H18zb6GPu0JpqM\nFTwO4j0PF0qzv2TQ3JCqmdjWz/7ACpkfxWTbBKwUYzyAXO6ZrLI5BE9tkwpm\nxJI168LoJAMlrlWu4jv7AgdO38fWcYTMIteFYFF3wB5FxIexdK5UflfCl945\nbzz7CFYHep5bI1HFs7rZVzgs9G97y5zzuYH9d8eZZKqxDJQLT7oBX9dVXzum\naQMYbGS8iLnuyHmQ8ZOU7WNNWgjDq3LYm6oX2UIuuUsWGQkLvkdc9pkp3X/r\nrQR/pmZ+oZVX31H+Q21upMbyefYMEDDOtgew9ZZVVqPC7C2K84kUPEkvNgIC\nMyW0\r\n=2rtq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFHxqnULVvdLtD79o2g6GAcsgcTjDVi5HdSAo4IOIvMGAiBICRqXGQ48ovTmdXWJLMpSPf8EauKj/G1LBN6OR2opMw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.33_1538152432303_0.7818953828275321"},"_hasShrinkwrap":false},"1.2.0-alpha.119a3a05":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.119a3a05","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.119a3a05","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.119a3a05","@crave/farmblocks-hoc-input":"^4.3.0-alpha.119a3a05","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.119a3a05","@crave/farmblocks-input-select":"^2.2.0-alpha.119a3a05","@crave/farmblocks-input-text":"^3.2.0-alpha.119a3a05","@crave/farmblocks-theme":"^1.7.0-alpha.119a3a05","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.119a3a05","@crave/farmblocks-text":"^2.1.0-alpha.119a3a05"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.119a3a05","dist":{"shasum":"595066b7efed48d6e429676b76e52905af763fe2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.119a3a05.tgz","integrity":"sha512-/8JS71WkJ894iRXZ07xrisQ5kQSyV7L4OQBip+sgX4CJYhwM+z3iY8ivOYSyouFayivM8bxCxUBf/qAJWyLa3Q==","fileCount":15,"unpackedSize":47396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbr8uSCRA9TVsSAnZWagAAQ5gP/1VYc+EeMKYC4zHEOqtY\nTldSY/5l9qco6TJAlhbpHWsrWCcnm9AqD5RR7ksp4WPyrNQfgVAVxkEXYek2\n1PfftBEEM4yD/XE2ugdhD12fWpDdp5ZkI7Y8zQxI03Ax29orqdw60Y0/R+Zm\n1fF7XokgoBcYWji0Y0yDHiFPZzh/ish/Y+DdPRIXWKz5324+Q7Lc5qGtp6Nt\nwra3nb2/V6bzCX0To/SZCTAa1HSw9crKSJCp4us6MZlxpELo2R/fn9GVrQwo\n8zZJ8dsjm1Ij17QcM7/FeESTwtO6LVZaxdbby7b1wRiO1IGuxBh/f9Xl8Dhg\nHJRYOFU7gBbXrZPGHnUdq8yNnnNZEVhYO1qfUSosKiSe1rOyfi4rV4BxRA4x\n7IEqUOZRic7eY+ddm350nYi7plALupA43Xlw71qYVTzVMFcXtjO9yAlLx53a\nv3dSLOXL5qOWTgyjE6EaqOqdORyLrS2iQm2SJQ3/fyWXKhB6GSdoc56J4R2N\nZ02dlEfOiz+51ui3A0NzJn24OiqKu0TjfIrarZikDadUCPkjj8PzVuRTEt8l\nbd0jbNpuRtaejVCjW1nvkdZdcNMt3bLqdJZ74g5+K9UcaF0FhWA7vCDnXIge\nmltXsFIVUO6B3WGL29aHrZ/SrS+/dY67WiJezyolxEOwpRauVhbyLllNsi4N\nkwA9\r\n=+RLE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYoJo7RMcrJXmIpdowML8DAunEqVNu4HtO3a7RsUL84QIgWvslq/1j1E1Ctrr4HkOnynwjffyyYMJt85dTzmyCzI8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.119a3a05_1538247569322_0.07123775849604663"},"_hasShrinkwrap":false},"1.2.0-alpha.67b7f6f5":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.67b7f6f5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.67b7f6f5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.67b7f6f5","@crave/farmblocks-hoc-input":"^4.3.0-alpha.67b7f6f5","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.67b7f6f5","@crave/farmblocks-input-select":"^2.2.0-alpha.67b7f6f5","@crave/farmblocks-input-text":"^3.2.0-alpha.67b7f6f5","@crave/farmblocks-theme":"^1.7.0-alpha.67b7f6f5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.67b7f6f5","@crave/farmblocks-text":"^2.1.0-alpha.67b7f6f5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.67b7f6f5","dist":{"shasum":"4e559b05004f98a114b261acde900714fcaf72f8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.67b7f6f5.tgz","integrity":"sha512-eBOaqwhx/8rjqdjeKs/CnoOdb5k0LlfvXukXJzbfe3e25rEHU8uvAoPyb5c2CTCksR6wiCxJJkrvmThVwLqBoA==","fileCount":15,"unpackedSize":47396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsTN+CRA9TVsSAnZWagAAyskP/3QS3IEnN7aKw7gFtHxC\nHelLRBy6n7ekDUwUIEPIUS7YCeJ7Inp22ahFu0uRHcd6Sr3RemYRZBdAJBg/\nTwGIET+hRd+int6Z1STRFK/rpzJ9Q4gNTb2k3jaOVaJphg19Ma8Gz+KK79Mq\nxMAe+SFRxXnwgzhfM14e98aF5xcwWFEABiKMLd8ZB7CGMG4Lw4HNA6mPA6Sd\nDhIu4pcb8QUzWhGQxQRu/4xum7PS0Lgnfxkr7Bn5IhAmRQHZf9a/uEAFWLZj\nT8KyX56PquvZR/ehOOEPU3T66mBkPEBt3sDGwSdEOW1y22om5oKItnzgVbOp\nuqIcLVzKDpUjGnTVvP8GdGSm4PUSJBMh7vB7klL7KK0xiElqLM/OqkqNYU8d\no6t+YPFpve7HDgegZGz3Jz4Tyud5Ix2VByOPkO0Aadl5ZsvWXv0VyNpfi6SN\nJM2peuXbgUHtmO0gsiUU4AaGia2QJC4f32B1Zg3u7sv9MrRAmm2Kk4buD0zh\nPjWu/NiTFK5dIZWhZEXo3FDhLrr6mkmZHqEsVNJp8U56fRqdy3UGQlX1wGe4\n7mV9P5EN7A/dKwx6j3HAgWeYQYcQOzKEDfSdPlyO4z4rRRkG2MhAeKCbcVuW\nKjeEux4OyhMh9uoLxlMIMNza7lINCGWDr044WEDLv+QH2/unQ5jQ0r9frWig\nYBhn\r\n=djYw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgqpU4FpRE4mYVrYNTAdj0XXWPE/OKbuk+Ibp+Ax7fFgIhAI/UhkVUtoXMfINRcd8qcpwxQqiaOg3VJZ3FEmt1Kfln"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.67b7f6f5_1538339709636_0.3237987475176025"},"_hasShrinkwrap":false},"1.2.0-alpha.e97ece4e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.e97ece4e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.e97ece4e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e97ece4e","@crave/farmblocks-hoc-input":"^4.3.0-alpha.e97ece4e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.e97ece4e","@crave/farmblocks-input-select":"^2.2.0-alpha.e97ece4e","@crave/farmblocks-input-text":"^3.2.0-alpha.e97ece4e","@crave/farmblocks-theme":"^1.7.0-alpha.e97ece4e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.e97ece4e","@crave/farmblocks-text":"^2.1.0-alpha.e97ece4e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.e97ece4e","dist":{"shasum":"143dfb64c575a0131fe64b1125dafa337fa0d1c9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.e97ece4e.tgz","integrity":"sha512-xlkLa2QFnH6ziCjgHCr3Y5Qd7riKm3U2yVuQmHWdMZyyr8PB+RehgMVI+QIa7YJNNlybhVmlLCR5WkyRuQhgsQ==","fileCount":15,"unpackedSize":47396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsjSACRA9TVsSAnZWagAAJzQP/RQ0vNvVKLB3/tDFb+i1\nEvBTRt66nF27zFu4x2AhRMQ//8PRBz+VXJk9SS8A//zjN9IIAEcS3LQ/TAHq\nPAXzLhHZxs//rS6Pd3PHc7Cf+pb1qElF8IH545M/5Xu9ps6yGcFQw3O5FCXt\ny7pabWilyrGcRPCevzuW+Z7QJWEqOgxbPzh0kC+rViIfBMgA7ORP7uoVWsMa\nmy0y2e86hCpxW6B6EeWBmBAEW2XB4tQvLTLuRtZyhe5fxjC4oyMIgGn1rInU\n5TDVUd7DiEqPhwyMQnusE3ESJrdniJa/kAQlL13sw1Zj6z/Qhn9wqN3ZUmpF\nWuO/hRf7J9GO2AxEbgWhjpqXTKzg8K1VexGfuIr9+lZCjcu7e9snNmJv2R6h\n+JEKHNFxR5qABnopiw4Ia3OJdNn5e5a7vdhoKnZG2cyG0HP4k1D0TJ9vC8Oo\nDGHuq2L4scVSi5xUw1eNlj6A61L5eAK7ojBTZGlvuv5TYtZE5PBf/zvMv2W2\nINNDUf4lH3E1aseObzuAgWLQ0KNp/O35Xmk0ieeL5LRpNH3q6SUTHQsnwXL0\ng1q2J0lITJeP+8DLnctKI0IOMg0tcL29qyqkUn7GF4IjLKLBV/b4SZN6VmVI\nl0CJL2MfDPdisb1uH/q0zy4HP0w49Jkqf3IxLzs4LggZi8LbxCXsK1RQHQPY\nGdj8\r\n=XeYQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCboupxSnVWZQGlCBZ884NMxptgj8HOcX84tmRX58XipgIgG0XzuPjtUi3iNxv8mLvjdaGm6Y+OBN1CjhP+U3Y/784="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.e97ece4e_1538405504036_0.33929251212352596"},"_hasShrinkwrap":false},"1.2.0-alpha.7a7b512a":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.7a7b512a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.7a7b512a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7a7b512a","@crave/farmblocks-hoc-input":"^4.3.0-alpha.7a7b512a","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.7a7b512a","@crave/farmblocks-input-select":"^2.2.0-alpha.7a7b512a","@crave/farmblocks-input-text":"^3.2.0-alpha.7a7b512a","@crave/farmblocks-theme":"^1.7.0-alpha.7a7b512a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.7a7b512a","@crave/farmblocks-text":"^2.1.0-alpha.7a7b512a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.7a7b512a","dist":{"shasum":"e3e10f0995a85d074f3b4d4ddad3295e2b17b7dc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.7a7b512a.tgz","integrity":"sha512-br4+T0vxF1wM+9sfrFO5BKGMxMLqQLhgxwalI8+hTqngin4oJLa2AQtcRn9p11htW1l77/863nkUP+ddWyxDTQ==","fileCount":15,"unpackedSize":47396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbsj+XCRA9TVsSAnZWagAAgjsP/2DtUg7eHQpkShlogvs5\nBvsQ/CIh/4eJeylT8K4lExH1ifaGCewi8j3QtUHfPaeqHPDv0tcg4i235MaN\nLmJJBOUkDscw9CX81vtY1lSXLWbHQZyrds6SoeAKbbOKWEq+NU33KmIkRzmS\nNnXg5s2v3awU3OoB+/p7A5UfEVY7Swye0VQ32rqLxdP3EcNicz0tar7TZigr\nTWBGNu9TVW+t3oQYOoJNRHeVjpMhYbpNvxFONjEzRHdMtRkNmRFW8oGhABBK\ntTVWnBQvc/GHQLkunzouWP9K7hcKo4bwhtgy2VUPkPtTRQ7AGOWhwd8n8w+V\npt3/qlhvBP0kg3DI9lVrWf2Zrz/YnOh9KjaVmt7PPerx+jlkDP9N9p/BLkKs\nN0PTFG701wYejc9PTmfPDv20rALCuVzdztIi9OBJrHtdbZ/yi3GaqJBev49i\n9GncEafJEtTXjMsU8Xq8UC9VdYzS+6BbwoYr3Vg64CyfxbaVGU74mVc92iTu\ns0lDltQ0rCPL188+QWe3ix8icHkX0n979iXjRsLOmMZD59NQSc3FPAELHyhq\n3Uw58JY248wRNjujxLqtfWZrPF+OEZRGlSOxjJ988tteRxhL4iZzXk8DmdFL\njxOuu5xfdMkTGp5Xdz8ppuCrBCVZhzEv1VTFgwtKCSHKmc6h4KiAvfK+fsR3\nJIOh\r\n=GrXQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUsT5p56fcSAsUTsjUYFufU/piowui2FQ2G8KzE45x6AIgR2F3LLlGCgmAJrsbKwQAoX28xu2BmD0mk2lcfeWSHvI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.7a7b512a_1538408342573_0.36812094293610653"},"_hasShrinkwrap":false},"1.2.0-alpha.f222d9e6":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.f222d9e6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.f222d9e6","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f222d9e6","@crave/farmblocks-hoc-input":"^4.3.0-alpha.f222d9e6","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.f222d9e6","@crave/farmblocks-input-select":"^2.2.0-alpha.f222d9e6","@crave/farmblocks-input-text":"^3.2.0-alpha.f222d9e6","@crave/farmblocks-theme":"^1.7.0-alpha.f222d9e6","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.f222d9e6","@crave/farmblocks-text":"^2.1.0-alpha.f222d9e6"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.f222d9e6","dist":{"shasum":"8365a07acfe0d034bfead090969ae110ee8db041","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.f222d9e6.tgz","integrity":"sha512-OyB7VHS03XlvT+DpYSImr46ZfEn/oRdRGirAQb6QEgots/Umao+3UmMNJyWTR3ckurlV6u5T+4DddPZs2LmU6w==","fileCount":15,"unpackedSize":47396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbs5PTCRA9TVsSAnZWagAA/PQP/jcm6QBgfo8X4Is5sqKI\nuNgCAi9preWVT9O9H23UAhwS+RFL6AkM2K6S/jbD5eUXD0xFoUL1NWZ9Pik+\ng2uA4g9HNYo9lcovlQiFA+KjQjjQsj55ppaNE1DMk7zA+tlQc0Lbgga92lYY\nDbOtWyCcAwnK3QFeW78R/42oaZOW4+rh8HaCl6PNy07Cime1rw3ypf7ZzvjV\nieOsLeLwwPqgG4cw4XqphL1joDiQTlDKCvIxibYbjYu3ebJyFGqIHAd/Yyi3\nI6kMFG3clebkcPMYNrQkACUtuY4ATgF+xmJNM0OgpiSzMofpHoHmAzJxQvWo\nnUHbqnrmg372HBmClizJjHS2TK8QLZbCCH0lZjattZQGJUeKB9SesCVZKIxf\nSkdO73782nJyDr/qgyIlf3FwzT2HHPgw4ufng/YkIHrJadawwoGFpkuONy5d\nEExDTZZWJkJdiwzQSrDGFZzbJpitTVsJAdfYjT6JCSgUeX4sGAZHMkX2i7M9\ntoAnrKKpay7qBqjOsE17xcteiYJEdSu9D4OFTaQjaZ3kGud//Lw0j9vIdPBJ\n1dqKx/RtNjK69UAtUMXf9xDATs96hAI6Ga+qXG8KvPSlgiQyq8i4Al7djG/+\nr6ZxBmIL2OSXfuSvFF4jOr+ap2zr/7OGe0Tnc7PZWVkX9pRxA8Qj4a3iIqK5\nEVyT\r\n=nbP7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBzNVG3BD3tAMdY3PXUBR+CgYeeBvVS/MYUkhwTR1wrQAiAUuVQmGs8ivLJ0odAY1yBj0LV9insRt8V7aXvLjvInqw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.f222d9e6_1538495442701_0.25642765784232857"},"_hasShrinkwrap":false},"1.2.0-alpha.2090b6ba":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2090b6ba","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2090b6ba","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2090b6ba","@crave/farmblocks-hoc-input":"^4.3.0-alpha.2090b6ba","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.2090b6ba","@crave/farmblocks-input-select":"^2.2.0-alpha.2090b6ba","@crave/farmblocks-input-text":"^3.2.0-alpha.2090b6ba","@crave/farmblocks-theme":"^1.7.0-alpha.2090b6ba","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.2090b6ba","@crave/farmblocks-text":"^2.1.0-alpha.2090b6ba"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2090b6ba","dist":{"shasum":"26862cde3b38d319f1e72f0912fd557b31b106db","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2090b6ba.tgz","integrity":"sha512-syewoepJsoc+v2y5SDJyc/ILC/leYUAWaaIsoE4JrV638ygYw4xpvUKyzB5spdfhFxD4EQF3n1rUU97l1Q1cBA==","fileCount":15,"unpackedSize":47396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbs7owCRA9TVsSAnZWagAAwh4P/2F7FWtdZfhpbq2Zt6JX\nkIaJt84eJvPlG+ToNnXUp5ONhZsjGsQaQMmeARb8i2xxqPZrPFimGFtYwf55\n5NRd6iUEkANu6WP5zYRGfs6+8ggW/AQi18fJ0CIUagm+9p+3dUS7ZWWmFR/o\nfB29Gi5TUDQvCDgKRn5mowyY1imSSVz8IAzcGjguJo5PkBNOXbKJKse44l8u\n7cljdZyeIv7A8Hay6jpGFLLjnBp4BLQ3kOMs81EEyYk1R7eh+ZIhomHgtMBi\nnS3IHdanJBZ7bzjiEWbQLRLvLoiyB/CbXBn30LaLCXNVk8QOC+/uZnY4YAz0\nZ1BgPg0jr5BolDbnvKTza3XyKPfaNKoIZ2xcaIkcBhFVPzOhIBAtTQD0yY9o\niW+0+2dhDqmUxDFDnjK1yHMnps8I8CQWDqOncr9NJ93xePpyG2PTnMakQveE\nUTOu/oTLWuIdHGKLrUvSvq0S4Pa5JnqxFIZTjsx1AcV2WeFpCH2PDHlFwiME\nBp3GhpE/1BL32dL9Nkzz42Mv+klrDIpUzLyB2TOwtAC9S6yyK8mrzX5xicOl\nUXZad5S/+5eHfaIQjsCucY7YQWCtNV6X1FqoExYvqepO2DapdJMM+2IhRdeo\nEOj6S/vNDt9euYUgfAUqGOpttQk2VqSjlOeu4LG3vAELYyEQu6EgGn4vpXMw\nweEG\r\n=FeTE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBtlJeSoFEY/yYet/WSHt0THn+CqM0HhKB2p4F+dFz54AiBrQYa9Mptm1KelwzAVYvRbYWD/hxt0HAqYwIZvgSpJHA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2090b6ba_1538505264176_0.8439476552617493"},"_hasShrinkwrap":false},"1.2.0-alpha.ad3732d7":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.ad3732d7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ad3732d7","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ad3732d7","@crave/farmblocks-hoc-input":"^4.3.0-alpha.ad3732d7","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.ad3732d7","@crave/farmblocks-input-select":"^2.2.0-alpha.ad3732d7","@crave/farmblocks-input-text":"^3.2.0-alpha.ad3732d7","@crave/farmblocks-theme":"^1.7.0-alpha.ad3732d7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.ad3732d7","@crave/farmblocks-text":"^2.1.0-alpha.ad3732d7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.ad3732d7","dist":{"shasum":"d00bf892892fee1b18374a64708e6090f0190037","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.ad3732d7.tgz","integrity":"sha512-Z8Dag0l1znGPAdd/9P6FpZ2OllPFX7ug6QQuOiRI5VqIc9iCfNAL6ZKXlsYJ3yJM3QYIljHzhLcdEEUNDnlf2g==","fileCount":15,"unpackedSize":47396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtIXMCRA9TVsSAnZWagAA1ToP/2aL5TCj30WGlQhipOeF\nfviTCBhORik4d7vAxeCZX9gMyiapcbN9iUN5FaeYkepDVnNoBlpQdMFezqnR\n8Lk6w7+6V4FGgfHkTOJnQbtDbrHeMNy4EP7pVw793vIjHv4FzwmwutKqVeF9\nKQCUjaZYiSlEfrmho5JEjMqnW3tdEcI6cq1p8iO712G+ZDX4s4q/BLqkCtR1\nLDN5MBOuH7+z3fHIElGTZdhk5K4aJiPjiWOBAuZdShldCc7MU6P7TYMt9zeE\nN5TEZtnhOkhUlngzKFXpTLZRkAytihPiI+iw339K++2KKTR42vVrld7GJuNK\nEsqJ5tZ5Yc8lS/00B+OB8wGFR8SDWbl6NbkWzOeSKBpGjNpH4HjUVPDP1ydH\nZogpNYgZwNWx6Rem3uC/zst1u4MxF4I7oapGHRKaFMOYxeQo0lI83qY/lzq3\no6scHQaHjYERcXpIqYHVmxaqyDdUREuI0QrH6H6EN573acTYb84kryKg3zXI\nA0x+yjSiYUeSX+BgViob2hfRsaScm4ms5nx+uSrR0ohSQKJEpGbxk/23yNAY\nibl8sSl/jfzCVcYkBaDF68ei4xKuv22oL7wdzVWgbxBdeKbeyI2ypAFKlCTI\nEI8tKmktEAuC9i7Yk3IMTMPrgu/5W3b5xIZW2tndYYTE3D3HdBx7UkYj1UUr\nonlA\r\n=AVLZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDhgb09dQpnB/9xP1IPZLAi1aAjGXmpxRzYvgjoW26uXAIhAKFdWfAtoW2WGr6K61uWuIcggVUaEpDy6MIQCdPv4b7V"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.ad3732d7_1538557388192_0.2957849680981335"},"_hasShrinkwrap":false},"1.2.0-alpha.93382e1f":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.93382e1f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.93382e1f","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.93382e1f","@crave/farmblocks-hoc-input":"^4.3.0-alpha.93382e1f","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.93382e1f","@crave/farmblocks-input-select":"^2.2.0-alpha.93382e1f","@crave/farmblocks-input-text":"^3.2.0-alpha.93382e1f","@crave/farmblocks-theme":"^1.7.0-alpha.93382e1f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.93382e1f","@crave/farmblocks-text":"^2.1.0-alpha.93382e1f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.93382e1f","dist":{"shasum":"926230ccd28dfc627444a8637a3d472c84e7b04f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.93382e1f.tgz","integrity":"sha512-Snbh4s9o9DlsKXvYVUZRjzaklQxx6u0UW2XllQCnZ0TRGGn6JEoAfrMePvVFINcf/h6eOJvyRCvZ7jdFYzDF/A==","fileCount":15,"unpackedSize":47396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtLOVCRA9TVsSAnZWagAAls4P/0fe3BK66BeriNjLrz6Y\nsjqoaSbeFwFtj4URgVEBFeUa1vWY3tnzOeSZRdYO66EAt9UPxXJBUDGZlniR\ncKMMZbwsLeVyylcjameg3BLGajARUXlptkutbJy5dBdPuNouRPDU/6xWxnSL\n7TSWGoMEZ69Py9eMN+K2mNJttWdye6BpAWHMVSYQySTQzUDLQcrQuIgcXCuK\niiG1HPrwmhKXIv22LezQydEdKAomr0lnwioNgDkQqZnAKjsYAhSD3vSVCaOQ\nWNSew00vUdzX8RDe4T9KU9fS9s21rRkZ93E9x6ncWR2FkWmQURu2wIZ/4iBF\n1A9j5aIHOovR79e4hJyWfrp0PhpStsh7zOvb2xxaX5HUa+utrv/jBJDWU+X6\nb6Ed7KuXerV2+GN3cf4oTwaUir2fKpxJ3kwKGdfjMAJ7KYOS80srqZQ3yvVw\ng48j6Ow8S2TP92RF0FodFRHy4ivC0flXxW0g8io9vaLrdfnOHBCFdOT2eIp9\nFp8uZovut3jMQRCGFBpN2qewMswD7fssHvPK+obskOYoaIIPWyG7sT3KZkm4\nBiR58WQEczf7XJnlwmdXg6VybtDwUrpgJJwOChPBO7k4m8pM4mlZTGFrkrhp\nPMNyhQqWfe+W42KtX1WV4RPgJm4VYVyNXgLm6eQ+HhUXR82T7oCmYJZ2jaSq\nrfxB\r\n=gZb8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG4wmHc4E7H5BDe6Oy5jKezHZQDbTWAef6RXqaLY631gAiA+vP98lEdHl0GmBDI1Gxwfc52YGKWfAl5FvNw/OygNTQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.93382e1f_1538569108680_0.31464151581400746"},"_hasShrinkwrap":false},"1.2.0-alpha.99863187":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.99863187","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.99863187","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.99863187","@crave/farmblocks-hoc-input":"^4.3.0-alpha.99863187","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.99863187","@crave/farmblocks-input-select":"^2.2.0-alpha.99863187","@crave/farmblocks-input-text":"^3.2.0-alpha.99863187","@crave/farmblocks-theme":"^1.7.0-alpha.99863187","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.99863187","@crave/farmblocks-text":"^2.1.0-alpha.99863187"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.99863187","dist":{"shasum":"89f456a21031199bec3890b890193927269cea60","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.99863187.tgz","integrity":"sha512-NI1ZKHlGUTSa/jImUn8QMTONASOtfrQgeK+C7J1ACneWEfqF9WYpkwI8irdVDa2iVtwTaZA0noT6SLIL8yDb3Q==","fileCount":15,"unpackedSize":47396,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtMQxCRA9TVsSAnZWagAAOAIQAIwP6Z2wTgYab6Z6sKjy\nzFQcwoGEP+t3vw+8Dbn27iRJPIq5SaDVzeJ796rxY4sNfz1tvLIzixlsWR3G\n2xHajDFhY/44eRgzRD2vFUF9X2tWTSFWxb9a7wl98T38w0MW/VAhWT+uTtRj\nwl60dWWJBMMLwvihfZ58Y8t/gLN0EAqdf0hi7eEqNCYQKta1JOS95IfxoXyP\nr7GvPcuxQuTlFykLVcl6JoZdWxp6q6D4TmEE9iRNuTeiQKOMDTYIaBUrhl9K\n6/uay6akKhfjyDmzWUxT7QQ+9+Y0d97SjYB7UUfvK+Cv31ZNXeAZXjdzBiFN\nj49Cr0q+vhw4vayV7W7iv2m3g5g5Ju8vv9SbkFvBSBxciLSrPlW5zHhaTHyo\nVaXS9lren1TMRft6zilSijghU1IsX1GU5hk/AFU7hHTHXeyipPGDfr2yzaLZ\nvMLI3vLkBjoj4lpYiWkcqxftjeXRhQbT95YKHeYwBcUbZVnkHNesXvGsLNSv\n/NDthAHn52VAVHM0+sEBOtgzdBeSnBXQ0lH1IZbCUaQYgfY/UhKOOsDw8GHT\nz2Puxckreb50s3WM1svVDaTD+SrQlShkianR6rQPuKEz4B69n9UkCpt2VxxL\ndXGgcHXO7yeyYdDFrOsVSyQlmI7wpLcH4eRtsyGhZMlZ/OvxDbEqY2kS/ZQ2\nYXWp\r\n=1SE5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGGkczuwJNzNGUS38iL5N8rczGXZ+hnBW0XsQ8MZK1EQAiBSJ2re6uW4WdpRE/GRA8rb8eCkf1f/0gFDikX2y1QaaA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.99863187_1538573361237_0.24183097535033005"},"_hasShrinkwrap":false},"1.1.34":{"name":"@crave/farmblocks-search-field","version":"1.1.34","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.10","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.12","@crave/farmblocks-hoc-input":"^4.3.0","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.19","@crave/farmblocks-input-text":"^3.2.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.4","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.34","dist":{"shasum":"c6bdc2d22045dce2e601faef6576691f5bbe1c06","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.34.tgz","integrity":"sha512-VxJwf4e2h/6a/uAjc70WVoZcik1LC1Slv/04By7uFZVjyI1hyd5/axIAn8jJeLD1m5na5qF4M3P8YzZON107pA==","fileCount":15,"unpackedSize":47209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtMhjCRA9TVsSAnZWagAAY2AP/3xOHvKZgGRe72q2w37N\nqHXtnFzd9M0vMivbv+AuPFCL/5xlSIrpzJh9VZGEDB8i44Do4p0BFLe6P1I/\np+jTC8BI2NP4/K+G62fXTkEYYrucMD63FhCwHj4YZAdiD4jDyxmGwsPky2Wh\nu+8Bt4hdJe3H/pCUnxEVgWiOpy2ijFds7kJPJqKGi8QRkvU2QW+voZ8tZZNQ\n7RBEBKStc3dKecmWWdxE22MIAw0DRxrFVPKbZ+zemN+vTzqi7TIUOrCEmHqX\n/dEpyB7GlROfoxvTtVNgYQ1WNer59HCnpif9qTJwGVd56Pi0FgK6ML0qMnMC\nk49+T9h0WPslrjy4wEnkCeQ6Su7fXq8wCjUqhE7AhGvbQ20gLAS4Q9gPdIll\nnj88p1Neg7z2ZDEyk1DbFrzpaiEpqsAZWXZzBP747nSRnCcfjZNaALziewbK\nSmITyJCujJGoOOquFGbr5xZ7oJLELf7ipZEQpmhZ94IJsk0wWoWtNBgfMeHF\nb1145OJmAYS7vUKT1EM9zdQlAB5rNRNX6YDqALXpu0CCxwS5qBZx7DY3uf7y\nv48AuvhIUyt3ebGH3XK3is3m6Do8qo49sepAzK932iFlTJKVDO1icmOZfWjR\nKW04FVT3EQZuhbTy2c/LJKfVnzOQ8fO6ocD+w2kmrSrOc/igNRy9y3pB6yQ4\np3VW\r\n=+DYR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDi+mWPDopCfw+H6klsUAxkAVuxQ8X2xvpwrB7T0Nvj6AIgFDthYpzxOhXuPDVc7+Wg++ZuNBwe9AucpBvVfgC55y4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.34_1538574434558_0.7686806826279855"},"_hasShrinkwrap":false},"1.2.0-alpha.f9ab7f2d":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.f9ab7f2d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.f9ab7f2d","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f9ab7f2d","@crave/farmblocks-hoc-input":"^4.4.0-alpha.f9ab7f2d","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.f9ab7f2d","@crave/farmblocks-input-select":"^2.2.0-alpha.f9ab7f2d","@crave/farmblocks-input-text":"^3.3.0-alpha.f9ab7f2d","@crave/farmblocks-theme":"^1.7.0-alpha.f9ab7f2d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.f9ab7f2d","@crave/farmblocks-text":"^2.1.0-alpha.f9ab7f2d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.f9ab7f2d","dist":{"shasum":"169341485b84ee4011c53967971e6abf94880c68","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.f9ab7f2d.tgz","integrity":"sha512-g6LHEHcRMBt1sNORDt5jrBBveYOqA76v0yi/nArqK4CiMhAg2K+wRi2D3YUQyUc9igSQozigu9+3bL9+NB0uYg==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtPiYCRA9TVsSAnZWagAADksP/2vELDzvhCwRYdnAfMK6\nlTk0PKSzumtmxquJehP9bT37ywwfFB//xZ4G0dKVcJslQQmF4lIl8eOrYvdO\nv2k6Srl+R0N0A+FQs7MLDvHDFRsR6i5h+reGjyPxhB9LNVoDvESAT7PMP93x\n5N0w29NWZO1Z4f69+qpkFHDJSx7i2jViAKur12UsXS0ZxS5JGCSYpx0QZWth\nYT95LlDQL6Xe4vMO6hLKbwOmSA8m8MQBEZjK9tipzpMfqiDcqeNfIucd8MwV\nwX91gnJrnSD3ZghZ6k0uu68NKg70wZEKdMq820vOsIrxfeZbIwlhrqmCbaLA\nCqvLQpWywQJGkTdH2l0c64SwEjPUqxqQfurFav03+4/Va5ocpV9k8AqNQk5a\n6AGBcuDoPbLwgFJhYl2SNh6C8sTI1F4Zf1cpb1NvhfX4ALP9n417RuAx7xDD\nLHzBoeoUSHSPbgOzbgbX9TPvKgnJT9jcF4Bc7uvluhH7ku33M8ZCEXwH5sb3\ntDekzSB9fHzTeS69go55HHtE1GM6eoboTEjTLYpbTXIGS3UVOlgSsePnLiEc\nPqRK1ODJA7BZT1/KjF0GbJUoIhU5n2/AC6GXlI+6Lu+gP6qEZnZUaggDp8SE\nBPfIZz8MdjC7arENy1ahWbxMq0Z2LX333LM8Fj9NzASVhG4V/s/zHo3xqxDv\nUA78\r\n=JP+h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAUQhGZoYg5P7G3qSMM+ur8YxdX/6keNT+t7VyOJ2pDIAiEAjyuJizgDIdHbbbfRunQMIBrWGqEzeJFzsEfNRlXnOJQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.f9ab7f2d_1538586775385_0.22775339299271335"},"_hasShrinkwrap":false},"1.2.0-alpha.cf04abcb":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.cf04abcb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.cf04abcb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.cf04abcb","@crave/farmblocks-hoc-input":"^4.4.0-alpha.cf04abcb","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.cf04abcb","@crave/farmblocks-input-select":"^2.2.0-alpha.cf04abcb","@crave/farmblocks-input-text":"^3.3.0-alpha.cf04abcb","@crave/farmblocks-theme":"^1.7.0-alpha.cf04abcb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.cf04abcb","@crave/farmblocks-text":"^2.1.0-alpha.cf04abcb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.cf04abcb","dist":{"shasum":"10ed53dc8e9c386909f14904a64ec63d779362dc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.cf04abcb.tgz","integrity":"sha512-mz6c4eIlsPbuUszmy+zFJAXUmf1BImLURg2FQop/tG6qq2XLJxItu4X4/58vSeOqyA2nQvlctjp8nQQgeUY/PQ==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbta7QCRA9TVsSAnZWagAAzrkP/3UooZUd/G1bSTEEUUiX\noW4l8M0SDOpDjG6OiRjxTkhmI0BIyBAzJQnrU+zz4LAEa12uEp6PGUIYn/0t\nausHWjz3LYfEJPw3pJAwOGhqhSIhYE81jRXXQVN0IsRExEpGwhWaSKBj20/i\njWtloBYIVU929Fuwzp5IYW9/sIeoX4t90g0xafEcksjG4r0+uEa+MVMt/vi2\nS4YD59K8toMTPRkOMZrRlfBnILDxWpWoTe7ZZHD6YV/m+Hs2eMgeTYFVECij\n1tTOimH1EvB7q+CZUippuS62e5hxvXxzUJomZRgqAgXKai1oHCuBDxJbkJnb\nTVWzrLPCFYzl4JtZqPUWd8GyGJOaPRAz/5NQtU8elpNxMyBf/N0+pptePYRs\n3bqgB3l65nY4FnRefjD4QjLnPyzCPdvISyzzICZGcqPed+aub6HuABr65FLh\nDYGuUjxrvB2gcatjaJk8WvlEmmpCd2IvOszv3jbCXMS7joqWS/CE/PJDcXAD\nZDb0g0LRpMCkLwHMyZKMW3for4ag5UJYn0LZpwMV5Ok5M4CJVAFCswXt0DXt\nN7d++yaZ/kCFB8ffPFlEKVZtc1u/OlYOm2oWcbZuIUTYklUFIpW+Quam+FdX\nSmEfqeRWkdlk03zKTxf2T+OxZ69w2OhjBBaUIYEdYbKa3FQGbC6jdyUTjLdO\nZzdw\r\n=fEkD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGyIap5/Q5OfRZvuQATUTRU6APqRCqaPKXtuO7R0/+fMAiAzv6fsGS2b+4enVX1sFxktt4J3oLDW4ABvTg0vicVBfw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.cf04abcb_1538633424021_0.09299845935331996"},"_hasShrinkwrap":false},"1.2.0-alpha.babdc071":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.babdc071","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.babdc071","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.babdc071","@crave/farmblocks-hoc-input":"^4.4.0-alpha.babdc071","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.babdc071","@crave/farmblocks-input-select":"^2.2.0-alpha.babdc071","@crave/farmblocks-input-text":"^3.3.0-alpha.babdc071","@crave/farmblocks-theme":"^1.7.0-alpha.babdc071","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.babdc071","@crave/farmblocks-text":"^2.1.0-alpha.babdc071"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.babdc071","dist":{"shasum":"6a3db5ba28d11856142fe5c1d37bbe5a15cdbc9d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.babdc071.tgz","integrity":"sha512-wJECByk64DHdlgsudNMwB5Mw0zpQNcFsjWzWfwOhOwq7xCfCbyIjqMXwc8EDOQRgi47vA9mv9sgemDrhjr3s3Q==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtboUCRA9TVsSAnZWagAApoAP/10+H/ponBnPvmx36El/\nIFA2SPR3sYH5ifGxzIXePm3eLGIAjiTevoG8QqYHItxHTI8VtVsIMkdYt/0S\nLWcqn6LXQkgZXPcir1jRCD/XI0PQGGvM4hQaPZVlSlzzFga5DRmbcul0INDK\nM/c1UbiZdW0NaOvUb2aWW6HaQ3ar6YCcZHy41utq6ChLwqTorw/M7nAozvmf\nJv0bJ71TAjJbQQExoX8rsG+DhPplOEo0Ii21kTVj8m497Nm2dScvK4xPo/iR\nz8d/S5XqtW0BCtugidatU6HX4imtKNAYpcFIGCgHaRNg2eeVXmnHj4u9NBEw\n5jSUt4mPXwLZS6EV62AAkWAh0bIVvaTQGVrQ7xVVkhDgGSmSx7ZxgSwlYuFt\nzbjrWpGgmaiGWsAipY7/kSxN4/3JJ6EIwmVhu5nK7YpCOCVtrZEnDCN4oVEa\npUMMQghdZMdbzqU8vPSub8TXHYw5jPT756a+kZIDNnATH/l7H6f5EEWxHT1S\nmc56+/QAohMgzurSuj8c3JODd+L+Nr8K+sMQ9sHkC/xvIGwbeeXfaDfVgZQO\nrFvKXbJ3txZ7oq+8Y76xaysh2VQIfiLJvfybMeHxp/+N7L2fslxy+NaYBBV7\nLZjbY0JIn4IGcXVML+Wrbb942qL9jXvyENvi7N3MvU4dmaXP/nE9LAsQggGW\ns0+1\r\n=lYX2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDKSPHf4yq7mAhRDTfnE6IsTIW32ZxDeSmvGJZZxMbbAiBmfXHLVrIDpXzerG80nn53zCCwqD5sn2NzJmHuaB4B+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-search-field_1.2.0-alpha.babdc071_1538636305740_0.3211891195235872"},"_hasShrinkwrap":false},"1.2.0-alpha.0ca4fd12":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.0ca4fd12","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.0ca4fd12","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0ca4fd12","@crave/farmblocks-hoc-input":"^4.4.0-alpha.0ca4fd12","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.0ca4fd12","@crave/farmblocks-input-select":"^2.2.0-alpha.0ca4fd12","@crave/farmblocks-input-text":"^3.3.0-alpha.0ca4fd12","@crave/farmblocks-theme":"^1.7.0-alpha.0ca4fd12","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.0ca4fd12","@crave/farmblocks-text":"^2.1.0-alpha.0ca4fd12"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.0ca4fd12","dist":{"shasum":"0265226f6cf8c631c21e2620d00daa6aacbecb90","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.0ca4fd12.tgz","integrity":"sha512-vZJZfQRkubc9DoFpCmjGpD/hyvQurE60AX1BkyYnMNdI7vPi0hxBfwug4+7e7yz+CK46Y17E6N2Xd/Q6qMlG/g==","fileCount":15,"unpackedSize":47768,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgecQICyEWPK8hJEXfE2FNmKQCmK1idE55lTJ6he8AugIhALMAtCNPzk5uJn5Ru9LGKegh9q3neoYygCB1QSVqhthw"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.0ca4fd12_1538678975000_0.7950120371590979"},"_hasShrinkwrap":false},"1.2.0-alpha.b3932f55":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.b3932f55","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.b3932f55","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b3932f55","@crave/farmblocks-hoc-input":"^4.4.0-alpha.b3932f55","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.b3932f55","@crave/farmblocks-input-select":"^2.2.0-alpha.b3932f55","@crave/farmblocks-input-text":"^3.3.0-alpha.b3932f55","@crave/farmblocks-theme":"^1.7.0-alpha.b3932f55","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.b3932f55","@crave/farmblocks-text":"^2.1.0-alpha.b3932f55"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.b3932f55","dist":{"shasum":"805fcac64786727340f4852b5764d809baf91a4d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.b3932f55.tgz","integrity":"sha512-+ItAhijxIblOgax82h2dkpPbjPr1HrBZQa0u1BUUWIuoQ6ndjHJMbK8NZdnfZFCGerU+JEPXmr6VMOMp1c4Zww==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbttG4CRA9TVsSAnZWagAAxUkP/26zz9lXr5+i/aG4fQbb\nK5gYxoZGVo/+M1KwUugJ5NT795LVixBramCkxMbU55R78KrFIX+OTE/4cJkP\nqqiaMtSg2DDALtZFwpBW8KpilWJ5KaAKG8w/gSgCLnuxiAY3g2nscH2407Hf\nt8CcR8ldxtiVtm9uw1XzVuxNf8X1cTrZchPQFdbHJopq6y+U3zbPkSaF6+xR\nfik2jHRvhtgZbcsvp8Htls3GqXRKdVC0vGP6NQObIdUTV+cOl4GyTkuBU8UK\nsSwlk8iFCmokmFyZ/yOLhUo6+bHPnxP3GAaC4yE513SzqPjCO72df+Shh2sA\nS3vAC8iqcq1u1UR2f5gRE6wKokwg1MAdPUH1I2jxWYD9RgKhV/rHptbliZnM\nQ+nJA9JF/YNsEZ3pfpLizxqBQMGD84LwN4cB+Zgmou2ORtwjINtXDrkduBx3\n+ysAZrHRdPEV96TJqVxhi6n9OLI33Ac0LbnGmKyyYuugR/l3of4R3ZsaoMgp\nnnZ2cjjGtKKYqpU0ode40P+5FM+uQyyGz7LhNit0h+DFAraIJR1+ClgWBIHm\nQDdlN8LGR2y5aOue2hUOtjr/ORQmgFeZu+Kim6I6ZB+AweJA6Sb+lpmjjE0j\ntybZl8yNgZ2dzi4x5zFGdmZjfdPm5FZUrvEB8qpDlgIYeQMnG2Jp9tuTXvmx\nOo4I\r\n=TBjd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+GoEFmPFixC6wlrrqfDwbMJkRa6GBsqREQD1sSTAIkQIhAP2bpY3d23mwV4A6RUSe+yyr11G2v9ox67R0pM09bU+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-search-field_1.2.0-alpha.b3932f55_1538707895410_0.8461259869687441"},"_hasShrinkwrap":false},"1.2.0-alpha.6e8d8c2f":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.6e8d8c2f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.6e8d8c2f","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.6e8d8c2f","@crave/farmblocks-hoc-input":"^4.4.0-alpha.6e8d8c2f","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.6e8d8c2f","@crave/farmblocks-input-select":"^2.2.0-alpha.6e8d8c2f","@crave/farmblocks-input-text":"^3.3.0-alpha.6e8d8c2f","@crave/farmblocks-theme":"^1.7.0-alpha.6e8d8c2f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.6e8d8c2f","@crave/farmblocks-text":"^2.1.0-alpha.6e8d8c2f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.6e8d8c2f","dist":{"shasum":"0e3baf58cdff3027ab066480efa4da80a0b6dd39","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.6e8d8c2f.tgz","integrity":"sha512-2yMvggpEm2ySmoyRjLxYoXumhZLDmw7UIL93MmxVbveqIoUWQ6Mb8U/77BvlNYbvVHHrE+st4rm2fgz/zEN67A==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbtwlgCRA9TVsSAnZWagAA7GMP/ijzkvkVF3dEJZQFeJlL\nTe53sw5uXG9m2PnKbxOqWt7FQHQcrX/PTQ9DHe9csUB8sC2t7g4FwnPEzY4t\nkqYc1JY4VUQXiqwHabLsVvJXL+QQvPVt3rkMtFwnAr9W63g9GrWNpx7lFY6S\nSPZfztBitsbC/sOa3u6oWvnD6Yq42tVzs4mBvtUPyLXXfAiozGtQIEsbDcQi\nXdJLv2dODibxRGIZZAKpcFa8vrF69Exkm8i2u4PIcvwuwQNTYPfp/SpTe8M3\nnPn++KoZyc6oO5ZS/4Es3hsTSMfFm4edrvv64ftAmRp6LyrsOdodb1jr5IHz\nkYkw398pa0xzLWnKwpMKlxTX0QDZetrES7PENS2rgot9cYtNmcbPBYqN2nLz\nKfowHSGwxdhPHyh/8vxl0Z0ui1jC0lF/Z/Wo8vBI96N5X2qrPF4kUDW39jjq\ncy/5JWAsl6qJVcKv609zz8itN+c8yNfoRtjsk2sZnURq4YDOuQlTZ3ZfW3af\n8rre1OaHAAfq+ojkCIgbPAh4z+3AnEDC7j7Esa9NuhNTMHE4UjLiGzmjFxA3\nW4XKVswhEyfslFgOBxV3OLTBWHH79f5CuHZL0pOTmHxczwGycXbfuzrEQLuK\n+8dcmwAlQN2Txh2x02ODD0CDBYS+LL6xUJuvVBgvSUdJ+hNu4cJB3QU1EJGc\nLJJl\r\n=51ms\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGZTYfQAbQqqXGOLwoMxL/bpU8MPjAeYcKRytV9QSligAiAN7hOVKYaXsl6c4PkUA0U/4I+CKUeuhLFQvSq/UkGuKg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.6e8d8c2f_1538722144199_0.15617956378596687"},"_hasShrinkwrap":false},"1.2.0-alpha.7c0bf40a":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.7c0bf40a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.7c0bf40a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.7c0bf40a","@crave/farmblocks-hoc-input":"^4.4.0-alpha.7c0bf40a","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.7c0bf40a","@crave/farmblocks-input-select":"^2.2.0-alpha.7c0bf40a","@crave/farmblocks-input-text":"^3.3.0-alpha.7c0bf40a","@crave/farmblocks-theme":"^1.7.0-alpha.7c0bf40a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.7c0bf40a","@crave/farmblocks-text":"^2.1.0-alpha.7c0bf40a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.7c0bf40a","dist":{"shasum":"8b4a3e294bf9b86819359187e869ad795cbdb2b3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.7c0bf40a.tgz","integrity":"sha512-QbytLFSlngMnaqQTB8iJdLTIPh+YyRTPsvZxD16sxYMsX1qlj8V895yKj7mvRJjjUUi7rYT9bJsGpJauTZZzBQ==","fileCount":15,"unpackedSize":48463,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbt3emCRA9TVsSAnZWagAANmgP/iN2bkm3sMZ++yXnNSrL\naZEg9QA2uNriwwY2TVytnSyCinoErd9nogmPPjSIYB+/nR8S7CdZKupWSy64\nMJwOThI/0Q2R+EiI2mZnArCuD8YqP2a669UkM2cUEO4andMYPPFCEQlJJoJA\n/pO+MpCd71EHxZZFMVwkWwOqHbEjhPO3LMHbGj8PniEvv+Rsqz2ypsXZ6H78\nwPA7wIpFdaZIOWUCmNLs4BH7/GmQFXCuQYjtqMCfGDVih/JllNU6x/BBGBCh\nD3+XJOH0YvQPYk4hD8Ks98C/YNsemSTaoq+F6uBAp96zs0pya807DH1MNcEd\nvLYRbAxqGvB1cQiBQbo/qreILlQiMIoZQQ8968CQYJJuHUwB+2Tja0qPYeOg\nf3zzEV0+2vUgl0s+ylHymJqc3wxKwT9uSvoCmPdF/hx5EIP4uczOg2izZBpV\nnUHs4Cyzj1Z05tvNbiuPlCU8YmruDcKLBxJYOv0mXOJ31jJgf6MOVRksmPKR\nRrJUwFnFC+SoeZvACTkhRo9sXX7PlNxqO75F1ZxeD3wmOF30/2v03HEoVVVX\niezgvM8fvoqcVddT/PQKni4K8IRT6pkuOtLjlwEl2FJ5pHOcoIPhYjVcuKWS\njooZBuW4udGobte39LoDIjTpseP2UiCnONhHL5HFJFvnGsR5uvIIW2w0hY9T\n5vuh\r\n=S2wM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE6xiyTgwY5ye/DOs7H2+z0tgvJszUBw+qsQg/Hgi3wjAiBSIb2FnUw1lPkgLIfVQ0spmdOZgIoQTeRCaq4axysSJg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.7c0bf40a_1538750373615_0.13578085209339008"},"_hasShrinkwrap":false},"1.2.0-alpha.94c320bb":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.94c320bb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.94c320bb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.94c320bb","@crave/farmblocks-hoc-input":"^4.4.0-alpha.94c320bb","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.94c320bb","@crave/farmblocks-input-select":"^2.2.0-alpha.94c320bb","@crave/farmblocks-input-text":"^3.3.0-alpha.94c320bb","@crave/farmblocks-theme":"^1.7.0-alpha.94c320bb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.94c320bb","@crave/farmblocks-text":"^2.1.0-alpha.94c320bb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.94c320bb","dist":{"shasum":"c272beeda1be8dca0d1b2f494b777a44ab9fba8e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.94c320bb.tgz","integrity":"sha512-LIG83sFZvwFuUDo/3sKZcrBz6KxYU1EBymfGZ3diX3VqpLQkSZpp47B4qHHNCaImkJOspofwBj/oeQM8g4Cesg==","fileCount":15,"unpackedSize":47800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbt3yGCRA9TVsSAnZWagAAFPkP/1u5gvM5dLHW8yhGrNaI\nC20G+gmhWz56wx48qZ4J/woh23MqSXcAhn+LpaMDmvVbBNatXrY03qKA22sc\nCHNRQdhzhkuvJpmrpme7h0OIHJKRUWKnyKMHxrbofDEV7A3Km2PHSo5kA9yt\nijDOLWbnFnNTsBTlG4zh3i/AZuCezrwOqJvnCIKCqS28S8qOyGyPlKJ2HWI7\n4Hobh2LhYIFlBG8IrMQBYdaesJKpp/IA1U+D95pDYhb9qR0OtlN9dSzs2BZd\nr3bSYnxLqU/9ioHW1VoWPtSjwH8YoBk1lI2PP904AQARg8ZTf1nmM1Sccjoe\nHC4V11L8glxx/6wGcZxOPZu6/Ddj0jQcFQM4NS/QI2gY4xv30gS3s7yYdV1V\naefvA0YcjiBj0tH6N3v4BkOmkVEdjAUdj+Czi/8+yoVepsAIp5u/v8drnfML\n0HSLyCAiDa+9tla9jkcojbXBliU4a2qngixVKZ3KW5tuQXoANmchpsrbFjJH\n4jvtwObgFUP8Z5hitSvW424VdRXwjsDkUyKuU+4CubWnnwVMgn47UhRo2DwR\n7OkaE0wE3sbUIlyhptWPA9ugedvDjGuibfuOKc7B6/UJYBrrWTXqOhFa1Nu7\nbNOXLmFGYSiukz7hzagaMX/aAz2E+AJo1pk4iMBE0bmkA1xMLtxeHKMoyFeP\n3LXj\r\n=5djs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDTXLfhG/jaSJ8b9/fsxUPzL0KKZYaQ/lIE1Tz44kinvgIgE7cl5mnjKJZThd98N53J9CyC+fU/ofYl8Mto4ueSMMU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.94c320bb_1538751621563_0.522004961135385"},"_hasShrinkwrap":false},"1.2.0-alpha.cf41d36c":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.cf41d36c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.cf41d36c","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.cf41d36c","@crave/farmblocks-hoc-input":"^4.4.0-alpha.cf41d36c","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.cf41d36c","@crave/farmblocks-input-select":"^2.2.0-alpha.cf41d36c","@crave/farmblocks-input-text":"^3.3.0-alpha.cf41d36c","@crave/farmblocks-theme":"^1.7.0-alpha.cf41d36c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.cf41d36c","@crave/farmblocks-text":"^2.1.0-alpha.cf41d36c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.cf41d36c","dist":{"shasum":"739516221239710e36125ac86940025d3c0ff5af","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.cf41d36c.tgz","integrity":"sha512-+lircmLb3jN75bLYuDQeErBKozu9WMJ2hnYBfkwGocKxXQUJ8EBp+aZ1qqMfLm7YUKrHWH+8qoRSMJT5b7Jx5A==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbt5qJCRA9TVsSAnZWagAAt8UQAIFJyMDMCtlL/6keR8Ex\nCMvsH3NWCzwqSpzQQaVP4MIUdpV0cIzBfGZg2sgPrWkwRhRglEpesiSIYqOn\nMSj0Is/3fJyn2dQrxYP4DMxkdTjLGPWt8PIUeWrwccnzyvohAHs9RBX++z5w\neMlbeZgF3exwK8+snXKft/PuwOVHa8rymYEbJHsoaxvqZPzjyZXrX6mlC3L5\n14UO++8h4dVp5eGAlgs4c1FWqF/cRaJnJXAqhl9DG2YhLnTTQv7R/ZWC3FmV\nWAZmsKl/AkdvnntaztjKr7Hig7vV71GWqLWaygyrfxpuiXiejFjZPWhce3Yz\nde877FgpnNSeqzePEsw4AdcBZ2pIjgPRwjP5s2QupdY/oj/4ES+Al+hV8gSj\njBhX35B6xExSJrPOEPszmx/LHe7C9ptw2TirxXONsYkFr4Mr44Mb0zRgoafu\nXcagNoXLRkpfJ1gVYLiUv0IjSH9wq3PCbCfIu4O1ncWDUO0aC3e8tEAyMaoy\n/rl2q3S3n8ukcxxaszLDTwNs82xey8bffA+Kcdk2in37iRI8MjQcUcV+Qdaj\ngJ/PXmKqWD0Qd6OE8n45R3mEhKqyn6m3sCT5QZhyvBXW3jJ96XMD9V3rrckj\n9CrqVFSXzB8gXP+mBy/omMKekI/VIXANWNBHDC5UURavFxakKn2bzj1Sfuc4\nly2D\r\n=bYWR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXApIAsRFQRjsQ13m4TgL5ItMbFI1j4v1zhp1BcFkoRAiEA2HR3dC1T/rksr6dfW60A8M/21v/avsp3Je56u27qZhw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.cf41d36c_1538759303114_0.17461490228441323"},"_hasShrinkwrap":false},"1.2.0-alpha.ac480af5":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.ac480af5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ac480af5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ac480af5","@crave/farmblocks-hoc-input":"^4.4.0-alpha.ac480af5","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.ac480af5","@crave/farmblocks-input-select":"^2.2.0-alpha.ac480af5","@crave/farmblocks-input-text":"^3.3.0-alpha.ac480af5","@crave/farmblocks-theme":"^1.7.0-alpha.ac480af5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.ac480af5","@crave/farmblocks-text":"^2.1.0-alpha.ac480af5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.ac480af5","dist":{"shasum":"a2d28fc3d9186bb5b6d2705d27ed57de1909ba86","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.ac480af5.tgz","integrity":"sha512-hJZTlOirGjj30qfYXCNcVJHM0KjwqVnsMyd6p8k9ChRkg0dAkZzRsIbmvsVqsFE+7DmpElJVYn1x7FPawu/nvQ==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbueV8CRA9TVsSAnZWagAAVlwP+QDbLWD7v5uR46NdGjwx\ng2uZRWo7m95B4QhXuCPXVmg3Wp8qRHcmOvs1d+Iycz8AJuEO1g/7IWRDGt8C\nncM2qL9+FwrHbbZKyHwpiS8jOckIdWjzmR8xGN009jWfEsVePT8ayFEcN2PQ\nDZ3ShWCu/X8PaCBFUEIuZ2w9acqcYO1xYpiBBjn+kxGe9HS10NUHJj9zup+/\nIAwoRKjtrqLw7WjCP13KqEDp1+ZTC6AGqaNz47fkj/xXPr6WE8oMGKbm1Oug\nLwLgIKP9tRXiL97Libjx2feb2YzyY/k0e+/QS+errwXOqfF4jHrudZjp0Ajg\n71xHVegPhr17L8mp9/kE1u5ZXWCHL1AhcpcEcJ/fX+xTdGSXyIwwQ8l23QFG\n5S1FEkDRqaMtMacCiUr6zKmapA5pHhoUK+ekSSy3eDl7u8amzhmBo0n5KWFu\nUiy1jicivytGGUHyr42RnsXFiY2Ag+Kvwc8kyGyim5BYndBwsOlTX4Q1pnB1\nO8mKP2Z9sJwpH0jJceUCXkkqrdiHQHkJBlWcWVKYI9e7sFFsHac/Fy44Fj1F\nGvCvCwPO7BXWsBffrBZL7uQQHkV6lTulPg8C4it5lH85D8aoM2uliiK39Qiv\n74Max1FWSBJU1jWNDINOwsB0/taH5JBgVt9blTuz3JHEI3fjrSHCv/dN1pnK\nMXR7\r\n=jLSo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwd3X6wR9bliCso5pJL004kZJH3rAGFsA/eezweR5NUgIhAL53+YE+Q/yAfTRiJ7URF0oUt0D4fogov8m04bZ6EBM3"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.ac480af5_1538909564084_0.11998670247175713"},"_hasShrinkwrap":false},"1.2.0-alpha.a2e99832":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.a2e99832","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.a2e99832","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a2e99832","@crave/farmblocks-hoc-input":"^4.4.0-alpha.a2e99832","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.a2e99832","@crave/farmblocks-input-select":"^2.2.0-alpha.a2e99832","@crave/farmblocks-input-text":"^3.3.0-alpha.a2e99832","@crave/farmblocks-theme":"^1.7.0-alpha.a2e99832","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.a2e99832","@crave/farmblocks-text":"^2.1.0-alpha.a2e99832"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.a2e99832","dist":{"shasum":"643a42b687d5bda7a4e8d50f10dddffc9b7cf7d3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.a2e99832.tgz","integrity":"sha512-dj3BZJKErYg0reZvXlKY0V9Xhq/TZsjVJXd42qLam5et220sKtOWedEFtaeYp5+IhkVC+L7EABr7Jd7TZ2xoHA==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbuib7CRA9TVsSAnZWagAAgJAQAJsIZVOCAcP/DO9XO5G4\nHSLQxJAYyt+6Db8Pq0G+ARzSFebak9jXTqLccIGxWNOwwAnJ19a6Fc9/4AR+\ne6AG/kLQJeQCpksHbs/VPfiHlMvSzLtYKKgvV6uZr6roEhbzNbYE5K/FqzMq\nFxdOGT6kEoWQAo06mcMTy9uxLYl1Vp5tYe2/e2TOjHFIfvMZAxC76nz1xp34\n3mMYcPtRz/TsJqEoFfSCGYrzdFfzvCOCiuWteFS2aBIEHzOtWI48+ewdAdoo\no8/eAI2/GB3kmoVu0SYMkt7k+Hl8Mogmr8dzwSWuUHV5UZoKG2VcNpUwnVTy\nnUI4KpV/xXm+haW6lcJOxdky8PuDgbuemyHmoi6t88cC6k/Xk1hEnxO9fjrf\nJj+Ip39NlFtoJIcv0kliveANDdAqm+pCgxcFj05giW1ADvd3OqK1Tq8QikcB\nnrkc51eyAQoZ149s/Qsby8eZ+U+s2Obi5dPkQmSTU+65qdpL2GYWGg9uQYYS\nKl909d8uH+qHbNGIqWgEylqoAX+504H+hiOqiblW+0XRYKnBDElqrw1dbPag\ntmbv2gRMwvv5CiqfXm+eqM5enEOMkcP1ZZRwSHgzY/s87hwMQsoyIRFq8fe6\ncjUizXWAFc1P4q43G6aGVy3mf7tvkNKAsSA5JvYuME3Vs8MLzxFFrwGzJNlr\nZQDb\r\n=LgDw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGW8rCM+4igt8B2AuUqCFXJZBS0rNWmcXSuw3o9ecZJDAiBzU23x/TYzy7WPronjFWKT4FdAECgcfRsbeoL3FQpM1w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.a2e99832_1538926331083_0.14568913347646162"},"_hasShrinkwrap":false},"1.2.0-alpha.285d1383":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.285d1383","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.285d1383","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.285d1383","@crave/farmblocks-hoc-input":"^4.4.0-alpha.285d1383","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.285d1383","@crave/farmblocks-input-select":"^2.2.0-alpha.285d1383","@crave/farmblocks-input-text":"^3.3.0-alpha.285d1383","@crave/farmblocks-theme":"^1.7.0-alpha.285d1383","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.285d1383","@crave/farmblocks-text":"^2.1.0-alpha.285d1383"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.285d1383","dist":{"shasum":"d8cf44752a090564471cadf6bc5031cf386dc468","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.285d1383.tgz","integrity":"sha512-xQEhhmFdikAbXpWHk+vgpOM9NocJnI793B01msj9Z1iVjH6DnhX8yb/CL/j4L/M91iGvexX7gKfs7+buckOZCw==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu3ANCRA9TVsSAnZWagAAA3gP/1YTkN2MnQWCcTfkXyTt\nfwYC8BSzthsP1e7DOqaBofNf+BPC+Aw+gsfbmij+/Two92sR1y9njnpO39Aq\n6FLkj5TuLBY8E+GJR+bW909wr3+iGB47H+v5eqTfS2jDxzWt89VVI7DqNanm\n+LoFeU10wjOqV/LhT2voAdCUtGphBC8Mgmoldw4sVsm9YXyOX6x9o3N6H8Km\n9mRnwpEkop43aHZre1Fxk76SZiSvW7uLWgpPsFrMbXW/cAW59Gi1BaIO8ikY\naQM1461eiWbNubJATGNOpfsZ7iErYn0paLpuI5qKeqWmpgtjo2wTjJlnfRAW\n4tKrXYrE2MnndY2EQGPKjLFXcaTL4odLxxz32FXp4sIxrySAMFM0adlg5zFW\nWy9AGjPaULel5JmMd5OqjsTPpf8fw3OG0d7YPte4Lq7/e5H18LJcu1ruOt+L\n9k6ZOE/9HBvN1BfSb/jW/zbR74YC+uZ78bb4TcOBewH7GolytJS0y79RYHg1\nrieAoaSgh7hoPY2n7YtHymu2Nr+f5P963eXmEnV1PgZnbwGZxBZI4H6JzGGe\n4/HUW1LtLI/BDGgi2Vkw3MBvfp2SKhF08dBNSS7vrdx9LBVt3y1KUWkeDGQJ\nwxKCbqp70BLDO83SR6eRb2qvkJhQ20pjDlMEq+2wwhEa+48yxpMr7DDzNzSb\nfYd0\r\n=anH2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBK8yOencWwMVWhRhYj7p3abh7lAurylQTFbcDpk0LH6AiBH/EN76S31B+9ve8iOvPk9b1O4zyjp3K0AKb/tu08e1w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.285d1383_1539010572458_0.8210910757947849"},"_hasShrinkwrap":false},"1.2.0-alpha.dfeb3df4":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.dfeb3df4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.dfeb3df4","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.dfeb3df4","@crave/farmblocks-hoc-input":"^4.4.0-alpha.dfeb3df4","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.dfeb3df4","@crave/farmblocks-input-select":"^2.2.0-alpha.dfeb3df4","@crave/farmblocks-input-text":"^3.3.0-alpha.dfeb3df4","@crave/farmblocks-theme":"^1.7.0-alpha.dfeb3df4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.dfeb3df4","@crave/farmblocks-text":"^2.1.0-alpha.dfeb3df4"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.dfeb3df4","dist":{"shasum":"bd1582ecc8b96f586864c08d7e4db791116a1c35","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.dfeb3df4.tgz","integrity":"sha512-Pz2pF8sYVG1xRaO1F2XGpMEwV72/lRQX3YoDbyIWKA6sCXZBkkQ37+srZqDaqPvOZ/jrygXkg1o4w5dTa0/MbA==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu3gyCRA9TVsSAnZWagAAoDcQAIOtz11zC0csDu4dK6/Y\nlwjBnyN37JMWxkGMAIsKb8UdD0vS/0JWPsjxz4Z6UZCdGILO2bHh8iZZkKQN\n+0T46GGei7oGXf2KZydBnglwkaq5DufqDDyL/X3qZS0fasJLCKGH8iDw8iCg\nlemjnxqjITi+IiXmv6zOxarWwqyr8Sy2opuvaSEOjVPFDynXWUqQJkFpNYSa\nQvLPYkpohm86lhl8ewZZzjdQ/poxirdlNexTmHf5rfg9vklXFdLpXnq1dr+Y\n4MOXMQ3IJ5TIRRflrdfvJC0e/FkxOL77HQtCiI/q+G1FohmKKZ+IO0DsD6fT\n7USBvT1pnHdhZH/LizHKiZqDxtn2SbhZR90G7MCCfJgBPVrg8rzyGvtL72oj\n62Hj9qaigT3aI7hlZljEj8jbIxiKtqpek2m8elHdmi6RrTh1eLFwKM05nF24\n2WiPrOYNqaUBU+tMUJBs3c+WHIVlXJedgB4aAg4rQUhERuMcDWPnqi0JS8XN\nAP4RnTNIjc0PTSXCpYj0er+tQTQUQZcX63moNXtgWYa8USkswoO6+5o6K+0t\nWuiCE4gI4WGSgQYBXaEdsBvecB1QVqf/wod/VRTtd8tulizAnW0QcxGakKms\nmdAnPuCaHgG1zJT62USs2Gs3PadBCVC3DFcwY/2Ndq/DDiZyU+qTZ+lqUDAJ\nLEOa\r\n=wojP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDxyUNQHtALyZ5Vb/hKMmkki7fzzK1OW3bOGKeCoSwTVwIgEough9D2baF9XvpaZedJj8LBj/qw0Jncuk2pLBDIkcQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.dfeb3df4_1539012657866_0.35848343862031795"},"_hasShrinkwrap":false},"1.2.0-alpha.248dc626":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.248dc626","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.248dc626","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.248dc626","@crave/farmblocks-hoc-input":"^4.4.0-alpha.248dc626","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.248dc626","@crave/farmblocks-input-select":"^2.2.0-alpha.248dc626","@crave/farmblocks-input-text":"^3.3.0-alpha.248dc626","@crave/farmblocks-theme":"^1.7.0-alpha.248dc626","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.248dc626","@crave/farmblocks-text":"^2.1.0-alpha.248dc626"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.248dc626","dist":{"shasum":"ef22765a96ed6240b5347a7ca3fc01c5cc68afdc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.248dc626.tgz","integrity":"sha512-o2QKofsd6vWDtj7cqpQHVX3xaSj6rOvr5d3ukNa9at5VENZj6h+AFbuC7BjiSkFtIDkSHeO92uRKMh0A7SjHkw==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu4q0CRA9TVsSAnZWagAAq5UP/3wnoEq1WFbLZwUIrzOQ\nYRM/4Z/UP7xwNMgXFrXpVsI93qSHUp0FW4N4G79eLOxKNWg18JZOHTY5fnPo\nkCy/Sw/6ejgjcmk2e7C+LXgNZJhkygFwepg1HkZoEWaNwg4jaHmLl77H8DS/\njF/136TLTLbmGpm0xb3uIw7K9svNYacDlh/hwewvm0XNE5kXAnhTgMn0shrg\nrajhJT++mgdjBh3JuyHOv693g4/mCc2Zz3U8AADXuRlu71mt29RUGlquBsJd\nFMM1fLPeBrxZhRNOlFrhC1r65oaiEZIDrG18D68vvK7D20/TUrt+nrGRb+fo\ng1NPg2A2kjUtBk6JGi2OOcVRhN8pG00KM7q6A+53sSMPNftXBXsowCI2Sx2u\nExRguPaC1Xi+2u3qtVN9Vz4QGRzV6kjFUwv5Uaz1lRmpK+Vb/y7etKBBT6Ev\nyhEEn260tm78Vs8joAa3QXCJ3XTYyOe5RlG0ixYEhRUiq5kO89Tbwjo+F26N\nTkjfavIEWD3wLQ/kzS1QXwiZjPn5X5lnDD0nbBnd9J6OWDWtQHQ7nQRFukaW\neTgAZDv5Mpg4M/cgUoxZRa6MJWUtHzwi05EVWEhIRME1OlHXj0prgQArw5zU\nZZs+ZYa2TBOeYy3b9qwCHR9wTSmLegjXgWdy+4mf1W0wCAq/I9xq7ubZNXyN\ndd2M\r\n=Xhv/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCID9f4SxwAnpcmbrwwRv4PimZpPAGgZIIaM3yDtRKNBbyAiBHIFba+QmFds5de6ex/gP0+0bgAQvD/cHbsIPy6HfGrQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.248dc626_1539017395763_0.01627574162145584"},"_hasShrinkwrap":false},"1.2.0-alpha.feb957a5":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.feb957a5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.feb957a5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.feb957a5","@crave/farmblocks-hoc-input":"^4.4.0-alpha.feb957a5","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.feb957a5","@crave/farmblocks-input-select":"^2.2.0-alpha.feb957a5","@crave/farmblocks-input-text":"^3.3.0-alpha.feb957a5","@crave/farmblocks-theme":"^1.7.0-alpha.feb957a5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.feb957a5","@crave/farmblocks-text":"^2.1.0-alpha.feb957a5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.feb957a5","dist":{"shasum":"d9496f61cbfe8f1db9f331add0e4ee9e0e9a645b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.feb957a5.tgz","integrity":"sha512-XL/kdDxpyOlDS8Rpmnpp4/9PJSFo62fe/YjyxxZcGaTbpzX6sVUWTF/BwDlscIO3DOXBUU/y9FL0zIUYXV2WAw==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu4x7CRA9TVsSAnZWagAAapoP/0qMtzXeSdc2ewMK8Zhx\n0X0EhsmsPaZBADIvVaC27lR1dEtn22DrR6/cd9Gkh+yqa6rq6Arq3VfgSqpz\ndeHwQOXaDSgbS6rmXK+r46o/9IH5XXGUxW+pE9v4yB0rIToNb7F6P1s/wT/c\nkWK7I3H91+GNuQsH1OXDwzoCoTh+NavErMDViFctorb5M5fJeHzcHJN6yTJS\nZd+uionJhOzYkRsXJLEl3U8QqCj/aIHV6peulieE6nn4J4RQBONBNmYhid3d\nzowqg1VDbWi64jCmMf+NlTnCntq1c3PI5pDYljMKA5YJklhJmITXC2rUNgfp\nRqwJRslMU0tDqfHaMAkAW0O+rgYlnjNOw9OfLOTrRmZlwbJ9DlPTDGPofoA1\n6ez1QnFWG2lW0UlCpZgaOITVvyfCb/NcjsWWZaFJ+XOl4UM8VhZXnZEwXUvF\ngO78qJYMpxIRuIHHw+iMS9Utn/1I6J7hem2TofBqV4AKTgm4jZbztEWYiNA4\nFNE+MJD6mjiQR/6eEFS6N9RzkS5XaGKqqsr7M39//4Ozaiz62jVpz9nbV6D6\nGiCcvp4d3bh8n+EMnx+K/gogacAZr8nsT9YNjUSRAaPsZrcuej7TGACRD4pb\npBCk8gimYQNbcHhI4xcI+LcLbrzGrjFp6r2/a+I9B5sHkLEi0NLv/s8m7QRB\nIs5u\r\n=LBkJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHBGfDIoQ48frUtV2By41UL+KuzX1z/PlF6QAaTwUv8vAiAW+TD6rAUg6mCRxZfB88DGp+e4KyskD53b/tnnwO3rkQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.feb957a5_1539017850349_0.043704417055564715"},"_hasShrinkwrap":false},"1.2.0-alpha.2efdf146":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2efdf146","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2efdf146","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2efdf146","@crave/farmblocks-hoc-input":"^4.4.0-alpha.2efdf146","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.2efdf146","@crave/farmblocks-input-select":"^2.2.0-alpha.2efdf146","@crave/farmblocks-input-text":"^3.3.0-alpha.2efdf146","@crave/farmblocks-theme":"^1.7.0-alpha.2efdf146","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.2efdf146","@crave/farmblocks-text":"^2.1.0-alpha.2efdf146"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2efdf146","dist":{"shasum":"db0e19efcbe243dfd3a9e20ade1fc53bff72530a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2efdf146.tgz","integrity":"sha512-SS3sJm/3We2kqgcZNyKAya4K8A0jOx9m9iT2c8iRIM+Oe0XrXCKz6rVxd4D7kqganmWhCEHFiznTm5pp3BuGWQ==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu429CRA9TVsSAnZWagAAeWQP/3F4SMhx8B2e1T/vn6Mk\n4UrxqscM/MlYQc5i/x49nfgGBsTf+CSt703mnfchbSqwjPMwUZPW5yTPHYl3\nZfXAj3JmnA2P/GyZfvYGKXcmoVIkf/gzyUv9tZHseXKP7KM38BRoLKs/9lhd\nyZZhbVsld0I50gMXUt6M8uJtaezfCX4o7bJ9bflA/uY3rt9x5e6gY4cVHJA0\nvER2dZKM5NzIB0d1pnjntXEQEI15rDNM5As5EDfDyOklBhGNM6R7R/SUFWW3\npmESZE38YsuZYvvLX9sM6+0mlB3qG/nD+6NNnxU09bttiKZnP/cdv6XfG5s+\nDkPqYmlWf23akK1sYbx6ARCoSscVOn61TUPwCIzk5enc4GPG7RVB6bHzPDFu\nbEfjo7VTfFnYI4cJWPC/eQEZTenhMRbH0aZaGWrXLguyd7w8Bn+TiUXoXtxD\nlrgUWKxHzj4zcW2IAzM5Skj3Opl+T0H6dlN/xQwHv8XLFLe3qKc8ru5lwMFO\niofC1+wRnwHynas7Bz9kRYq75I3G8iBHvPMp2V9AaE+zsNGTtmsCDLe4Fmvf\nUUSw/uwZgoBwnjnWlEyYXER2sJTvWupIiZ5jIyb5K9Py0GyAjKFZon5ChOFD\n0H7gyr5Aklrgb0uhsplKuzCrYkZbacaXo5pBeiytWnod+YxJ/m36cdVbfVFH\nXp5/\r\n=rgSU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7JbbQp1YOHskUqT4UHjOwnEjgs7iWpNOjgNzMqHHPIAIhAIDvZbDQhV6oXIQqi3JhvtPKXH8a53DgEdMiV0lFjrrr"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2efdf146_1539018169286_0.9687135488993022"},"_hasShrinkwrap":false},"1.2.0-alpha.db1b6d06":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.db1b6d06","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.db1b6d06","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.db1b6d06","@crave/farmblocks-hoc-input":"^4.4.0-alpha.db1b6d06","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.db1b6d06","@crave/farmblocks-input-select":"^2.2.0-alpha.db1b6d06","@crave/farmblocks-input-text":"^3.3.0-alpha.db1b6d06","@crave/farmblocks-theme":"^1.7.0-alpha.db1b6d06","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.db1b6d06","@crave/farmblocks-text":"^2.1.0-alpha.db1b6d06"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.db1b6d06","dist":{"shasum":"201ef3b4df8aa25642032411c9d68ed9af42bdd6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.db1b6d06.tgz","integrity":"sha512-D4Me9Zlon+RWqEbGyWvG3Be0f5B+RASmVEh7Tj3NGE9x7JLpeDDxom9jfFvGhjEOCJVbCFvwsfRXSSwqi24t1w==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu47FCRA9TVsSAnZWagAACy8P/A9LmZoMm5Q2cnLgPcKC\nXC6WLPDi3QdhBEQrxV4QBSUmSLYwCAHxyw3SOsc8uVCuot3ITtK0u21Ru6yV\nSudZ5tsAaos2RsZone842GBm7UdPkYlZ1qQoEPjy0Yc5hV8jniVV5GWsG7cs\nA+aDtNqXUz7+//1CIkDcx2oqBJP/Gl6nVN8Di4aElT7BmAHc20wolu/C+cuY\nvNIaN69HhNUCMoJuprpQl/bo/0o4pp2jdnoSpLs8w867rpijMddY00FTYnZq\nDfT9jgGPkwq+frPSN4Aje56WjrHyso3BhlKZKhYp7n/8MyRVhQsnqUHbpBv4\nAjlI87AN1FhN7B+t8yCYEqU6RSlmhpf6HiAWQNcRlzw+F7Zqzph6J6Q6ecEa\nWkYbIWyIO5fXGQ1+H0Owzluopm1/1hrI6d8iiAT7FC5gHQg7m4u7UMuHXn/1\nc22o21UycQR7M9lMYRzz6x5U7zxtbeSlePSPGd2WNrXuFVO6JD0gx97AGTm3\nTtvFv9aSlKqfi2nFarW/HUnBYhZ3Qr+ZHVMCzxOUg+6n4mV2bu84v8wrVJxf\nPM37zlr72DQBcqh7Yae87pC8e/sY/zkI1Pa4j2BQHy/P3xB09l8nP22ZmMBL\nkVj1jNZx8s0Bqbx5S1fOU9NFB4ggz9QCxLUbui/1t7oD8TtE0AJJAuSA3i48\nebhH\r\n=uvJe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwlN3HEZGYmLAbaWDa8sb/k3+9/YK8mjB+TThgtHObDQIhAIv/my9/HcOCdqwX8/CStWpg7VMVYPQz97mRnV7v9dOO"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.db1b6d06_1539018437011_0.888629380747253"},"_hasShrinkwrap":false},"1.2.0-alpha.40875abc":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.40875abc","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.40875abc","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.40875abc","@crave/farmblocks-hoc-input":"^4.4.0-alpha.40875abc","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.40875abc","@crave/farmblocks-input-select":"^2.2.0-alpha.40875abc","@crave/farmblocks-input-text":"^3.3.0-alpha.40875abc","@crave/farmblocks-theme":"^1.7.0-alpha.40875abc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.40875abc","@crave/farmblocks-text":"^2.1.0-alpha.40875abc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.40875abc","dist":{"shasum":"927cba7842efcd730cdf4d27a3502511eecf2219","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.40875abc.tgz","integrity":"sha512-lC46mHOcaAbGIf7/3dCis6cmfAQiEgYxM64C0kDscc4JzSCwWonkvE5+D1BWd9Xn24SxG5wF+07fJIrZ2p6fdA==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu4+XCRA9TVsSAnZWagAA9+AP/jZAdl/sY0HqAjCHIQCq\nXRKlaisSQMIlhv3DVI+nTGsd/XJ9vhovuDJP+rdVsndJM4Xjyab0XERH6WIX\nWztJxa2ii+Wiga6ogUkBAjM+Ll80DtzdBHQdkeaV3OlfSHVmGk1eZK977VUY\nnToMhJ81FJK5uzDsebcgExfa4Ms3vvfKH98ycCfwoiouXRzPI0reYZm4JBpu\nps/cDGjLkPdB40cSzuty7KaIDU8FswXYdYQ9Rl/7xxtb66y6uiLDLQUlScTr\nOvhjPXv1XdN6ENF4+RWGKY80OG3hVhD9foM0mHzViUhs5RuakuhnKgv6N8YB\nBEH9h6Smp84BL3PniXhxKrux49LS3mWZdFT7Qt40qHtq6uvcmOYnCAIhiEG+\nXwtnGxgvucLZnrGRUH7UBD5SpeApwZhqayQRdsQQGrxOBD+VXlNnXnXqsPFA\n/N2CJX6ap+/h4Tb2JHterMdJ2BjCnJ73AOqphgX6U7F/dzwkvVGavkHySlNO\nlOZtgzCrer336e+ud5fLhlV+sfNz6v/WbN9Qsy7e6hZnMijyJQqcCa43gTcG\nNo4CWGtA+Cl1oEqyH8V4WqaCSfEZhHOJzhkfdbxH3pDbakSOReM7BgjFSwXg\nPu3NfZWqKpMjf1MmgsEKnTjtnPRLHWuLBjKijwTUv9NsOYrfp1hysEzkD/o1\nCmzW\r\n=k33k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC4sa+tHs1U+rOemxM5n5Qha9EsePjpnx0/60gGAi09FAiEAtT6zcObGeM7YkliNxZ5Ys4LeBIIpghXMM2WM6DuOmG8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.40875abc_1539018646562_0.7597534237857455"},"_hasShrinkwrap":false},"1.2.0-alpha.1e981bb7":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.1e981bb7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.1e981bb7","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.1e981bb7","@crave/farmblocks-hoc-input":"^4.4.0-alpha.1e981bb7","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.1e981bb7","@crave/farmblocks-input-select":"^2.2.0-alpha.1e981bb7","@crave/farmblocks-input-text":"^3.3.0-alpha.1e981bb7","@crave/farmblocks-theme":"^1.7.0-alpha.1e981bb7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.1e981bb7","@crave/farmblocks-text":"^2.1.0-alpha.1e981bb7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.1e981bb7","dist":{"shasum":"6d2e9529e70ef184c00eb8cd0136eebcf59079f7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.1e981bb7.tgz","integrity":"sha512-zaiV+taDObviPuTsVCjre42YYhMJNOT04ximZFIp25JdZDXl6pYVFxn54OZcHk3B92WbyDQEQ4F2WE2W605ExQ==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu5E9CRA9TVsSAnZWagAAK/kP/iqgE6cWvBRkQGx2yn4o\ntAho4I6EbylIlaz9x/S92siA3qtbnnwBDunNsSEBH64rFPlUXbRj3WAHrjGj\nCxtvyl3mSn99hR8bFalpuFNHklJBC+DRcM/15eMIKGTuRuY22ECDMqs8C+EX\n2G6UdQqntW0niV5fB+8vwGkppmimc27SmRUoXZULJDCQV8EwwHAwWyU3oI6W\nh+yxP3tFK9+dRUA0ctwGTCUirXrM9n9NENFsGGQn3+AAfnmoH1k72/QtaY3R\nj17cb9lWkveGVk4+DtpqoJ5REu4ik+Bn7EeFiIOC9J6HP6/t+jzNBVFjHq5i\n0rAUhzpHBWkSBYAj4axnIiMldygP7V1lMuQEYpetEBGKZr1E8OAKNZyXg/kl\nZz24vyryA0CQo/xDzxnhO8s5jiYO7uF0Z/R0sx8tmFpjpKoHhn1Udq0RlQXy\n6qtoNyeRFLkluYoUnrb/ZekQyL6dk5uKud2ya7uYBT3i0TyI+VyJdACLCVrT\nCFGyhHv7OZKGxzs55oCKG3OwlOoTcO8PVHOpbfowQYjaW8GwWMp9xzeGHhej\nltmWwV0xewqqOV2wH9MsybzSXLJmkGE3cu5EqYYTGhXK9PZCmoI/k+ggRX5a\nwp9kzN1+4kCY5CXz31Kt+/r+IG90ho274Mx+Y9ntYENLzQMPQLB4ljQXeSjm\n8SQS\r\n=WofA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBFU50t5ER/pmXon47k+PhBHNk/qaRowoUQCssM6TSBsAiEA0gvyY48FWJ+zFZZVGpyTPzE0wyYu7foZR0u/S0PYG7Y="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.1e981bb7_1539019069099_0.8055980154892259"},"_hasShrinkwrap":false},"1.2.0-alpha.8cd345a2":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.8cd345a2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.8cd345a2","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8cd345a2","@crave/farmblocks-hoc-input":"^4.4.0-alpha.8cd345a2","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.8cd345a2","@crave/farmblocks-input-select":"^2.2.0-alpha.8cd345a2","@crave/farmblocks-input-text":"^3.3.0-alpha.8cd345a2","@crave/farmblocks-theme":"^1.7.0-alpha.8cd345a2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.8cd345a2","@crave/farmblocks-text":"^2.1.0-alpha.8cd345a2"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.8cd345a2","dist":{"shasum":"ff318c1c03943f489a851b1db5a93831a0fd2ecd","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.8cd345a2.tgz","integrity":"sha512-2K5YPcjFH6H8HR+YECddwmAecDqj+COvHF2oEL1O0aHNPD7uE4KiUdoLZ8U48Ep4+bZ6hiflUVeenQobidBI8Q==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu5W6CRA9TVsSAnZWagAAsxYP/0SUwuBtQK/7ZW7XJuQP\n0zzxkXo0ME5P9qg8tHxj0z1quz/NM0CsXv3YFtbWp5EdBN5FICSznpO5pp61\nSEGTFEPDiRwlVH2nAU9GtFZjtyP53Jqox9uHHXWdfzfHx3t+qKMNFAlrCsnQ\ngw9dAwbhkncXyOLWVyuWC8NX+15Q/sVmjFYdS0KhG9Omm/4e7N7SUX4eDyhx\nxBopdi6hQ+Iux0Nlv0s71PTDzmSCbmWaLMTMJTQ2FwskeGDpW5Erila+KKxk\nyOXfTqG3ESZzIGUGkws/YhIey76lTTuX4kVocHEaZLskOsuJy2DWLxDyoYOV\ncRhx8waaLsu7jo9Msa9eOKjWZRx3vCPvroyHoNTdgNUhGVMSHSfuc7bJk6T0\nwg53BMrWpSy0Pl+VMHhtVnF4VbmtjpW46XcdKfbx2FEhHSw61RuwpKJCfF9+\nznwql2TO+0RIxD610RYN50xwtgFNWFKev5eQtP+p/RD6cUdyoX6V+df5Ka8E\nzvg5+emmxY0A15JgaX1ggMwKbNnTu4ac4RmsM0RLI3EMSMTBq0+B0Ux/RsuZ\nGM1oKvd897HFehC5Ha6YiM163sCY/7WHUySxlriyIwMxCtQqoNvu7zRLGagB\nNABuZdgQ3U+9Lox3+5cozXu3StAZlp4eZPyRHnh1+Pi9cnFz69FWAfPngmdZ\nuHhK\r\n=U5wR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA0SocHZNzR8TdMQIskQ7E0UfscccNlRe65S/CFTB7sIAiEA85Ez6Be6I8Xn+lRzpM3GTpabp6Fn/kYww3Mh/4m1Hrs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.8cd345a2_1539020218129_0.22667919185572583"},"_hasShrinkwrap":false},"1.2.0-alpha.1142b206":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.1142b206","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.1142b206","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.1142b206","@crave/farmblocks-hoc-input":"^4.4.0-alpha.1142b206","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.1142b206","@crave/farmblocks-input-select":"^2.2.0-alpha.1142b206","@crave/farmblocks-input-text":"^3.3.0-alpha.1142b206","@crave/farmblocks-theme":"^1.7.0-alpha.1142b206","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.1142b206","@crave/farmblocks-text":"^2.1.0-alpha.1142b206"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.1142b206","dist":{"shasum":"d7d3d8904bb3a3aad44816c893326c3366ba2350","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.1142b206.tgz","integrity":"sha512-JIpg6He+dpNdXtVha/LcxlMtbPttXZ7UXfL4hTdblc5UgMC9dfyHi2srOxdl8OnM7xBrfEg8WyhGyahbtR4a3w==","fileCount":15,"unpackedSize":47646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu5aTCRA9TVsSAnZWagAABesP/3dyr8NRnSf7Sq5VeFTl\nN718LfjWmIC08gUIztTd4fEto3unu9nVTFwrneltUBKhK41au46JKXcA2B7h\n+bsBm3uwq42L+3QNL2tInjwIR4+B5prSY19PqM+TquZPlFX3635ayJBvayCp\nTJgJIak/xdqaRi3xjZTFLXZqW7nmmzXUFqic17Ucc/YhYQry2K9FIf0RYMTj\nZIjMX3ftpLyq8gURx7M4joeSKvUHRL6mhXfTBPvHyKV9qUJuogaa1SRIzDrN\noLFjQSlz2puXBBcJoWpBMXXQAPiOtcubYRx2wo8XEAxB3WiBy9qcrXO+my+f\nUl0VntLbzNDZxZhTRiDYfHDZBWrHGnfUdsl01zWyiQhf2wVBFIaGt2+pgwuB\nF8pahRQDbiUh44QmfHpDRMoDBEn8OcZbbrp3HZCiZe1GFqvB16+6YVyFYO7w\ntDIDP5DQx7EgqatCxj0HJvZ7qbbzkeie26cOsYGJkd+auLXrpvFKlQjwZ1gH\nbiOAJ8u5/VTP6l5DXJuDLbJgc90/5dkSJ4qZF0B8HScke/SslUBVpaCHHKTc\nmXXOgJZICSgUHdmzOA8Qwb90/mTPJZtfa983K0aoGRkeyAUg7EKu9PsP7ez9\nRNFcUojBZ2cQvc+SR3T0WZWgPt9n331jKJZp9JJrF2pE59+Ueg7STugMn+iR\n5MJI\r\n=iXNb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHbZYKP8DpDoqNZ3cEkV85KLrT5HzYk4INOAzlJbksX4AiEArrHBQZm2NusuK7bAaoYnvF+Qe/mx7k5Th3t0GMflLVA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.1142b206_1539020434990_0.3138235535856899"},"_hasShrinkwrap":false},"1.2.0-alpha.62697e02":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.62697e02","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.62697e02","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.62697e02","@crave/farmblocks-hoc-input":"^4.4.0-alpha.62697e02","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.62697e02","@crave/farmblocks-input-select":"^2.2.0-alpha.62697e02","@crave/farmblocks-input-text":"^3.3.0-alpha.62697e02","@crave/farmblocks-theme":"^1.7.0-alpha.62697e02","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.62697e02","@crave/farmblocks-text":"^2.1.0-alpha.62697e02"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.62697e02","dist":{"shasum":"93b16bd7bae42e47e10cad7ee432b43dddd24f70","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.62697e02.tgz","integrity":"sha512-KxCFQIVjUwpUmtzdFi8sMc8y5NdVCMPCpXdsaluR2VbVl0HwbO6rhbzKbUtRMdb86R+QmbSvPSjQEMMh+so7nA==","fileCount":15,"unpackedSize":47800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu5grCRA9TVsSAnZWagAAyxYP/2NDro3XcxtHKxMmqhzl\nofmR/AX//kG6P6c+DPquy+A+Vq1GivZ5Ej1ZhuDklXS5paS1tyGn4xLNfzhD\nTOyP224Rp0HtUyPnhpqnEllZC/WW2Cmkg5nwnmufSt1tUHgS0seuwOfnmk2d\nXrnJVQgIwbfFUzGVp2AEvBDnxy4iv4/fwxcgSvD9Ur4o0OeXRQWj97boiotF\nnexFzll6QsOAf5+7xAaiqaujgKm9T+NqMzxsCKND8xb+FOR0tGEsSSbUGWk6\n6G5ubOuox3FwChlaTTwbvPCG4BMfLp5CX6MP0IpjYBHS3gvK7kvKFhLgDg43\nI3eWC7h5Lhez32Pb++xGHML5JtLamLCWFoldWPasdgui3/aCFT3/BaniVCWs\nRvw+KclP/J5vk1nFhKCybNV3A02NFdvbl1YKRTrIattMm7BIXpNIgfXgkCHs\nhPGnQA4tkO57mhiyDYXptVnXgYp/qBUKIkaQgBz+gBaESvY8AGqkycs/E7bw\nwjWkBHGUTpgXdvlvxLL5Oz47QBE9WylH4Ad9VbZBXtlEAznCEsUT0KNTLBFs\nnpaKFM73iP+LAetD6kzkYtsANbKEA8alGZdm2xOC20/rWKmEm3BGYpSXUT7G\nScHjS4NXTIee0KVIj7NGmCynRZP2sHVImENEOdI4rwgvCPNg6ZtbA6cy2j/V\n5XS8\r\n=82TO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFU+bTL7dTB+b07NwGhqaD5xT+XpaPUD1Gwjqawnb9EgIhAPQoklA0zy+Jaux2mbaWzOUDTX0bB5a7ZnFQDrKyV9we"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.62697e02_1539020842890_0.2871073261793671"},"_hasShrinkwrap":false},"1.1.35":{"name":"@crave/farmblocks-search-field","version":"1.1.35","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.10","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.12","@crave/farmblocks-hoc-input":"^4.3.0","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.19","@crave/farmblocks-input-text":"^3.2.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.4","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.1.35","dist":{"shasum":"dba1f8350c43292ac9409ec18045cd12afd08bdf","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.1.35.tgz","integrity":"sha512-KeDUn/cU3c00Vmn2duTRkAVLw4FrJPy6bEc2APzg/H1XF1Z+PjPPgz77md+7Kj5vIsz0AmL2hqBL6oE6kxoIMQ==","fileCount":15,"unpackedSize":47613,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbu7GUCRA9TVsSAnZWagAAFkIQAKOJZm0OAabLPYnmgha1\nOzJfWNNUb27kuPoRutM+i4KXKey9G9tfvm6pnQJXcLiwMK47lnAnZgn1xq34\nQxopJCoHXAvTTxGVQSuWzCENQJ5Mc2cBY/8+pRyIcZvi34EDqEevW75gNh9y\nw/2X1kSlr+HTQuwPe9ryfJTUeQfM7moQVqaWq/y89Udn7wZTMKPgX6sIpEIM\nRLQg/hpD9QiHSumss1vnUuVrKR44DgE+ED8eBfHT9uqdahs5I+QNdqZ53jYK\nPZopU+0IC41PWCMn0J6XfyXZxnwKMF1FJoc8ncTUBZadj0AruK2bFNhFxWmA\nqEjPEHLoHqb4uDNs/FZNJs5iLSvPWEcoawv3VAZ+M6iERMLXOYehMwIsoM9V\n++oMP+FdWxXCftXvC9+tu1IQpzFIKz1fL9lhqy3tVrO+2g/+OdFx5vOR6+DO\nBztdfSdkQoq1g03qsQnlGUbwaNKUYl0a9aiq9zoHH4eFtMg8XxMGJXtQIVfU\nPDKBDxvC3SnvTnF60m555d4TVQ2mzC5IL4/E1JZ7mrLELQXHb1cp0Ilax73n\nACTyz5UlDKNWAtHfROsyUh7hB4+s2PSB+N5Vf9OTjZQvUpgp/N7pno8GXDft\nCe9nYkPbjFRf593gdURMDro0jDBFJXr1BioVR7iK0fcoQFPiGapt6FiZHbEa\nfYod\r\n=W6my\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXZf/6KzDtmF6IR2blhbb2pdIuckqAehIhNm9Wv6x8hgIhAMlkzngHu+5rcJZluC+DEdvU8FDy0dqM7fg/Lrxxe3/U"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.1.35_1539027347679_0.11625882602270377"},"_hasShrinkwrap":false},"1.2.0-alpha.a0d35708":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.a0d35708","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.a0d35708","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a0d35708","@crave/farmblocks-hoc-input":"^4.4.0-alpha.a0d35708","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.a0d35708","@crave/farmblocks-input-select":"^2.2.0-alpha.a0d35708","@crave/farmblocks-input-text":"^3.3.0-alpha.a0d35708","@crave/farmblocks-theme":"^1.7.0-alpha.a0d35708","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.a0d35708","@crave/farmblocks-text":"^2.1.0-alpha.a0d35708"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.a0d35708","dist":{"shasum":"9fbf5c1c10b6f8d3b5d41a07f23634da1e4fe44c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.a0d35708.tgz","integrity":"sha512-yZpNcRBppUz9sOPwa6AhVWqtI2+upSm0zB/wXAMTlw/pPGVdlwNru0dYmzd964kEuHWxHW1PH9/dTrbFqee1og==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvOvfCRA9TVsSAnZWagAALUIP/3vtufEBkhDhhuCv7t4S\nuUaEAHD9+xjaCdHb5W0pOPsyh5167w/wZXnRbEoGcZSEYvecrv/FEbrUpLCV\nsklkzak9CBCmr4sc5vn2A0dQ7rgxhdFgrXhDGX8T2WcgEvMVeo7rUscnZFCQ\n5gB8BDFEoglfV4D+mS0vgwa8QQfXgrw/JE5/itzVG4/A8AppRgeqJFL3ojlV\nzS7sqloRCsK6HfluWs1iPTw/Oh0rjp+bQbxLjO++nTNM+zGtjm+lAjWblJ1f\nfmj+xfsiCqoE+NhwRU1TgSYeEZfrELngJ7+7gvjD/KbXYXiyVtKBCOS8G8HX\nWAuAvS8+510KlrfwScXYY/oGn901yLw2lXSIe5dQ47vNzHKBZO7w1MVMpfle\nL1z7jPPvpSdg1xDy+yJ04nCZ1EvSMNNsTVHH5G8G1V6Il7fUWKRlCRtpU52+\nT+BqVtjnShle8dBUn8+stVz3RV+MMhxfRJMc+2racngFdX9JJ+iZ9cNpWY4r\nobaEwV8eaEc43eJpC65oVIrhebJCKSypywV8BGAzz/EjgYJ+3r65cAIBPzZ3\nTDo3Z/DOJ+/LpzS6UKawPoDhHV2Vu+yRGA/OsJ2ArHGG6d7pKzflleywIeQe\n95t/xhVlE/OR/ueGzmou0aCPtNtVcqAZaUGgB3SeCQzzVBL20+kb6VYJzpEF\nICKY\r\n=0c5f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCCrIHr50gY9Oq3B+2Swr+uztspKXnqPLaH6J3TNoeS9AIgVZaNDe7uKeV57f24aohDhiFt0hfl4Ci9ks+zbjp5XI8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.a0d35708_1539107807011_0.5617948391150374"},"_hasShrinkwrap":false},"1.2.0-alpha.76a2b9de":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.76a2b9de","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.76a2b9de","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.76a2b9de","@crave/farmblocks-hoc-input":"^4.4.0-alpha.76a2b9de","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.76a2b9de","@crave/farmblocks-input-select":"^2.2.0-alpha.76a2b9de","@crave/farmblocks-input-text":"^3.3.0-alpha.76a2b9de","@crave/farmblocks-theme":"^1.7.0-alpha.76a2b9de","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.76a2b9de","@crave/farmblocks-text":"^2.1.0-alpha.76a2b9de"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.76a2b9de","dist":{"shasum":"46176c52667786751b59f5909c753f5339a7ae2f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.76a2b9de.tgz","integrity":"sha512-VuZcjfX6dTS7aMdw1oeyHoRtkHh57y/VJGDQE9h7nFAYuI+WmonGY4w+9dQ7SMhrOgipZ1rPBQNgFCkMeh/iHw==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvRocCRA9TVsSAnZWagAAwCEQAJ5AIAdR1kVsYgXD2dhs\n3s0LWVhnbZeXkAuroga3uJQjXO4ln94I1unrvTiD0RmLVypuqyxpUVNuU4Zq\nl3IN/u3gqR8m6Pprx6MrIP0xgX8mphLJ7nRlO0A988dvfd0X7Jghei8f9CFE\n5MPaji6K4082OwhpKomWxDnM8GyTm9D7EHb5nPEmwPUhc8CfwuCdYkjtmXw1\nychXj2qOv7qu0nJ+tPWvFPbiQ5UHMU505x7WwxO6+Vb3mP6PeK8ovxmgRNRd\nUHrlKexi8xGdxhe/pBPzG+yCmjPUcLCNeSmf+gY8KzlFtUsu3WK4o260w3Yk\nszoRekAsmadK/1rwq8y3na9w8xuZY4FGbE04/lbM1V0A0R2gZJge/27ZdeD6\n09bLwUYkhsnqPfBUv8SNVwqO+AXPypvP+SuviBxzLAvXw9lddrYScteiSlFA\naloa4/0QLzbxczpUaYqKha5ZA4kslcDNwIh0Q8dS0V5nvcrxiKTH9Pn/VIYY\n0meJ+/mAAIPdZrZ6OVj5jPmIQdRPO/uqzxspQitsS++83ETqM7mZX5h0As70\njJq/JaNsFGQyG/eTt6wY/currVDZdnnh8RAvUhSSmwud4BraFO2VHdDnrGHI\n2qXhcZ7nosSQNJHWMCg3KvJXhm6Fef/1VKqwHpzQ9hQdQNo3sPKfuSOi5m6x\nlLw8\r\n=2dUa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGzdFXKjTm7ds1d9XywKKkRIYFLX24SEc5ZFtvatTwn3AiAm5kwin1j8/b3YAA2GJl32PxClzooThP3sKc9LlDqhOQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.76a2b9de_1539119644123_0.9181613978549781"},"_hasShrinkwrap":false},"1.2.0-alpha.d54af94d":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.d54af94d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.d54af94d","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.d54af94d","@crave/farmblocks-hoc-input":"^4.4.0-alpha.d54af94d","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.d54af94d","@crave/farmblocks-input-select":"^2.2.0-alpha.d54af94d","@crave/farmblocks-input-text":"^3.3.0-alpha.d54af94d","@crave/farmblocks-theme":"^1.7.0-alpha.d54af94d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.d54af94d","@crave/farmblocks-text":"^2.1.0-alpha.d54af94d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.d54af94d","dist":{"shasum":"91ae13685ab557063aab0988fa80a5184cb7811a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.d54af94d.tgz","integrity":"sha512-FwY9tDQTgPcuky6psgdYyGxIl1JzCGXxg7/HZndCBvc6aJSjOk8o6yMbfS2z/NReBFlNuuWjB8QEIidtp8RMDA==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvk7ICRA9TVsSAnZWagAA44gQAJ/6Hev04Q2zv2AYMYMu\nhzksfbyW0iKecN8ZJXem0Oybz84pj1dPgv4UaOEdjEP6lhcp3MQ6w22slwE0\n0QH215qzdVPJA7j+AE18+mARfWCSelseDiwlOFb9yEuKtNrFr7yQgN0Nu7kf\nP1SFQ1LASjNcZ6LPWvR6cuH8mWShZXqBKHh9g9UgZGF8hLpsj8VHajTk9iPx\nMwwzNNEJuJUJw+54UbGDZfTATCNZDL9Ub6gFY82NMNLow6j8Y7ipDiC/wf7m\nFZjESa4syU0qOZBZ4CRFlWS3G4EpoetuKyxyDgWKBlWVPqvRBudCFO1FFbjk\nzIi/vDqWktQKfy9GBqZFBsaHntdUUHYZ2YEf1YucVnpSppy7+4z6q0gYKWPY\nSY/iaKllpwcPhV/vi+lXOqQk2vIrA7lL/BK5TfEEZL0oWft1hv8wGMFjmUMh\nbiODFMMtUnx0qiunh+xZIiLW8LWBPL5E/kuX6ycsJ192uotKT6YIfSNEmdln\n6nyWLLjIp6/GX9egD4Zaz1+jS09iCF+UvnA72zJYre1fleiEHfsWRpIyxnjC\n4JdaPQhN+51weOWLwoSr2/KKT/uLBRU4oLwZynjhO0Obw+hkuSpbV/cZ3Eta\nZB6P6/JKdy1pewfIDyfN4v0Ou/8O2TxT3JuJQck4+Lvkv85aaRTpwYDtn81e\nU3PD\r\n=ETJP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGKcnRTpP2aYFYC+cXrC1s9RGNZmBGtZdVbMp2YYv7DhAiEAnM2frJTaptNyBdo8jheLRxFV6N3IgRZib02msbu/Pvs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.d54af94d_1539198664358_0.17095344761242037"},"_hasShrinkwrap":false},"1.2.0-alpha.4d72ad40":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.4d72ad40","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.4d72ad40","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.4d72ad40","@crave/farmblocks-hoc-input":"^4.4.0-alpha.4d72ad40","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.4d72ad40","@crave/farmblocks-input-select":"^2.2.0-alpha.4d72ad40","@crave/farmblocks-input-text":"^3.3.0-alpha.4d72ad40","@crave/farmblocks-theme":"^1.7.0-alpha.4d72ad40","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.4d72ad40","@crave/farmblocks-text":"^2.1.0-alpha.4d72ad40"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.4d72ad40","dist":{"shasum":"3fa731ab664eae2e1c282947fb7149917bff90a7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.4d72ad40.tgz","integrity":"sha512-2KWFASqxeNnJLHw4Z6jpXtWa1z6EhVcFxftNqG0r8GfLPog1NsTQx2YIi/tOFxZsWnMc8N6S+YO8OkTj2Y9skA==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbvyGUCRA9TVsSAnZWagAAYPkP/0ocIonLKryDbFLVFklt\nIeQgxHem4/74TjdZVD+QUNc9DuikuVgsW0GZaTJxMqFJ4yeyOfXysZzMAQIB\nlnU30srKVK02NBFMQGJ3ng+1y/MOrjC7waHd0Ldlx0M41mnCZisQ3ea65VPs\neSJLLn8s2SWfczrUBTGjR8PiuwPQGoBHc7PPJIrsstD+0n+Xyp6Nfx9TMJBc\njZGz2iWiflcKtX/f74yZg3u1a+sk9dl2FZQjfwMIQhdubpPnPJuWek9HWb9D\n4+qmZKSu5tAaiQhapNGjh2HFKj2vKAxsWzt8iEkpOCVcxnZINoCHhX/qcnj1\ndXEVs7l0EiNeOIoAGavmrAff7wgKRhd25OLzf9lfcrBf+UF6wK9/+hXSboGt\nsUBTPKJDaB9+YaKjOS9p1Y3ZTirrNSNlwXTpCLDrLsWoCyFY00FJfSrhUstC\nJDOxXoqHL5SWjIfw/a07hJmTfVua56LNhcoYTfSBVR1PH99Gs01odMt3PKEd\nLighTTswgWyo9sACIzBebNcJAzcpDhUvmDarTb9mTinzsTECa7tLqU35xxsz\nf7vkfZaLsmUpALdaNe+hP4lrhxgIi3UT9+PlEtn/t1697rRyiuaBr6xfYAf+\nf76sScRbHL8dy4vYwd6PpQgMLmce7DWrXuvSFPEO7o4dOFfuiUgLaXgsUNjg\ns6x7\r\n=Fk+r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDurLMacVrf8LCe1TlwsLr7Ue5GN6+BoCvU6lP7pDQo1AIhAIlTry7OOST2O0Wra2qACk6QmCZkyiGD/pmwfh29Yx3E"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.4d72ad40_1539252627929_0.38897315807874233"},"_hasShrinkwrap":false},"1.2.0-alpha.701dce11":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.701dce11","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.701dce11","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.701dce11","@crave/farmblocks-hoc-input":"^4.4.0-alpha.701dce11","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.701dce11","@crave/farmblocks-input-select":"^2.2.0-alpha.701dce11","@crave/farmblocks-input-text":"^3.3.0-alpha.701dce11","@crave/farmblocks-theme":"^1.7.0-alpha.701dce11","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.701dce11","@crave/farmblocks-text":"^2.1.0-alpha.701dce11"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.701dce11","dist":{"shasum":"f41491aae2a3a52fa409c828535b937609e9e48a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.701dce11.tgz","integrity":"sha512-DbI3O+wWdh0p7VWssUXSU1q6HECkbh5EY/U5wB4apzVdx7za+qK63yvZLSS5wpUr1d11EluD+dfLQsC2Gq8XHw==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv2UsCRA9TVsSAnZWagAAIwUQAIrmJNnDCNS9+kYpWgpK\nzZgVw06QtTINL2O4p8+GvoSc9tBMA4smudAOJX78936y/KMPRO68wDWY/ghW\nZpg6Ql2W9UW0yX/yl7jre+BdvXga3UaNb8lFhZsFrVtuTacqJfG8pwTz6ldC\njR4wpG0eO9jQMY4Ps7byplO3fG8hptAj/e8JO8SAYPNQzLdaB0UD2Br1j3bs\nGcLAd4MrYavhAPg0RAOK0ciBLng4hrEPiaoAj0MzHyLvz3CtoqLrGGIOfUJb\n+khdjC+ojUQz/DWnMwXckkqhbIRTICSNr/cIDMOHAheTSqqQRqdv/k7evMmv\nWQU+dD2Oys1VuP+JwycFhgQVN2QNA2ioZ2aanGsrUSuHro16GfApLJFH6tZ8\nmLapeKlGNQsc0VNzmuMq54ST0bQMYYXDWvevxZXb4OEtFFAuEbOB6t0gnE/v\nNKrb9/Nlu0VFtOagex3qKSkM0ANtluk3feEZeSDD2LEM/rohs1XBQwqvEgTf\n2Ej4wixDK1QqFPFZOfMkxEFpQg6APstdlEBqMlc4ggkF8BNIfUBy1gvZbB63\nL3q/369ZgM/pcR0wsd0yyrQGkNYaHBmx68ON4lw2ZSSIf7MFdpSp9XVKT6Wv\nWPxAQHyVJ2nm9V2OyHu0pUCyR6EdT9M8ViV1kRjMvRI26K22YWqCrPlWefo2\no69W\r\n=tYJU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCXhCofm8YvnFnzack/bX1+3ETCy11Q2wRm93B9S3FGAgIge6HCe937CaGzgjz+g1tsMxZoJDg+Z5p4CV6weQ/BUgw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.701dce11_1539269931919_0.48683304700263563"},"_hasShrinkwrap":false},"1.2.0-alpha.cc2cda3f":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.cc2cda3f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.cc2cda3f","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.cc2cda3f","@crave/farmblocks-hoc-input":"^4.4.0-alpha.cc2cda3f","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.cc2cda3f","@crave/farmblocks-input-select":"^2.2.0-alpha.cc2cda3f","@crave/farmblocks-input-text":"^3.3.0-alpha.cc2cda3f","@crave/farmblocks-theme":"^1.7.0-alpha.cc2cda3f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.cc2cda3f","@crave/farmblocks-text":"^2.1.0-alpha.cc2cda3f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.cc2cda3f","dist":{"shasum":"2d4ae1dcd5fedea67946fb2413abec6e085e2600","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.cc2cda3f.tgz","integrity":"sha512-sVlwbiUmwqoPa0qu+hyqXUBIAXTzkBLSHiaxj7rZlGQl40uhvpj52XxuUjF7ugHkoSrXEjPwCskrtRWjHR8z6A==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv3HoCRA9TVsSAnZWagAAm7EP/iL9+7wdrO6A50pADG1d\nQDibLoPnK7A7H53lDkHV/9YTHldGXkORcPF5mtqjteQyorY9h2rHabEtDsbY\nynGnNAMVp9EBUAlxbopT4uWFxoy6m+TbshlHUEDmKIeng9hPe0YG/Wd5+HFl\na6j7R+gyfrQhuDBomI79IFI/L2uRenSx8K4Vz+V7ahCvG838tVLbIOS3/fCd\nVAB4OGI+iwAvEEY40GKCOGiFjBSgleiZuPzg06cwbfK38YG4NHi0lwPuO+NY\nvxyF7wyEdOHXkcgRXxKRWSY5QUBdn8BAkC5cu6YKQE3zlV8CO3JCmAF43Nxl\nq039VU0eJSBWyGpGyjQCdFJhf/SQhI6gjS59+rGayr4N6RRtALe8mL5IN5/S\nN70LZi5uwBYRjcIyIkbZLJiXYAnum+zRXfclZp8luoS/XA/+1CgC9NQZuLQ1\nOdCokTiDA7iBeEo3l60qtPw6ORjVafcKrhAxwcZqVjTjPM8mvHT9aTdiWKga\nCtlf7jzBSC7Z4qZqU879un5pzxts2IWGMvIMtjgTFm82UYhaHDV1OijSSnKF\nGqmquGTP3hD9vqxq8Voxz4hc0B0buLIEVV9rKXbMDpotwkAGhu7xIAI+b8Qg\nuuke33BFo96oKtoi9g08sHbwaPFKXeBw000jk7SOboSt+Ph9bs9kwgxI1oQF\nK+rx\r\n=8UJZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCph/x7b7PzULJDO9grlIJ7/1CpBLHr0jajdRIaOkFzGwIhAOQ/ohj/Or+Bs2OpyAvzqbSMUJ1J+iGzzLXBrmhHL+vs"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.cc2cda3f_1539273192160_0.12491216456107601"},"_hasShrinkwrap":false},"1.2.0-alpha.2049ff74":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2049ff74","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2049ff74","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2049ff74","@crave/farmblocks-hoc-input":"^4.4.0-alpha.2049ff74","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.2049ff74","@crave/farmblocks-input-select":"^2.2.0-alpha.2049ff74","@crave/farmblocks-input-text":"^3.3.0-alpha.2049ff74","@crave/farmblocks-theme":"^1.7.0-alpha.2049ff74","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.2049ff74","@crave/farmblocks-text":"^2.1.0-alpha.2049ff74"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2049ff74","dist":{"shasum":"6970df9b6875e3cb4b59f7aba08c44697a5f8577","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2049ff74.tgz","integrity":"sha512-jn3/uHI8Qr6mkHkX7bTn01laO6UJkpfBCqHnlMbL5Q/twvIL0rlTiEmxHLQlHsKcvBdvLTG02hSjg4pURj4N/A==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv3kkCRA9TVsSAnZWagAAzywP/jdQtIB5tdPZSpa0gkBH\nk8WOLI+J4olazB5xCwtMupOmXoY3owN1XvD33r1FAzQDt0Q3eoBEpxqHq66S\n59evPG82OWSnOY1HNprruZ5CJ7+ZMbxTfaPVrvAa9Off4r30oa4GhhVgRH+r\nXpsTHiIdOBNnDwPBKQyvgEGIWOj6MtVpjHBBlbvHPf2So+w/+SoAeWsGW+q2\nqy11m2GSEl/COzgn2wrLZfK+Q8NBHYDfyX9EKA15Ysjf5la4izbJZVc6b6D2\nez5GkWt+i5V94IYS0XeGLiphKQl7zZ11/wY+MlUN4TMgs3iFomuuritgAMz5\nYzjwW0rVCsOxQF0pIrszxE2cBBqF6jp9uJoLdTLGLBAUwDIyW7rLTYiUmPIA\nkMlm8jT2XWG16EropAigZQKf4mZRehe2q9LdBCZyz7/beOPrcmJLYcKl4dza\noZU/8DpIwir02UGhIRaa9mtImCQwmGZuKa1B0y79rZ9REDXIvf/zfLMWKsyL\n1R16tvIcYpPB8N7wZmr/XAd9bIinmL5kKn5tcobaqVVW4ljBh5+p88YNDsVb\nvDm4ir2mCZMI+wpX7fn5iD8Ebf+Z/ptTyNgY7H3lNU50wmxc32zNZ0mB3u+4\n12Nht8PtNXy7ZFX5OhYoQ42V3Lp/nqNBupXL2G4gdON2kR2J1rr5YIqYBuGC\n/klB\r\n=YMKp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyrNatThob7JscJ8dDukOV9gr7RQxoHme+kr0G5TH5tgIhAPPo+DRAtV5oF4OCt4RN/D37sxNMynn4EE5GtNmjBN1R"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2049ff74_1539275043900_0.8679941113466356"},"_hasShrinkwrap":false},"1.2.0-alpha.b7ce398a":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.b7ce398a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.b7ce398a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b7ce398a","@crave/farmblocks-hoc-input":"^4.4.0-alpha.b7ce398a","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.b7ce398a","@crave/farmblocks-input-select":"^2.2.0-alpha.b7ce398a","@crave/farmblocks-input-text":"^3.3.0-alpha.b7ce398a","@crave/farmblocks-theme":"^1.7.0-alpha.b7ce398a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.b7ce398a","@crave/farmblocks-text":"^2.1.0-alpha.b7ce398a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.b7ce398a","dist":{"shasum":"470331aec166d1182bf8451aeb378040fb3018cc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.b7ce398a.tgz","integrity":"sha512-/WIZS4yjjA9SLfTaixfJXzPsj73SGjjCMI9CukTdG66wgBjRANnES+HHfgXomZou/H0WNHDrjWvZVJSE+e4aXA==","fileCount":15,"unpackedSize":48266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv5K2CRA9TVsSAnZWagAAkesP+wWX+31FsNfalsSbKQFp\nTbzx+1mmb21IG8+IrZzVC0hqkNaI0HQSSg74pBxxMm8h31ipoNtWiU4vI+Gz\nT0Hze3+jTFrWqsaCVAKvtYh9bW2C11EH8hzDUl1od389Q6nazmV4MMhDbJ83\nlKkytusG9Wc04rEUdblGKh7qkf531+5Blk8fJQht9Jot9kaP1cACvj7UOHQg\nGe92ohnsQkhAMX2a7Cdzp4LEUABjBAi1+0tsOtiuZrenMmczbnL67WapYZy7\n2gztxTP4G9o3YvjuEc5zcu2nu8txEoATDqehPNijPyQSDhg8KHeNWgZ5xHsW\nltUVkcjkKOyhH7XPyHT8EsL8L3QMtdloFq4lHyE6yRyxc8n2GSGLAovNtCth\nM5xxDDk/XwW52GbLMn3aht0ry+87WVIgx02c0W0FrZI6XVe5PYIVCkEnoI9e\nCgd0q6qAij+pv1GXl/Ca+nEqAxOsqj2yYQIY/c8YqB26vNmj1qYesIkRVqv1\nOpA+0E3uzfJtItZgn7cLJDKaAJIvIMOBAcLG8jMnWdAhzFwMHm40XiglBaLO\nOqppENWutJ8EdIUIXZHcbPJX4xISLPWIO/MV2+V/+o3SzJzj629fBefTkCB5\nTx6N8czvL9e20RzbAnCAwXRa2Q8juvUdr072Bz70IaezV+ISbs8RAOVmEGke\nJbhY\r\n=lZgI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUL0UIgwKD4cOWeU+dosDUOQIiKUuxvtYj8R9hetjhOgIgNVvCuMi3IJUT7Hh3sDzVIVjEZVqmB12r8oBvP3sS/5s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.b7ce398a_1539281589405_0.5606356085987267"},"_hasShrinkwrap":false},"1.2.0-alpha.2c14db15":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.2c14db15","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.2c14db15","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.2c14db15","@crave/farmblocks-hoc-input":"^4.4.0-alpha.2c14db15","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.2c14db15","@crave/farmblocks-input-select":"^2.2.0-alpha.2c14db15","@crave/farmblocks-input-text":"^3.3.0-alpha.2c14db15","@crave/farmblocks-theme":"^1.7.0-alpha.2c14db15","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.2c14db15","@crave/farmblocks-text":"^2.1.0-alpha.2c14db15"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.2c14db15","dist":{"shasum":"1e1b481e2b14f0c4cb8468dc14495bba6fedeb71","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.2c14db15.tgz","integrity":"sha512-Xet2adQxaTDiRKETlFsHdvJUrREjWPlfGp6YFC4gc3rbgpnkYbX3jm6O/ftPM20HSMk3245jhqx5S0znsdq8vA==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbv5W+CRA9TVsSAnZWagAABiwQAIhssfVuFztigEvD7N0C\nbXRdAfg6eC61kdVgsabtTa4EgCN11htpGCblfUxNRljqrfd0mrdcceWf4qk1\nHhZ7091KV/2kJ2B3DOhC0gFg/+HaaClUW7RH3psTeMVbu24byYDfUroKzlZk\nBdz4CHUY2DIQpqAV7ZuDjKLcjAe054+h//UbarQC85Wk/1FKDeEXSSr7UZLF\nkbbyEm/OqgoQ40KXarnHbG55vrc2SmPJlNNx3oEn/UUWfa66gZ9eXpvUw300\nHDxVPia2uj+h7WJiio2n2Yi66xxny5xdhIdVq/12oGEx4Ts/AJmJnqH0dGjN\nhuqbS8fOWSaowkF1ePJjoTxwe5ClkkfQ9wKT74AHGtYOHsx8RG8VtAy70XY3\nxpWgqiEt+MBaV9xRU4J+lznwdyn5gFQL8hUGCTLCUVu92wCZtofnnPU9gyBB\n72LzywsG1Ue6IY1/EM4ZUJmcszknrN1wu8sZntaUoIxjSmK6bkIuMv/JUNix\nqaveh0/8K8q/pXVw954L6DYM2oJR2fbod2DiT6PcYRaGOCUu0oxvtraWKexL\nIreoy3ahZsnQxLoE89uBGdkbIt/JRiARlbLrXcUFZ2cB//peY9/4AZmmgtNe\nU+55g7736riJgjteIDvzG0Lo2AEnuoQjrg4Z/6bi1fmhBOyJRPQoxJLc6WWb\nZ3oj\r\n=Mk7n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG35ZXWSZK6OJosaX1oETN8HVMfZMy7+F/S6W7os8VnJAiBEU0voLzAiV0v1J8AViBmvzfsluuleTI93LfVJcK84IA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.2c14db15_1539282366258_0.19977888756136952"},"_hasShrinkwrap":false},"1.2.0-alpha.a7fe141c":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.a7fe141c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.a7fe141c","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.a7fe141c","@crave/farmblocks-hoc-input":"^4.4.0-alpha.a7fe141c","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.a7fe141c","@crave/farmblocks-input-select":"^2.2.0-alpha.a7fe141c","@crave/farmblocks-input-text":"^3.3.0-alpha.a7fe141c","@crave/farmblocks-theme":"^1.7.0-alpha.a7fe141c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.a7fe141c","@crave/farmblocks-text":"^2.1.0-alpha.a7fe141c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.a7fe141c","dist":{"shasum":"2a084ec10d90186e39d43a275c4278d37c5af07f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.a7fe141c.tgz","integrity":"sha512-+tPovl6uC1PxUVQgYMXyvgzcQ1H9OrH37sx+6utpbYMGHcWgMmx3jzObIPGkm3Xj6xEYS5tnUg0Z+l0D5u8eGw==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwDdrCRA9TVsSAnZWagAA+OcP/RJWPF7GZ9AkRY6ZXkZo\n3C6ykBmrN4sQ08DmyMABacjNSXYiFMi3pX//ZT/7ul7clKTtZFKwAYj3qho6\n36UaBAbtudTm19nkxXwHtudNFjIq32tePKgH9kaciTHTxr9mhhFqilnaYRVP\nRDM4fCimqxOBaIYBoJCxekDwKDR0PiEvk4S0XdkBqu2xBR2g78AtZOwctRLr\nu/CkoAR2P+r6jJDXalzsPIpKfQPX3dlkO305oVOXtqeYM5y3Uvas2Ia6Hevy\nJVo7kYf3WB06DqAcx0R9JKsYZnNfnsPTK+Jgxc1qk2pGvXHo/Mdss1oRBsLY\nd4nGnsCHHSx0kQQeCMCy3JD4mndcuXoctt5Oa8YJJC90jMtzQ0LwRoHItRPY\n/gV6TfpZLuNnaxIR8piu4TL/WoVEv+HIAS29rK3KYeCCJD9sIxizC6B18PiA\nH/DiUFq7OrR3XoZKiL9k/9zVO7MhcT5jVePVuDXLdZeKQEK3TbJIUEnM03L0\nWRWKI3dCrEtdlpunUoR/tMVE8JpVdi+2NQShGxbjwuBje1XWJgL0gK9CUIpO\n5ez92+NsFF61TLgw74AkgOavpCckCxHRoVV0LlD+OoY6ezj3/lvGixjHpJJt\nJKPmR9Vk1uMZM3R90MIUWNUyZrb7hJwDwkVW7/kUIB1pmRhdFueT8oSArnZ3\n449w\r\n=zL7f\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDszGZjV9/PZHBt096grzv0bp7LW9Djs6mDWS019td0PAiAkO1bH++s0ugD2/8BqzF9+VUEsLqdIHi9GJ8I0Cv/b9w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.a7fe141c_1539323754893_0.37789624471131233"},"_hasShrinkwrap":false},"1.2.0-alpha.0a17622b":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.0a17622b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.0a17622b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0a17622b","@crave/farmblocks-hoc-input":"^4.4.0-alpha.0a17622b","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.0a17622b","@crave/farmblocks-input-select":"^2.2.0-alpha.0a17622b","@crave/farmblocks-input-text":"^3.3.0-alpha.0a17622b","@crave/farmblocks-theme":"^1.7.0-alpha.0a17622b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.0a17622b","@crave/farmblocks-text":"^2.1.0-alpha.0a17622b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.0a17622b","dist":{"shasum":"ce94dc138b1e05a2f2f1624fc44de15949b8a995","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.0a17622b.tgz","integrity":"sha512-mtYITYmHxJHBSUgdNKiMbm40HaRpSmbGQ+e2T87r6kH5IeHDVtCbDXgFnkUX6tl1j8EX5sg4PMqJ2cND7Uu0Yg==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwyNqCRA9TVsSAnZWagAA3D4P/jFXzpbpV/pzsnDd4Hjj\nmFWhI8GUfLR9JTryXRfGwgz44D6DvtyzctKTHRPybdwOLffJO1tB6toHs4T0\n1zuc8r9h4mvSYOQn9JRPiNLPOwPUfrCNqVX4HOyucUUd2eN5SdQEhb6YPApT\nK2Ph9P2hN9yEehBc1GTUc/dISLlaWK8DIm5C8KF1y+EtYHAMq1noEDy0wNnx\n6LFUIbYaNa/MEccEZrVNXWDP2RtCZQhh9LW2pQT4DE+kM+/9qBnBPwfvXQuI\nim6eAqdtuh3L9OIsG/fZZeMN5n/CSapzb8+Ji+oKMJJgyp76YFLVnvZ6HB+3\nLaChYamXwd5AlYAU5chPptkHgotMBSDQRW6ZWlBQznJDCxyrroT67OS50Zk4\nJjnT0ou5cVRLLpueeAptXQ1FWuuuj+tDoXq2SAlUhlghuXhw6YYnOalOeVMt\nTtHnOkHi7SEHKnp6cEhKB86G7SkjaHfyBCEUGPklBJYkQYn+DkM8v19SadO9\n5ifySjUuhcd3HhE2iYYgBxYD0HxeMooYBk//n6FNKhctZ+tflsDWPHRyiFMR\nOSqbJNXm3Pxd3NPHvlN254QU8ipOlkziSgZaHQgQHNi3OJ1HmGJ4kojnsgCT\nsxjJ1+IRIvn5BU25JB2Fx2jeweav1H3UWxrsigEMB2m98ujE1NsrWhRGswGj\nW9F4\r\n=Zvuf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxmzgI5FU6DcH0Cqtj4juXzuCa38FbD7skZdRaqSybqQIhAPRyDw1zpYagCTNq4899AuzITG/WGejQE93cUf/W9U1Y"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.0a17622b_1539515241409_0.7103988744753131"},"_hasShrinkwrap":false},"1.2.0-alpha.3637f56f":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.3637f56f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.3637f56f","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3637f56f","@crave/farmblocks-hoc-input":"^4.4.0-alpha.3637f56f","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.3637f56f","@crave/farmblocks-input-select":"^2.2.0-alpha.3637f56f","@crave/farmblocks-input-text":"^3.3.0-alpha.3637f56f","@crave/farmblocks-theme":"^1.7.0-alpha.3637f56f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.3637f56f","@crave/farmblocks-text":"^2.1.0-alpha.3637f56f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.3637f56f","dist":{"shasum":"d58bd9cbfadd7d6dab7088eef9c8bb6d50f5fbed","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.3637f56f.tgz","integrity":"sha512-gXTphtNv6oS3V8dqHjTnqaT1bIoCtwrA0qObTZmSxnCiCeN/c+OFDd49cyRiPwZ+KDtTh5FCzuzFy/3vBE9AVA==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbw4jxCRA9TVsSAnZWagAA02EP+QBOVvcz+SVQwR2pPM4F\nmpNjJC7K1OO1G2kdUOgsmoCfgiaz1dcmeC9FMTn8fVTVhmIRW03TVfWG6tSJ\nFMB3h8H4RwHO28CV9LoC8zBCm6oneo8avT3Bcfe3AeAoDpOPobKFXA1Y762/\nJfyTFGyAT0AyRRNzS1yRYPWoqdWd5qkVRfK1n8tQpaAvgOsL462TMDKeVcRO\nTzMf28E9W0W66JrqpkuKEJqow7GoaKUZlvymEI1cYcZcHrw3TRAH+OCsLmCI\nwPJoMCulRkUOcKVV4FpfMcnL4HqAIhi1lVOFq4hCkJOKxRCA2nKRu+Wxnfpl\nGsvVtWgIuwcs5uC1hGyEfbqN1C463d+tPF/aFPpt0H+QLfx1nEU8UU4sgH+u\nYw5Ui9EC3GfUG1OKHyCYdPujqKPeRduAEqv049o706exQaP174y9czhI/NpT\ns/Gf57D22QEBRWJM06bNowldQsfVGqRSSbz+ajTJNzromUXs3GduRRrYlACp\n4qL/461+jR+M5YA2q3kIK3TPEutcnm61n5WSnCQblhEIMJM8YrLGVdpE4JRi\n08vtLg2iIoX3FCxskVq7IFrnHrYgQ14yx6fn570JB+KRHks3mRz7NA6L6DPQ\nMAZ5R6YwB4qe8UFIFX1toMusuhY4hHj5UIR95lCVyIz8TlXwLn8W80wCih6x\n4Ld1\r\n=zdXc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTu8BzgbCXUGGZvEo/A6QyPh1CRZpT39Cc91PI6muprAIhALUiwzDoYSIWRN3QdiwYbpcGRFHz8SBBM0JzFaTb4ocZ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.3637f56f_1539541232732_0.17405171625300242"},"_hasShrinkwrap":false},"1.2.0-alpha.4f6e5666":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.4f6e5666","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.4f6e5666","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.4f6e5666","@crave/farmblocks-hoc-input":"^4.4.0-alpha.4f6e5666","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.4f6e5666","@crave/farmblocks-input-select":"^2.2.0-alpha.4f6e5666","@crave/farmblocks-input-text":"^3.3.0-alpha.4f6e5666","@crave/farmblocks-theme":"^1.7.0-alpha.4f6e5666","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.4f6e5666","@crave/farmblocks-text":"^2.1.0-alpha.4f6e5666"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.4f6e5666","dist":{"shasum":"88605a277afe6e37aa85f111a8b8b97ed9b75b46","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.4f6e5666.tgz","integrity":"sha512-WVnBTGZOns5+KhjxTdsCSnBuUCmje8kLRawfJdG0x2d8LeZJh2nbF384JITIGCrEXow/v60BFeeuWWkm4yZp4A==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxJLfCRA9TVsSAnZWagAAJ48P/jLqnQeKb6kqzHx7M3BE\neH7M2Jq24pHNVcsAUuiSeSvQGe5wemGP28W/x52TKyj6AeNXL5gwfO1YCJeL\nqLOkvyj3OmjcWFC22WvN1K/ZLbw1L1PiQAP72W1XoGFW7Bu/63Y3DTsk59sC\nJ6pDCZ+5GHW5fwXBV8FAEt/C2Zchq8f0Ln6KVCVrIhGwr5JXLy7qXqe0ViCr\ntjf7uM04mn02N+gjRMHLtXgj8m0nbpOwnDDMdJ6gKOnX+61SUxb/t0SS5Ri4\nTg7YS8Yay1dhoCgMGN4ZjL9hC+Arnp2GpLIeqVbK7sUQb8aXTTDAMAuDotvH\n26bkn+RkkMIR09wju8jLCX7ETh1osXd8VabchORdOKwdWsu5DFj9w6zWWhXP\nC/AGCdsNVmva84rnDvsedoSqaHPTYh5j9ZpdlZbwbHn5bMwe/NxarzgQk2wZ\nw4PCpd+++R9w5OY/vgnXoTfSjm8sapqkr9+Eh6AQ32mVcfVKHgHEbB/4myKC\nOUeLRSaoCB6KXb0nfGWMq/5vAwNPjcm6X3AzJ2VZBHzuxYC2TYDCdgxPujec\nAX/vmB0wfhClP4KFxpjVI+SV1aQ+QW+KHLTzES6WR0vnsHTUg+rLLS3nXypR\ncul5tNEeJOLG0qCEQ5f6on9NTPOOGeL0I+0h0sxSztzlqg1u9bs7SrIb+pua\nrR8x\r\n=q8BK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD3/iGOxk1oJEhytUnwCveq5q/oTtJXyCAcvfCauifsiQIhANeKVOiKwpLpS5R3l1Cxl8rrTFocICkqWwe1pWvOpjRM"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.4f6e5666_1539609310000_0.6038284020682694"},"_hasShrinkwrap":false},"2.0.0":{"name":"@crave/farmblocks-search-field","version":"2.0.0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.10","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.12","@crave/farmblocks-hoc-input":"^4.3.0","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.19","@crave/farmblocks-input-text":"^3.2.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.4","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.0.0","dist":{"shasum":"f2e24e0ab7c8a212984350b09f952a4a2dde4ee8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.0.0.tgz","integrity":"sha512-I5fJB5J5cRrKcoOJGlUvqe0YNyOlzdvgpRQ1zVvy1auG9xr7VVYP3iYnXIBv0jldBq0HOg2q+1KwSdfZku/uvg==","fileCount":15,"unpackedSize":48074,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxJdPCRA9TVsSAnZWagAApLgP/2rXtFZp+kuQQ/Q04hrB\n5Eq9I8Gl4MoRaC8R0uMlOkxVHwDMGUWRpkkS9ARUU9Qgx+aO5hEfCZ1HYHrJ\nOtBxlQHvhosrec3mNG/BcQQ1+UvxEWFq8cXm0zkVLvRrNSL8jgQ3YZxj9nwo\ncYSc6+HeY5eMlDgkPWL4RyHJXR5ce+SiHC4newvUEsNogxlaZLthI66N8JK3\nX7A2B9ZsG/ZS5mHElYd3innO/55jF9tBzygFAaoS82RTxbXozmhc02R62ks0\ncFKWCb3JteaSgHsM1FQzNUGaAPU+garHjqY0i3jdJy6ylDMAgOggZgAPgVWl\niZkHxUM77oqDBW47gmFbAWUS6Wh64gGBUJpHsDNYQ4zk5BG+NWgINV4qx8Pv\nxQf1Ug3gBLde8f3jY0kzH3EZWf10TY+yMJgmMBibcvns75j/aRHeCCW5rAox\nojWbvYSOg35K1MHRL94PI3MiwNVtQMJQKiZAnOqMVOHOQqFB6RpzbGryznkU\nwLCHgPLm5IJoWFgEU3M2XUvGk0QjMA0y/MfnQVBdyfU6xiSBrIdruYjiqY6m\nSc6S3dx3fl+HFsVYMLfmTHYJ72OOsbORlgzA2KAZNUEvAEW3VUTW6JuvRN2o\nbjV8luEOyccexTcotX9BPyP0SgTfYUfTMJcKIMVfM0whcb9q7KNrKah9Gk1E\n0inF\r\n=Znp1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDf40jrm3VK5ihIyUqhpMSWuJJTrzv75Fe/xNDBc8OzGQIhAKZwdd04Wu7Op1yUWTkfAaF5JnbQoy+5qtiZ48bnNeyu"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.0.0_1539610446648_0.838843435329971"},"_hasShrinkwrap":false},"2.1.0-alpha.bc0bf3f6":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.bc0bf3f6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.bc0bf3f6","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.bc0bf3f6","@crave/farmblocks-hoc-input":"^4.4.0-alpha.bc0bf3f6","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.bc0bf3f6","@crave/farmblocks-input-select":"^2.2.0-alpha.bc0bf3f6","@crave/farmblocks-input-text":"^3.3.0-alpha.bc0bf3f6","@crave/farmblocks-theme":"^1.7.0-alpha.bc0bf3f6","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.bc0bf3f6","@crave/farmblocks-text":"^2.1.0-alpha.bc0bf3f6"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.bc0bf3f6","dist":{"shasum":"70da9a17bc394393f803c1eb1543cd1198d81a01","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.bc0bf3f6.tgz","integrity":"sha512-/EhsfiLatxoFbB9qE3Lo2xqgB8FKY1j9wNj9Vxoaur3g5RHbJHzcP1kf23pgM00Be++vzUGWPZyB+2noedTrLA==","fileCount":15,"unpackedSize":48511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxJotCRA9TVsSAnZWagAAmiwP/19GiEtW+pDbVsbeVmMN\nxn+AGTHEO0AMgB/Y0/2sRpQtsrtyvi76vXBGqWdoHaOnxQPy9dYR8IAHme3K\nfGrQ5dzSjCfc2MsNYW5OQM6fwjpuVlBodbxpmgcsBEFM/5+nplWUtszbw2UW\nAn21NqtAuvxv067+h5EbST8BP/ZWmGpMJn9Ki79YhvuotxTWZE72vr+VDqKq\nei6ZXcjxl/WjGxIz/dc4/JleFoMFvNLeFonyDEGr070ip+MSrNuQzqUx0TGA\nXpsQQt/syI/3S1GxAoD/GKoQ4TT8hnbBYTovhyXao2EFEvlpAd4hC2l21MFy\nTfofw6Ei3u3OLDBX7Y11LNRGVa/RbppNSYAQOD1qcLADJmCrHb0lLDKfntxk\nQwuVXqXZsRlwltuwOgaXboF4w08TekpDHbM4+iNoeNOWVQpea71Ak4fRitmA\nsQVqfcgV31hh7cgq1drqdb90jxxXntPK54/ARA8xqGcg81QDkIxKwPmaBoK1\n/BerkjXu7tDTmlQt40299ykUDw9/bmpvXsrOL+TtjHO5wYjpKkgdPJa0QR97\nb8LoHIZWgqucr7sEw/Z/8UAG1jtSfI7Cv8UtdnzvoTct+JEYrptHphj2TQA+\n1of88Zt8483VZeu1IFlfpW9taSCahtBIamzc+cG7VmLxaAqf1GKeCGqIdvh4\nFkVb\r\n=rv6R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK3pCEQ1M5vtIx6ijtYNWQGGK04LFOCErNuvY+hLgU2QIhAN/ed4m2Z4F0QhC2akBgPZ6FkLxJ9s01WlVgJIrNs2E5"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.bc0bf3f6_1539611180567_0.1397364751732313"},"_hasShrinkwrap":false},"2.1.0-alpha.629ac030":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.629ac030","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.629ac030","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.629ac030","@crave/farmblocks-hoc-input":"^4.4.0-alpha.629ac030","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.629ac030","@crave/farmblocks-input-select":"^2.2.0-alpha.629ac030","@crave/farmblocks-input-text":"^3.3.0-alpha.629ac030","@crave/farmblocks-theme":"^1.7.0-alpha.629ac030","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.629ac030","@crave/farmblocks-text":"^2.1.0-alpha.629ac030"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.629ac030","dist":{"shasum":"13d071d619964e277aca807b45a15a86b53468fb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.629ac030.tgz","integrity":"sha512-Dbxu+Aw3G5UPhguPQ8GyzmIZkv5qUsH9RAqpmtsVpiuWWC/eZV+n8R51yHl+9GqBsER39yh2LrFgLyUwtkKfNg==","fileCount":15,"unpackedSize":48511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxNdVCRA9TVsSAnZWagAAzwwP/RXlUK2inLwD3rLz7Zkf\nZZ3hzIN/7bpb6+GSqMRe2ZEAFHf9iQPVmRxsRiDFYK7HbHH3v0G9119jHNHO\nDSUFO/UmUmKrIDZUd1iKPbjBid6iSmNTzgL3f0bSW4vvRiAFKXfUpO3IMXsZ\nxR68AN7bJ8YiYuC2vmIBfdKuqeHnxzgdT3jcs2BjtDaBjGpeIz6eBmepNCQk\nusXeNIiC++c/SDO350TBSz3GydmJRH83crn4vrn0zrKCzKWseYnoqwyhkzpu\nnJKeNuLuonwQG64tYGmPzwJBovIFFA2RGHpiMkOJlZIhLQ27aMaB//drcqmH\nRxSr8nqbmdfVrncNeT8NxXHTngryiz7uVDCM/XIBsh8nTXz76tU5d5Rz9HbZ\n9gBS5GTnmpv5VwAyz2TEoXZ+yMAf68WGKtk7HWetAXBVQ/9srOZyKWR5ATS9\nDu3UhFApl3x/YOm8SMmwuo8jeoTPyGE6hqkCvyoryKhbYR4nmAOd1Z2LizXX\nNCRqyiYURqoToCdTKy7cgDXYRLRQiwId1tyAuBNNW1Wn68h9lyVqrzD8mwsR\nY5dixzphBWZgiGamJv7uXKf4r6jP4qwf9wbhCvywsm5ehlezUxcsvlJv354s\nWHVY91eGjAyrdKT+cnVQcNHY4umPE3Z+q4Ga7ig2pbsEqwZuCIMxKUz/8M6U\nGvDA\r\n=3EZa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDS1XIJ705VNxoo3ucVv1WsQ2mGWc20TiSn8liaTyMN3AiAspUc+wxa4o6KM1b4c+8dpFjYhRJ5WLJSF8/+WpfJwfg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.629ac030_1539626836505_0.9865794387562901"},"_hasShrinkwrap":false},"2.1.0-alpha.92c2d991":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.92c2d991","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.92c2d991","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.92c2d991","@crave/farmblocks-hoc-input":"^4.4.0-alpha.92c2d991","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.92c2d991","@crave/farmblocks-input-select":"^2.2.0-alpha.92c2d991","@crave/farmblocks-input-text":"^3.3.0-alpha.92c2d991","@crave/farmblocks-theme":"^1.7.0-alpha.92c2d991","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.92c2d991","@crave/farmblocks-text":"^2.1.0-alpha.92c2d991"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.92c2d991","dist":{"shasum":"67079daa5602cf4fd38a03309fb984258a242989","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.92c2d991.tgz","integrity":"sha512-PwStdCysiv8hdAMIV1/QITVTKXH06D31OKtwHE0Y8Eq/2voAeaLDrprzlLbAJCoQXx11SduwJt3Vn4sAqTyyuw==","fileCount":15,"unpackedSize":48511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxZzMCRA9TVsSAnZWagAA8sYQAIODlRRQVTbNejMkruUJ\nDlbsgniliuQ7qlO/Lu/fWOMn937+4HYx9C64qkJ5MNEtHer92YPSJYJseVFo\nRcjAYGuhuVCoVAvxONRGJ+DCGrryQ1tlXm/n6XvbO7E7VKuziN1Zj5bRbtwo\njxLLPXHOKYSqEEF9EZ8RW9ljb89Xz08JszRr0hgXrdSZVcr8OKKg3WyQHwAD\ngrg9kRnhbMB/x0Bn0WU4o97UshWHz8COs6D/X2X32UMixNUzhBrol0qfpSLr\n+vUUlxzkX/OHun/RbPWihowELQywRAOtZJhh2i1pM8misBl0kz507k1ZLZTV\nbkOCZclQ/5kpxcifyhVueOyoclOHScMgLgkPqZEOJE5SXEkc0RHzYFn2QOl+\nM2r366NAQF2m/B4u1vtLJysDux6vqGky7XZ34vJvJH81jkicrQV2Xaj7V6KF\ni/F4W6YRC/dksoiGCr3RGaW8zsepjQbC39FcwsWCyC53SYmbD0S1qJvH8W+I\nV0xb5GInlRNI1vslgMu90f7J/mP5qeDO3Sj2bMhZT3kYoBKngjL8VZPMcN16\nsxMO5zUnb8iCSDifx8+f6UmkDvupLBUNPzEKjvcd5uRQVaMuT+GUH9zZWCyK\nsOXw5j5vNMD7bfkRG2ujAs5LjZeVHLLDwi0Ei3n0sT7QM0v8izPxb0nkHm6x\nXHYY\r\n=2eG0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEgqMuVUDpGFBlXG6XNFGty4+ijqT4Td+/V0dPrJnszBAiEA3KH32Kdj9Fmg9arX3+G8+2VufVG9otB6strRexudOXQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.92c2d991_1539677387881_0.9458888036911073"},"_hasShrinkwrap":false},"2.1.0-alpha.ee69673e":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.ee69673e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ee69673e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ee69673e","@crave/farmblocks-hoc-input":"^4.4.0-alpha.ee69673e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.ee69673e","@crave/farmblocks-input-select":"^2.2.0-alpha.ee69673e","@crave/farmblocks-input-text":"^3.3.0-alpha.ee69673e","@crave/farmblocks-theme":"^1.7.0-alpha.ee69673e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.ee69673e","@crave/farmblocks-text":"^2.1.0-alpha.ee69673e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.ee69673e","dist":{"shasum":"4c500fa7c99dc61a000648cbe34a74172755de4f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.ee69673e.tgz","integrity":"sha512-Dw6RCNF0jDU2RG6jEqhuhL6nNrOEN0Pnijf9PK/Mo4De1kfYZ5HPFkYUih9VOLikUsNQD5LowVTJTQyS0bfrUQ==","fileCount":15,"unpackedSize":48511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxa80CRA9TVsSAnZWagAA3vQP/2xsikXAxyjofa40yeZs\nrZLtCFKfXi3qgEbtTWkxYNyD0lsHThKO+VmFQujpswZ16i9nPQJzFXaSxBrC\nuU8J7pUJawYuLXs07dsBTxhxP1KSvPS+AOIXAVLCxuhBJYS3BpxKcy6KSG3W\nnBVq1fGsrahR67ygdZnFG1Q8xImg+Q/2e+m4ir3//VvnzuLXk03vhNonhzcs\n+RMc6zXT4d3wDc9mtDAPVNtHhAtcSJMrX30TlX6A8qycQW1vHy2YIeSzpAYT\nMSJ80JskvUil4McjbuhIsHWbfdXyJcVdE5MwK6SHVPUdLR/po9CBsjMie7PX\nVtSmpRcGYDjrTPB5E6L3f80vsCAAwf/7ipWwEmZCZfKl64vqAEaPOY7aRh7k\nWW9dSkWUrhnZiO04mSwuIlhhVTIqyaISg2uYi07MKZr4TCSzHzdqtu9ZfdLk\nqzkDqMf1t/NF1WwRfijOubXyfpTbz2ZbMlrWGiMo02XnRx7g1ZF7/qy4UcKP\nE3aJi10s2/r2MjShM77fzwxcJl53etcQMW0cJsv+IvICwrurPvQGx3PFc7XW\nQW9swb/M8S38je2Imu07RqxbkutJbHAkairBOioZWUVLsumdRCjJw20SFb6a\nBvj8gRl5MoW+82Kh4JnCAkT5f5B+AFwNQwyd/xchc5AA2EjYSCloh5dGmx4u\nG0BB\r\n=kaGJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIELIZYorp248UfhI8jJtmVq+x3OCY1otKlyHgbLsc1NbAiEAk704AjX1tcquRgmLa0R8Lr4jDdwE+5rn+OJlfDnwDSo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.ee69673e_1539682099476_0.03130027824980197"},"_hasShrinkwrap":false},"2.1.0-alpha.97f5a8ec":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.97f5a8ec","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.97f5a8ec","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.97f5a8ec","@crave/farmblocks-hoc-input":"^4.4.0-alpha.97f5a8ec","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.97f5a8ec","@crave/farmblocks-input-select":"^2.2.0-alpha.97f5a8ec","@crave/farmblocks-input-text":"^3.3.0-alpha.97f5a8ec","@crave/farmblocks-theme":"^1.7.0-alpha.97f5a8ec","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.97f5a8ec","@crave/farmblocks-text":"^2.1.0-alpha.97f5a8ec"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.97f5a8ec","dist":{"shasum":"bb75b0f12ef20a893494ed346f37327bf78980e6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.97f5a8ec.tgz","integrity":"sha512-v6IsgvSojfdJ96gm/WutOIRWDHbtkSS4NLrdys5IySrLUrzKEUqdt12gXycY0PtkGLStJEgvHKyaFEZzmKCcSw==","fileCount":15,"unpackedSize":48511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxeogCRA9TVsSAnZWagAAtyEP/jN9eq0Vcw0V6fvGxpId\ngaJVaonP5fVeUYiACGh9Mjo0JfhqdBScx94g74fXCwVJymKjHQOsKjvmzCU+\nStvSLnze/IL+irUd/XMrCe/UuRS8Mx4sZoKTOtQzzzt64W+ml9DKIFSaCq1m\nJ+K3MazDJd3d8bBaobvRp04OLjwlkT4COd/KkOzJdZrxcPkzPUn+HL36Xhy7\njVoo7jKS1Iyz6En4LGo9wIrkdjDcBZN11eHa3KuRx+SbfY+sXWnyFmpbHtad\nL8oajOhnug5gegFCmY3CQsYKW0p+ywBrqcCa656uQANWWDhpOQXcZzDagIfe\nUqnhKG5c0rJqGuLax5Q0lZSC+5eJBcFtm1PeVeOPmmGAyQSLhusFGgffiomt\nKz502NIAzNBCfAcaa5IuoXgoA53Q1wxVO3tpyDYADvB6Wan9lhvAuk7vVnkD\nurdIQFlQguE6iY8usTV00Ryi8YS8nOe2wymsTKS30WpezbUlHvZqBe8P56B4\nd34DPajG+dbJc0DG+jdV4L5zN2AEJY9Hi+74bUixYXmTvmUv17OxZNc6GLMX\no8LpiseqayBR2vJLWfMZ3aJyp3OGM8lQZcY+QPaEBNjdUS85llAXJ/GdSA/d\nb3Yw9MPUIBTCPNCk00qeqI9ddoN96/5thrzrlzZUpzcXPhCpuLUg6cjNIpmS\n6eHS\r\n=WmZO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBdv7iL/Zr8JCnfCXOl0adlKM+Pa0gn5JygOHt2sm7wIAiEA6LFgpsMvhg9HDDreAU7rEVCam9tUCAyP1xuSOuimIAU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.97f5a8ec_1539697183679_0.23127123887014478"},"_hasShrinkwrap":false},"2.1.0-alpha.ed75aa2b":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.ed75aa2b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ed75aa2b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ed75aa2b","@crave/farmblocks-hoc-input":"^4.4.0-alpha.ed75aa2b","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.ed75aa2b","@crave/farmblocks-input-select":"^2.2.0-alpha.ed75aa2b","@crave/farmblocks-input-text":"^3.3.0-alpha.ed75aa2b","@crave/farmblocks-theme":"^1.7.0-alpha.ed75aa2b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.ed75aa2b","@crave/farmblocks-text":"^2.1.0-alpha.ed75aa2b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.ed75aa2b","dist":{"shasum":"34d449b3e4d236cae037fb834233d9fef41142cb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.ed75aa2b.tgz","integrity":"sha512-Yq/1ot3yHxFgFtudBDrjdzRKBeIQW1W+UX1biknD30iHlp5+6P/zZEMsDg7Gr+MqwTiXnL+lMpF22pmpnq/5ag==","fileCount":15,"unpackedSize":48511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxfxvCRA9TVsSAnZWagAAJbkP/2Owq8MzaK/MfCpKY8nP\nCyMZSNd9Qs6E3jIr+iQ+NhRl6tZRAw/4cId+ckq8Bh6t2f2bFPzjGjAdRCK0\nefxBlCVbwUJXWfqxAogWLUMVVLdmfI3rHuIq4/IZ9R7eurbWYV/y60RYtvuD\nFZJwSlaF9EP6QxAHWr7+Beokv+QCzV7o8+gbhXbIUvbwNPfPpLnaxFlzXVe0\nTi93UIe4DDDsE06ZtarLs5QrDDCG0A4LN+1ZKYPYWFNZ2iZBwbCypRB64NN2\n5NO7Ar+M+PQBYxeSfAVwxLOrFieMlchgyhWTWeH685NbBdqbG18UHMvrmtcS\nGlcXWOZ12OlLSWwks20Ht9hu4ATdMcTy0/RwGTmdHdd3jC9nI9ZMYsVaFc9Z\nQe3peDmLi4IaUyg5XfUsS5SJtuQseyRooF1jw3PvhTYJ+whafYnbvk6pEQJh\nqeM7dn4VpGDutBcFxD2Z6xzVsmWQRSYyg880uKMUFDs4u0xvfgfeOu1u0zUM\nZGDMnxSmQnl7PccpOa1DwfT2q2ZH3iq0CV1ZCIe8eSNYsKZcU4ca3fpCZIzD\nQ0fiuITzGojYcj/BM3GIbDvJd6lkIGuq5cscn1DCr/ENynAK4u18ar1VTVoq\n8Lckoj0eCwGBMKqNLVSDDo+nrU2EjcHOBOVcrFc0a/fNTZ4ivBnzOq9olUCI\n/CK6\r\n=ZDVo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXVfVumfSMSiwsyIp7GrcNRO889y232GiZW1ttwb9xLQIhAM3uarPRW9GqfBVoLfJHU7JLlTrpDQH8kYwZhyVb/arF"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.ed75aa2b_1539701870531_0.023573063228015112"},"_hasShrinkwrap":false},"2.1.0-alpha.947af9de":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.947af9de","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.947af9de","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.947af9de","@crave/farmblocks-hoc-input":"^4.4.0-alpha.947af9de","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.947af9de","@crave/farmblocks-input-select":"^2.2.0-alpha.947af9de","@crave/farmblocks-input-text":"^3.3.0-alpha.947af9de","@crave/farmblocks-theme":"^1.7.0-alpha.947af9de","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.947af9de","@crave/farmblocks-text":"^2.1.0-alpha.947af9de"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.947af9de","dist":{"shasum":"1010a65c233ab31bdaf6c774a0a6513e8ef70927","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.947af9de.tgz","integrity":"sha512-JqUcU1Liz9kxQzHt8jZ2DxvDrtgjzmcAajbDbU3pyuok9fSHwLjgPUUM8GxxDGfUp+jXC/ompFEeu9n/0s7K2Q==","fileCount":15,"unpackedSize":48511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxiPPCRA9TVsSAnZWagAA68YQAJzfa02FmR9F8QLDMFR9\n3uUMWL6BOrUEspLTWM19SRzTLcKLvUGZr29bl8H4oyErdSRPQixs/S1nwN1h\neBZgEdduYGihPkZ9fQyn4lS0mpE3XiFomdOjp5txWWYyFJpyfBeYoUblT/BR\nJ0GI0gaRaK7go/bjxK68UZZSpfblrVmUuiO2hqmPDnZyVtxPCzWLnKYK317M\nnvJQPbrzKT8qBnpMxVGZf8gacwvVvadaoords8/PzmTe7BIamCSbA9gPLB4O\n2zk0X80JIrRoNQaXY0m5d3u1tXFnzu02W+BtpPg5Tkb7FWYUG9qGbn/KX06M\nsWXrCw8LPV/I9hX3pbrb046rjrbmjU3xuQ8oooojHmfNKj1Bxl/UwvG3u0hk\nclAOnJTVpE8VpSHhLqRJSBI3MHBcOlZslmPo4RixE39hQOY1h77py8LLgNGE\nFR50tOnPhWe/4YntFaNhzuwzbz6Za1rvHlYiFNJpsDomIH2lYbuXvEn4Dcy5\nABfabIK6cNoMeHyoKMN5VDp8DVdmF3mhWL0WKAw9IWa79OTd3MuYKr4Tzb8c\nldsF4yb5RyXq0IVEmlXaeJBjKaXKIGhrUswqXhIK296J3LpPpq61X4DRfK4I\n4NZ0+FZNbPEwYsDOWo8DI+5kqjj6FS8KiFRqwSUfexUQk8y6qVZUO7MElp4B\nOmEj\r\n=SSfO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDgQnLYjz1fdUSaFcjWaLh7qUTE30+2tB10a41WFf+1QAiEA+udtZuuJBW/6ruwDpa2cXjTnNMNA9TlFutjqSo0pR6g="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.947af9de_1539711950666_0.7731594355860247"},"_hasShrinkwrap":false},"2.1.0-alpha.9477c937":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.9477c937","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.9477c937","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9477c937","@crave/farmblocks-hoc-input":"^4.4.0-alpha.9477c937","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.9477c937","@crave/farmblocks-input-select":"^2.2.0-alpha.9477c937","@crave/farmblocks-input-text":"^3.3.0-alpha.9477c937","@crave/farmblocks-theme":"^1.7.0-alpha.9477c937","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.9477c937","@crave/farmblocks-text":"^2.1.0-alpha.9477c937"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.9477c937","dist":{"shasum":"72ffba43c1cb56ced13a2e5777d8631ffbde7521","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.9477c937.tgz","integrity":"sha512-CVG1iI2wpWx7kJ+2kTjc0nSzljYqWsfKCOAauJPzrnUGWrjYHhEmgcZq6omkuSgHZD+euyWRfLiCFs+bgNPNpw==","fileCount":15,"unpackedSize":48511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxjs+CRA9TVsSAnZWagAAx6AP/0W7wLOuF9l6Qz4Kd3ev\nklciOOPslN0ArSZYBX8PteX3Dl6chhNqzSqySSWnPU1BWm2mgFIOMQcJ4kwc\npzq4XN5CVKGQQdMoMbWT9a2Cdm5P6qrKN9qGjKs1cv3VCNVhmeA758h2itn5\nTqFe2ROF7poygfGGAazRktqOTTdXo7MzeCyGVOHpJ+HtOWAy0quh7OCJCwjD\n9WhRX8dQDzjRJHnZf9L6Sw7MTkGSs/NYp1QPLBUbJSL7Bl9hyKT0TsOiVF6W\nRcC1h7KYKzIn94OfBm5MAsuiJl8ULR1x3OM06uwHybA+CeQ9bjUwoogV14L6\nb6kWJZFeG/ZdlaQZMxDMo+NYZPRk7YGAGezsDgkhqJI+q4nd2ueyF3UeVeuy\nb0iHgMHuHxpBeuJQZLYbGuIPAvnrSisG3p00/KDAE2ZrwX+4RkEwDg6/hUkQ\npcO1mSrYc8M7fQPpiMJ4JIyj1rR32Prmbcy68SsjVkUtQdBFvcwbZ7qPPG4l\nJVTbf7O1vALoRrGVpjRuq3OJFC6ygZ1gBK8sZNOwIQhGfEuozTqIwIXfDM2I\njvqJIxlYKNiQGzkijrxDT2YzCU8ccLCNeswWZH3TNcbPl+eJEBLf86vuoRtu\nBrk/cln0GjBZoqq4eUgncpoeACkRPAst/j7ISqI4BSKTcYWxqn6dgbDTjnTN\nbg0U\r\n=Gpjt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvI0a229POCYQGGybE5lvyqslZORyhq2oiQOoEz7R8gQIhAPfOIL3C0kOewpTh6Yeqyd4BNgRe7D+8JqHognaLlO09"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.9477c937_1539717949822_0.8039908306472687"},"_hasShrinkwrap":false},"2.1.0-alpha.f419a6b4":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.f419a6b4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.f419a6b4","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.f419a6b4","@crave/farmblocks-hoc-input":"^4.4.0-alpha.f419a6b4","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.f419a6b4","@crave/farmblocks-input-select":"^2.2.0-alpha.f419a6b4","@crave/farmblocks-input-text":"^3.3.0-alpha.f419a6b4","@crave/farmblocks-theme":"^1.7.0-alpha.f419a6b4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.f419a6b4","@crave/farmblocks-text":"^2.1.0-alpha.f419a6b4"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.f419a6b4","dist":{"shasum":"c8dab73d39ddc73c869f15ed1aed71da79254014","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.f419a6b4.tgz","integrity":"sha512-Bw7w9IDBPLtgQtZSousJuPI0/r8d3yp0ABK4iTI+tlARrH9Ea99YFnSZ5u2QaSKrnPSGAn+WI/8CjVQZoq3Y4A==","fileCount":15,"unpackedSize":48511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxkRnCRA9TVsSAnZWagAAEEQP/3CmEy9yMCHhKzfkdgyw\nYdXk1l+iEB5rOmT2jL/B7nScbc72eExUmEP5eH0RvqCtlciMlOyRTXUhZlWh\nNuFekGIf1V81ekmmTPpK2qwObqZ0xr8trqwBoi2hmnPFJ6yDI39+9mOdkGTk\nWkOsWI5EH5XkZYzk271zgfvobIg9FyglJv6lQUet1YBhfEE8MDm2+k15I/H6\n33TiiDuvQbQcFMMnzawnVVd5RShM4UnOEVr63NtV0G55qiC0pkX4WFpoz9I9\n6VLYLf7O6ZRHLqIeyIzIwOPczxkC/zbkyz0k/kwb9s24dMEaVHB4HN2SfMbl\n2mj2/jc3j+ygKVyW96OlEzETrH4r92uJSzsijeJLYkDWEOhvJj/HBLwu1tWR\ndtvNkntxfOh0gMgjrpBTMrSpBki5O4lbSZAMR7i0Xs1sqMQnAfDxYm6IFTDi\nvX9eQ0VdxU7WgibMzqs3ljXDVgd7FxWUuG3htfEwjj7+D0qBU966TtdD0opi\ndnIEZUzbpLkZYpnKk5Nn5D0quliK3T/UvaZU9nsYj2SHVyzr8/riRqDJrs0n\nzZpONiwMYJTyLHgvYgVpWHMcv6DnapPXMNehb3x7jmacFvPQMwxuhLZIEA4J\n4eVJbZ31BEo9jguntUJR8y69jDvZfmy7cY59by7ZE4AbPISvTBoQ9z3RohY4\nJkQ0\r\n=BSzI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDoAM+/7R3Q7PuEictwY50QE7J9W/75Tni2KZNaxP73AIgd1gEkAPAi+7wpM/6o0ynb7ohi3xqk83PFjq8N4ltIYg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.f419a6b4_1539720295030_0.4622736294735297"},"_hasShrinkwrap":false},"2.1.0-alpha.0f4df0a5":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.0f4df0a5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.0f4df0a5","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0f4df0a5","@crave/farmblocks-hoc-input":"^4.4.0-alpha.0f4df0a5","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.0f4df0a5","@crave/farmblocks-input-select":"^2.2.0-alpha.0f4df0a5","@crave/farmblocks-input-text":"^3.3.0-alpha.0f4df0a5","@crave/farmblocks-theme":"^1.7.0-alpha.0f4df0a5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.0f4df0a5","@crave/farmblocks-text":"^2.1.0-alpha.0f4df0a5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.0f4df0a5","dist":{"shasum":"b2160704e6fbbde58dc7bafc51829b6585891773","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.0f4df0a5.tgz","integrity":"sha512-d7mF9Uhg6uCUb9yujV8VoNJ8xtW8qhpc/iDECO+Ohe3pCsQZTessINBzyAKZB5n6XtHqwn+JGyOgfrZf5hFzYw==","fileCount":15,"unpackedSize":48511,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxkpICRA9TVsSAnZWagAACdsP+wcAzbYoWsSPXASGWrOJ\nTblL45jeq+n7am1SZ5Cx0PqCiSY7BHTk1Gz8XYycDkGFwdWXHWjHulH8NjWL\nsb1k+mtYBjRbR4cA9RMAOr8MSWVw5rDEkENW0XIzc7HYj4mTDIiHkL5Yxg5J\naY6HvnFLl3uNk4QulsbYg8piFFAbh0OwPLXoPLJkWuNxEFeoBv8YadH3XWRv\n+wFnkRZV5m7PMf1HEPESu5waCUL2G1Vy5MDtLQ8+5ae3g32LnQMZLnwwdN9E\nIuV3n/te+vOjZoeSd8MR5UOEcA6ysUUXjU06nukALgm9l7Bnwt1fx/Q0a8Yx\n/oJXLk3ZtgxkhzOpxVovhQ1NzdSV7kvxK24iEaOiRmOIE7awuVWPNrbNXtPb\nlkpRuUO3KyElY+h9LyTLQbR/P8s91CQM858aYrGWRK/Fwq1KelVfjZ0grkez\nJBoZKlgw4N6VMo+LpEdqPILrzynN7atriX9acOzUHoQa+/Un+YukYQA8KTos\n61Iv5/fyRpiArdDFGdMpCvx8rhTqUQmsuKlDLqeEyX6wqHRJFePXXFSMTGs4\n7aK6pSkak3OGE9FRDk1iFLWH942TAP1wlPbb1ILs5DUntbrl2bQBMj51b6F/\ndS3HDPXaBcbGe0ayWEVFsoh6V/ZUfAeArBg54nkoL5+jeSFyXTvXKw5RHUIO\nvcI0\r\n=Y62b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBH5t/J5DD69LsYv1re2CuRLLsxFkla9VdTNEIVSCLtoAiEAndVdGFZx3GxaTPNydG3syRDyuJ2uLsAH449w81MoNio="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.0f4df0a5_1539721800132_0.450907423488208"},"_hasShrinkwrap":false},"1.2.0-alpha.b812d0a7":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.b812d0a7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.b812d0a7","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.b812d0a7","@crave/farmblocks-hoc-input":"^4.4.0-alpha.b812d0a7","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.b812d0a7","@crave/farmblocks-input-select":"^2.2.0-alpha.b812d0a7","@crave/farmblocks-input-text":"^3.3.0-alpha.b812d0a7","@crave/farmblocks-theme":"^1.7.0-alpha.b812d0a7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.b812d0a7","@crave/farmblocks-text":"^2.1.0-alpha.b812d0a7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.b812d0a7","dist":{"shasum":"7223ad724655d91948781ba4b8c166f85931093c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.b812d0a7.tgz","integrity":"sha512-GvTnMb9SmEeAfrP3ZABp2TRy5x+ck/I1OkN/BAKDJ/WVy4c1BU4NJEy7fFfxjaDov+0hkksmga4D1uf298miHQ==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxya0CRA9TVsSAnZWagAAe9YP/2oOr7BY5hrqb4L/FgzG\nh6mdjEc59lwxeyMip3x/8MilGcDRoEHDW2EdBeV+Sa3PFjKHc/ovI/KOFbTi\njBa5t42J8O4bJypoRJ5Le65GUMZOIRUOsWBR4ALiO5rfGJoneQoXE0hvR9Un\nobIIaIjFiSA8YWfCeZUoZiCRfSEDvngJ9FR3zq5lQHBsb+/fmdTgOhWU1l5O\nCN5zPfExcN2026UPkUxVgDv+Pwpsp1bbYrZK8az+wqGvxHm3KiId6jWXp+kl\n73LI3M/cr6rbjUD0Ht9q/fDBpAbgejpjXOCHNvinNBISlbvE/Me4IU9O49T8\nTIw7ioVNMT09K0QgoDbVPqVKMMcNeEVnuJbMC9m/w+SjWNkpAyfXFDnRk8fg\npfLOmLKkWoUI6ApTLreudPmHpTFbtuJprpZEV1ejhh4DINpqyhWHQu986LCA\nMQA7TWaRl/CVMxCYualwD/xJ24/xAA74Am+Z53JoaJGmjnoA7fnSbwLx4F6x\nMFGGvjOy9kgr+FU3XQRndI5sAoL1cegwOS2A4lFEzdqUqGqNZkPUVzp2iwpX\nWHAEXnisKfvL5pZS26SbLEi7xQLs6TMyQkrLwfAVU9MXncG9jdqQIZN7u1Me\nauEQO0F8GhwQOLGKYW4qxxhSU/vT8x4eaCqDot6/zJgDiYqP86dnNya38mFc\n0KHU\r\n=IHNW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD6p0UeQq/YGC+LG0XBccjZ4ETQT0zmylpzMl8RHH0QLgIhANJfXra+Np03mzjjOvsTj5KBVGcf4uCwpfYXpu9VFtdn"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.b812d0a7_1539778228043_0.9606926081774847"},"_hasShrinkwrap":false},"2.0.1":{"name":"@crave/farmblocks-search-field","version":"2.0.1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.11","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.12","@crave/farmblocks-hoc-input":"^4.3.0","@crave/farmblocks-hoc-validation-messages":"^1.0.2","@crave/farmblocks-input-select":"^2.1.20","@crave/farmblocks-input-text":"^3.2.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.4","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.0.1","dist":{"shasum":"026e3fc5efe3fbe1f0308267d64dd1cee5e9d774","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.0.1.tgz","integrity":"sha512-cwoSJy5YK9UMOVJ+4x7HL3rykqZ0aAT8VDDam7k971pqlQi1KBnYAT/8wi6wPhfJtmkT3AxBiycElh5PKdKrEA==","fileCount":15,"unpackedSize":48320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxyteCRA9TVsSAnZWagAAA+cQAKUmH4dpeVmtSAlYPQG/\nU+TfEw0SdoZqraoo7ZMeZR0oN+hg011vc0ZVkzfJENh0aPtRDK+yXvHWrWju\nGG/UpTmLTLLYCxWwLh/Xdt7704QJOl0CDBa7m7tsgVH5nuKNhrRCdb09bH40\nNgFwxTj+QnJ3uZSbh5Ef9bM7jA7H52vyv68LtIRyDU5Q9wZ9kiJ7dZN3QU8j\n2c1TM2X9kPNRoSlQ6NAsSX5fktrUeoofnMBKfPVEi41OfMo6l3erO0RqbZCi\nfIe01KQL/MgBdYE6+c007dpBtzgajZhWYS2AHCL2Gl2VhWWHyeLkxwxTgrNE\nec8slCmIndjIVRIJijo48L9Z37mV7Me4NPrA15Fyh0Aj1MLBN/IoVDoW9dax\nyjIoWLagTEFpFWqMyAYLrbgnFfXxTqcdVYd22AIVakB9jicZmrxaujEaF/EO\n8spQdQRUXur6gysaMpZYdDRnxoRAE9tkNE0bGkPF6Oqh3FeMueNnm0Ove0Bj\nyry/ahWA6z/cDFMYXx7zGj/pSGK07RXPTFgISxUy/FAozCOGOhJoO+n1GEkY\nGsv4f5mG61yOEWnykG94YBxvbdh2FR71cs76QHm6Bc+rpAwyG1nwcvASSnYX\nTIx/MglpZ81JaH33VKtBglw2evKr8+WC9i3cjLQmylQ/7xX3o4TPsi03nxuq\nG4ow\r\n=RiIG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpyLgKVA0Bjkuw58+m3VtzaVXXMRWjB07qtxDWCUyhFAIgYcipdF2uSVwWh0KZxtrVv92i6ZN+2+YQEcbNUXim1R4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.0.1_1539779421974_0.5030978162468542"},"_hasShrinkwrap":false},"1.2.0-alpha.640632ef":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.640632ef","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.640632ef","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.640632ef","@crave/farmblocks-hoc-input":"^4.4.0-alpha.640632ef","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.640632ef","@crave/farmblocks-input-select":"^2.2.0-alpha.640632ef","@crave/farmblocks-input-text":"^3.3.0-alpha.640632ef","@crave/farmblocks-theme":"^1.7.0-alpha.640632ef","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.640632ef","@crave/farmblocks-text":"^2.1.0-alpha.640632ef"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.640632ef","dist":{"shasum":"2d66d0e74f12d9ada75e6f6128fddd84a1584d5b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.640632ef.tgz","integrity":"sha512-KO1R9dXsbSqf08IqFb7SBG3NYZAPzvGh/SX2SxZa9iOc/U7VD6G9+HfFNTKcBv/uLaaxbztj7TTnrNF1aKN+Pw==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxzZ9CRA9TVsSAnZWagAA1x0QAIJzdOK/jxkyX9TQ7v9x\nLvKi/uKQzDEgloM81pESSGhC4jUdadpE2T4Zwy6XGszHLLvo78klZR7j0CBB\nG2qLI0EtCOH9NgB8l2EYLgJ9nFHEgL1SNcTGW6GctODaZEeqJi4XTxM3hyao\nqvvIoIt6lVPYhPodE+mLlDDvB29DteSTR4rUjT5mZ5mRODTTYFqkFmgvrHpu\n0C/sz4bH4D2i/xhER4F9oov17mgrMvUDpdMw6j8JNEb+TQeAfu/bRkTUGqgK\nl3CKUDcEcrt2Eybfvu1C83N23ihuVDUeLcKUFnqJ2h4aczLkHgbB31PM1EW8\nA6JOwoaa4om0aYZpp9bELfA8txZOJ9L+y0/AZMqAKjMiOdkRowN74nbIICuF\nBVeqeODGIxRIDpJW+wQ1yRPrglvR5A7ZXXEKDNlhn59p8HcGLAs+WNDqpzTb\nvIt/Mw5tSzvfAq1L5NvfdaNZ3B5KnVa9Sknvv/xXA5106JN+3gR+qNJHQZ2l\n0DZFWpJUuquHnDOowtcP6L4nyOYz7Jj+QCQtx+siKaIbDx3rMoOh+y+nhNSi\nlPosPf0fqtPpkb708yDYSyZgqsWHWvgAUdWcjeJWURuvxDKDBnICbqQysJ29\nTisI6WE3O8ptqlZaWsSMMqhD2oeCDpq4h8KBV+UFvyWeAkczH8q+KVqwBUSz\n1wva\r\n=pab6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDEo5Bis8IiMgeV8wt3A8MA8DMY2s1wjCvhbtTbp0nQqwIhANWHGnMzUI7VuLGVNbEjQiLYRWR4oXB1lbIit2f28upH"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.640632ef_1539782269300_0.34491491020730813"},"_hasShrinkwrap":false},"1.2.0-alpha.bc4d036e":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.bc4d036e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.bc4d036e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.bc4d036e","@crave/farmblocks-hoc-input":"^4.4.0-alpha.bc4d036e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.bc4d036e","@crave/farmblocks-input-select":"^2.2.0-alpha.bc4d036e","@crave/farmblocks-input-text":"^3.3.0-alpha.bc4d036e","@crave/farmblocks-theme":"^1.7.0-alpha.bc4d036e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.bc4d036e","@crave/farmblocks-text":"^2.1.0-alpha.bc4d036e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.bc4d036e","dist":{"shasum":"1c72735875888b7d4615aaa139e66c66d669a85c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.bc4d036e.tgz","integrity":"sha512-y3yyftVXnfEY3levlEw4aVb6q1GncrlzDQJ4CPYOv2LAM97ftI4/2jIrXvoa9I09lVPR2bCYDgVNi5jDQNCU9Q==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbxzahCRA9TVsSAnZWagAACO4QAJFhzL4lKQyJPC3Mcinp\nbt+xHACxsGyYSK6Dq2vtuKqiC6XXAeYT1omyYsjn4mjJhLr7/j1cyhEfanwX\nyV3VX8EnHj50kLhXoP7hXZdAd+M/fAHkHuPQMMEX0wxTqN5JIZ2ih47Lw9On\n3z0cocNTIRWxbkZjVa+Udml/YWfgtf90wrCcSiL12qpDmKt6WhpPxsVd5zfF\nWy2Vkt0UTs+MRKITZgT3l7Mojcw5kgtiRa+/89hbGAOQKIj/VaSAp/j0H4y1\ngQkkVivxpTu9wElOx+meAiYqd/yipCuYO1HH4/1FkDaKkQ2D25YMV7V6VUuV\nY6pezZOfDXwmEzO30OJAMZ8sA7mLmnerExjPG36OGdLXrTP3O2lOpkdhDH2V\nP9V7HyJcNwZkx76/n84HTWz+EuZluniBdZuumuP0x2/VrFfq9tk6i1IJIc5u\nJBM+uGLe5PE38oQj/FOzjW2wJkZqw7LO3WBQD50tN66pzptHirqrNdH5nHb7\nvDKG4mKRhKVAVOR1o3yUStbqiB2T1L9C3KUVD5BS9ACAGBTDrRZ9I4gHAKl5\n055C6xldJ2Ws90CIidloxN8NRq5Y+7DduBKb3z9vgt2HQhpUTHFX/GmbxSFq\nTYIhDLwdlTr3MtyTCunWUqmT4n1R8NLiI6bvxot8Co8V7DWJOKdsrp645tVu\njYF+\r\n=rNNG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClBVcCkMyvSigeA2YYdYKRTVuu5fqLHp5J3JIUXAPA7AIhAI5hr5nmevk+1bno7dbyYIWm3igU48Hs8XpP92Pc9H3e"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.bc4d036e_1539782304866_0.4053367968706172"},"_hasShrinkwrap":false},"2.1.0-alpha.dbf7a74c":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.dbf7a74c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.dbf7a74c","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.dbf7a74c","@crave/farmblocks-hoc-input":"^4.4.0-alpha.dbf7a74c","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.dbf7a74c","@crave/farmblocks-input-select":"^2.2.0-alpha.dbf7a74c","@crave/farmblocks-input-text":"^3.3.0-alpha.dbf7a74c","@crave/farmblocks-theme":"^1.7.0-alpha.dbf7a74c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.dbf7a74c","@crave/farmblocks-text":"^2.1.0-alpha.dbf7a74c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.dbf7a74c","dist":{"shasum":"5f90067b8aa86f70c8c5d8aadfb19095cf143579","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.dbf7a74c.tgz","integrity":"sha512-XH4dhTZAjaqz5z4bulTagDTIM3ion66jfJAnKZ7p5AeuM8tN/NdgZ7QhEuHhvaPlHWh1UtY1HYjphPHfujUACw==","fileCount":15,"unpackedSize":48757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx0CECRA9TVsSAnZWagAAW9kP/2nGvR74Tp4HK/jCJZ0e\n67fWTdhXvTt8ij8+3FOgCl+8ke4XKBUcmlaNO6/1hQlhGDRYHrs7TuC6rY7S\nrMDUHZW6u9Ws7AZe3dx9I+qkh95HS9tZY49JqSjUKlwIfJmpGXRHTc1+gZUG\nP1vZS2czrNJxVyLx91Wx8V39XhHAVy9n/4hVO/fX2lnPPeJibyEWZJURcmwq\n+aSqi6qn/z40vyAjGQqrM9QSyGglxFF1WPmH+qyKlB4Sd3KZ+n/jkZinxypC\n+ZVeScnprkH2Mi3cP+oymbI/fydVqZmKjjX1H8AHDCMRXpO09RQBFdKvc2TO\nHC/sMTUPxG8WPN7aIkt6umTVOZIvvjZbF9CEj+H+wjrIfOEq0lQbGXugEQMD\n3JGv3DLpSBeu9Hn7GHdlhwPzDMjllqCcDA4d4Iq+e9mpfMpD9SimMBqxATRs\nX9wu2Z93xfUpyG8JPtSoBoOI8fvuzZ2pGlk2yJvcAew7VwOI947tx50V7Bgo\nppEc6J/nnnOozlgd9KZ7cnMvZ3CLLRWpDRdghY81gePNYU69xkqMiiuHkHDn\nTU3iZIaJnW3SxyInKrNaLhzLdfP4ZlC5T2nHS7evFPWADtCu2SxmvLORxEHk\nD+onw1/0gqK1OBEYqihlpP+hhRi/HkdID08ZBtjXDvVi94Klvz7+/ZJYsxu4\nir4a\r\n=AmQ+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAQuovwrnvVIly9hLoe4nrxOskph3NDMaKhG5cJIgoaAAiBLRnSP0aqHYeJcqIcMgPIJlaYR15UgiJPlCmZbVQAjcg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.dbf7a74c_1539784835485_0.8489667066292841"},"_hasShrinkwrap":false},"2.1.0-alpha.57e147b8":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.57e147b8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.57e147b8","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.57e147b8","@crave/farmblocks-hoc-input":"^4.4.0-alpha.57e147b8","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.57e147b8","@crave/farmblocks-input-select":"^2.2.0-alpha.57e147b8","@crave/farmblocks-input-text":"^3.3.0-alpha.57e147b8","@crave/farmblocks-theme":"^1.7.0-alpha.57e147b8","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.57e147b8","@crave/farmblocks-text":"^2.1.0-alpha.57e147b8"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.57e147b8","dist":{"shasum":"28cb7b309d8a1e9f232e7e36b5886630ffce52cb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.57e147b8.tgz","integrity":"sha512-zX5C4/qljffAfIXSUSt5JClOwmO0JDXnDZ0mhddvoHY9yvBJ+BrMTpYfZHFJ0Sp7mwGgVR1H9v7z0/haJT0pdg==","fileCount":15,"unpackedSize":48757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx0m7CRA9TVsSAnZWagAAh6QP/3UI26hoD2PDUm2q05Qr\nwWClx61VcS19M3YWC3vAAiG3R0Y3BLaiS+cht6iFExwRuYJlfDjod+wSeWKi\nBrHB6+5gowyHxSr9mFjbNN58dSRXBKbKUP1wmPkPjPqaxXiP3o9nMY43jsLm\nieKP/IQqNF71OQk3CqK3ZPvrHPdLFuPsK7XQefq+E/rP/4OQaex7GzvZFa4T\n0+9+Fs6etDwboWt78CGgmFOtHsLZIEqf2Z4Zjip0Y04hANH+vlrYod/jVqym\ngCV14TM/IhaA5XQhH1ji0XLA3d5cJebW3UDsaaxFEOpNXD2MUfCARpdpheN8\nQ1K2DDEmUVPKh8gwLkrIDdOBF6j2o6kPeWP4oo+34pqZ2YhXxUZMPakgx7Mq\ndMsmiyQ88J3hOjftIkcceM0J3NcNbZFskT63Eps1lOm4m/gyNQX2AGbGHYxN\nW5zhgWfKw99V+QImMN38XOnGSk+EI9T+E92hKfHjdm6jTekwlYtXfbUnazbP\ncu/9DGuwoKOcJri4vjpKWw8k4K85uqNkM9xVyB084+mzAFQW06l2DzT27hdU\nDgmFNaa8hJcwQHYRwqzhDJLup5Y82L33pi4Af36PgRmv9XRK9S2owofWlthx\nHaBWPrzdKIId9tVfHD/ZT+PzbMr/HGesvZgnaBYg90ebxe8DnHh11VElSYpM\n1kVf\r\n=RPDe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD03iqeZnIwRHvO2AOH2SWPBS59w553fsBgF7G+G5FcIQIgNjJfIXvp2DDDlka/wWSZ/CrUaZOTFr04eYfqhoRLxO8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.57e147b8_1539787195308_0.18570724498441615"},"_hasShrinkwrap":false},"1.2.0-alpha.0cdfb5a7":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.0cdfb5a7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.0cdfb5a7","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.0cdfb5a7","@crave/farmblocks-hoc-input":"^4.4.0-alpha.0cdfb5a7","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.0cdfb5a7","@crave/farmblocks-input-select":"^2.2.0-alpha.0cdfb5a7","@crave/farmblocks-input-text":"^3.3.0-alpha.0cdfb5a7","@crave/farmblocks-theme":"^1.7.0-alpha.0cdfb5a7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.0cdfb5a7","@crave/farmblocks-text":"^2.1.0-alpha.0cdfb5a7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.0cdfb5a7","dist":{"shasum":"972c7fed113bad3f31340cd9dbf9eae909a49985","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.0cdfb5a7.tgz","integrity":"sha512-HY5MhjoygIX5c0BLu9S7fOxczGI2ljKtL5ti4fR9rM3mmB0mOhCfO9ERBxbif+sahF1PV/A6nXJOQav2AdI2mg==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx2V7CRA9TVsSAnZWagAAa14P/05eM6xnCgajjw9RouOY\n7qFUdw65V1/jD0osIKSpxbokV2ucf8N/p8NAASXfsvJvEImru8qS+wq9UlBm\n4Geka7vN2oMJ+ovMZozk53DkNriFpx+l9pFJei85TBj7WYwE/O3A/bnw3jOE\nZOYKaGDWw0VKY9gut8TaoxhABqnSl8zSHZeSLrWyo1CiME2/bcz+9SdPRgta\nweb5RELN64lYOm+WnNY9TAlcr7n6IhTFd2QLH8ATIsh3jnSAPJH1R489XxOI\nO4qn+LudNov2QMH/FzvLbULiHTtY721MGjJnCBGjnmKsvWEk4NiDEgdlXfG8\nGRD4BwiMQ6XKO7WnvyIYSmleIdlajvf8ZQCFJhbSeq8T+BKvspRN9nFne/f6\n0FC3QrqVe37d6dE63cnQ1eSC3+6KIX0BlQPYjNW+erwIWOVNwF58VamP+Yhg\nlilVj4hyiAwesGOyHAWEFX820be8FJ3JusGN6lApdpZOTJ0p+RY8rPb86YpB\na26zwRSaiH4FMEq+FSY+gussiOkvGl4Qt22OkyOvcwUbzOoiws3RoH+VkrRA\nb7nUpV4XIKx99/tlNI0dSUCSlZ4WTmQHk1Oge2QoSwmiPFyph7HUzvIa/wgu\nnr8Ge7KNUoEeo41Jx6u5BYMnHYZf6rEImCUtzeLNST2YEA2iGDlF/fv0K7cA\nPA9+\r\n=p56q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA0J1dA2BS+N1kHyHKeyTZEHKBc/wQQmP0YU/wWawTveAiBUdihaDNnn7/i4LIqlvTemJer5+Nndepl/eHhzjJrm0g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.0cdfb5a7_1539794298291_0.4589309476084358"},"_hasShrinkwrap":false},"1.2.0-alpha.72feb5f0":{"name":"@crave/farmblocks-search-field","version":"1.2.0-alpha.72feb5f0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.72feb5f0","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.72feb5f0","@crave/farmblocks-hoc-input":"^4.4.0-alpha.72feb5f0","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.72feb5f0","@crave/farmblocks-input-select":"^2.2.0-alpha.72feb5f0","@crave/farmblocks-input-text":"^3.3.0-alpha.72feb5f0","@crave/farmblocks-theme":"^1.7.0-alpha.72feb5f0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.72feb5f0","@crave/farmblocks-text":"^2.1.0-alpha.72feb5f0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@1.2.0-alpha.72feb5f0","dist":{"shasum":"44ecf29aa1b379289c92a455588fc5ad4ba9d506","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-1.2.0-alpha.72feb5f0.tgz","integrity":"sha512-PVbQSWWOJqqL5JJnJpWwNWvNYor1EKWPAYcnWHrM2nmKxxLWQGuA2rK0pCJIG6+QH3hyemvfKZ98UlQHP4KkJA==","fileCount":15,"unpackedSize":48050,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx3uPCRA9TVsSAnZWagAA2kwP/1jWRkCyBwjQnrnp+65B\nEfO4bX+SD4wwIdEwDgUSwcvrBB8wsd69mHweQ0NTci6np+9/VuNXUV6SNaMw\nTue0mcRbHU/ouH5ZsRx0TCIkrnIOD6puUDcv0NrgDDx2lcTgpfZp65ElFV7S\nBPEwlXUUJotQoDladlWfKZHwfMhtjevQ0sf6NG98ROH2zCwN7ODFrya393Q2\nA4bnswEcPFLePhBfGkhUAxMHb30QLk/3XU8TnOONI2okR048erExCF84qSua\nsCb5EfVKpQfOeCYNJqHC5OOcZJvZTCw3yf6JVuWrLyp9eWMsmddlrFwzK9Rf\nk3ASPkTulSHtH5zmt8beJpkgf9qTmjGsX34S7HJGOUPirZXC7NCsl869/cMK\nfkuU8s9OmA5Ypw0pib2a48LcypoSxkQ4686+d+ZUtudMzIwCuq9uHF7PPxi+\nUfVx1KX/foXAv0sQzLar6SvVKuJwgjecl239CliW6Eu8ruU5vbM40l6SbtEC\nRlvHlRjgks3f5/pjnz3JPi/pcTcAgp+vSWnddM5Iu0tfpFEQVeucGCWtEDJg\nLucVbGyzMEEiYIC1TEv0svtEwnyRYVL+VcDQDzxNCmAmqCF7ctaZ6Vms2qOy\n/lIJNsJWjnbyIgXJakzCxhQG5zl+Pu9mHFgAo24iz27pSUAGU1ZiVVMvrPhW\neNPx\r\n=6iJF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB7Jy7UVuwBw/89X4tmepGCd3ZRtPCpgZsSMNee5w+Q2AiEAm9yTBgiEugiPR84xzVZ2otl0O5+7e0HZ0r+4a+9aOjQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_1.2.0-alpha.72feb5f0_1539799950729_0.13990082788758196"},"_hasShrinkwrap":false},"2.1.0-alpha.711f421a":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.711f421a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.711f421a","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.711f421a","@crave/farmblocks-hoc-input":"^4.4.0-alpha.711f421a","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.711f421a","@crave/farmblocks-input-select":"^2.2.0-alpha.711f421a","@crave/farmblocks-input-text":"^3.3.0-alpha.711f421a","@crave/farmblocks-theme":"^1.7.0-alpha.711f421a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.711f421a","@crave/farmblocks-text":"^2.1.0-alpha.711f421a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.711f421a","dist":{"shasum":"322f290249879fadc59b807c7b61d1f1b8cbc6d9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.711f421a.tgz","integrity":"sha512-PCnwnTrcTuSJ5UdkoS9o7vYGq3m6HP1Mmx4fi9UiNZns2ZgdpQ+/qJOzbt46CJZ+T8KkwkcrNd8uKlmnl71aBw==","fileCount":15,"unpackedSize":48757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbx35xCRA9TVsSAnZWagAAbDQP/iHkL7/FEyFoWub1UvBU\nYg2GAhdgz6YmOatd9/RljAbK8od8wzTH8bT+EpUXzscT8LQkjwtxky7skrLG\nzJstHdbWuuFvJwUX7gedk9eknjFlx6Co7i7iLFhkgz5d3BchP9NadB239auZ\nG0qBahhJb0W/4fwHNsnIv9I4UpGtNRqgrpBfVhBs0rwwlhZ4L3Kz6LpdptnH\nxcRzP5/XXmWfWMYqe1mRf8X9J2+FAx5gdPa6qjbiY06ijxx2GGokyKtj0Q2B\nq22ilV5ApgReSQvEK6h1Zw/KKPFcBxt3nWkPzDCujecsGZqKsM+tUM+IkUNJ\nmpLcY+ES/busm7K+GkuSJ07mT2OYFBZ+I+00YX8bub/Njs8R/2PclEP7Bf78\nH3XvVKYnyJE8O6223bA3pGCx2qtIwLhZsPave4hzUtQ8AfNd3FEi4HOTHFC9\nPYOY/pIclwWhGAobh4P02gOUxYs0QlvRtqFwIsamstETDuiRC72ZJpJuHGWL\nSiaF3jTgpQsjr6iNAqIsLHhzxaaH+BoysRo3yEe4XyvYd51XZcc8E0fD1zp+\nrDNNvUnbzTHrQrNafRF32K2HW0nW4MkQUgLWhCGt1PFwaUUDbwKNNvl0KQCh\nH4+HtedPijhqNTre30OImr3s06DB4TMxVxhHosICf/lmtPdqhlZn0dIHRY5m\n4AZ/\r\n=5krl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBEd7HSc15upVunQeKFJlks1flClrkafS/gq9ppU0xpMAiEAzHW/AMHBdB4k8mMogaSeNxpgAPylGZkJo9PyKY3EYi0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.711f421a_1539800688578_0.07798811204527589"},"_hasShrinkwrap":false},"2.1.0-alpha.034ee1e1":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.034ee1e1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.034ee1e1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.034ee1e1","@crave/farmblocks-hoc-input":"^4.4.0-alpha.034ee1e1","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.034ee1e1","@crave/farmblocks-input-select":"^2.2.0-alpha.034ee1e1","@crave/farmblocks-input-text":"^3.3.0-alpha.034ee1e1","@crave/farmblocks-theme":"^1.7.0-alpha.034ee1e1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.034ee1e1","@crave/farmblocks-text":"^2.1.0-alpha.034ee1e1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.034ee1e1","dist":{"shasum":"ef01f1408549cbd36fad7b1bc65b9b6ffe8a9205","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.034ee1e1.tgz","integrity":"sha512-iH7Ah9usSVEfVRq5GeLDeS1qSKRPFmaPUeXZ27smq07mftB5QUq6vvZ/raTSYB/KGWSc3ecfk+Gx0sZWRraVJw==","fileCount":15,"unpackedSize":48757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyLfxCRA9TVsSAnZWagAA014P/j2pmeCk0oc2mEZcdRLI\nfOZ5f7k1Jq8RNiMUd0KXIFBU1tdMZZjIcn80deySsuPwQ02FfU5b8sPjG5MS\nmxTz2WAP2ckEw16ibnd415wl5NugVODRK06o4oD/5EHEYHF6UC8PZkd8gG01\n8blfxwqTB1Tm3VlS6Jx7su0cilrrn1uikbPxBFRL6/ifVMIVILtVjT3Pgcwm\ndAnCVk+4dfU5Dt79caxqXPkf+vxj29vp6yhB/Z4lLaEqOGfMZW4a/NMiUP3T\nfCFq/T8r/iuC5R46RTBrt4nSrH0DX+lxUClmJuw4uzRlaAo3v4aVUfYlBuGd\nl8ytCgAjg5ZehPtHgucfPvxJQ2edkWDEZ3SBGMw6vuRvEicoT1Lfv/BH4QqF\nEM7k5xG3bx6ZdGOdRZhcMpvXcSsckLu9A3DDugC9wI2RXIRcfbI2hO6NunHJ\n07L7sMQFFdmFhqIlWWgGKOQ6c+h0YBZUyfC4bezrhb+61boiHfQqF12aZ6t4\n87qbo0k+bPVMs9qG7KOPfTbyH0F7h1XjhcB7h5OdlYBgB650mOQuwMmui99I\nTNOAjS/tiVgii49fBh1hGIU23mV2P4oiMgBjkiPNMw3kzaT7xO9Bwu0CC+YU\nC56zTpCQTFulQmUg4Efi8nZ/3z7zguSxFoImVAwmFaO+by/fIaF1SUpwcASD\n4N7Q\r\n=DD34\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDwr0Tf5yAnf4aa+gXjr26ALV462q13YuuCgZ4nbxyvGgIgT9ILMXmfkgLP0QhRdEdY5j8hwaAL9Rgwzgtksfnsg/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-search-field_2.1.0-alpha.034ee1e1_1539880944541_0.869621351260528"},"_hasShrinkwrap":false},"2.1.0-alpha.ac6e0707":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.ac6e0707","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ac6e0707","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.ac6e0707","@crave/farmblocks-hoc-input":"^4.4.0-alpha.ac6e0707","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.ac6e0707","@crave/farmblocks-input-select":"^2.2.0-alpha.ac6e0707","@crave/farmblocks-input-text":"^3.3.0-alpha.ac6e0707","@crave/farmblocks-theme":"^1.7.0-alpha.ac6e0707","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.ac6e0707","@crave/farmblocks-text":"^2.1.0-alpha.ac6e0707"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.ac6e0707","dist":{"shasum":"83d34a37e1e64cc072e1d3656a3ac49ea4834cc9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.ac6e0707.tgz","integrity":"sha512-byzj/dpbGF70MNH8sUKbSNDJZEjJmAq6jcOaO3pSEwWRbdUI1L+NuNlfujSs8m/6WnmSP6+9Kl2+p1geMJXr2g==","fileCount":15,"unpackedSize":48757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyRWbCRA9TVsSAnZWagAAAm4P/jxme8SMan7qTc/JVqus\nQdUDhVpmJZtlg9b+T+oMxjMYovBCcdP24xaZ/h22Lw9w28iCPe+5QgqB/stZ\ni5sLyAJf0qJN1x6adLNbzEZ/fF4LFnroABkWNdtcLulC1Jt7NbQSnGf86XCy\nVwEgrr1BHzhsK4CbQ2TAvnkTXP+94k/BYPjyluMELl078LzL3uTCduJe7hm3\npGM5J7LQAswZ4X8fMg5t5HIvnJrEPjyIa9mtdLvPUxn40YTg+W1CxiR10i1v\nnDMSlR4F3I/h2F1bLm1O4bzww6wwZ/uo4GxpoI/EQivsoCfujfI+PYmVdvbP\nMryXc1PjhP//VQB7KR4l+UQnNZfQ7z6yHPZoaoBuCt+Mu0yic+isZ2dLspSS\nuZbA++UI1+J4eXklFJ9QENIp2ML952UvFFRdruUmLqPX7eA0u6VPGt49vmmP\nJ/l0Bjlf4E4WjwYnA/t0YZCsuLcI7sMFKNV3Fyui+8n2n7njQYedrkxb1OME\nDjYm/p2GR1ItTog54IStBRxN3tJt4ryRenGUU2lVag0S8YSx2SCILrdL5J+j\nJyv7xtwISSFu49SR8k17XU0Bh64hhfb5rI9UQJe+h/NprjqCY5/VfONUhokz\n4fdG28F3DyuMMgpvn7Rm/F4dC333m8PMIZv7vlzML6FDiEWdwWs4LDmd2m7W\nGt8t\r\n=dVZi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCV/21brcdWzI67fFNpZw8hw6iyc5lF6HHoT6LFAKArHwIhAKjXpNQwJK/YKyzyktHzx72fA7w8jAJfHv2CQVGrYj/m"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.ac6e0707_1539904923179_0.20898781253425414"},"_hasShrinkwrap":false},"2.1.0-alpha.4bdb7036":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.4bdb7036","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.4bdb7036","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.4bdb7036","@crave/farmblocks-hoc-input":"^4.4.0-alpha.4bdb7036","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.4bdb7036","@crave/farmblocks-input-select":"^2.2.0-alpha.4bdb7036","@crave/farmblocks-input-text":"^3.3.0-alpha.4bdb7036","@crave/farmblocks-theme":"^1.7.0-alpha.4bdb7036","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.4bdb7036","@crave/farmblocks-text":"^2.1.0-alpha.4bdb7036"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.4bdb7036","dist":{"shasum":"f61c42ac53e388add64501b89ba08074a42486b9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.4bdb7036.tgz","integrity":"sha512-ehrH4YnWDcsYu0bu9IPjeItVloKt8xL1l+KD0XMEyEdsuZqLksrJeiaZUZl2YBjp6bn+jxe8IxBpgsu6YzRpdw==","fileCount":15,"unpackedSize":48757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbybiKCRA9TVsSAnZWagAAW6IP/1Bwb2rnsDA7+pvjkLS2\nIC6D35LV+u5ji0WyWxilScFGv6VYP/jmwQbyTsC+UP18NQp/G19I9HTfG7vj\n3tHXlXU06UFw8x6xluquH0GcSVvKHpA1bRsZATgoAUc8PeiYSi8bEFVCQ0lG\nj6JIJpmL/anFZdAY6wPihIv+qnQKi/L1ETrT8lqg55ZEGWOauc46/+axotEd\n34XeLlEbzXbamcCsr91QvCe2TK4QkyUn40joDeiRPa8s6hLWiBCLZPXXhyqL\npX+pRtuB4epWZXVWXc1NXKNMmz1OCQF/CID3PgxUl+bfwh93l6zSYsLi7kMM\nRIExuL0aUxkWtwnHdx4u4daaKxfiEITlj4OMRXFwQ5CEUUYE9zNLtuwiyhyK\ns9sAJaJ6KF82yUyzGr0oW+7d6jJMqSapMRf+f5Sf5iW18sh9MoIPepwWnRTR\ns1pRwnQyxwr2PRX/yn+cZ/iTgU3OpuZNbSVFWj0+nJv6mbOOkj2aiB6Fjjrv\nk3WQ8wGmCWwZd7fCBD+jxgy3r7Z/d9qi6rOwclLHWWy1KIiXBfuz94PwGS0Z\n1jqjekCTWruurDCWGRvTEL2W4kbXJocPgMjAWPzcFQEy/uyMKAltxgEBjOHU\nIQ7XS424xGN7SsWOH82a8XXM3W0DF7PUnnhp8Dzvsrz+xTJnOEEHxe8Hq0dJ\npiVL\r\n=o6HX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA8z0nBa7XWCyp4XcKz8nAW4KpSmVQ/pjUiFSOB3Hm9EAiEA+JOoSJShHncWQjr/50hWDKb0N58LVC/MQ840sS2VQhc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.4bdb7036_1539946634029_0.7641457563427785"},"_hasShrinkwrap":false},"2.1.0-alpha.e2555a09":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.e2555a09","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.e2555a09","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.e2555a09","@crave/farmblocks-hoc-input":"^4.4.0-alpha.e2555a09","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.e2555a09","@crave/farmblocks-input-select":"^2.2.0-alpha.e2555a09","@crave/farmblocks-input-text":"^3.3.0-alpha.e2555a09","@crave/farmblocks-theme":"^1.7.0-alpha.e2555a09","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.e2555a09","@crave/farmblocks-text":"^2.1.0-alpha.e2555a09"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.e2555a09","dist":{"shasum":"6e5987ff69b8ac2f3ca7b0c2c024dc1869281a5b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.e2555a09.tgz","integrity":"sha512-s2kqBWJYb5RR038j3kymM6ArbFBWnB5BWNnHphoXKXKHJZnuSg6KbBSn2juBWMsGGQnluCrmJIsUlQVkXgDdsw==","fileCount":15,"unpackedSize":48757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbydpvCRA9TVsSAnZWagAAedgQAIpv530evefFq+DDmrNH\nKRIWJHAKqa+fT/8HbE3e1lRwWFYlnn1FO3DuRLqBJbzo1Nm8n0wKKc2Z9p3Z\n1t1zz27wi8RMm5Bq8o8zw5HjVlGFeWa9Hih6Lj1p0FsLk9YJNE+MUF8nIzy+\nlcQBCDua/5iejFUqJORryXTpLvAJ0gtHOZIqMGdpp+IWceEQoxmD7g6K9enZ\nrk0Pl0LimXU/FAj0DFhYymxB3XmGcnH0iK1EBIO2tZJqreQmgb08HRwzaQcw\n1pmGVdPM/LoXH2fR2IY6P+md1a4Y/t9UbegcCZ0HoEk9x3FCfNWnI093ebcC\n0d7V5HRqSbEdXHdrIfylm/BK57Y8Tam7zsZefaIH0UrusGSwCnBJCw7g66IZ\nvROTmOGXgZO7yN9U+9AcXjJ+3T7tyPoXYYDyFpkUIOjYXjtmTA+2PfaZWxq+\njzJInNSK4zV8vyhH9ZrAg3Js7SlAXZC7FBRT6p+ElJSvSFmY0oxF2Do0BQuW\n0eKxH4mtfnN77hDKRTt5ZP8WizI9T5Is36Nuf9sYPZ+8boPbQosvo+WBZi6s\noVgS80NzxBToOfO6lEDaYZPquJcdlA2URBLjxL7pkBO4vX2fvSoHcaNcZ6JT\nXHlY4t2LwnKlXag3c1GR5X91sCkBpaIWEcO7KMhJlkU1N+TnRWFOIhdkncVI\n0y1y\r\n=TXfb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICMaqYMgMPDEHt8N3UiKDHEdnNqQ8rrqhTCFr39ScqM9AiEAvKjfA85qZ7TNi89whqSS1bqX2NhfmLe5/No53ktnifs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.e2555a09_1539955310561_0.4920551169866434"},"_hasShrinkwrap":false},"2.0.2":{"name":"@crave/farmblocks-search-field","version":"2.0.2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.11","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.12","@crave/farmblocks-hoc-input":"^4.3.1","@crave/farmblocks-hoc-validation-messages":"^1.0.3","@crave/farmblocks-input-select":"^2.1.21","@crave/farmblocks-input-text":"^3.2.2","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.4","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.0.2","dist":{"shasum":"9be46716f3476c66a3c551bce6bb1153d9626a7f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.0.2.tgz","integrity":"sha512-qs2fWYdi75kxKJHybRI1VbQIBH5gWhLdeWMzspzWF/cPJ4Ml1ID9fXQFvQ06qIljAnmHqOsrh5INv+f5WVcSJg==","fileCount":15,"unpackedSize":48566,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyd2bCRA9TVsSAnZWagAAo4oQAIA/TbdPaNE5ZuwN7JES\n1y5mW26uYKleSglGM4asm88XzkAuprvukWLYO9+5b/PLocRrNQmk0yiGjzv/\ncruMJWhMwyNa6WkhrID3T6vy6QzURbJGBpHqsY3FHBGD+TEWAc4Vr5D7Dc3o\nStsG6gyKt45TFkVOpXr4UkyzaSjnfZuSkN4Sc00KxfbLBHthFcBmO3VqieP3\nR0sDCqG8jqBLCkjwE/woKhx3a1OqbEZu+tP4iOs4Z69mS7GlU9W99bngWiqH\nFbygzGNmkbtkv11rOSRnieYynoXIC1NgtoxDHws7mT4bhkn2SUmmmhypbqpu\nXbf8/+uCF8R5TjVkImnLd2mEoszMBGAKDmRsREyILIauaxB7mOLemK09ZboJ\n9TyZLdh6m7C8MtC1r0EwbinT3vDZl66Y4CsMZcHprslpWi+INAZoIKDQflD9\ndAsGbxN3ZeqB7LErXGx+mml631ZbiF3WLjeTmX6PIZmx33ilA5fM71/wjFyO\njxXlC5T6JT9k9oCjTTx+rYhypx82BC5Ql42xg1Vlrddh+w17vbkut3nRdRx0\nzDdnTcYAQQlpjy/yIv5daS7to0eyxPHzaQ3UDQORaxQCwXiQkfaK5oD1+QoM\nSdpO/Nrov+5GK7cdyaROp/4ZV16A84jprJGBuLFGGMtOrv3rFeUJZX3/OFqg\nUGk6\r\n=md9n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHEX4fafp5JP2b2U9xI9Gqchux+cYzUD692uJNWRomVAiB4o+6YtueS5LK2YQybQW7rpfHP10xmgzgczYJ8wUCRTA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.0.2_1539956122831_0.5316609300143156"},"_hasShrinkwrap":false},"2.1.0-alpha.c2f8c5bb":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.c2f8c5bb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c2f8c5bb","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c2f8c5bb","@crave/farmblocks-hoc-input":"^4.4.0-alpha.c2f8c5bb","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c2f8c5bb","@crave/farmblocks-input-select":"^2.2.0-alpha.c2f8c5bb","@crave/farmblocks-input-text":"^3.3.0-alpha.c2f8c5bb","@crave/farmblocks-theme":"^1.7.0-alpha.c2f8c5bb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.c2f8c5bb","@crave/farmblocks-text":"^2.1.0-alpha.c2f8c5bb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.c2f8c5bb","dist":{"shasum":"68b600de56d2c436064ee3c1c5ef68ddf3ac7887","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.c2f8c5bb.tgz","integrity":"sha512-UaO6S0V6cFU4cxQ7AKj2ruzH3zGHwTPhJD4CPWgtwglb+xEAxpMJvlplSitZDmcBuilz42MuiiwxEdkmDQEhmQ==","fileCount":15,"unpackedSize":48757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyd5xCRA9TVsSAnZWagAAiyEP/1dpZvOXfufYadsU4LvO\nQmxKJ+DcIrQ69SNUJ2pgqwyoe51blAUpSdU4TqnZF7v9nfU+zcNYXAj31IL/\nr4ui6D6S/GxyIlc3abj8gv4BtRj5La4uMp/XPDP4Ss1f3Ek5ov0Wc4312is0\nrqxdOP5faQQjz6/4YgAdmdj1+iC3uzjgtVx66R6tqMIk15PWohxDDWDuq8ss\nVPTs+etSWyORZKIvDiH7KxP3EIM/TgmKs1e4WMqCLBKHJ2zTMPojLtY3ndOh\n7DV6h9uHYhTBCI6L/0MlV7btatmMVv5XyRcb3lCpdRR4LjQFg9V0pLD5Py5S\nVSP8VygduGJ8sNqsVU9iQpMT18FLEJQRhduUIT7RRiKkdStKnkcyFGVO38DN\ndpalZs2PUeYQM69l7X6kQTBoH45yuDjdd4XpJp76Km7FIclfDgzkA9AzET/M\n5aEPXwb+PrASeC6Isqrzz/YgI1mJ746f77+0r4hG7rtvLaRPumEyNrwU/8iv\nRMEqcMQxKZ69bbDvsCpOuQc3dajn/bTRPX++W2gJ4fpdtXjDnZ4Q1amdhtrM\nSYFgEfYNJmgc6eF+Dpr/frz5fKRYz5KZKICPNpl/6rUVekqvqCTuPvh1aN7c\nYzNcyUQPc2LOfFEbBYy584MarVLfGYMdaHDn928Fs+hFFYPoYODwLKoGIhdC\n/zZF\r\n=w0JM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHYPfzP+vJtJKp2nW9yVzwPoZF3u8gkd1MQGYp0XvnDAIgaW43zLLldYNzdOV9LkDSu2XFTGof74Djda1n7xSI2IE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.c2f8c5bb_1539956336908_0.9599621887940828"},"_hasShrinkwrap":false},"2.1.0-alpha.bb47cd4b":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.bb47cd4b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.bb47cd4b","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.bb47cd4b","@crave/farmblocks-hoc-input":"^4.4.0-alpha.bb47cd4b","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.bb47cd4b","@crave/farmblocks-input-select":"^2.2.0-alpha.bb47cd4b","@crave/farmblocks-input-text":"^3.3.0-alpha.bb47cd4b","@crave/farmblocks-theme":"^1.7.0-alpha.bb47cd4b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.bb47cd4b","@crave/farmblocks-text":"^2.1.0-alpha.bb47cd4b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.bb47cd4b","dist":{"shasum":"ae5f39dc4fb92fb5013bcf0076ffa5a59a4b83c9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.bb47cd4b.tgz","integrity":"sha512-d1lqLNLEKOQ9FyKL9hTqsg3aiyGXYGbv4/CkO30ZVi0/6Acq+WOB1vZWEYDPP6YSovxRYotY63aXXaAARK+m7Q==","fileCount":15,"unpackedSize":49003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyeIQCRA9TVsSAnZWagAA3dkP/ApMLvZPWZthIIsQd9As\nuCeZxDcBfktobpgzcYv9GOaCZGAQ6EJhjHKwhMiNXRD6ohRjY8+e1PHT2O+2\nEMxLztT1Ys2OZVQzBzlOI5Z1ygy98LYeKMosEfY0NwQT1xqoL2jVzPw3btXV\n2rn/XeGX/UVOguLvo7PQlDgqy6TOjuOY7fRgZmYp1y5Y8qdI2sMqloUOZisX\ndF57izv8vmaXh7U3cm/yV6hfhyN76BkhvXJDhnQsIFycW+zUpFgHKqbrjBKB\nkPiIiOvX8Mm4yJgTaZ3X4LVWQVeyALNR82x2INci4Vat7H3ZmvVxUguL0dV5\nbbjLS2PSwZX3ADqNlXXDnIzK/CMyX9oV4AF1dBZ29s/iLqvKbiFMQQg4eELl\nntG3UAzX2470J+39Dc6S+jS2LpuTBPtxXlH/0CSovRbaVqIcxSW+zP3n4yUp\n44UcUFg5wB5jhJn1EWiY2QuiBSicJHOnv0IoXppMqA4J7wLI8CHXbr5f5mRB\nFHTXDem7nasxeyO2qWSSoPi2BJxIWBBg6Aabz7mz57w3B2E7RzzCqJF/uz6/\na9nHWvx9RmcGsM8HEsy7dcbaKXbVnchJzjyzjB810doV6C0DKGrv3hBh2OQs\ntbGCoLtMbF/YGpItHg714sBYkH1eLbB4hMGngMMETB929BIIN/ibDlGANd1c\nIV6U\r\n=h8oA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCXgf/95xpGi805yNuKfROCmYUVdiJC6EAZsMvG+vDVYQIhAPhIhvxIdd5Z7P54tPOX6tqZkZ4rcucahh7QmTXkTGon"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.bb47cd4b_1539957263695_0.9093503125404956"},"_hasShrinkwrap":false},"2.1.0-alpha.c609372e":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.c609372e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c609372e","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c609372e","@crave/farmblocks-hoc-input":"^4.4.0-alpha.c609372e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c609372e","@crave/farmblocks-input-select":"^2.2.0-alpha.c609372e","@crave/farmblocks-input-text":"^3.3.0-alpha.c609372e","@crave/farmblocks-theme":"^1.7.0-alpha.c609372e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.c609372e","@crave/farmblocks-text":"^2.1.0-alpha.c609372e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.c609372e","dist":{"shasum":"44cc684edcc4d7ef03936378d9113ce797b5e88d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.c609372e.tgz","integrity":"sha512-xD2aKhQZvu4Ugi1ZjVOn7hy4cyJhSWKaV0Nt10TbJBukZ6zgRGW78p3oPcKuNczhaImEz2AyppTJxTV3yng8gg==","fileCount":15,"unpackedSize":49003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyg0JCRA9TVsSAnZWagAAQAgP/jZvM0Ox4kKzUjGeHf50\nsC2fag770MCzwrRA4xLO1IBqJmpcEN7c2QqP3h7Qamf7AOFD5EIUnQ9tXKWn\nWr4cPsgHD+AUJ+ylgSzXs0DlQuKDUgSUNSR640XGBtQehI4Lz4aydyF0UX3Y\npEUmryOf8yFwJRvhQ4hfdcH8qdw/IUmuISWTNqEEFlR0ARbyGyp3MT5Y6GL7\naoPBiKgrYjDpJ5hmU6LVMRojavUZOL6qLMWfZlsgYw72An+DalpQAzdb9B2x\ngaSnUuv7b2qzAU9nVrMEi5xVmvSsJLokvHp9PqHY+ANppuViYtKW0rzS/wjg\nJxEo2z/ElFy2phsbpSivqpJYa/l6S16UUdzg6ENs55DZJaM0tZmSp/0DhqJg\nGLJXjeYoqOdd8I0RGaydVdn04NanwhvFx/TJq/N8TYAaKaAEMYFdKBS0lJQu\nxVXC/fvIykIo51u5TSIlIaorMHzo9TEGLgPzc0MG7LYNsL9s/qrdUIswcZtm\nMUjMaDsnxxnN+UBRsgiJboO7nppBfEOAC5+ct4HjqQa95ihjctHvMRuXBw54\nVhkdEbW7210r9sDG2uTEpbrJ32lwfOAvnnhJTPIKgq2cKPVSOlVp/91xVkFt\neepenMm9pUubvbLPYHRnXh26PBhmrpjUX4I8HSYmQhJeQJsD0sz9RRtxVBha\nXg+4\r\n=h2oG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCQCuMsx0M1I4azEHtilwS4eW+6z8Jk8BXlB4HMY+OOOQIhAOhqe+wlhju/hU4ecYoOClBSm7wHRx3DFgPtL8+a1in5"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.c609372e_1539968264916_0.9053954752425011"},"_hasShrinkwrap":false},"2.0.3":{"name":"@crave/farmblocks-search-field","version":"2.0.3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.11","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.12","@crave/farmblocks-hoc-input":"^4.3.1","@crave/farmblocks-hoc-validation-messages":"^1.0.3","@crave/farmblocks-input-select":"^2.1.22","@crave/farmblocks-input-text":"^3.2.2","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.4","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.0.3","dist":{"shasum":"ff4a667c38ab75311bbbf5725f13bcc525b9f50b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.0.3.tgz","integrity":"sha512-urZDG/zNtzMz+zgNCr+Aovdw8KT5K1S51oCQi7iUeQ19/9xWOsuRX7xtq7756owM6XRQm+WSMD9fI0sOtCZk2Q==","fileCount":15,"unpackedSize":48812,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyht0CRA9TVsSAnZWagAAPCcP/01Kd4ClMu+PCfzlcWqR\nY/Yd3jaAZzxVPB55GKeFOv6i8I93APX62XcKMfcgeDyQCqZJzPC7FYL5LTbN\nA4qQ4yte8NKJz/Cy7njrJzrsWD0GwNeEh+Ble5jA32VCN8Agh3Ydq7xuam7F\nxCPpIveas2BLvhdXZ7uJCtBiqzwrLSvyPTs45dRMKQfxOEnvnVT+JXUBTAV4\nUCrrOgg5nwPgx6IJV9zN4PSY/nJRPmtXi3aJbN5rB+qff2WlNh7PMM4XbSzH\nZzqjNyaBmiVBR3Jul4f78ThKsKQUFc+YTc9Zn663oCh1IT1345vQBg5kYsa6\naEwKNs/1elhK62EtXfSdK+9lh2DZStXRJQGJ3s7/bXJvdf8xLe44nNYSFqQp\nmEBZG8VJ2ElmwzgM4cGXcuGPmAc5aKpG/fsqDma4ot3E1GKWUJy5xLQykRtQ\nfkveTCxgqLmOJ9dT8NxwntVcHly/MCzwwgYh8JYOMGQ5P+CQcrJyCxNwrFQz\njOnqdpUJ+lKKlb/Rzm8nNtJjYF8axXNqvlz7+kA2SOJFdD3dGLNVSkyX5Nsb\nHJ851VMxeNnnavI/sLjW8mSiS5ci3KHRGMMxY4JCyTJFeK6mYp/miPdSPBlB\n+gUrOF+wN+LjusjriFOeaLzkPEdbl31KQaesIhDhYVHxIlpbyofEm91SJPdh\n3kHL\r\n=SOLB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7bMKm9LgQth3hdsiHKHQ2pcEZuU2bMbN+SkseNBFGjgIhALrbvh/zY/l1/pZ/ufpzpdsGufPlIa9HUsrsDCNde3nM"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.0.3_1539971955469_0.4771696668495944"},"_hasShrinkwrap":false},"2.1.0-alpha.25fbfdbe":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.25fbfdbe","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.25fbfdbe","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.25fbfdbe","@crave/farmblocks-hoc-input":"^4.4.0-alpha.25fbfdbe","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.25fbfdbe","@crave/farmblocks-input-select":"^2.2.0-alpha.25fbfdbe","@crave/farmblocks-input-text":"^3.3.0-alpha.25fbfdbe","@crave/farmblocks-theme":"^1.7.0-alpha.25fbfdbe","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.25fbfdbe","@crave/farmblocks-text":"^2.1.0-alpha.25fbfdbe"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.25fbfdbe","dist":{"shasum":"6075691e07b39420f12c33e5df9f01de54f0587c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.25fbfdbe.tgz","integrity":"sha512-bYr5RJmmpTa3OsrQYtLxBr4fK0ZNmwzZuepE8DnK0yr4un6WdRI+5fR0fgXmPmY79xAooY/WYAx0aMAdIov0xQ==","fileCount":15,"unpackedSize":48757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyll6CRA9TVsSAnZWagAAmr0P/0rZDxj+xu0oRIB9yzEh\nsCJ3kckQEOg4xgmkpbS+aeqepHci/vT8FxMlPffvNDtcag8xLdL+8qhXWB3E\n/wfwak60hin6I7Hmk/kjDcLbmiW5L9ZkdTDoJAXV22XIjewtQJEXLhqAAB8z\nZHmUxg+EVdVR1juwFZ32EyqMudpFIxqoYYfmeSr8m1/ktSwNYWmkl/Un12ln\nkZETRFNHshiwoingGmMcwy5Je0G9gliJM7S94Vb6ZYPuSf/456I6iRkpuO6x\noOP6W0qo1whIEwpmYqaVeTpqzJaNan/XvXo09iGmhKxWqz/e3lsTyLrEs6nJ\nH8/9dIwUDW4S2SHJqrz8jas9aBTFrpNQbxjYtrVh+HEqvA/gZ6Q8jvnqOpyu\n4JZWUuD/GDZhbk0P9DFabGN6s9hrAY4pJefzpsOOcBIRTtvB7WNXRUGumBtB\nYOamtQ7TOPSTrdf2cUPR4kh0rM+TI9egGctWh/V7SbConiovIlry75hUMl8z\nhb5Lr0oJy3eqZxzn541Vpi55THmx3eEq38YI9Sv2daFergShhrlhkmw9Hr+O\nRcahHouL0om3+U6D+mmHOVU/AnlvljRbWtXiN60FzapCZ8ehjhQMHIVMoqyc\nl/LrvrNYvFHcWdbcLEclK9WAT4z1sDqCaG/xGpyDASK9/6fbHNNiRCkV+jZu\n89j5\r\n=aGW4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDG89l9LCPY9CbnRhCFfmaB2C+X1IPyzhys2Zeb0rdIGAiEA7y9IHFvXhFL/sUFyp7e0xg4GTZTucVqMeiEHtKLbOYk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.25fbfdbe_1539987834312_0.26605562870317545"},"_hasShrinkwrap":false},"2.1.0-alpha.4685fddc":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.4685fddc","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.4685fddc","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.4685fddc","@crave/farmblocks-hoc-input":"^4.4.0-alpha.4685fddc","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.4685fddc","@crave/farmblocks-input-select":"^2.2.0-alpha.4685fddc","@crave/farmblocks-input-text":"^3.3.0-alpha.4685fddc","@crave/farmblocks-theme":"^1.7.0-alpha.4685fddc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.4685fddc","@crave/farmblocks-text":"^2.1.0-alpha.4685fddc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.4685fddc","dist":{"shasum":"6ae0bc311676614f9dfccd366123f55e1791caa7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.4685fddc.tgz","integrity":"sha512-Q98tlX2GVtIc7tWmQaY63w1VO8EjsTgQK6fCaM5WiE9oQKBlxXVFtgwk/Gik1eRDDWCIove4HH/dgMDERTxwEA==","fileCount":15,"unpackedSize":49249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbyrpbCRA9TVsSAnZWagAATEUP/2HlCmbGAwYaxUG2hIyV\nNNiBeFmUemL//F02Z+Pf5W/2+VQVx+BQ/cgJIXvo5iFwZs9r+9VmQiw2EVv8\ng1jd7LGM1w2G9iyogetWFgicfa36EGQ38Uldgf9eg54OFZpFkB2EYqmJKfYh\nSiiz1QR/UNiFLaDntCwWhuDqcSX768cmURzhmFOoYeUAEE0EhgTzyIWuX2CF\nMNNTdSZBIqjv957kfpkxHgR2Kx7HIwVI8jU9eXMZT3Qj6RaWsqS3lS03C+OQ\nT5b9YnQoA83ZjXsscNCGe6sxP0yLBivle0zkwbBEC8RA5ZSqRp+t4IrGDKSQ\ns2aOisgXR8FOSH4o8FqIC6wty99sv5Iz/KOnFUBjY2wwCb0g4xR332bWUh9p\nTu/ILdysogB2bWdrF9FUd671YJf8pOVbxRnYzavclgbpGPsUWoe59JSc28lT\nSva2kcoBAqUUvBq7ayb4aTFnKdfdpLJfPIDna3eyJckGfQbMbLx43NrsxTzP\n4WVD3OCjM5OUUSYd7FlcZYRzqABOiqLN8Xeia1Fie+Ad72UoFnFjqA/SwJ+/\n+EaNYAy6sWS8YzC0SErtowshPBl7ck6+X3TSaPnkKyJj8yDnS3r+i2J09pZM\nxTkVwTcQh9y1zxxxclme3p35tO/GzaLFWDPwp/xAQbxXk2W0+9/2AaIDzm3U\nEjmm\r\n=pcT4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYui6Hf5931AE/p7yEdaKnM8n39j1IHnTVITD4EQ0UFwIgL8Ovh5yYLLafEya3C6XoE3cMa2JcG+YuNL8uOggxKYs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.4685fddc_1540012634543_0.32628063023307075"},"_hasShrinkwrap":false},"2.1.0-alpha.328cb768":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.328cb768","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.328cb768","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.328cb768","@crave/farmblocks-hoc-input":"^4.4.0-alpha.328cb768","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.328cb768","@crave/farmblocks-input-select":"^2.2.0-alpha.328cb768","@crave/farmblocks-input-text":"^3.3.0-alpha.328cb768","@crave/farmblocks-theme":"^1.7.0-alpha.328cb768","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.328cb768","@crave/farmblocks-text":"^2.1.0-alpha.328cb768"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.328cb768","dist":{"shasum":"23dbac3b392046054f7dbaef333798c1bf6f027f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.328cb768.tgz","integrity":"sha512-UjvxOYMIObL+aUiO194sZm8gQ0tPXG8Z8Y3jWLJashvQQcpYKRblF++zWY/dSRpntuJ9QI1xByB5Im/X9An48Q==","fileCount":15,"unpackedSize":49249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzHs5CRA9TVsSAnZWagAA/OUQAJqT+K/+iIZGAIBxBVDr\nE5EGmAiEmb/fhDy9hLelvY33GphrHZDQzpptabNh9cdSjvNj4zaB05aVNWQU\nWmIqIbT9hAsG/HWepsSgvA1J78UR21PI3OQi4aLCuAauE85tLZptF8KriLrt\nxzPp0txhbHsT53OfSygBNBo9vFvcbt59FQJO9ROeDCeH8ZSUcG4vkzfKyneT\nBYKZK4G6A1TkVqLR7a8OeLnZRqxz6JuACjqyRszGcIPF7C27jWWL9O2foAjF\nF8a6D+QRcEF/1RvaGCw1h7XXNKbevu6qWRrF+Tc4F2XNbMPIMJGk1q8vE5ME\nx0aw8onjtQsDO8m24XrDnn1cefSF0GxLoVm+B9Gpqdx5uMhlpT3m4QOFx8J9\nRMe0keeQwvrTaD7rtI60+g9rJio7rbH5h74Q7r8NaWROr0GmwRLN7J/dvrYw\nqjq1FgStvHf0UM4KVA1YTDhqUg1VEuZhs/Qd6p1yu1ajaQEjG93CBjQTz7b2\ns5vZu48sK7nZT7uHRx60EhlO06j9vezjTUvTKUkoieWbynT4RrPZSOts4Nth\n3UqiyqkZfz05zTKjFLzU5HMOQiDmChtcrYiyf0IpZiDqKtLbB1qu5DEZf+i8\nBQBPXwOdSP6UPY+pp574RkSHCfwVApF1bsGfjTGon92j9pQVxOBZPrA8bJp0\nPHo/\r\n=DawB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEe3EXu5Pq0SWDF9Z6MgqPcaZLLTKF6mhL61MBj7tiV7AiApikQsFjebRIXbEJsSqrRJfu5MSjkrb4Dm5KLS7uOdSA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.328cb768_1540127544861_0.5056436754828673"},"_hasShrinkwrap":false},"2.1.0-alpha.1fc84f82":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.1fc84f82","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.1fc84f82","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.1fc84f82","@crave/farmblocks-hoc-input":"^4.4.0-alpha.1fc84f82","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.1fc84f82","@crave/farmblocks-input-select":"^2.2.0-alpha.1fc84f82","@crave/farmblocks-input-text":"^3.3.0-alpha.1fc84f82","@crave/farmblocks-theme":"^1.7.0-alpha.1fc84f82","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.1fc84f82","@crave/farmblocks-text":"^2.1.0-alpha.1fc84f82"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.1fc84f82","dist":{"shasum":"06b741cb9be4702f42ff5a9ac962c35289a7a8a7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.1fc84f82.tgz","integrity":"sha512-Jx9RbjldnmZ03tw+BVqeqTfSAZ08wXJKGLwD13+EJ+CZsZagBVpz7g/kBGp+JrT9OCzcCy5r55OtW2wLTRL+5g==","fileCount":15,"unpackedSize":49249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzjLNCRA9TVsSAnZWagAAULEQAJ/k+/y/ai/Er5IIeDSz\ns3cA+al4geKgfG/DpPqW+0IgIgrCok68ZFqPsDSHDoayfQkC2pO6kYIjHyB6\n8BxovCTegAXEeed1Q+J2W6ovD/pa5gRUaUnghbPhSzPzI6ks0dHc7A9viYAX\n34AAXGReVvDytUWFeP5BEfQfrN0/Lz1MEZJE6zizaQqSKyJVDFmFM+zLhLgR\nkdvrUo00PmpzYpVfoRoywRBLiy/FrQt6TeHrhKU2OWo02q6T5PgdDSgw+ke3\nAEuOHjTjstBs3pH8MIyXi8Azr0T4LhVAP+SNNyLzP0LVyIxhchpuayzuSE28\n3S0nISw0iqpDc7K3uEzLEdsqUACUXAcs0bp+5r9OmxG2xTSbKeOmxyjBp+TW\n73hsaXR+ZvIYwne9nQfEBVdM2mR26nH7BUiLRbO8fjBrwd8LeThRyYI7WYot\n2NP4ND+NEfz9HOgbQ203nEgVtoDkT3wtWUNtifqr/6pX0jrC8/5XNgcq844d\nfkuv29gP1fTSTiW82yLHhYNFN4q0vs1S2D5+oQdjbYu0CDLq3fvk0i3NTYQK\nq2X0jlrpMm9EqLLFmjtVBfvQI+P35fMGjeyo0PZy5t53amPyxjBDDllNTvXI\noZWTXzWbv0upPxvU15RkXyHfvzsW+PYnHfDUhk7r97uRQp2ybfwRF3awIHG+\nX008\r\n=LFui\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCd70/pKmpEs3iob3gRgZ/oYcOl3bQBCsrHstHUWZAh0AIgT3g7YjDoOQGhwlgOSkUR6oaqC5nVbX1pWMVATRj2UXk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.1fc84f82_1540240076324_0.8003450819630256"},"_hasShrinkwrap":false},"2.1.0-alpha.54e7fc6f":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.54e7fc6f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.54e7fc6f","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.54e7fc6f","@crave/farmblocks-hoc-input":"^4.4.0-alpha.54e7fc6f","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.54e7fc6f","@crave/farmblocks-input-select":"^2.2.0-alpha.54e7fc6f","@crave/farmblocks-input-text":"^3.3.0-alpha.54e7fc6f","@crave/farmblocks-theme":"^1.7.0-alpha.54e7fc6f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.54e7fc6f","@crave/farmblocks-text":"^2.1.0-alpha.54e7fc6f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.54e7fc6f","dist":{"shasum":"2d187c746e81478ff634cdf4f138a0a298ce4280","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.54e7fc6f.tgz","integrity":"sha512-Fh8rF9J5olm2+pp+CkimXlbSJ6Hm8BADqJPMU2tzB8pZkWv9aIl9do94Cuh1VyPjfgOx/RG0WvcHwWWKMl9tkg==","fileCount":15,"unpackedSize":49249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzl4gCRA9TVsSAnZWagAAnzoP/A8S2aziG25f1wMcERQW\nmU4KoF7duNT69V4+QX5oTKc2gKn2U5an51GjXaAg/2D3MRYqt79GWAlUFFkB\ndBMChFo7MF+4qWMI2dl2zv5Ly969uyU4xkTHaIe3paZCaNl/6LcuDJkSSmZX\nNTCqKJ5bGjIoagzUu5KioUVVTWuUx/dxHBGv4nhYJaKT7jpZT9pUCrvYIKsB\nXuXRbhARmCf8pljiIWNKIBOshU2EGvZFSApXCG0kpvwfb8sPSn1Wii+MsxKE\njwlx8jC46IJNc53WXI78xMqlSc9AFsUUKjKsb79ZOU6Fagj9Ed8VOWbQSJMj\npmtRWw9yLfQe2jMVXNfd9iUunCukuJ5ASMe5lq43iD0tUlojzmQyZn4kQ6oy\nMyIoI1t4jIiEK0ah3Iyfgoh+jvBQWvYBcBUBDTvJvJj4cnQdw+ksHCLqE74x\nxHRPGO3KFjoBDWtT8IMgbxo55nv64iVOIdaZXkrcIJ9QfbhS8X1nusfk2hBq\nwhFb4K4Knrc0ny4egxbxhPgZqtAYJNEBMwUsMLl5lYYLV+Phnm8JKVGiUiF1\nPd3jgy1JkerWgFTKjm3uKgTzen1uRvPXdDMX2BgQCd/2m9tUGHhUE69I/Cod\nQ9oMorrxestmtReCcajovbaXnXTOm8FFAD/oH3H/RigdZUSuL9QFNVN9+JQM\nRlTF\r\n=4I0a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCEWpPcug5TdfOQq8QzJNNBa+YGlM4egli1m+bHRQ+DUgIhAPeThPb+wza0uSwWYX/s4GplkRdzYERSbmghHxmnUe0O"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.54e7fc6f_1540251167454_0.1389893040241319"},"_hasShrinkwrap":false},"2.1.0-alpha.fbdc2ca3":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.fbdc2ca3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.fbdc2ca3","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.fbdc2ca3","@crave/farmblocks-hoc-input":"^4.4.0-alpha.fbdc2ca3","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.fbdc2ca3","@crave/farmblocks-input-select":"^2.2.0-alpha.fbdc2ca3","@crave/farmblocks-input-text":"^3.3.0-alpha.fbdc2ca3","@crave/farmblocks-theme":"^1.7.0-alpha.fbdc2ca3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.fbdc2ca3","@crave/farmblocks-text":"^2.1.0-alpha.fbdc2ca3"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.fbdc2ca3","dist":{"shasum":"00fb069acec2902ad20018fa769382c5149316bf","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.fbdc2ca3.tgz","integrity":"sha512-sIh1kXkBPR9bvQQJyJIAeQrbdRAy/fsD4U6MnR9Y/RTMWZo9bmBdKDzqnuTXgg349zwCw71MvIa0/AG+Vqdalg==","fileCount":15,"unpackedSize":49249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzvUdCRA9TVsSAnZWagAAbHgP/1q2wldKXClhc9mxBEDq\nHeQZOhPwc8HcfILPPnLAuJVshgQd/EH4OPb3/JkHugXzwjwQnsE+5IhvkzKn\n3eYFnoR3ivcI18VBaVYXu+Rhl3/sTgl9OXb8fUZv0eT3GYXeSz2UbQX4m+eh\nKF8LIO5gd3sa2/nMnnbgvx7jpPRrcbYwVEvnnQKl5/iXgmgAJg09gEuxHQLJ\nXftlMVi1tdd0n1LbVmY5MgDPRpHaQdZkh7kSfFNp+b19tPxXiteFTSkfl6Qq\ndjOdTCdfBplkr/NXdhSSBbnv0p64uN76Yh9lcETmSO5M5LFjoeDLo2tAifsx\nBsBOhF8LpqZ/u3qJM9d+RhrapB5qebs9mucLdOWnLbUXXD/CMtbQPOCK18yt\nLtjyJBU3X0AZxFtFJlhrXqHN0leHtrKrQ48dWTdku3E9n7MjThE/raJxbLUA\nVs960rk5XwXnXpw/CgjvHWvWF+dY3zzwuGORmFPqQptnx9rgCgapfE+zrbS5\npjVOb61dK/M16eLB6acChdIo+DzhqC+gfkVZjm8GDISbFJK4Ry1Y38V96cbj\nJt5pS6wsCVBSMyiu+qoSk3SuVsdPoXo885KUCdsKij755oJw8f3wLIGE8k6j\nI8ki4vNBWHb6zk5NUzoQ5EGQAUODlapEeQklO3xvS6OKt9rS/t0H8dr3TX7a\nsRtT\r\n=TVXC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHL9SEn5vvsbyTHy9TMXQiyJiFlg6SmrVFXuP1uOvsiKAiEA4GqyMv68ZSNQwUsOl2S9NPAHEP8uQuN+/lxS7kvnjuM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.fbdc2ca3_1540289820851_0.008341742340921554"},"_hasShrinkwrap":false},"2.1.0-alpha.08f4e1e1":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.08f4e1e1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.08f4e1e1","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.08f4e1e1","@crave/farmblocks-hoc-input":"^4.4.0-alpha.08f4e1e1","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.08f4e1e1","@crave/farmblocks-input-select":"^2.2.0-alpha.08f4e1e1","@crave/farmblocks-input-text":"^3.3.0-alpha.08f4e1e1","@crave/farmblocks-theme":"^1.7.0-alpha.08f4e1e1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.08f4e1e1","@crave/farmblocks-text":"^2.1.0-alpha.08f4e1e1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.08f4e1e1","dist":{"shasum":"614e34ef82269dc18c0264803838b8e38cc539a4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.08f4e1e1.tgz","integrity":"sha512-GUaWhg1YC184Immkio907XxQDWyrM6YzFWpjoX3GPP/VvrUEpqabK5RRK4kslip7VKIHN0Oy+4qzdz3suAnX6w==","fileCount":15,"unpackedSize":49249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzxndCRA9TVsSAnZWagAAxKkQAKB77Eu+8f9Z+SdiIIF6\nN/Gxkidnn1RV9ngjPePrQwbMNivUmNH/rwsEFVLgiy4QkG6SF1RIN6Bs6DEW\nBCt4p9eJLwgVw6+C8wc/Oi2gVsOEyNMAhmVw09YoEjM2wZqb+svjeK7hQKCi\nyHxNifYV+LMCIaUrvHk1GySVNI4ynErJRrvfRovWGqRmGGXvcjXJyhMOh5sa\nNx3q/AGaROLW8HCCLEQBksA3KwEJS1IBN2pL6dMR+lwpHHgboKYgXFDezx3J\nLUNhWWxyEmObl30GdppoUdbkhwDZFTK/G4n1HRxnopUILuNPOp4fF70pmo8j\ndB11sVmBoGhPr12VKhfh/VJPzQaOmZC/GKGUyvwd8qmaWVMy7uTOFChlRaTl\nswsmG5k+c4mH6V5YYMRsOrSkBy2/Jv5qgFWynVjdlewqDbghQ+5Cs4MrFYHp\n2Sr5BKnIQL5Pl0fDFh28X1TKVxiwfmKNk58Da6aeZsIwkcghw7XoiN8TW3Mc\nrsbQgwGvx1HAiAJxNdkqeEzHKc5TGOgmpdj2lEp52vrt1sXYZoiQb6TEzYM8\nLR4RTrDlWhjrBISYwy/2rmNz+IQbMc3JPMlYImYCevWBuYwlbhw3FRKcC5ZZ\nBOhleHgSnqXoIya2LZp6C1OEaO+8QZF6x88tgtpkq/lvFkdd3XJb+I8QmE3v\nvpMi\r\n=++6x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1CHoTxC8xnarCb8CcoW4PKDaQ2arrITcqLv19qwP3rAiEArK6zxEYWw6WnPV3DFSQIv4fNDkIOlv5p0w3YwxEw28I="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.08f4e1e1_1540299228263_0.017414363255128906"},"_hasShrinkwrap":false},"2.0.4":{"name":"@crave/farmblocks-search-field","version":"2.0.4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.12","@crave/farmblocks-hoc-disabled-tooltip":"^1.1.13","@crave/farmblocks-hoc-input":"^4.3.2","@crave/farmblocks-hoc-validation-messages":"^1.0.3","@crave/farmblocks-input-select":"^2.1.23","@crave/farmblocks-input-text":"^3.2.3","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.5","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.0.4","dist":{"shasum":"78f10b6cb2982c6ae2aea325284b53061bbf3c20","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.0.4.tgz","integrity":"sha512-AJcqSysIUl/iRngW0KUWfXpX1RnzRa3LrkTBTPf8/kRcH+QyGCrEq6UAacGdJ3b/F5Ksjnt2SS0EVNZ22+9EPQ==","fileCount":15,"unpackedSize":49058,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzx57CRA9TVsSAnZWagAAe6cP/jzDgrLkTUAuUzMqHymv\nX92owjnYHv7wiWfhOVCp3oBHpPmJRuCbFIWBkmJWS1nI+oj+6h4Eoc6zhdeJ\ngViGrZv+gN7xcXBEr4SudUJarJIYBMiuY3L8mcEdEDZ65kp0pUPYe7WF1qTN\nCqlDLGfBJbFMenT90jstj25IjRO+l9a2pge7I/LKXCbb/Vxtk4JRufEHXNfz\nUqD9pyPdfhPBsCqkbdmR4Wsfxxbr52hkSYEifTxhmguJ61JC4KBFU74zGrZs\nvtIxnT4LNiMig54pA3AcRG7SP0KBxluhm1n70w1E4FrIL2bAY5qXy/kmPzkn\nT5iy+FV0U4g4BzDU2Uni+p9nq1XUD+a4i5+227dhap6TiZ9hdAN5ZMxNmHZl\n4ujg0yCK6DXhYJswFB6JwC8LEcW9Tmik9LaH8kHZEQ9PMoXYSBlNhqt8Iflx\n+wOyK9mgYV8UKsJFtdIuMP+aY/zRZDVsk9LNeRnSl/87L4bPBWVlsBNwY8Pi\nsjhu1wO5rjOa1NmzoESBCqdhNOacdt+BAbq2b2dWZxi0C+HBztz2w2ZQN3RC\nvdegk0o6evQ+GrPUjhPg+5X2RYHu8XgBYVA9Gzq+F94O9mrQZAFynHHqCeQ0\n67Nzerj8y5xkUyAkYfGa/sI4kGc7th0y+ifIKDhNJGEplsJNqmqVnfmTQd29\nGfaz\r\n=YROV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbhso5k6WkXocD3+HmsVvSwAob/vlw416dymfmazX8ywIhANxKC0ypRlvvsQ/GXY9MOzY6tVafeWEmOSNJvYMof+MK"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.0.4_1540300410330_0.535236877961587"},"_hasShrinkwrap":false},"2.1.0-alpha.9297da9f":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.9297da9f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.9297da9f","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.9297da9f","@crave/farmblocks-hoc-input":"^4.4.0-alpha.9297da9f","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.9297da9f","@crave/farmblocks-input-select":"^2.2.0-alpha.9297da9f","@crave/farmblocks-input-text":"^3.3.0-alpha.9297da9f","@crave/farmblocks-theme":"^1.7.0-alpha.9297da9f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.9297da9f","@crave/farmblocks-text":"^2.1.0-alpha.9297da9f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.9297da9f","dist":{"shasum":"d2e6386b1fe3e1cc5badc95836e3a4057cb66aad","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.9297da9f.tgz","integrity":"sha512-JZfEGl2Mhsq3zoGQej1LJCuwVmA0FS3ZrMeIy9ICpuViC0hqDSiYQ72RuVelImGlL9vKoR6SJDQQ6egXKfcEDg==","fileCount":15,"unpackedSize":49249,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzyL/CRA9TVsSAnZWagAA1FQQAKL9GZ66cGxFhn7RSr1Q\noC+oMv3pQ/4gov+/yuP2cjvg1RkWD/+cAb0xGBfStH/6LmtQb+R9ESxH5W47\nHheoTD2kgurogghCQJMQsNEf1yZYbOHBaj2KJJG+m1F9Z6HRkPfqsD8/bZAL\nQ1WvYrj5Ed2FfvpRuEahiTwdlwum5AxuaY1R/fdtSQFqdtd0B8nhR536iYs+\nUm1zyK3hBV8nuux8UyRyIAdyrHvTn3LV9Mdx+Ou2JmzgXIP3xpIdr2N/VAi4\n+7/sVjZXfiuKI+lb17QbYDRaYVH07aHy66FA2E8q6ghPWzPgkTYJGfohVyYg\nddLsV4tjNqvI33ZPmoQSAmXlcc+NGe3peloz0ditJ+blPIpr4b+pJQJOGGq/\ntRIctQbJgschkX4RACXrNOFyKzpr1XlTg0yhqJzsl2PuvJ6AF5WL27erFA3r\njgb2Rf8GilkNAQf9TxaRdqlzq5kGj13JZIVNHM84aWlgkGnz2RaLUoivqYUA\nglkCMznun1tP+cfEXiST6WWSqOOcw66NReIAuBN276gbVNZuzYFHP3cAW3B8\nf64jFoM9ft7ZgXiWqE34FPkm5A8Lgxes7iuxWTTwbHO4Lq3zkYlALVW8wG4K\nOFT+mrttPcBbJRXk1Mcyd+41izvZC4p07o5iiBAqlsF5WTNqUNwAn+V07dBs\nEE+a\r\n=wlYD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE1H34BFjzoqIUJ/reCBKRfiMwOPg++7eKw1o0lOFnPDAiBdIZj6Y8FjGms732PDa9GJ0cgXG71jcS/ezH2cYcAFfw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.9297da9f_1540301566634_0.5820472894928013"},"_hasShrinkwrap":false},"2.1.0-alpha.c0ecea5d":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.c0ecea5d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c0ecea5d","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.c0ecea5d","@crave/farmblocks-hoc-input":"^4.4.0-alpha.c0ecea5d","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c0ecea5d","@crave/farmblocks-input-select":"^2.2.0-alpha.c0ecea5d","@crave/farmblocks-input-text":"^3.3.0-alpha.c0ecea5d","@crave/farmblocks-theme":"^1.7.0-alpha.c0ecea5d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.c0ecea5d","@crave/farmblocks-text":"^2.1.0-alpha.c0ecea5d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.c0ecea5d","dist":{"shasum":"bd28beae80bf27548e9abe529e63cba72e880993","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.c0ecea5d.tgz","integrity":"sha512-dmcDThZ+R7GacsnVEQgCgb6ZQBFXewLU+zE9J1ssm98Qji9crfFmQGcTWbmWb3QBKIvD66ceUFXkIcxOr+jtaA==","fileCount":15,"unpackedSize":49495,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzyVyCRA9TVsSAnZWagAAMBYQAKKhCeYg34txucUz6k4k\nz0FljiG6r3gkesA/SZsvZl34bKps4c/+2NnZFGk8LCXrtue8nxkp90lnlRgx\nTqNR3xX53aY0fRGTq5TTV62cRoCEdaLcU75sS6SoG8BLh89E2+e9Sr6B5hQX\nxHi+sdePzce7yuqUx8d9ijJ8CVoxQMPbU5r51xMEJxCXFEAdCVENbNojVjLh\nOqZLTX8bX+MtZB7a2JrWwSLRtT1IyU0c5rcrP+PrZUa5FIJaFuFFsHw67a3M\nA7WKzdpkuN3wxx2JqrHZodk8sxW97U9AbpLNIDc6Vd0XGSU/vM1eekbS1nGF\nFvSUXyTT3X1kYq/KrEztIucgNS5jpOONppTNE6gaoQZHNFqKT+ZqD2wXpQhL\n++CRngKHQCdNeCmSgwmeY0/3GEFnkM3W9MYb4tPJmW2nVYcigTyYze20eTzx\nM3xBbbEErvlHnr6CWIGhJEwaCvGIb9toxZXHOl4a7LE8SBorxNh6jGR+kgCz\nuGDmdDo8Aeci14Kodatly/2Cve5jeg3otGnaYoOTB/kbM2v/bowL39PfEXVX\nVPgPK5sbQjul2Ojn3NW6LjyheDW1qYumH+FRSnBdT56SBlCfBEUBA+y1PACN\nns7BhPnPwPLaQLJmGdgaHCwr8RsDZeqfPQbziPjtHZgJmp06vhkLG6vUmyHC\nDA53\r\n=Sig/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA/xlkS4o1NJMW/oe6hPJcNKOary/7GEgwwssMU2vh+sAiAv455DioWCSvR0bM/uvnPdnxBBsoXW0yQRMbgzrWlb0w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.c0ecea5d_1540302193693_0.1335234528186391"},"_hasShrinkwrap":false},"2.0.5":{"name":"@crave/farmblocks-search-field","version":"2.0.5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.13","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0","@crave/farmblocks-hoc-input":"^4.3.3","@crave/farmblocks-hoc-validation-messages":"^1.0.3","@crave/farmblocks-input-select":"^2.1.24","@crave/farmblocks-input-text":"^3.2.4","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.6","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.0.5","dist":{"shasum":"a4969721180a87d52a3f2c185e2ce4a012e8c7a7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.0.5.tgz","integrity":"sha512-agSLQiVRLkMq2lrM2OkCnomZtuQcpu0YX0B2iczxwtEKf+2N1wJScGno2SFn+mmX1od3kXgzb/TsUmn/WZ6u0Q==","fileCount":15,"unpackedSize":49303,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbzyh1CRA9TVsSAnZWagAAh/AP/0eK7hC29bsDpMUN5x1a\na1E96dmLiN4wagAXtMzgnipf2qFfSCEtRMwNqjRRYSHQNQOfTOBBizBJvuJW\n6wsgVq3Rvg3X/62l5SQrZFXxkdN124JGMx4v1gtiYH96EiJ5RFbEGOUR+XZp\nXpUO/T1UsvUWTVzS8HlIaOLfigq+/gxAN93elmRBoIZa1oN+Q34iUm/bVk8T\ngqqWbMJj0fdKRnW7rgoQQTV6GSqU5ROAaSUhn6yEXL5xR9kHwkGbxUQEePMu\n63KcUI5sOzpoZT4q5hb6QF8Y0lRThgynBR0uhwgvcTtr9JmunFglME2b9VAE\n3lm2O5YqccQZ/Ve3/xIjHHal2UaxoG3Tym84i5T7YtdkU725xusREU31tQrh\nvniJ/ox3EMzZjrYSjnH4c2P5FSuKTt5br5DNH7I4FisWtAGGJZ5mpelgnyFC\nMjcEU2eP06vdo+jCIdyZC49ApLj2oDVJEtHItwH6D4CZdgiSaPTGtqug+kMv\n0+Zl2R8KPv1sQXdmCj73jMMI2Sn/vNNB4EoEslo1UrlV+wFwOc63Zfm04wwf\nowZhAA2N98cuow4itsHCNPcVT4rLi9HYyDbBJzAfqwBMx/omHwAGhAuCNb/F\n78D2CCmIDRQA0Aq+0clR/WvCMr4uqKxfl9LlaAA8RNv1Ft9O0iwMgtXSjlqA\nyaK8\r\n=re4D\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEFN1vfvb5lMDAgCEnQJ6SNpmZ4vtQn6pUpLm6iXw7vhAiAzlp03jyQqmLOeksJkuKvxrZGEk4oD8ohpOms628RHQg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.0.5_1540302964507_0.47376077150957396"},"_hasShrinkwrap":false},"2.1.0-alpha.75fb7265":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.75fb7265","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.75fb7265","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.75fb7265","@crave/farmblocks-hoc-input":"^4.4.0-alpha.75fb7265","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.75fb7265","@crave/farmblocks-input-select":"^2.2.0-alpha.75fb7265","@crave/farmblocks-input-text":"^3.3.0-alpha.75fb7265","@crave/farmblocks-theme":"^1.7.0-alpha.75fb7265","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.75fb7265","@crave/farmblocks-text":"^2.1.0-alpha.75fb7265"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.75fb7265","dist":{"shasum":"5fba6613e985943d706e6191b898e2671d6047f5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.75fb7265.tgz","integrity":"sha512-oPONPR7Olg9NSfnVVfgapn/oIye3yBeRVkmul5zTzXQJf6rFSH532EUyofCL42ci8fSqF2GwIOEOwWG9GXOl3Q==","fileCount":15,"unpackedSize":49741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbz761CRA9TVsSAnZWagAAYQgP/1UWNLDb3btM+gkh0xjT\nSJefKL6vgAeOJ+trxfs7GVWHNq1rxwXyJysp7lh6QDNJfwwAY2yq0vXUMTeZ\nRsbnv6QilvBjynVPUXtEt8f8XmuEsuvQzJHgMwHKpiTDwFAkoIiifqweUFi1\ndqll0hKkvX2aUcTWuv1rpy1oyJTB4pe/cFxCEO9Lb/BIQ0c8jA5tXOjHFK84\nVd5YDzaF6HbiKbQoLF+hOtxFgJayp801zR2/zXTiGEo2dvnoupvIT9YWmhKu\no0Q/itgZmtXnJN6MLlhffdkvG1GDJ4JdD4wcVVXHcg0IviLn3k79/ap8C/Fk\nA3Y5Wj3wb8iQvSV2CWVEdjAzRZ6p2r0NVKaMqui5J97oCVoExknDZNDDo0FU\nsn8NFIcgmpjOyy5wOcKJA5bV3+dcWpKxPb1lyem4cLYn/cbQojhJeyBgMr2b\n5MaeT4p6GBrmM6utFyjhc1XMkB3dY5kyqly1cu0WpxzUrC1mEQzJus2TPDu1\n+OZYjBPRiRmXkQAxbC73jkizq8gI+V5K1Y8/JvkaVArmJD3XzDhxyY4iz3ec\nn89/uCCkHOWcltL5QKbCpMqmzhpSl6JsP3/qDLVSN3dOZKMlz+/So+6dBQZ2\nX4M0XSY8eYPQqR7yFkh2ENu4HwnwXYQKATMpJSa6EfKTgQ+dpKIgAGgK2MMF\nlCj+\r\n=WEyv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUbkY8+f7rygRt9ry5Q35dIeops2Stf+/1aXcuWc9+gAIgJnKR0iCWoBT7zlODLLhW+m2yXNv++q/nMplLSmKImrY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.75fb7265_1540341429235_0.09406800805610804"},"_hasShrinkwrap":false},"2.1.0-alpha.413ab974":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.413ab974","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.413ab974","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.413ab974","@crave/farmblocks-hoc-input":"^4.4.0-alpha.413ab974","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.413ab974","@crave/farmblocks-input-select":"^2.2.0-alpha.413ab974","@crave/farmblocks-input-text":"^3.3.0-alpha.413ab974","@crave/farmblocks-theme":"^1.7.0-alpha.413ab974","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.413ab974","@crave/farmblocks-text":"^2.1.0-alpha.413ab974"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.413ab974","dist":{"shasum":"61a18b1d2b880370a84ab887034f2d174cdeb6be","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.413ab974.tgz","integrity":"sha512-j+PLYGKf7aH3uKgxMpXU+lXF5l8CDQ9nbvmum/MMb4+DVhOsb4aic5Yz1VfxBT5K5eWhUoGWHk41yGYpHhhHfg==","fileCount":15,"unpackedSize":49741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0HVFCRA9TVsSAnZWagAA1OsP/22b493lQVAqbWRI9ToH\nbsdDYA+CKUWCh8LzeAxehmoaHo+FD5vgcOJNDBoHwmYWxxdepFKYGsbQEYGV\nAF01N1jGeDHI5se6lLgI/tlUz4nsYgzWR/IEomJ0HoTGpbGJ+ursks2W7qeM\npo6KDINdyfWz2o1BZSUEMvz1qC4dtO6ox4/rrqPxjbgGNI4k/WMfNBCwUGeq\nW07daPFoMT4v4cFcmero0JqNmfQjD1O7d45Q8suMZct0BbrltdgvpKaHqK8G\nnUnH4ceLKXDGD0ochf9ppUKNtnXpNrBfUlMunVSLO3CG/OFd+e7IuLTIIMlk\nimBxJ4REVSmq9xHGhemsMd9NHuhdp23rbzDHnvW7cUIMT4zb4Jvy23Q3PTe+\nFI26TVUADDGGe5wWSAnvyWTw4fjXtIPYrRXTs5GJmKtM1295+M9VLRG58K3m\nHoHZWGAXCFeXrIG4uxooLLVkyMFTcSI10QAfJfhucUGhhwnUejm72U6C85RF\nIV9jYx1V/JwtHI0Vf2JePz3LcD7wVE+ZRDXsziyeDZG4H1mbu4Vy7UUqcZh4\nk3Diyl29T7lKL5i0lLY0J5/cbPAve4jqjOql8SHSl0XpCyPxK9ZMwlC3+bIG\noqHjEx/AuQM8l7itOZ3fwTlSpA3CopOQ0npi0tGYibddZspVbJoLt68p9Gse\neEuk\r\n=fIzv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCUmjPfDLeSwbohCvILYQCG18MMGol4j55hl649ZrA/OQIgBXNIF4pn1u30K+EDoLc72awlUDN0i7zCUzw/EZoSjC8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.413ab974_1540388164704_0.3267577330747622"},"_hasShrinkwrap":false},"2.1.0-alpha.bb03e5a8":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.bb03e5a8","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.bb03e5a8","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.bb03e5a8","@crave/farmblocks-hoc-input":"^4.4.0-alpha.bb03e5a8","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.bb03e5a8","@crave/farmblocks-input-select":"^2.2.0-alpha.bb03e5a8","@crave/farmblocks-input-text":"^3.3.0-alpha.bb03e5a8","@crave/farmblocks-theme":"^1.7.0-alpha.bb03e5a8","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.bb03e5a8","@crave/farmblocks-text":"^2.1.0-alpha.bb03e5a8"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.bb03e5a8","dist":{"shasum":"4d5445cc760b7a7ba142935e90864d16373dfeff","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.bb03e5a8.tgz","integrity":"sha512-D0iY3VjS6DSEJtadonw/ewIMGmgUX4dGtc+KhwFTC0DSzElP90QJGeo4Su/fgPPbwsqGhk2/TyK7zG+eTPX8OQ==","fileCount":15,"unpackedSize":49741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0JSoCRA9TVsSAnZWagAAD7UP/3k0DqiYM0oVCiqGjKsA\nE21OkX5OJ51qvw/gQr2PWuIE+UCkGdTPavR8vdwgsZ4KlYvpUrxr+owo2eV1\nliadD2dNtsGVQzrdWD5uv3tBs//EgyC+R0borJDZV80iOmMEdzU4gvaNqqQn\nhgftehs619TxL9yT8cdd/657XXURACj7/+V4cFX6EpIAqZy3flLmUOdE1vHT\nBZIOOHOFhslLeOx49Ez+eoTpG/yBilJJ9iWkOQkcfiPvT5fgGJt0aI9Sz8Rz\nu3/+5jj2C+1uVhuOGCDujWL4uiZ8cpdFWymj7vlJ1jmXia4W9ZFe/VTSu9qj\nlqxfWAmm1rxuh+N4v2EWwWpeHc4OaBe/r/ZrgKgebt0jgF2rWoE/01dQ2t0X\nkHz0n5epO3ZZw18m2d84usdj8yjAdrzqJUYxJVTl3emmbtK5m+Zm11aYZmuy\nnX8kl+HC8wZ6oyKOF5pGqMth/IFchZl31VNRDT70hOdPB2AyNs8YEToEiu6u\nGagBIhyOTdHG7Ml51LpY3at/bNkMr1o6oqgC4uinNupD/k6q71XR5dgHJaoA\nrenTSlJKdyHWWDrrROjzS2JKdUbC4Um0g0o5jIYPeOerBBf9bMBHAbCd7fxk\nQ0oGa+QVWpFOCJwcOjEDnVxKkdjngDNFbH2WxPHpdRcJrW1MpbgrcYabMK07\n1mVu\r\n=tg+m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICEa/GRlg/GEE62UD0MxIxBH4BD94KsxhbYsYgOfKJuCAiBAJxu3zn+XZe0gNlEVQrowUmhPSqqlcRwiLSiy2LMpHg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.bb03e5a8_1540396191032_0.6078854379499554"},"_hasShrinkwrap":false},"2.1.0-alpha.1ccb021e":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.1ccb021e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.1ccb021e","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.1ccb021e","@crave/farmblocks-hoc-input":"^4.4.0-alpha.1ccb021e","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.1ccb021e","@crave/farmblocks-input-select":"^2.2.0-alpha.1ccb021e","@crave/farmblocks-input-text":"^3.3.0-alpha.1ccb021e","@crave/farmblocks-theme":"^1.7.0-alpha.1ccb021e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.1ccb021e","@crave/farmblocks-text":"^2.1.0-alpha.1ccb021e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.1ccb021e","dist":{"shasum":"09b10f180f015735ca9e0392f1a619769a28bfdc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.1ccb021e.tgz","integrity":"sha512-33B0eAYZ0uTrE+/fxaLI7SWW2ZYKLf9skpz2gHohjnNBjNRCUPOHj/Lz1Zgikrs5/Ov0pZhMTO1GL36ZfNavtA==","fileCount":15,"unpackedSize":49741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0JyGCRA9TVsSAnZWagAAv9cP/1SGsTXceEZ+oBGgfIep\n4fXSq6ife9sP1wWlIdtA/eJ3VAjb0yFpY3ab0mFCW3C1o1wqeOWDDBKH36T+\nWoSpAHjoN8ifs++97OBm7BMJh7jZIZk8/4CmrzjxRCq0hOOCbZEnY1pd+My5\nVftb2fakjn1a5dYwjzIJoEczRQIzrTJT6zu+2AQeYjplAlZAl46FC8qASDT1\n8kW1nO13ayTtBh6olDrMsZUFmOP8l3koI4mKszJ8p0nuFvbeWFJRttGMUbYi\ndLzpAKeDDSeNZp+q7nPoKkw3KAwfw3qJJ7qx+KcLLUe2v7VIQ4oiZLPNkycg\nhNCNcqGS7FCIFBlzQ5ij9csEBlq26UHkWgbmoBs3SNG1OnWegtlAIlD3D5+5\nwXYLGtJNmgR5VYTFZFsVTIdDrDG/AnnpApgptmCc+hG9HySkIMSCfiOVAw/R\nEtipuY1lZyJVM8Tj/NBMeQNfzibfAW4K6gXt9b1uFHpkXLfnTV1J6tYR2Xvh\niD0MB75GpUb/fXvLpO3bca2SlPcUSPkbQZdwR+OoyZehflCb3h1RFfMz7mt8\nlzPed8TI5t4HR/5pyXsf2+DmnSl7Sxc9r/JN/UFdCvTOLZj1oGp11AcvsXW1\n2otnWEms3zS36GN2sraaiSK8suYVb1dh+Saf5g0HHMehtjS5qzHd30wT1UWu\ndltn\r\n=ngE3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCmcwkiq8jTU2EERBCoRtjSS/vI2In7QebvlaEZfCSfkgIgFOWXW4sPdf2mUzl3aDGeglBLMwZ3Lvezh56l/NK3BA4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.1ccb021e_1540398214015_0.06219528213904724"},"_hasShrinkwrap":false},"2.1.0-alpha.9678cb5d":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.9678cb5d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.9678cb5d","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.9678cb5d","@crave/farmblocks-hoc-input":"^4.4.0-alpha.9678cb5d","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.9678cb5d","@crave/farmblocks-input-select":"^2.2.0-alpha.9678cb5d","@crave/farmblocks-input-text":"^3.3.0-alpha.9678cb5d","@crave/farmblocks-theme":"^1.7.0-alpha.9678cb5d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.9678cb5d","@crave/farmblocks-text":"^2.1.0-alpha.9678cb5d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.9678cb5d","dist":{"shasum":"ef731ab5f5d62a0304eccca89b78efd36006e502","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.9678cb5d.tgz","integrity":"sha512-+EvWFOApSRJG/3iN9f4f0ywi6lVKAOPwv8cAwrFyRlvBUo2Qe9IPJ26lid050a3sR2k38ZcTN9uOErt8xJbIHg==","fileCount":15,"unpackedSize":49741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0MKACRA9TVsSAnZWagAA0tYQAITQMOZ0KoKva+2uILEx\nJKFx+BktnjKFEJ7IJ/QBqXd+MDg8EjHsjorWwMMjEdPa7+3FZcbAFwxc7u2w\nf0kq6UA00oLTZCjPViimyDpdqyPEiqWuNENTXQd6cOSk0CmmjHszXqMYpodP\nS6gJxxjW88kvWtsJ82Nrw1Y/jV21qDUQZu9EbXYHfe3bTY/CJTtdqcqP1Oa6\nGPVBJrMfHYUB/bfZEvd80o/r2AOMJFvS1MoLcy9xAkqJ4Zmwm7NkP6E8PvD2\nT6erdC3T2yjBI6q1QSVbHZI7RKwDBldtqs7S/Pm3zbASgrLMIaIY+mK3gMc7\nWIte5NYSHj963JUnX7PjxeHO574O6Y48xxrD8577NRxnQ8/7M5DyyKvNgHHv\nStMWNKtIcfnmjtCQOUKubMo4z70JrGdFneNdyXO50GQZuzcuo1CYYAZEMoiC\nFX2OEJuVELCSwVRPNhMlG8gMTrvrqpMdpRNPqAOLm1N1vA5DkeYv0jJWLbVG\nELsba9ploRqUAo4HW3OZ/BjhTnZkFGBUxEpuCGbQd3VhsxhBq5IhTIYPytzM\nXBTxxz8/jv+P3kSNzMQ5QVNDMGIoMiU2+V1Gn4Zl0M9qmZBOEdslzzGSTQYQ\nhDEwRByBN6o6klacSZoDBTt4/LCnzLXxIqcp1F4f6KzzDJhiyxFfITsSQmcM\nwcUR\r\n=N79l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSVsPKA3FGih6qx2qs3J82MK26ZQ446KVnT7pAJgwexwIgV2mA93xjLHXLDoQc3ZbjXnoZK9OjykcoDCUGFfx3uCY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.9678cb5d_1540407935320_0.9243543538343268"},"_hasShrinkwrap":false},"2.1.0-alpha.7036f1a7":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.7036f1a7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.7036f1a7","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.7036f1a7","@crave/farmblocks-hoc-input":"^4.4.0-alpha.7036f1a7","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.7036f1a7","@crave/farmblocks-input-select":"^2.2.0-alpha.7036f1a7","@crave/farmblocks-input-text":"^3.3.0-alpha.7036f1a7","@crave/farmblocks-theme":"^1.7.0-alpha.7036f1a7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.7036f1a7","@crave/farmblocks-text":"^2.1.0-alpha.7036f1a7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.7036f1a7","dist":{"shasum":"ff23653d36e93df03b53c624f7dd5cbad13b453e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.7036f1a7.tgz","integrity":"sha512-aZ0H/rqSG54vtn7x98Y4EYejII78hwDOlHl8LvWdOlmMUpDEsS8CPf81I3QEMdNrtfHW463hoazK7qBpRSKS1g==","fileCount":15,"unpackedSize":49741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0MOXCRA9TVsSAnZWagAA4gUP/RksOV4yg0ZoAHnLjCYf\nhaGBX2xCT4UIatgKu2XOOX/Lg1isUlBZZnX8HBAeaAvcbJK+rumAZ3w2kvO8\n1jhcyZb2fdMPtNzenb/ruwKlNbZc+kdEe53TBVKL3ZMf3hNL1Mty0t3nNmSy\n+ShUFmWCTbUhr3Wvn2QdwxdaZSDariYsHHjXuPmJavgueK4TYUF43NaCfYM2\nw/VVwN6eEccaMdSktBExq3OtFi1chKKfJ5ICbMkQmEKJvcvixdkHPzoyVZdF\nQlo0A4n9GfRI8qGa2VmvjXdt0THzFk4vM+7E1joHEMY+JZi2xoAciWvliE4C\nc6gV2vTglZG6SVmVGrWaz6cAYkdowZQVQixE6YdB3ZO7AMtn0r9Bdd3NLiJ9\nvmmiatbCy8JyFEFzdhZV8mggfeAV25UOieWL4mLiPQOW0IZGH20QJhWpdilK\nn1XbOyekl3smWft+tUnx6iCvk0G1Zr+huDi/hJ7mKG5GpLV58hvRyVcjVhsI\nKdaSIszbkQHJEDFFkVOQg/3aj/lFsDhbYkRgmxcPjqkOLHQzTIVXhXc4dW3Z\nQVBZtLD7d++qeCbozDbt4TP6i6ydApxpZu50oatjgpopGjtZ+aVR2KlVlVdp\ntByjzZvoNoMbQyJnbeXtLaUmspOUnZ0xBETqdj7tJnCHxca7A7/0NiDT7tAH\n4ZP+\r\n=i0B4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIErYF5b7XImYr5I0/n7RMmqEjM+IebtDMLX5an0MXhxAAiEArkPUAwOY/hdbGDdLFNSTKfmm8YiOw8YTDwui41o9B04="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.7036f1a7_1540408215248_0.4490430361650144"},"_hasShrinkwrap":false},"2.1.0-alpha.8be62263":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.8be62263","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.3.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.8be62263","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.8be62263","@crave/farmblocks-hoc-input":"^4.4.0-alpha.8be62263","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.8be62263","@crave/farmblocks-input-select":"^2.2.0-alpha.8be62263","@crave/farmblocks-input-text":"^3.3.0-alpha.8be62263","@crave/farmblocks-theme":"^1.7.0-alpha.8be62263","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.8be62263","@crave/farmblocks-text":"^2.1.0-alpha.8be62263"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.8be62263","dist":{"shasum":"a13619f7a6955cea39c30e21ccb5fdc28f9ba958","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.8be62263.tgz","integrity":"sha512-2ZADUIqBkSvPdcx1A98PlK8aHkON+yXk5YPR7OGiI94lB3cM3hwrgAwl1ADcYtZkO7jDbceZohqzDhQKVn0a2A==","fileCount":15,"unpackedSize":49620,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0hOUCRA9TVsSAnZWagAA/HQP/3+TzRak9AhcUeCIJhuE\nsLXUeDuuLvNZemUzNZbYs1ZJ2/TdOzObN3QnHCAR4uwouVBaABZFtFN85VU7\nfcl2M0G7+X6zW1xhIkRABp7zVadz12ySzx/BseOo+JcN2OGnIF6shPU76Akg\n5keSUdGa2E/EO362/uag3bhTHgIZATkpccBUv/NL6drknsc7vWX3xlv1ebs6\nc/g2IPAqAXh2r894cQmIlsACX5wLTC9jRlleicn1KMBd/W6B6jPloGdfHEp9\nQOOKLHojFmNyVfZQ484vkAq/ST4Wo8zJgL8EHY2MkGJhcJgPrOFzzPGul2Hf\n4ka690lEGU6v+vVVI+QoJcrhF9+7BPj5Vio+9mF36U7e/rc8iixzvy6m1faX\nwvRnfdPAdjW2NSIhdNPi2LvnmVjAEa1cDJA7COImrkuj+G+DHWdqYRIdwHyg\nVftN8fLF5f22/vWB+ZMuGRFUftyMt/dVAqmWojCX25sVPJZQwHzNCUxfd7dA\nATZlpqG3F7F6jAOfq9+zjRHlAzI3Aj8gZltyzCeougW/0/NtvsnlqvQUn2GO\nKt6BhaNEeVRZBbOmP3HMxwbwfU0HKSr//VWOH6meleJbvgtTNqIeltNWrtbe\nu+MCnjypZPLPz1sCO7IbOelykm6hzW5PchmxQkqLa2QtRNSRjvQGUpnNn7He\nSpkg\r\n=z5Bj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoL0GFifmJdzn/+q2zobdmSIgdqel5bPV2R3hIJE/h7gIgXtlTzKRBtgaMHmcJaH3jzBrKo9NUi8WJ8dk/nxqPrz0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.8be62263_1540494228213_0.3491797049922407"},"_hasShrinkwrap":false},"2.1.0-alpha.9f9ad290":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.9f9ad290","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.3.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.9f9ad290","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.9f9ad290","@crave/farmblocks-hoc-input":"^4.4.0-alpha.9f9ad290","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.9f9ad290","@crave/farmblocks-input-select":"^2.2.0-alpha.9f9ad290","@crave/farmblocks-input-text":"^3.3.0-alpha.9f9ad290","@crave/farmblocks-theme":"^1.7.0-alpha.9f9ad290","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.9f9ad290","@crave/farmblocks-text":"^2.1.0-alpha.9f9ad290"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.9f9ad290","dist":{"shasum":"93daf0687ed974feb44b66b879fe1d281ca7d763","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.9f9ad290.tgz","integrity":"sha512-Fuq2ZbvXsAGpvEytPLRIwuNatgP6nid/4O6ZxwIebrUZWgDqUoFBBjCMWyppIDlIbAnzt/dA5kziyispufJZPw==","fileCount":15,"unpackedSize":50112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0hV+CRA9TVsSAnZWagAAw1AP/1eEkLCUOU91VhrOujAm\nDJDOUvaz8J8mCFf+KcTCAPwAaV8M/5Rpo60DR2kFCNvyWPnG6CfM/nLtRJ0g\nPWnVDHdf8AqUjOwBQuMe/lXHvzSVAPdd+37tWRjJMewKbwpdPAurPG0VAboV\nLw3Qqb9U/i2PwVZA9oYzmC4Tmv/1aIPpf0SoZdiahNkbwt3EQl164/2M5QN9\nwKH/i3Uh0juERY/VNw95rj+G/rZZo8dHHp2XSqyWv822ZpqxIkrc5zqu8AMT\nYQkDUQt+HTcsGZF50YjZOafQeQXx569etDCOq2i8hN7LXNKNkdSMfOXLo0sd\nvlP7IXlqeJtOgFF5k6j4O76+gEtmWuJECqzMGFlwN2KlkpZWU9BeVNe4xHFU\ndfOBnDs4Lh+l04rJDijhMMngaqRkaXDZhAhNqgQP4ADSdreyIyh8Bn78rYN7\nm1dxhH90Vgi8ipgIgWhYZ1iL+mYSTMgwkYiygLO/O+p+bkRKGgZrKaODjnju\nWhVA7k+5KgI71Lqse3qLmoAeetXazMwBt2mwuCAeWSl6tPrISD/CaDoKzbne\n9iLEJxa0vmAgB1l4EWXAvUyuccfndHdC8L4LRdi1pHIx5I3Gi7PvUeIwecbV\nkI/o7oVVYJFtnwoYuDo/qEk2uXqD6BoiQJSRdI69173pd+Zo6vVndT8gInCG\n7cVX\r\n=esdC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAf7t0O1BWL7W5ewlg61MCD8G+Qo2/9Kaw+0P77ph18MAiBgDIGQI8Qja/OOq2pv6zZnGN+qd00pis7YLqMY07Kv5w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.9f9ad290_1540494717828_0.37599729165927487"},"_hasShrinkwrap":false},"2.1.0-alpha.b060fd51":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.b060fd51","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.3.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.b060fd51","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.b060fd51","@crave/farmblocks-hoc-input":"^4.4.0-alpha.b060fd51","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.b060fd51","@crave/farmblocks-input-select":"^2.2.0-alpha.b060fd51","@crave/farmblocks-input-text":"^3.3.0-alpha.b060fd51","@crave/farmblocks-theme":"^1.7.0-alpha.b060fd51","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.b060fd51","@crave/farmblocks-text":"^2.1.0-alpha.b060fd51"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.b060fd51","dist":{"shasum":"67aa3108a540e3f14d9a05ee3e41dd57086bea7a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.b060fd51.tgz","integrity":"sha512-cmXNO6L2rMX2uw8Pu10Hpuw2FETxH4Ef/r3s/PJzZdvP2JCusPY3NGVxfioeB4wbtHzOcz13BvVg5dE9D2tF/w==","fileCount":15,"unpackedSize":50112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0ilzCRA9TVsSAnZWagAAGFMP+gI2jK2VpJB4Bpb76H09\n2DxJpYUDzJGq1xYKPPvLsNTBlNGtPdfU7CpOoV8+jozPd1pGauGQjDFoUN+u\nGN+jj3M+7RAHn9OEAWfeWDzumC3kmPAT09a/Ak0uRTAo95Wp9I78GRTHcAsn\nK4gLW8lwzERO0n2sfFNCYJiLgUrTfYeOFerdkcTrfgCxqxaubSg/w/1sWp/r\nJQYfVHy8a5XfQqUh0l3p+jVliNiy28NJZ8UZccw2Jif9UBLKyVlEfxx5LK/X\nlyTrk//OiRyERN3l0eGbB2G97PkVYTczguysFCD8rpV3gQI31DRBWhQT7HFK\nzF74WcHNOvcqQ83qenDqyypMn4bH9h8wcGHIFas92e5EZ9XEiftRJG0lVN3C\n1Y3XLNJ33O27wc4N0ZEKTWcNHX/xZ9k8GLfbtGZj72i0TG6XudPYaCnFB6jn\nMaYegBetbIKUFEpfCkT65bK58I2eADKvxh3a+uqEnOfpxBgZJig0AoArGvnI\nleMuOtv2txR/X+xFTgr4DjhQfbnu8JN89dZJihybYfCX0Ve46pF083Bh0r3P\nlpA7MSQ8I1MY8xAWnnURGV36z9qxhGbI+7zdE0O84L9LDZi4uwgRm3jN0ryv\nVI/dDXPr1dQaCh+0eR1NTXBzUjfwxeLvW8sHloy7hbl9mK32C73j4GWzxc17\nXh1J\r\n=FfpT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHxv0e3iEDYsBH1cetzEtyUMj3nucouz3DdEy/TdnSm4CIDHa+R0HgpsyWyXzBpjvndvSojx2oGt3SRwVp2mYQ0Un"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.b060fd51_1540499826271_0.9029869632987468"},"_hasShrinkwrap":false},"2.1.0-alpha.e9d1e49a":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.e9d1e49a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.e9d1e49a","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.e9d1e49a","@crave/farmblocks-hoc-input":"^4.4.0-alpha.e9d1e49a","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.e9d1e49a","@crave/farmblocks-input-select":"^2.2.0-alpha.e9d1e49a","@crave/farmblocks-input-text":"^3.3.0-alpha.e9d1e49a","@crave/farmblocks-theme":"^1.7.0-alpha.e9d1e49a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.e9d1e49a","@crave/farmblocks-text":"^2.1.0-alpha.e9d1e49a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.e9d1e49a","dist":{"shasum":"976a57716eb06a4c07a3fc4c31871f758feabf48","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.e9d1e49a.tgz","integrity":"sha512-i3/hYvorKYqqVJOc/3hyPgz/Xzos4QGuLkj0ftVgNZAmvIHx8uvtyKfUME/NOouCiK+LrohPYOPtPMpKh6zcxQ==","fileCount":15,"unpackedSize":49741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0xrOCRA9TVsSAnZWagAADaQP/RvuASgViVdhTz/ttYb7\n6mR/+vCrW7jtdwzkobFy7td1uKTwgbfIqilQpCkKf5rFNp4tLLRQZMbJ6SHD\n4Y+AMrTK9W1wqSEbLYzcy1sltjJZj40rByAzzclHRfFNk1tC90Bpa2IYyvvW\nUqMem2S5V6pScBTkLtYi5fohkl8CUVrZb5coCwF0eJIrIhVQIurXqZyazH1z\npMPDvgHEg/aQ9oSExYiFipFXHeHzrBsSvwy4glq4S/KWhI1O71m9u4gCjifb\nI2pEB8CyvAOp1X/Fka1FMJIlbJBc7VgV8eYwRgmCjS59TAhddaFF4ViY0ieO\ng+25dytV1JUiqh9OVenvtfIdHSi/oa0Si8DArwfiUr3kyPjUrX4ZOvs2wS8E\n2mW/z+214T/JVUXS4m34o66klGDUFuuE+f6fJSD46XWTYDQB9oM0tzCdYXLD\n7shf0x9SRwH/wOWMuHeG6hIhMtMxn6/SPzuZ1IZgoQ5C7m1hxqR0dGBOj1bF\nmh3dTz0HAWDcr4m5Hwq2bJ/C57ZeUqm9jLhscrhQMDFEgUav/VridqS0c5q2\n/PAciUpFeB83n8Dd4/n0AwIah+AOEWA0w4Zw46EwqImxbyFnvQcrsjeNSRV3\nour0mw75KxgWYRksDoF//xXNr913UCRmD3kxrNYqmbqCx3+VwOHeCwaVO4J5\ntxYp\r\n=IPSl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICCZ5h/pHz1zMg/g3Lr7cK0NEccnZg6WgjZMABpzdkQ0AiEA/tpPTb38HEmlxyMTrD0VB2tE8gl84YCpMPc+BJCmGjI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.e9d1e49a_1540561614177_0.2667106092180711"},"_hasShrinkwrap":false},"2.1.0-alpha.70ff7bd3":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.70ff7bd3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.70ff7bd3","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.70ff7bd3","@crave/farmblocks-hoc-input":"^4.4.0-alpha.70ff7bd3","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.70ff7bd3","@crave/farmblocks-input-select":"^2.2.0-alpha.70ff7bd3","@crave/farmblocks-input-text":"^3.3.0-alpha.70ff7bd3","@crave/farmblocks-theme":"^1.7.0-alpha.70ff7bd3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.70ff7bd3","@crave/farmblocks-text":"^2.1.0-alpha.70ff7bd3"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.70ff7bd3","dist":{"shasum":"5c1de825d8851d4ed103007a01a33cb846e6ff7e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.70ff7bd3.tgz","integrity":"sha512-NR44K9m2e3/4XRlC8ZNrvg6c9zSoTQAjWIBedE2pQdDpi1rlHWlwyRWsIkPABbQaNMVRmgxvIkUz6ePnEsGgwA==","fileCount":15,"unpackedSize":49741,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb0yJDCRA9TVsSAnZWagAAOx0P/0MvWPy/uooJa50VQo2d\nXUA8RTVsn4C9ust3djy8PR2DKWYanLIJZo0q1Kd4akJZX11tOZKeNnk0Vc8K\ne06tx2ldZ3tn3FWvf9zWy6P2cPOmpcqwW47U1TLS/T3/yhZvDM5Ij0XtKMGf\n8b4koFSoVk19EnYkeXvr7FuPe4UtP9uDBdq5YerR44AcpxpThHoB95/ZtWbU\nKzzzSXVoZFmTzioEAS+gpJ1Oi5qSUAhb5tJNOdMcts8Dpk0eu/9H+iNq94S1\nQQSFGiHaz9XDRhxlDV3krF6HBkNmv+zc08wYz4Oxu2M1kRpHM8EwSSDik0z5\nAyo0Oz14oXMji28gcrnTX9Fb9fUsaJemmB5uai3n7PpdcKcUJxUHb8PHvnr7\n3AlmK9Glc5u2Q4J1Uptla5+Z6QuyUEjG9HxyIjDxvW7h+m2as4crdXjtYhFt\n5CBhA84Dx2X7cy3khjC6aw6QKTodVLWKqoh1/XyrpTjA/4JW6uD6bXA98sVX\nWaH4FYDyBlnEeYUS+g0N8rGh4tz4/rNYDAb/25j7noEeIWniTyBFnpszY1QV\nFSpEXlFGRazoge+vmXC3XMcHigxcQtVAFqC4aCqO8dCeVRoOIMAxmHm6m385\n2gB4mR7zkQPtytDN9SsrChnAIq4fvxGeD1zqdDZhoLKYOtgiBk3LsuBTnZx2\nhkPy\r\n=i47s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDs3Uws8X8dwDNQm6pLLrjrqJZdC+PE2UkwGgxFfNLKWAIgOMNI8onaUfUq7xjHKm1/0rOT5jMxWWNvbo0P6WNt4vs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.70ff7bd3_1540563522824_0.9563342719656021"},"_hasShrinkwrap":false},"2.0.6":{"name":"@crave/farmblocks-search-field","version":"2.0.6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.13","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0","@crave/farmblocks-hoc-input":"^4.3.4","@crave/farmblocks-hoc-validation-messages":"^1.0.3","@crave/farmblocks-input-select":"^2.1.25","@crave/farmblocks-input-text":"^3.2.5","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.7","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.0.6","dist":{"shasum":"f1037ca20435f6a77c37ac3a178bdd4b6dcba15a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.0.6.tgz","integrity":"sha512-v9rF8bpDpH2j3MdZmx8kbGJBm8dLX/dENu2/m0Lkf8doJdB25Klwk4gsr/pi+YR2oKPMjBgUMP6jx/O1sdiMBg==","fileCount":15,"unpackedSize":49549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb00MdCRA9TVsSAnZWagAAzH8P+QGkH/AkFk/SWB4FSuV9\n3hJ1Zg1iN/U79E4S+wi9dQ/TlPcKBL3f18gcY/zJsNv7yITqRGBKlWjPhqv5\nS7fwv9dDl0QAYnFm2+CY1mg/KWp+IkPT7LHEwCdYPZk4dlBcVUdNl/DQ7Ruh\nJNEFsLawMbhvAmIHrpjBQ/4XBPTyHc9ZElNG+Ubmfs5SYWa4l907m8JDr1UD\nUiRN04ftvii1UQehvy9sI/qkbYSIubD3RMC/Smz7q4g9/i+aATbrurgaonks\ngigQnz2tRodUYf/LAI4dOb0hp9MdR/FqGbUG1cr/7/wfXEtT0JrTl+VUgyEo\nvAICOSJEzT7gk0GZmiO1LKZyIoTgbb0gvLGQYfjSs/FtQOFWcvshRkWdBAKp\nygC+ywODPLsPoS3cYqTmir0c96R8LO1+ZuMIcIpQpN70/cjqvfYCXpHn61ND\n/c0dzba9JNcu4bx1EtKAtdax2EN93jMeFeeGoFNhJ7LHEUxLGZKreTUaPJ1G\nAe/9u+RU3fBax/mTdsgoG4JR0zORxmVFHaIRv9pMgiGpx5BXusxDEvgpxJRM\nUGOnVtXqhpKWpd02XJu5G/lnULselZfeZUbfkai1yn1k3YuiCuCYYS7D00kw\n3D5lIVbmc/ziy2lAlnp0dfUUcIE8FDlTMrRdoCqW1yl3bg9hb9gfDbM0JHHm\noH0t\r\n=Bpnj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGFYiN1PjkZJqd8JL02ooeY9rpaKTGy+maagmmty450yAiEAhfPI/vKLRf6MX1DxAiFK241Vag9SGNXSvVMW2DnLADE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.0.6_1540571932336_0.508070571074779"},"_hasShrinkwrap":false},"2.1.0-alpha.ac36fe7c":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.ac36fe7c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.ac36fe7c","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.ac36fe7c","@crave/farmblocks-hoc-input":"^4.4.0-alpha.ac36fe7c","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.ac36fe7c","@crave/farmblocks-input-select":"^2.2.0-alpha.ac36fe7c","@crave/farmblocks-input-text":"^3.3.0-alpha.ac36fe7c","@crave/farmblocks-theme":"^1.7.0-alpha.ac36fe7c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.ac36fe7c","@crave/farmblocks-text":"^2.1.0-alpha.ac36fe7c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.ac36fe7c","dist":{"shasum":"88dd76fb0eb83698ea75bbbb5fd78e3c3bcb60fb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.ac36fe7c.tgz","integrity":"sha512-5ISpySDQGTAtVXT9fLkwogp3zQXbL6xvcFsmf2iDui4aPuXezAcpG989IjQYkpCbesfhdStAFjkzIFlhMwl+jQ==","fileCount":15,"unpackedSize":50112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb00lICRA9TVsSAnZWagAAs8cQAIixchd/+D1oG7i6+x/J\nj4dzy7Igii+UaU0BB5SoFhxTZLLEo0Jc8RSMN3sg6wFq8tTuXNyuTcKd3Vn+\nVW9fgUuImBW0EWCoetUOWf9LXbpIWQ7EeUkxqDA9WAMECgQvLAKBetFe00rY\nLPpDg1gzAmx4Cc4tOnJXImZ/L+ZxQ/5H5sAFhgnAlHowGKmPs6p4YexFDAaq\ntiRHAsXBkjUIeX3lL1yvm9kkp9OmLncBADkDCKCSh/fsQQmw0Wr2Ct0IBfxL\nVjG7z0sT9BWfX4w0OoNV58/sBI/ca4VwhJBTvCD45Tl8UIA0s8m55FFfeyuy\nzFqO0PRPrf7osj5kRG6RpNkPXk67TVbUKKiQ05oLy2KtmD1mlwxntnDRNty2\n+Gfe0hZZ5/2X4HQeJP5LVHS4rerAIJW4z62Kg0RJ/zQ0baV+jRfKjlDBgnAg\nsCciBrunNTtyHvaPP8uUDVTU/WeHu1fgFfZzLxAcQUiblNYSDPqGm1Eh7vsM\nNbkbo8AAdJ9lFGH1Z1Fft3DE/gGJT40YfiuUYbjzex16xWgsQoWlXf8OEPfJ\nRGRao5KFMO4ic4APg5BheCcCj7heGa+O26IipDJXBs2nlX7PYc0btX1BlM3Q\nXyISyAQYJvoOUWKulF96cRVPfIsCzNbJjs+wGoasAc0s8nm2FYwgFKMUplx4\njxRt\r\n=hFfU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICpOPUI8+96RkrMHc7xBX+1bAfBs63TYjIaH/kzF3W36AiEAkzek2P6MNR6hUvl16zHe6CSwxgAnBh99xGTNx++3NjE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.ac36fe7c_1540573511873_0.862601305393365"},"_hasShrinkwrap":false},"2.1.0-alpha.64b91c22":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.64b91c22","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.64b91c22","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.64b91c22","@crave/farmblocks-hoc-input":"^4.4.0-alpha.64b91c22","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.64b91c22","@crave/farmblocks-input-select":"^2.2.0-alpha.64b91c22","@crave/farmblocks-input-text":"^3.3.0-alpha.64b91c22","@crave/farmblocks-theme":"^1.7.0-alpha.64b91c22","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.64b91c22","@crave/farmblocks-text":"^2.1.0-alpha.64b91c22"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.64b91c22","dist":{"shasum":"aceaec77f7fcd1d5bd0bcbbcc6faf7bc1930d3a6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.64b91c22.tgz","integrity":"sha512-O7oQChwIjIXNxwGKnmfp+//ygtQ2rjKsdej1wKV82OD+xQMyZIF9EppHm6VXqp24Futsx2YmNw7nu54wwriqWA==","fileCount":15,"unpackedSize":49987,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb00/ECRA9TVsSAnZWagAA4FgP/3rahvPQzmo4tlIHzPDJ\nx3bTkPmGF9DJgFN/tULawqFl6l8MDgmqFGwzIvvtlzlDlhT02gEWr0/FbjlN\nkQ8bu8hH3wBzpRL3R3SgDeeGA3OEwGUBcfVZco08WqZvKWxHq7F5CHjbNc1X\nk0iEhBAzN9KpKhzS9xpMgndbIIpjccuLDgl7A4mZQ9bP1oMB1M1n/TwCD8k2\nTNC+8THa7S5Lm/PmbvxIVv1xKFtB0h+WEvCt+vjTAFd2o9A5DF0UdtHkw36P\nBivCRe/SUp3v3x2cNtshowVn/l6QwalP74vx++1BcsVH24yq7DRaqGZcOyYX\nTvsgXZ4wugPmGEkEYkz/j/IB0kQ0uMrQupETOHRLKhov0j6D1CZg7c4eH13m\ndrU7FjvvtTNbbscI+utG1fWa054gv5StexSWa+mnoB8fBESCDOpFG6MjWq5j\nT+7EiPSY77eNgckpWYXLG3r9yRJnza2sVqwcv0S5xxXHJt+c3fkR0kW4xhs/\ntV2HGrTnawfD9BjEc149hQDZvVF0HLXBQOprQX6qQUt3McNHnnU+HxQMQ/Qs\nSCGoZHh8cMb+YW6iJMDfKBpEBeSzBwDN3yj0+WoM7XyoRZ8uAWyKr4lcldBD\nXO6Fx+zlbeEiD3UeAPjVz+9eDTmQGb3SW1IWqF40BksIad/Xg6UWVEahdSV8\nsuu9\r\n=m9Hv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG75e6HylTmb/5zPUGbV5BES1g7aulRykYaWIgeU++FyAiEAt2npvwTg0cOG4+3cc5SgMCO0rkIx6sa44r5FAnAR6TM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.64b91c22_1540575171563_0.9876745786040901"},"_hasShrinkwrap":false},"2.0.7":{"name":"@crave/farmblocks-search-field","version":"2.0.7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.8.14","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.1","@crave/farmblocks-hoc-input":"^4.3.5","@crave/farmblocks-hoc-validation-messages":"^1.0.3","@crave/farmblocks-input-select":"^2.1.26","@crave/farmblocks-input-text":"^3.2.6","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.1.8","@crave/farmblocks-text":"^2.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.0.7","dist":{"shasum":"8a39460741c44f47be41ae65939fe5a005aabaa6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.0.7.tgz","integrity":"sha512-wjJgQQeHKqlZYLeBw9wVhyHXg2rZzRwdsTP+6Wn2Nx4scGAEivw6sBPHYY7vuTyvqK9/GaYmBOHVaVLFCS+mGw==","fileCount":15,"unpackedSize":49795,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb016cCRA9TVsSAnZWagAACp4P/2h6jzje/YrWSAj1PxII\nJlhWqSHuiUmNNn+yPmPdqqChrnw/lblixrT0FZXtYm2TKFZuu3X/eHm+dLCX\nme9UZtgVa8GhV82WuGH0Az79teqQrUMvanMCpfcRAn5J4L74kJS1fb/sVGOl\nv6zNTz2aumIjDTn6nfv3sufQPc7IDpSNfMzeldIEP/G484Sn1lu7Cb7t5lYh\nI9Q40D07vpVdk1oi+ToaUzndtV5EGSGkHbYvzgM/iT9OE3pCCgZpoVd0J9qY\nRQ1szYzgv3KTu0hKxH5IYgmop8cuCHedx5xr43RuU01FqlESajdVYOgblWzx\nkkl7vnALC1KXOml9piArnskwSjprVWQkPg59E0kvsRmUszQlFvzSNmlrXXDs\nPRdk5Lole8aM7AiX0YIZygFqVB9bbwvKDYuWkrTk+ill+2oIlNip31zJxoMj\nssdUDh0vlfOMuDqC3e+cycHS1Cmqqs87eZxW4qEaw5hYuf358gp/Itldpkkk\n3KWaR/HjsVI2Nrhald6V+k8XsgIEPiJz43yc0y7rMjMx2lKWGOKS+SpDxq20\n2bM4IaZXIDxOFwvqqox2swe1PXVsJhrcwYinGQhqmdZyip2IkowBUAjf5CXL\nl8zgz7cEK8238rYIYRnAyy1XwOEnMoskFEZtcso0ZccweLwVbdNN+fxQRYfU\nz4ql\r\n=G0sw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICqFwGWso2XxhLF9MQw5YCFYRgxtFKFgOMgC57yn7CjvAiBWtwRX8ywhTFycrV0OmXMRlwluVyK2VQL20pgH5PkiKA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.0.7_1540578972317_0.5808194175163834"},"_hasShrinkwrap":false},"2.1.0-alpha.884cbfbf":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.884cbfbf","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.884cbfbf","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.884cbfbf","@crave/farmblocks-hoc-input":"^4.4.0-alpha.884cbfbf","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.884cbfbf","@crave/farmblocks-input-select":"^2.2.0-alpha.884cbfbf","@crave/farmblocks-input-text":"^3.3.0-alpha.884cbfbf","@crave/farmblocks-theme":"^1.7.0-alpha.884cbfbf","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.884cbfbf","@crave/farmblocks-text":"^2.1.0-alpha.884cbfbf"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.884cbfbf","dist":{"shasum":"d91915ae35259661ddbac2ce08c954795a78a2fd","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.884cbfbf.tgz","integrity":"sha512-KhXPnRTOKwiAPX6jB8w2B2kTxuhFOQKVYxDfDJlvSPNWcBnx9ppMNGDd+OvgXnNmmk7wQj1I0fuup5z5lP2g+w==","fileCount":15,"unpackedSize":50112,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb02PaCRA9TVsSAnZWagAAIeAP/3D1AvgSk+5po++YyTZN\nDn11W82Z/Hq7UmbyOplTi5La1sti5VF+7h4AKGiB8AeWKTM6D3ouuTk/T8q+\ncE8DwtetU+/ma8Nw0QFAxWsjTpHgOKl2qTfOO46S19N2iJXdqRHP42V5lcTl\nv3MtEOG5yds+JpK3nIrbu0DWr+pkNyvn/SQoLh/lfyXBNx++XVCbVWxzErem\njnOmqRB0jIgiDaMuE15qaxgNCGkXJN2nyVxMU4zULwTWWMd9e8uhAzLk9Bs7\nxnCZUzieggOCCowge75EU8rEGceQ5KLWr4Wnc6eT8184f9lQtZYdMv/Sp5Ep\n59RdlM5xdxQro2Bo1QbAbfdNNit7ozp0KWZiY3z8JT0Np4mfmrM2zOm9X7ee\np0SFAufQuHt9L0Ep+wGchPRTUBkC1T4f/dQMufoUUfBOGIU0yBZPb1QX3XCt\nBE1IgTN815o4EZm1bdEOeQ2IrCcogcGFi6I2hH7A7WB3On2Rl0mhk5OUnXxH\nIdmjIaeK+SkyvoBTkb3pd8li8GOFhXC2FCqzGSovV46VtILhR6nMsitxxXf6\nxdvCBoy6waVZmZG5BNs+kcl5H27vOUJDKCVWyXBaczsN2hSgMVdAsfF9ht7T\nNtg4DJWsb9J5ckuaxZ+/4K21GqANxCxYMj3DhH72q2Ig7Esa+xyMvvcnRgPw\nupSD\r\n=sO6h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDaN0GBPo6/fupKbFA53kNHVW+kdwUe60o+y3MgmwgZ3AIgcO6kVwJZ4oki1q3L1O+iDi7ymZAbsXXkL3jN8sqquQA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.884cbfbf_1540580314022_0.40966981354810783"},"_hasShrinkwrap":false},"2.1.0-alpha.0af71f65":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.0af71f65","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.0af71f65","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.0af71f65","@crave/farmblocks-hoc-input":"^4.4.0-alpha.0af71f65","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.0af71f65","@crave/farmblocks-input-select":"^2.2.0-alpha.0af71f65","@crave/farmblocks-input-text":"^3.3.0-alpha.0af71f65","@crave/farmblocks-theme":"^1.7.0-alpha.0af71f65","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.0af71f65","@crave/farmblocks-text":"^2.1.0-alpha.0af71f65"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.0af71f65","dist":{"shasum":"c2aea63f36f05c414aedd6d4bb829f6f6c8ffda5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.0af71f65.tgz","integrity":"sha512-y95FL363a/O+oyKZe2c10cI+QNELaQoE9ODlnUdwjdaj6K8OanqnmHUmAPcesFXkim9+/ySBvSUB74prm/SUzw==","fileCount":15,"unpackedSize":50684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb03eQCRA9TVsSAnZWagAA+ioQAJbSfu4SWQd2yDKQAFFH\n7Zmlp2N8LF63dOT8ick0IxWHwzFcJXgyQtgeUZbLgN3W4n/Ef4rVRX5f1C0Z\nsdxE8WoZh5apq5T5UUhjyEaW+VKgci2lsQefJMS3cvqz98+ESyLb5iCPowlF\nd0l7aihWlL2h11zlNLUiS0EYjQlehm8bpO0wz5DNIPYCqfvYd+FVE5oHeROV\n4lO1MMfG3hwFbCeEkJ32MMu5/6x4o7BUeOa4RUMlt+4D7VKpQ9LIEPpvctZI\nT6VFrM0iKmZavMMv6ubWqc2cGjJX6Yidrn/nDuIwH+ULPsQojtGC2bv4/XUL\nzMV58qIs05eIiLwrWDbs/jtuz1nQAL8v+sqLELX+smzTyEzwq5dk7ZPcYMKr\n1u7aqGVF0vzfhjapi5XK4TOSQ8UIENcJwiAGuPwqurAH4mwGgbBZM2nfz56p\n8BFj4jI/qicgmOvml223YcvoJXVNMUCjW6kagQSOSbxYUqM9o5CEsESUcOJn\nqN31Y76hnXSIpu0ebxbfSbReR/CxXUGf3tu1bHr4K7+VpVY++AGFD/DMLw2I\nOH6lw+eLlW9iFu0B1i6660cGfLvagkOYJxKmE6zC/Fn4pkz1lcvu/7BRG7nt\nKzcW6Wn05mqh/zakTnPBt2TKcn04u6B8LXeuDxIOGXgyS551TAhPmpxXGsvn\n36cT\r\n=CzsK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC4GogYxEbvvQ1aYlmGjoPxR1YHpbeUZmmR+Kd80t+7zAiBOJPaDeLo1o4kMJVHi9DtDGdyVkX3kubdhc0ySJ9zKLQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.0af71f65_1540585359465_0.5889169745111951"},"_hasShrinkwrap":false},"2.1.0-alpha.85335020":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.85335020","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.85335020","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.85335020","@crave/farmblocks-hoc-input":"^4.4.0-alpha.85335020","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.85335020","@crave/farmblocks-input-select":"^2.2.0-alpha.85335020","@crave/farmblocks-input-text":"^3.3.0-alpha.85335020","@crave/farmblocks-theme":"^1.7.0-alpha.85335020","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.85335020","@crave/farmblocks-text":"^2.1.0-alpha.85335020"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.85335020","dist":{"shasum":"254111be80e8e593699eda34bd2917207ab4e691","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.85335020.tgz","integrity":"sha512-y1c7N/4VWaGtHaNNxfJg/Gzbsl0FNK54t6YA5AZuzsYEwCaMmVVzH+HBYzvRSP4i3HchpEvldH5P577Z3hn5TA==","fileCount":15,"unpackedSize":50684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb04CtCRA9TVsSAnZWagAAnVsP/A7qSpHc7FYi27+krupC\n9clC7cL2wuEJhT7HSI5Y0x3vUE20lbKiNtORJsJzYLU7TCTAaKr/CBzfGNis\ngktMCB7daZVSwnMCTbSCJ21ORe9gqW/tJDQWsDhE4rviXHtPt7MtTNx3dGMS\ns3083OHB+nKfqMvsQGNMDkcc+pOZioxzuB8D2pqyf+NAdJRrhdA0IXvOCzFF\nl/NsmCIo88HR8vX7y7ULzt68d7KsRNNI5Yjgkr8HO7ucylO7fghhTZBfeYbR\nls6+opSCyNVji3/FJYU8l1VFuU1vsTGvtTiA4f+9yt88XfL8T+zBQ7frU8ib\nxGj9llT8tzZKxL5bmcsgeEvJCVXj0l8UbfXl8Grfm9tiT1ZONNLE2cb6JbW5\nmOqrZbs0RP/M6XtubpTH0HjXpIYYK5/SFp2HG+qJ/p12a3hG4KqyCCNdiOIC\n5QVX5T1b3Ww2zTYN2y2/s8N6hvfe79vyG08K1vOJD7KeZskadAPEioI8clsZ\nN6giN47cYGrVxyvkc/xBtBzRSMEBJVJ+Fo3Gu+REjlmtcoj62ldMTboKHkVI\nawMaup2x0eC2ZYJ5xja3mqTO/G4nlP/vBoHI2SY2pYagAyH8m1bl9DCE9brb\n6rqYelTGj7mvqW6zpHtApq6yztSUsC0p9Q/2UIzZwwzOinYnRzGeauuqeDOa\nHeB6\r\n=mAW8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6DKnF7kIukxxKg9krKS8YAlzd+DPJiys0dq/rNjyEUgIhAI6Hsx7iY2UDqemBVrknLf+k9dG1LAk4zhu5OY81xkD9"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.85335020_1540587692870_0.16958044907575087"},"_hasShrinkwrap":false},"2.1.0-alpha.c4ed1a5a":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.c4ed1a5a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.c4ed1a5a","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.c4ed1a5a","@crave/farmblocks-hoc-input":"^4.4.0-alpha.c4ed1a5a","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.c4ed1a5a","@crave/farmblocks-input-select":"^2.2.0-alpha.c4ed1a5a","@crave/farmblocks-input-text":"^3.3.0-alpha.c4ed1a5a","@crave/farmblocks-theme":"^1.7.0-alpha.c4ed1a5a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.c4ed1a5a","@crave/farmblocks-text":"^2.1.0-alpha.c4ed1a5a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.c4ed1a5a","dist":{"shasum":"a7b07e0317f3e7a6fe16f94d64fdd02bc0c2b377","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.c4ed1a5a.tgz","integrity":"sha512-GMTmI2fohH7Pm3hgEBHKdLOCzOYCONP4/jteAbnUxhRW1gkxvwNqhovyR66mBtJzzZTgZX+7xnBysKrVOWJfRw==","fileCount":15,"unpackedSize":50233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1OuuCRA9TVsSAnZWagAA1VkQAI4fr9dJgnQV7kYHlDs2\n0CfwjoJfZ4eOeU0zCoHn4X594ikKATchdxeS7YZeyr8kkQIjizgtcOHsGDoM\njxQ/bhwYh/JC/bnxttN04SYrkFSnkrJokTuyTq7FU74dxOdK8Wq2dfoeTBgu\n2thNZwmdIs79uamUqRysJQFPk3nTSjwkNQ6uACOIesSUvXhfdYSke5eDrLAD\n85vwKF+lFBbQp6cVNLGze+L/smtlvD4L9JklDj0KGO9bYwfSM1e/q1bRHiMq\nWu2DWgBEMOyonwBX+B3yRuFHPwqIhwAcJyMd26TXxKbD3aBkS7pi2zhQlsKB\nPu7pxq8EJDbE/1C27d5cCfvXaoJJPp5KbRFE9KTBOtilvIKIrsawV067//0w\nUMAJebxipVp95EWPcBxLeN6hhH6LmvHmFdQvCE69h4nhQ1AULh4Mag19ZSub\nKb/0a6emdS9SJgkZ7TP1giXj8whDY/OnAeRJailTL2uOAPPNP7UQMkt6meEL\ncOl4P7/OGg5Gne7T8DZE1sB5XOY5PwsQVZ4hgb1m5HxaDzxWch9+wMDV3osf\nfAEMsRXKoeSFdAxvVFY3naMPzFRbMLrOo1IoGoaKvFr3c0R/gDPNqQCspP/E\n8kpamHks8sFq8HzeJWuoZVHomwEDF0B/+3u2U6rAXwUu1KeH2gUU2vxi1SRM\nBd4Y\r\n=Hg8s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCPaEP5H2GTpSgbz3YKEDe3lU7LszmFgN7FKLrY9vaK0QIhAONeteEdJo3NDQJuRzmiRimjJ3QWo0EEizl4C+d1a3RJ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.c4ed1a5a_1540680621410_0.012438288493652694"},"_hasShrinkwrap":false},"2.1.0-alpha.f94d6eeb":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.f94d6eeb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.f94d6eeb","@crave/farmblocks-hoc-disabled-tooltip":"^1.3.0-alpha.f94d6eeb","@crave/farmblocks-hoc-input":"^4.4.0-alpha.f94d6eeb","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.f94d6eeb","@crave/farmblocks-input-select":"^2.2.0-alpha.f94d6eeb","@crave/farmblocks-input-text":"^3.3.0-alpha.f94d6eeb","@crave/farmblocks-theme":"^1.7.0-alpha.f94d6eeb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.f94d6eeb","@crave/farmblocks-text":"^2.1.0-alpha.f94d6eeb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.f94d6eeb","dist":{"shasum":"e313677406b5c9527b7694e086ca5b9306527746","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.f94d6eeb.tgz","integrity":"sha512-oEI11ylHhBuGMGDPvGhP35fHrEBoomCCkg65oyrRm/AsjEVIdJmj4+r6RQrT7sH44It0eAIrs/KIV5tZxeFzzg==","fileCount":15,"unpackedSize":50684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1wB4CRA9TVsSAnZWagAAgb4QAKHvU1xSXL788Eu2Sh2u\nO+ZVhE9F2gTU3/WxRhh3wU7v8GYfDp8t4BQ/biuS2o44CIHoPCrgmvOoTZHO\nj4w4LKHDHn1Gdn9Ncc/8XmIg/yFnzqlwG13DaF6QMVZHS1ylxOvdK+HfKLXp\nk+lXWdB9tuGFyI8ep4SOuYqNxtPZoMGvMq3+nf1XH0RF9UVTRtWGteLcRBzo\n5KqE04fmbYp5xpPMoIjTkVYTA4lDl+OzbbuCdUL0UBMvch27nya6tHxxDel4\nRKk40OHXaVNoXng5J8ROmYsRdXNGAXk67n2VC0/iWVJhRy8H9mH0XMdV4dRq\nmX6hEW8ITIsFzcf2hf1F6iRs7WehURwBBczw5Pjtbf1l1DW5A+Bd+gIy5sUU\nG2okOHtkrEtMxb6eVTuqe4xabCDl/VsjWsnzexgPF19AwiVSaSv7ihGTbCgA\n2H43NKe9wWxKQSvn02Nrn381of//HoCy1g7ceo1T5EC5o6xpE5u/8+dpuJUl\nGhjiFO+WfmNyxD/gTdygI2SsFeGSDzeX2J1aNowILv8hVCV2OUkrOsvdm9UT\nrA4RiWwAAEsYC1ZvenIIKfpLqA9nrIBpPMooWJhc8CbFhXlmFgOrBb212ifY\n3T45Oh1ExKgg1VA5PDuE0OyQmrwbp+yt1BPQjC/pb9vZsU1pSzwMfaeiyPy6\nPeWc\r\n=4o7b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA+rEo+t3roZgz4un4xsWiw3yBtG4qJ8g7cN0Z18Wdv0AiEAgKbJ8ao1CM9wY6B6Zmu5NtZl0OJ3bgDFbQLzbUNTK8k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.f94d6eeb_1540817016039_0.028824804630982914"},"_hasShrinkwrap":false},"3.0.0":{"name":"@crave/farmblocks-search-field","version":"3.0.0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.0","@crave/farmblocks-hoc-disabled-tooltip":"^2.0.0","@crave/farmblocks-hoc-input":"^5.0.0","@crave/farmblocks-hoc-validation-messages":"^2.0.0","@crave/farmblocks-input-select":"^3.0.0","@crave/farmblocks-input-text":"^3.3.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.0","@crave/farmblocks-text":"^3.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.0.0","dist":{"shasum":"537348e37ab8a03cbb1741396ac842eb9658d581","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.0.0.tgz","integrity":"sha512-W6nKYxFLJqjauz8tmxJIHAaFaLbks/ml6H92Gw4l5ocWEBr0tCnMbgfbnKFjQdlVwkei1vbxKVuneMdeuNJ2ew==","fileCount":15,"unpackedSize":50489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1wRwCRA9TVsSAnZWagAAQFIP/0wvD+RDWV5ruby3uCAI\n6q1LF431BGMpe5KURdYRrJfI9E/u4zyZ5rLSchcM9JVa18UlNXwDSVjNPRMv\n6KxC3mZEIY3regYUC299355z8ziWNiwfoUccIeT3Ggp/SnC2O3I5jVDC9ahT\nkfqyKB4ElX6RVdEzWYFy7033umUQSaBzrx0w4flKtYKN3zsIaYKSMhV1xLQB\nyzsmvoR4nBr0+tB14AG6mX+SIwoFiKt08jCtIR9RlHiyyMkPNrB596jNwAEV\n1WYJRt3LqidK1YjRubM4n5YV8RPsfzBXR8e8VbviStI9Et/1zb2c289jSM58\nEIrA/XVA2w6j/EPe9Ned4t9jnb0w5hlRHJ7INSkSULIwkLmBMnRRFqaYlTcm\nPgYCXCSSiSGx66oQ9Iwa6e6qc/9RHJGVJ2x/SuiOTbLLDdrbtqJe8o5FZDCf\nzzV7heuIW4Sof5hbJ/V8tG2BA4NxLx1A19m7qjEScEsJMquPV287zUx/Qskh\n7fxEDUPHQpYS4yGDMyaG+RFV/Wy46UEe2q+IU1Yx+qvY92+yFTGx/ktOdg5v\n5A0qTuuBSx9y1/y5zHVEvIrTxGP2oXSC85aU4UhozMFpuvfna/5UY8jmrvFd\nhNWQLzkensxPv8yrONnrvbKSo15BhAhXii94S7o9Vy1UShTMxFxdox3DszR/\nTpUj\r\n=5SxX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDrPjIuWCu1n9Cs9809qmGVeL2Fxh/rRmg+Rz2weUCHGgIga/b7mgcduhgl2JtnzR4POYMW9sETmXlkb4Aco+EI1h0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.0.0_1540818031697_0.9431487659224529"},"_hasShrinkwrap":false},"3.1.0-alpha.ca72ed4a":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.ca72ed4a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.ca72ed4a","@crave/farmblocks-hoc-disabled-tooltip":"^2.1.0-alpha.ca72ed4a","@crave/farmblocks-hoc-input":"^5.1.0-alpha.ca72ed4a","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.ca72ed4a","@crave/farmblocks-input-select":"^3.1.0-alpha.ca72ed4a","@crave/farmblocks-input-text":"^3.4.0-alpha.ca72ed4a","@crave/farmblocks-theme":"^1.7.0-alpha.ca72ed4a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.ca72ed4a","@crave/farmblocks-text":"^3.1.0-alpha.ca72ed4a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.ca72ed4a","dist":{"shasum":"0e814e66e86df05344cd92f9e3fbc41260a6aa5c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.ca72ed4a.tgz","integrity":"sha512-yNYoRD+3d+hyQzaVyJMWXBFAKNAMPR24yd2E/KlTOogNK8mJeGD4+t/pqnOuPHnkAOXWWUFle7TeSkQvZi0n7Q==","fileCount":15,"unpackedSize":50929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1wZ5CRA9TVsSAnZWagAAfBgP/1zoubGBAeuLQDGJY3vr\naCSM/CLE25TgfNkZEbcflxcV+H2EJUEPod8K4VU+K3KfaLmlW1W/bdqcxLPU\nuoplxheKGBl0lfV1FWExIPTJ2rFtQgKazcy4/EGoc6m362H210TMxpsSsVlN\n3EgnLo81AecxzX+yvOyWRAwn7yC7R6Bb505x8Abucn17TvIeJTOUZr2EmD+2\nPFyMxdc0wv1+IBY2I87DWU2hvZQXkfqgtpOzN0SIZfzdoM8MyZmgJvz8vFgg\nr9Sk/aSfwEXAWUwJaZWCFlPr60RCacrqV9CtMKgXSEav7FqR8PVqci5ADL95\naFemouKjOkTX3A050wnqU3XCitSTmh/xzonq18gNgeyawd9jBwpKbEfdxuk9\nuVLOeIgv5JHUwqkWeF+3rwxd92+PRRL/b913zcrX72kEvhmdWPVL2xGENVRL\ngy7S6p2VclTO9BCLYKB+bQO5FicjaH6875AGjVtJN0VndV4ewvHQLunD/MFR\nq8uPjrUutMhehd73xvVTmTitQHojtwDEQOCEJ1xm8Wmhx2TSG/rsBTfTtTaw\nfUM7TmznFUevzri2CfyCP3m5hqbV6TvMYw6TkBk9Kpgm5DtTAuQdB6XWl0HE\nwb4N2m4BbrljylBkz/taXoOudDVEUy14fTKnELdkzHO785vuM2rtvaom+/QL\nAi5l\r\n=TWiY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDRVT/C/TPlMo7wrdYIObNNepZSebMckTWEyPetJOYb/AiEAmvga5vEBeVQ7QHcLYzdS4NHz0UfbXYnTlYFMj2BTJ/s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.ca72ed4a_1540818553228_0.18433555905198573"},"_hasShrinkwrap":false},"3.1.0-alpha.cb49a83a":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.cb49a83a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.cb49a83a","@crave/farmblocks-hoc-disabled-tooltip":"^2.1.0-alpha.cb49a83a","@crave/farmblocks-hoc-input":"^5.1.0-alpha.cb49a83a","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.cb49a83a","@crave/farmblocks-input-select":"^3.1.0-alpha.cb49a83a","@crave/farmblocks-input-text":"^3.4.0-alpha.cb49a83a","@crave/farmblocks-theme":"^1.7.0-alpha.cb49a83a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.cb49a83a","@crave/farmblocks-text":"^3.1.0-alpha.cb49a83a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.cb49a83a","dist":{"shasum":"f9d12efce74768b04bfc6713e973659be1509834","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.cb49a83a.tgz","integrity":"sha512-o5/7qbU4RaRyCPcIXfZ5RucYM99xZsIvfsyy52/6QT3dX9mkOT4SC/zwhmwTOanRuNy4kVVtClnMF0wnaJ1UmA==","fileCount":15,"unpackedSize":50929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb10FmCRA9TVsSAnZWagAA09MQAJxUOip6LIkVYy7nfm+j\nLi76wa5zbWHUEd39VQTb4ttdjCs3qKuv5p0vlih0mZZ1mMGRr2uFX2Jj2qdy\nS2uSPWHxQsTZuHfDTLx4yDzYgVVjWGKIUPMJIespHqUcDL3KQ9bIs57NfAOp\nwbXVdB+Ip0xwS3j/WhkPJRtSY/2SH93sPkjQTAioYXb+4z9W0YYwU/tKPWLD\njkrv3yHu3MH88Xm8QjIUkUCvEQCU3c+yV2ogeFFqJYqa5bMmZtFk5GEoyySG\nAPigxWoP2Xpt0g1MKGElM8FJLPikHw3asUpHlAjuRdKwwUhDE1INfWuDYcVI\n/vpAlDsM2MngoP2XNaPRtwfHJYxgRsxJnc+wMq+KeYYwcL9disPCougXDFm2\n75QDEcaI8z63adBLtgCK6EjTBwFeqfkkCc5SZ+zdNNbhgu7g4P7UTIf9iHg1\nnnj97qOtobYAL2tiPGhIa9MTANhZuSB6tDMH2TblFrb334Td4a0GVKyQVwYZ\noXZgCKXGW41sYIOM9r5JoeSAQeh9eOB1f19+OkjR6REdhDioPnuLPU2mf2r/\nWyNnaznPe3n/0MotGlCig8iP7YkthRd35Tc2RH/WVUgQIcOLiErxWKxqaKjg\nOz/GbRaQ1pXtRbYPivj8zLrRCq2r2SMEM+rx+2vzDRISDFMBybKIHXuWhbvO\nQQlQ\r\n=/KTm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiWv+bJbd+ABIapt+TmHVhyfyaSRSh5N5mbZYRuwhWgAIhAL0W7bpjtCAI2BfO2lFgDGTIVRl3JggWPPpQqI5Xr4Rw"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.cb49a83a_1540833637760_0.8033708423036907"},"_hasShrinkwrap":false},"3.1.0-alpha.cbfce4cd":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.cbfce4cd","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.cbfce4cd","@crave/farmblocks-hoc-disabled-tooltip":"^2.1.0-alpha.cbfce4cd","@crave/farmblocks-hoc-input":"^5.1.0-alpha.cbfce4cd","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.cbfce4cd","@crave/farmblocks-input-select":"^3.1.0-alpha.cbfce4cd","@crave/farmblocks-input-text":"^3.4.0-alpha.cbfce4cd","@crave/farmblocks-theme":"^1.7.0-alpha.cbfce4cd","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.cbfce4cd","@crave/farmblocks-text":"^3.1.0-alpha.cbfce4cd"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.cbfce4cd","dist":{"shasum":"8fec07c88aeb551e531cdbd91fa8cd401d41e0a4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.cbfce4cd.tgz","integrity":"sha512-GS75QZELfy5qVhUIB6N/aQaAM4UY+fY+dRgqpiQmLIX8Q2Pam/NFqMIUqE6WC6kerKlVm6KrNgBT8KLH8Bd1xQ==","fileCount":15,"unpackedSize":50929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb12WHCRA9TVsSAnZWagAAzGMP/A1l91b/GOYpoAaPt4+0\n3jPzhg7omU4FNpISNEaVHZ1Cdsy7i7A90XDc/EOYCza8RUUXjJAojna+HKov\n3nEn053GoXvHpm9zGTDWip38JmmXMDs/g4RSeVgRmABUn+MbfckftcLggTPH\nBx+AhlD8tiwb+rITv0qNwtmXOzoB2VgKxGYU0fBvcOWQhpoOqp/2B8rh1wi3\neyzHdxWilpCJUYurwbZNpGhO68q0F1VLaxl8ngSaREiMzI1+p+JXk/tbEAN5\nRsTOa2YE0mH32eLA7AwecgV1TJBU5aXhCSf3t4GKiexDCZBAQr94E1TbO2IU\nnFrxBb1561f3d27wYaPw0E+NXEXOICo3v/N4nbNEMeotX4Ow+jAiGN3YL6qE\nvYQLezimzDoqWtWiItTtCCzbvcspulhW5LRyVHOpZfwkLX6KkySlMfgQU8fh\nl7kwelJDKY5wwTX5P54Az7q65fkczQXcZuTMpXmnJCtlBnq7jFfKBKs6nekm\nqNY4GOaQ21AhjM3Moy2cEdRTi2AJdf8ay+BmZTaxZG9N12+qakQ4enAUhG+g\n6e9qYXfGFY2juZ+MOGpE+RMq17Y+XySAwJS4cT/vCk08DBxL98amNF3CSqfZ\nVdx1yiI3kZtSKbCUCCJVXsJWi3KNVdAyg/jmxxN1yfBmBBFDAOEA5pv0av0S\nyU//\r\n=EhGs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvQ52JMMDUUNy2586cPgLIo10z4CEtpdm4Dj1sHcV/JQIhAIv7E2YvccKu074mA6Ef6MnZydJ0dcVQSmbre0+Xrcq+"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.cbfce4cd_1540842886083_0.7760337648691342"},"_hasShrinkwrap":false},"3.1.0-alpha.52cafd22":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.52cafd22","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.52cafd22","@crave/farmblocks-hoc-disabled-tooltip":"^2.1.0-alpha.52cafd22","@crave/farmblocks-hoc-input":"^5.1.0-alpha.52cafd22","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.52cafd22","@crave/farmblocks-input-select":"^3.1.0-alpha.52cafd22","@crave/farmblocks-input-text":"^3.4.0-alpha.52cafd22","@crave/farmblocks-theme":"^1.7.0-alpha.52cafd22","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.52cafd22","@crave/farmblocks-text":"^3.1.0-alpha.52cafd22"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.52cafd22","dist":{"shasum":"eee5f7076d032d4f88b6165f4e6f37722fa80448","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.52cafd22.tgz","integrity":"sha512-hCTt0VcqSo/yJDFZM/oFV0vVWJQFkK1K0efL+q3TvZONePs2OmvkkeDPeSH9AYXUEzDHPJC1UjRLUYR6o2NUBQ==","fileCount":15,"unpackedSize":50929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2EtaCRA9TVsSAnZWagAAO0UP/RNQPwXmiNhksDvqtWYx\nHrmo3n/dfzXPy/mQv3MFHTDwOUEnfmASJ0nJ9t/MMDOfmKDm/YWb8qDd6LTk\nxHC8pp1XSRHHxPGXTzzQ0symGeR2waSGwJl0QGxSTf2mCCg+Dx4WSMCPHQ1W\n6kG+hoFjeRkpL14wXwMq9LK47yrk0B59NxAqCcDa0gjcH62fsbLZ1jjlyqUS\nnTYlPvNxOU4BHtezMaznsjoLu6eb642WAi7Q9IIypJZkSTiG87oTLTE3J2YS\nGHbskA/K6LDWFaAm7ZTFxgJzmMCbB02c8CBk+mxOSl40UlTPVcxo9EOw26z0\ncW9R9najgIqIOPhJQJ2jAtReDHX23jySm3L/8S9KoEMrg4COBoUqIwGGflCZ\nNAFfRnV/KuDwB4MTb9iY+v4ic2/8juGk4pCa5thBhfeBh5/mn4wxoiLKrVVF\nNcI/ORiC5rdh6q8hp0vFiFmCBR7fVRlVHhTKJTurNhI2zFvvJjQu+m7oW2xX\nHXQB9Yco7Qzg/xzs4wtb1aB28C7MrguFGsi/Qmx5wGRYognX3YF5yR7ZbYPn\nNcJJ+6Bhgfu3bxKmsUoDgyfu0H4DaPMIGhWWu5YK2SuWiw+wdrJQ78FfwCii\nCt9/kwYRmXh6r1Orqq50LMN5xlrpd8SSUV7XRxTPms2n6LcOQDMDiZdR9+z4\ncW+i\r\n=eVUq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCNk0sQ2qtmkoiJeq+ORtsc7NcGPx8PAw4cICdxUHrLGQIgRGGQ7TTI/KW6ze7QWXF5MuSRGPIFDxDS5bqUU1tZWuw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.52cafd22_1540901721651_0.9616525302061734"},"_hasShrinkwrap":false},"3.1.0-alpha.9053ee92":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.9053ee92","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.9053ee92","@crave/farmblocks-hoc-disabled-tooltip":"^2.1.0-alpha.9053ee92","@crave/farmblocks-hoc-input":"^5.1.0-alpha.9053ee92","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.9053ee92","@crave/farmblocks-input-select":"^3.1.0-alpha.9053ee92","@crave/farmblocks-input-text":"^3.4.0-alpha.9053ee92","@crave/farmblocks-theme":"^1.7.0-alpha.9053ee92","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.9053ee92","@crave/farmblocks-text":"^3.1.0-alpha.9053ee92"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.9053ee92","dist":{"shasum":"4d9a9481427639584c79feb43aa7aa2083e6b697","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.9053ee92.tgz","integrity":"sha512-wJMQtfRNtmJIqibbhC7K0PoVf6ObzgsTlFupWDgtVHRDUl/6dBriLOcKGf4FlpzwQm3Wnu4FCY/+ErfGMXWRcQ==","fileCount":15,"unpackedSize":50929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2FW5CRA9TVsSAnZWagAAHlkP/30u4rDzIw1bqyOwF7qx\nTxpkBX5vXo8W6as79BGw611ewQG7g86HepPvuZK6Uhvdqa2zg/kmrxqvdf+4\nlSY8cKTKl0knMPIy3c1ORDxTMAK9DGK2rhXwjkddwovLj5aOQj2b1LAHnbHL\nvbXaUI7YaDVq6/ZXaSq9Y23wtUo8YMY1MAOUsDSBJtSpTcGq8EHiZN84h2Z/\nu1vYspSwR9x+bkJP2oMPgXb3A+oiZZG5PCMNeolY3jtXmlU02P8LSsreirFK\n31NaNKcMN7f3SIU8uSddAvK+gmT75kfA+YWtXMnDSNvqQPNU9vdcHWY7vILN\nFAQPiGyhuJaCE8CHtj10+1D9IdpwcYdJVp9URBkttlhdQwV4uY6pD/tLb/B3\nRrV1SBaNNamBJWfk2o53AlqPli+5O7NjhBXPUGdXtQD+X2ayuIzDO2ItVhBX\nTqOn6U9YRied3tVdeCq9zxrn4kTTfo8ajIkue/9WWb2yb/HmjLj0RZba8Ovm\n/sO6Evxp3x+wiwKpxQmxil+PFLY1AuwoU163hSpfm/3+z0YKer5u+/gTN97x\nBohenKgGPOFP7bVX2IoxmtnFsL2pd87psqBPxTT7vMs6R88eWjCdxpQv88xT\nasepZURCo77agiwwStv3BatNjLiVqnfkLsV+o31J3ttLXOaTta26ihyEX8Re\nLuen\r\n=qJlc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFiZfa1QoN5Bbp6ZhV42D2Ph9isEvcRYcmgOaIKqZOWJAiEAsEwdC3hLJ9+LZiuGsA+dWegKrzYN4amo180z0Uu+bbQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.9053ee92_1540904376806_0.17414859096325164"},"_hasShrinkwrap":false},"3.0.1":{"name":"@crave/farmblocks-search-field","version":"3.0.1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.1","@crave/farmblocks-hoc-disabled-tooltip":"^2.0.1","@crave/farmblocks-hoc-input":"^5.0.1","@crave/farmblocks-hoc-validation-messages":"^2.0.0","@crave/farmblocks-input-select":"^3.0.1","@crave/farmblocks-input-text":"^3.3.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.1","@crave/farmblocks-text":"^3.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.0.1","dist":{"shasum":"127566bf8e10a0bfbdcbd2f1487ad1f046fb17fc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.0.1.tgz","integrity":"sha512-h7iy3yKBafdTgHsxdCzTyZTr2wWEE24ZHLKNUyc7SuqFAf6Ud+cgY+ygXOsBX3xzTDQsKfRygcpYWyHkic5R7A==","fileCount":15,"unpackedSize":50735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2F7bCRA9TVsSAnZWagAAx70QAJN7ItfogyQqG7o7E/Nv\np2nTpqezHTK7uH/JLDcdz1G10CtY1+Qtc/syi82uPDSR9xdiAL1z0vwAqn8n\nnRrcwDadaAAcrqiTyY/kPc+bwWuc5ck/BLIfzjFQyuyOAmT+DB7wp+gOgi8H\nZj9pk24ezwae5VShSr+rvzA8Pam0V4wwHJfTawmaazeX3668eb313ud2g5Wc\n03KbZT/UXpI4zYuLF+xpPum/1QEUJZwccwl2NplkrrfW1nVb0PBBfKqaCdQf\ntA4y7is5t1fLu9gzLM1sUmlftiAUWKDwJu264iRwu4gqd7gn9AUx5oAH+R8U\nx23GraLGyAnm8eTzwYdWU0UzpmyhcW/ZKPOLFv5AOmC/Wq6oXPU6HvLv+S6F\nGRbfCf5Oggs7aJIUZY/vY4QawMZ+7TokBinHbj9aJAqf3rGzOueNP9t37ZOz\njCFieGR3pzhrZlbkPFSL8TYYl+OX5rXmfucQzOtkRUvACvbb5lI+ThKuhM2i\nW2UANlRFiyIYKZxtnCrK26LgNKvMhmPZCZ9Jg/ddliS9q//erujLesQ3L8yK\nH6ga+tjAS12saFjmEQCe2jVaI5A4amQu/ADajSSFhp1p1YlS6+T/0hqcnyBD\n+ItwlxaEKFj7sjQPU6ai+uF4Qk9uROISNvCvIJOTQ6VvTa8rh02RRBoDFokH\nEbaf\r\n=P4tL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC1P1LQYC7WVXFstEoByavaATXvWd7JMvnYgt2/lEIqwAiEA/njJ2vDashQg4nUopeB6PL32JM8GYf1q0SgLH+B/4g0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.0.1_1540906714775_0.7638916541347454"},"_hasShrinkwrap":false},"3.1.0-alpha.6a288aed":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.6a288aed","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.6a288aed","@crave/farmblocks-hoc-disabled-tooltip":"^2.1.0-alpha.6a288aed","@crave/farmblocks-hoc-input":"^5.1.0-alpha.6a288aed","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.6a288aed","@crave/farmblocks-input-select":"^3.1.0-alpha.6a288aed","@crave/farmblocks-input-text":"^3.4.0-alpha.6a288aed","@crave/farmblocks-theme":"^1.7.0-alpha.6a288aed","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.6a288aed","@crave/farmblocks-text":"^3.1.0-alpha.6a288aed"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.6a288aed","dist":{"shasum":"b5e7481354de0ef238e94c95eff782a5502730bb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.6a288aed.tgz","integrity":"sha512-/d1TVd/DBDdBm5lcs5CYrmz+Z+CajnwuFzVwZmRQ3xr/iBlupMa9i4gchWQFlJUWcPeSmAcjqmjF4+BUC/CmDg==","fileCount":15,"unpackedSize":51175,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2HWJCRA9TVsSAnZWagAA/TcP/jue3bcqhedJQr87Kqnj\n9j9WKCYa8BN2vzc/rJX00aV18ptFv1BL2VC0kIiIQ7iopuc/NkNrNmvdYYXf\nnPTfodYCBpLEUTg/tKZIlRXppbwQbt7UU554zcx2DR0Zrpok68p2pl8xwf7B\nVqqQnMWGPQW6q46Oc2wVfObhKxtvebdxIBzTjhS6sKZT1KJRAcn0KY36tfr3\n9i7g9Hb8WjC9a6wrbdGsp6uYJKZ9ZNl1qcQg/A2SCoHK1bwp34w19pumtfO+\nybsWcE0Bihplg/Ym7qrLuPCZDkJLV/B9bO4zu0iWfapExd14XKqnRs6QGoMb\nugcT3idtseagDkKHEf1eqYH04VixbG7treBv7CidNdBYOhJffY0wzjL0Meaw\nTfp5V0osByL5ThHzCss6EcI5EOymyIU20/P4YsgkIuuXVzm2HYtHRXKo03RM\nFyMi4gXohsNRzBw+4F8j8GxjZ7rRjYCUI6l+E4Qe+6SRz6a7gLaZ8hQ8rerD\nB04g88e/cm4/IN1npP18La2P5uA+BeyzaMCSOEloQFrGTy8XkPi+F1j69Hph\nk468S8yBfMMKGgy2bF+e4fyxI+WAv82kqGHXqSyvyIN/0D9vYhVTf0FU2pZm\negQ6g4N8LoVTHDZ4tfwTUZe/W6L61XYqzFYtp+z74E0buNqsn0hUOTAX6V5n\nKkxq\r\n=k6aM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIChvBWEfDPFgZ53s4so4AYuac+U9WWPNy6bC4qf4tdedAiBH70wIhNncGxdB8SPFDEqLP+PxU+efzrIl4JHdcvsXUQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.6a288aed_1540912520422_0.025145523634863443"},"_hasShrinkwrap":false},"3.1.0-alpha.68975eb4":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.68975eb4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.68975eb4","@crave/farmblocks-hoc-disabled-tooltip":"^2.1.0-alpha.68975eb4","@crave/farmblocks-hoc-input":"^5.1.0-alpha.68975eb4","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.68975eb4","@crave/farmblocks-input-select":"^3.1.0-alpha.68975eb4","@crave/farmblocks-input-text":"^3.4.0-alpha.68975eb4","@crave/farmblocks-theme":"^1.7.0-alpha.68975eb4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.68975eb4","@crave/farmblocks-text":"^3.1.0-alpha.68975eb4"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.68975eb4","dist":{"shasum":"767bd19614484f1c7df995b7ab246207775e6a4c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.68975eb4.tgz","integrity":"sha512-zhhdSaSpDyeDsYNH4yz/mqV0PWk10gjMDdWozMLEmts0SxW5dMm3dJx1j+i+kgq0SQ3F8iXv8FL3X54j8EhUgA==","fileCount":15,"unpackedSize":51175,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2HueCRA9TVsSAnZWagAAIIIP/2CdidHfioS41dgD43CA\nzT1z2F8CJKsnJKhwH8Qlsk0fshZXR3lTlEAqZTxBvNDwAVK2nFSD5/PVpQUH\nZuPWqxKzmGy67qr+nIwl9f7NFypcm8BYO1x2FHx1hmX2Ei9jMRn05hycwM1O\nbLszXpL97glYuFPl2BsJxEaKfQBjxTS5kbhmo3GJbAEsbQVuRbPz4ItVG+YV\n+jjZ7Eqs3Xe+lwoYH38cj8hd7qmIUn/0kXSMCGAavSdnj0Doxtmt1rYGECOV\nnkuRPbNuuuLHNvG4r6yeoOWbCXuf0lKgtSHTHlk21cXH1M4sXTTNdbzdB6IU\nHQbfc6Qntti6v7GkIDXMrJxufT6d7C4whp6XHPA3FA93ZOuv6gvowUfui01s\nNyZBqNIdG2+ak/N+qN3as4uiy8H8cZkbO2a9v7mA1af4sh+u0Dk3Pqa7oJSJ\n3dNiQmSDgAyF3J6/Cp6RkdB9liXhuQt8z/8hRWj/EfH26k3jyu1XV6Nz20SQ\n1I78TV7h4VeYltPZk9VTtjGrJcLj5MTu/9745aj6cCWjr6ycPnuTaxuBAIiz\njIe/uAjifg4EEShXjp0xzXvNmJrcZCDi/b0y1BKLyItkbCLzv/BH6C5PZ/nO\nMAht/RS701Ql/0MynLYxlZVMu3OhWgc+2yec8COJEGt2+z95f8P0rG1jrJm6\nbv9A\r\n=dTAP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPCLeWN3I5ARWkCL2/gkGadKv6cG+Msy44Eb/HtgVWdwIgNg149M/fTUqeUzH4KwvWM3beXv+JijiZYI/k/qGNE8I="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.68975eb4_1540914078166_0.07144763572492074"},"_hasShrinkwrap":false},"3.1.0-alpha.fb5f3b79":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.fb5f3b79","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.fb5f3b79","@crave/farmblocks-hoc-input":"^5.1.0-alpha.fb5f3b79","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.fb5f3b79","@crave/farmblocks-input-select":"^3.1.0-alpha.fb5f3b79","@crave/farmblocks-input-text":"^3.4.0-alpha.fb5f3b79","@crave/farmblocks-theme":"^1.7.0-alpha.fb5f3b79","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.fb5f3b79","@crave/farmblocks-text":"^3.1.0-alpha.fb5f3b79"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.fb5f3b79","dist":{"shasum":"76629953322394336be84c6f2ccb79fc7fd78dec","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.fb5f3b79.tgz","integrity":"sha512-uBxtlAJLzydvpFESvydaJGug54FRnntPDsXGxWfAEfTGTi6dH0KKJEFgRELlvx4D6r+CfY0sEmbHfnZzwRRN2A==","fileCount":15,"unpackedSize":51104,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2H9oCRA9TVsSAnZWagAAeM0P/14z+LuiLKpFzbrHXUee\nooTjKrvo8lVdqVxQoWmQiPOOYrBAdAX7nf1OZXgCace/p9ssg9KiwptWeNFn\nL8WqK/cX8YHz5XDF2k9xNrleYznUyG6qTUEWwYzyAOcd17VANR7ygTKQLuat\n2917pMPMtIQ9w86Urw07BB88qZYLjfCwqzg4p3a80BhoENZ22Q99AY5AGhVT\nbEK3esGV0WsTjMSwYDpUl2AWWvCwaV5SV5Bvy1W6DFTBCS+TTLK9TbphKfoa\nK7aQ0DVKcOdvIKn9cYo6Metuz1QgipHft54BssimKc6NCPtY6r4nYAOJYd93\n8lTGHnMG8q47vK1OdmbtCVePafc1IzZmdBnQj2ZIdkD6+lmBusR2sc8/Hz6u\nf5KzV1+Q0qKBpdXZKdZzHXMhHbcXIjqG/xir9duRlVMFJTYH6ScfI4oQ9k6n\nsfHgH+J50ZsS8Un4XYZPFRxFCDy0KnTAQNDN64ZtV+l8B4A5zx4bQYgNKHtm\nEfcGU1aA1JDCMy9MMfUOjrFI6AwNCrU4kshYhIcV5jYPIoXhKSQPUJ6c4yVw\nEE2k8SsnYvEF9NLqre8n0maKFnFZ8Wsi/K6R4yGH44vo+CyPHlixbTrE2wKa\ntHmM9W2XjDQ/8/sGbNr/L3gS8kQYGvaeD21uK5M2vFzXOhQ85cugaVRZvFCr\nDLf6\r\n=r8sf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEC5XscSG73sgSaiVufUW5CHydEwV/AJtFWtF+MyC209AiEA88NJgd8ov/TSCrOrqyxiURvxGCsOCw5ODT1u37TsLGU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.fb5f3b79_1540915048164_0.11664188040875567"},"_hasShrinkwrap":false},"3.1.0-alpha.38e29579":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.38e29579","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.38e29579","@crave/farmblocks-hoc-disabled-tooltip":"^2.1.0-alpha.38e29579","@crave/farmblocks-hoc-input":"^5.1.0-alpha.38e29579","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.38e29579","@crave/farmblocks-input-select":"^3.1.0-alpha.38e29579","@crave/farmblocks-input-text":"^3.4.0-alpha.38e29579","@crave/farmblocks-theme":"^1.7.0-alpha.38e29579","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.38e29579","@crave/farmblocks-text":"^3.1.0-alpha.38e29579"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.38e29579","dist":{"shasum":"800d50b04dbd767422cf8eb34e7f13783cc7ca8a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.38e29579.tgz","integrity":"sha512-C1lmX+5ISM27r5TmvnuZBjvEZmrIWweB0XDwPiJgmX86qIyboaQLed1SU0XJVUU8dbhPU4h/32x5W1Ng49JUug==","fileCount":15,"unpackedSize":51175,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2JGeCRA9TVsSAnZWagAA4pQQAJBfT4Pu5LPoLsu/DZWt\nEwyxh6pZ9ztPvgjj9ynTDLAS5dmoRmDOcS80lZjDdZHzplp6+isC5tB3XVzt\nrYzqeKN4oL3V4c10btNosvzHbQ+XhlhtDaKoVI2pUwhN6gYzh5WI6ALAmfVF\nHCgrOhf1cMc3VGSFtNFRZjmaURemh8RzwF8PmajCZeMKJyr03+MMtecMvhHm\ne/znpyiTc5r0FP48+Pa/ebkZfCXXGxdi8Y9Avk4lsaQY8VY6krdy/hvoHKE5\n1oB10nFAHE9uMu5maALINoJfaaIVMqC7KnAXqpk41HnY0gGYO0nEm/D+5U+W\n6Pf0fV8eHXlaUlpslmJ1hk3ln3jepGitI+rEwbQyiENJyNV5JsB5EqyjG0IG\nflq7movFQ1j1akJ1i21Z1e905vXkplUkQeBIT4dHzCRpiWNoKadDL18GCbN6\nGu0AN2oHal8DRTAcnjl80EQnuEV7qlnQ4WelOTr5eVkXr8XADYqhs0koTuIk\nlkLabesVuUQeueZcCDOVtvuRJskbSumLhqBdVDxkhxCGVovGp11A3Qu6qeO0\nuCHb0HXdolAFDHHmuqBQjue7oyQrEcU4mC6YKut15+RPszKeQs3hE4ax5Uqm\nJs5JlUgSwLu8UWTtYgForMTqLzq/Lb5InxLEvt8mogzUh6COQFp6qFR3MstZ\nZ+fS\r\n=lVWT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdBrLC5W2SOz741yJziXo9FVmtxJ09VfdOY/Q1bwFUrAIhAOWww151UveE2ZzC1svvhP9DqN5HlMGfrywiwyj79P8u"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.38e29579_1540919709795_0.04063057902239464"},"_hasShrinkwrap":false},"3.0.2":{"name":"@crave/farmblocks-search-field","version":"3.0.2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.2","@crave/farmblocks-hoc-input":"^5.0.2","@crave/farmblocks-hoc-validation-messages":"^2.0.0","@crave/farmblocks-input-select":"^3.0.2","@crave/farmblocks-input-text":"^3.3.2","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.2","@crave/farmblocks-text":"^3.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.0.2","dist":{"shasum":"25312b9aa708e445ebee14b500fff7d92045f44b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.0.2.tgz","integrity":"sha512-SZX5tmLEbjQx0AM9kNILOvn+TjI8qUSbfl4Lu4LZcZzKG/J1bFRG8ZbERxBDCyR30s6WfpFZI/0D7T1fZanJ+A==","fileCount":15,"unpackedSize":50925,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2JQ2CRA9TVsSAnZWagAADWIP/RYnn7HDTg+pURtqEnfH\n/S4qeVo8W/U+I9KfVRwfnVSVf++lvVenRK4xxY1SoK8X+qKgOyL1m1IKpnGK\nslD6vQ0Bfir1TBPsig0jV0MUri5wfGwtdZWqVtRnHUbDzME/ZF96F2fU5Jou\nkGnxW38tnZA9DtNMDSo5L4GrxMGxxruPZ21iFZD06MPgFrwwqznPLcr1cwAT\nISP1QHwAsegSv2zx69v9cWG2Cck265eBt+pDC8xlXBxScEaMPM7zCFY9TuxF\no/RiIVrlSKQZm7s2nugTnslBzKDyYfJIE5qasXKhljQSd9qYC8glj90CpgQQ\ndd8xF0p99pJ6qPoe8nfAnpSg0/41gMCpSHGFPNNSPbtNx4ckjQV2p+w5S+Fy\n3QIcrEAfHrQ779p0EzasQp+ERAIa1SjC8lNLSh9ws319hAdjW65BjQ7KgI44\n6c82FsJHtRgO6ql9srk/Ghm4AQU4q1QPEGvwY1Le41+0597OBuVwvswAlilq\nZ6pHwpoOgD4asrw2gG+lCUuVMONSPmtOiYB8pg+mk3PMcCb7KFXXQw6Hri5S\n7QY1IyOdTDK/g4sweJIv/PghEf5N9firy5ckxq+HdM3D01z6EvQCuc5GHbWS\nT27NDZGxDrQRfdHe/styLEfVC3iKL1onr/yHK54V2+uRQwzrPmOKobmUn0kc\nbybZ\r\n=A//G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/U3nd3lKVRGmY4N2vdejdDcIbVJc9AYd2WvcW87DWogIgI/9lhUr1h2fPG2xlmxEHHFQzlJ69ExTyL3h0ExyHsPs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.0.2_1540920373661_0.3048358782931919"},"_hasShrinkwrap":false},"3.1.0-alpha.412c9747":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.412c9747","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.412c9747","@crave/farmblocks-hoc-input":"^5.1.0-alpha.412c9747","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.412c9747","@crave/farmblocks-input-select":"^3.1.0-alpha.412c9747","@crave/farmblocks-input-text":"^3.4.0-alpha.412c9747","@crave/farmblocks-theme":"^1.7.0-alpha.412c9747","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.412c9747","@crave/farmblocks-text":"^3.1.0-alpha.412c9747"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.412c9747","dist":{"shasum":"8c9ba95fa3bbf563e48fde3000fcd51226b5f774","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.412c9747.tgz","integrity":"sha512-iTBn3EsK1l2tSTIEAQPbFu/V7o4O8n54mWPq3Fi4vBnZrvLUGLwn0gSGDhlOfoableJNhOafN+zpiplllrwC6g==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2ecvCRA9TVsSAnZWagAAGF4P/jGsiaUbMstcoeah6zXk\nAhdNls8rlKR4xiBRPaP49u3Ou/65hLBhb7D7/EgUvdtiZ2WgaTYKnePfQVig\ne/jKdimC7MH1cPLf/JadmdTY59TbM7ROCf+jnUto/rj8q3AXHr6JzLmDXO/h\nlc+7MMRwK1K03Nja3MWhc5L7vIT1tEcCbLCJoDZbgwBB0zBlsP+RoaOMdkCf\nr+yZ5c8XXiHQ8izL9cBRxhg5NFBtjosyXyE+EVOCPge51fOb4WM6ztTp9N13\ntL4wvuaWDnFvnTOrWPitBmnAEDmhySzJyil6AIrcqFaCkbdHvXuBNpRoJ+Lf\nd/aZPkSuQLYNYg9Ylx9FnT07Usbs1BOfmevNwyiGRfISl0UkFqcnaOteaykQ\nGCE+d0hfPWiwygbTR0A8tzYU82gyzDjNnCdFB96Gg/AOR1lLwbsHElNa6ggT\ncS8REi5XU/Vcz942nPGKnVQtc66KZlPZA3kFj3n1bY/lCn4EG3xmHXmf+qLe\nVcLlV8ldyaPjsbvJoML55cHaevgauCD2po9H/CfueO+sV7P6vAU9+da24cZ8\nTQec19ZwAxWW9K1zJ9Vl2EU0fMgoxYVObFJTsesp/KMTmP3Pn0BJj21A7fe9\nHBdOyclX5gvkix9ovtxp47yBbS2T4jhZhFfa1Um/ugrGwYxEdWZNSbhvNLzw\nDJx6\r\n=AQ/N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICcI/1Fie4gDKGEwI/tyQT3rTWNtCJam3P8OKs6kQtLXAiEA/Rmj+UHPVGaJRaT6YKRz1uZzLGbbrjPVkTwNcMDyg/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":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.412c9747_1541007151083_0.8573391440646989"},"_hasShrinkwrap":false},"3.1.0-alpha.eef645a0":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.eef645a0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.eef645a0","@crave/farmblocks-hoc-input":"^5.1.0-alpha.eef645a0","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.eef645a0","@crave/farmblocks-input-select":"^3.1.0-alpha.eef645a0","@crave/farmblocks-input-text":"^3.4.0-alpha.eef645a0","@crave/farmblocks-theme":"^1.7.0-alpha.eef645a0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.eef645a0","@crave/farmblocks-text":"^3.1.0-alpha.eef645a0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.eef645a0","dist":{"shasum":"03fd1830a786c6cc125630bdeca168258d72ee2f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.eef645a0.tgz","integrity":"sha512-kVR281ppbKLeLwT3LALTklW0/ApUIfEV8AJdSwmuAiqmEpRuDLROZgH604uny1va1iDuGTdavDu5LolCTRIj5w==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2sR4CRA9TVsSAnZWagAAfPkP/3MWTzusWTEGTdagrSJ0\nVAPZtf2SkvQcSC+Ez2BmJj7TW7O+98bi9jH9bh0bdm0J4HuD28F6clloO10v\neWNqa2EhBkQoF5vwgJREcL2PVCvceoH4wOkSlpRYpKgmahPU7MfdmmBCMqCU\ndly3cDVooWUc4UeCw1zzRk2oFtmy1jFAsJwJ2FToQ76+pQ7spMKRxnROxZsW\nN9xj1U83J8RgoEfJuAol/1fvUbhQumg3a+Gl0aIh8hp9RzEj8AbaGwBLKRnr\nNYh0JR0vzeDSOh8ZvKRTWbD7Rug5PyE/taCSfml6WTvCjzNWbB8WQRIhKre7\nrJ50Ds/jkWr21pRpDQQo5nWET0xUV+ryUNtr29NyigEgBZXnhUaTvTiRSZrl\nwdzF70cQuwsnaOmyymiQYlHJ0Kzp+pHqZtmPGxRv2VK8UBlgrBeoM09kruCb\nSXMLm9uKa9sjPyvIOLUv2SK6uZI7C1Vf5AtMgCcMAcK7BpAfHOFLHCmTBZPl\nsxXLlUXmp3VNk6mm44u3L88qKacxfU7IsXS8Le4uZnPGM+4A8EzHaEhvzUGC\ncvKM2DH8QY721jJAdCpmENe4XXvUbnccJI94bELoUZM4vzjsxBcOYb8ijDJA\nSAeNmSbwjWuVCauBow6pA8R7sQt+kcn5lwsiJ8leXmWcMLte2gPkanZ62wXV\nEiX1\r\n=4wYz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBhCabpvTYobYQH56gTEU/rQ3OdJlgrRSTu1zL8GWTE1AiAJjtpqZoz2OAZvEPrUN21W7dK3hoLbGVWbrTNt19pAhQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.eef645a0_1541063800118_0.5385807244274983"},"_hasShrinkwrap":false},"3.1.0-alpha.3292553c":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.3292553c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.3292553c","@crave/farmblocks-hoc-input":"^5.1.0-alpha.3292553c","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.3292553c","@crave/farmblocks-input-select":"^3.1.0-alpha.3292553c","@crave/farmblocks-input-text":"^3.4.0-alpha.3292553c","@crave/farmblocks-theme":"^1.7.0-alpha.3292553c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.3292553c","@crave/farmblocks-text":"^3.1.0-alpha.3292553c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.3292553c","dist":{"shasum":"6611bdf37788491c88bd66987ae03476012b48b9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.3292553c.tgz","integrity":"sha512-7z4lX56dH4qwqh/ERKl24DWfPX11+KWL4nNDrDUcCpR5C78d8GryNoHgm0Zbvwf8Buci5sc1q5s9DewlPQGtkA==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb2yicCRA9TVsSAnZWagAAllEP+gJeWBTA8WuDdzDtMUQ8\nfCZaeVKwKhFqQfRXd1zq2y7uDgs8Xk8bgsAtTUrXcBUPW5GSyW6nyS7FgK8m\nOyHKIJAdQJsiPb5Eo1Mux0MlItzwGok7dF+CnIYftLqLsoGTKYn1czmQ1Jzt\ncCQ0f5Irj7RiapK1+s+ewF5AOhunx+uqpk8ysZ88BdBm68D7aPBVenxfceEh\nOonXTtTZmFbW8rC3Y7y2Db54kaV3pSF0hBi8lxStCvyoG4jK9QVVeM5Rierz\nEkJfblMqbtlz1e4aZb0R58Bv6P3aXMdhGeo4BwjeU39gFOEm0KYQ0OmkVONH\nasAzcR6LizI7x88Ji3y2JBz/MClgvQrTdP/sYuWarM2tpJnUcnT98GW6FrD3\nEM7ewwubukhPNAnGiO/M+nTpXSJTuqnjloAspMCON14ScuLuAVQjoHLuQR+W\n1NuyuT0yGIKhhCFuoE/xNIHA4L8ZrJOd26mXm9RGvrSCsft00XEy8ejcsILH\nBYWwOJj4BcNV7al+S/INTEUXlAzv/MKf06ELW2JGi7M+BSkWD8ly/cOxqY+3\nEk+D5YR1Fyk28NTjrsWANHSxJzvp52y7ofOP36Rfn0CtjO9CsavAwFkl31pJ\nuDtLulJga8Z8+Fhwoa/MqHMHXV9kU9PdLKL1HiRM31T6LQny/tyTfnJoGlZ5\nBJN6\r\n=3x8K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeOeTLQ+Spqa+7rIaCgDxA3bRl2tyJIsYP2T/SHdl4dQIgadO00PZCE9pYgNe2ur2vbW8n7eC1zY5Lm9cKQKh81WA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.3292553c_1541089436053_0.4438274212991675"},"_hasShrinkwrap":false},"3.1.0-alpha.5d5d840f":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.5d5d840f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.5d5d840f","@crave/farmblocks-hoc-input":"^5.1.0-alpha.5d5d840f","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.5d5d840f","@crave/farmblocks-input-select":"^3.1.0-alpha.5d5d840f","@crave/farmblocks-input-text":"^3.4.0-alpha.5d5d840f","@crave/farmblocks-theme":"^1.7.0-alpha.5d5d840f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.5d5d840f","@crave/farmblocks-text":"^3.1.0-alpha.5d5d840f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.5d5d840f","dist":{"shasum":"cb5be39506a63d7bf5733444537acb2cca4d38a1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.5d5d840f.tgz","integrity":"sha512-iIPOLG6XYlaQZ7GX/L00GKDnbeBh56cxwCSFo0mxQ99XvR5GayU9TRw8GSQBsTmY01BbpaQ14Iapw86AFybw9g==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3bb9CRA9TVsSAnZWagAAXrwP/jpcrQYFTD4C7S6FMCuv\nMVsKIL/eo43S4DW/RFjMM7GrfCV1Fv6DgGhYUg0JkwaQuNYhK4Z/gl374RB9\nydNh66I4/enfH6tqlQ7N1BhdjvQHrBcHJaAbQQsgdgGsZc+jZFVlELMEgtHS\nKy2bjeGr2q3uBsM/zsjVLW9uHCNG/bhnst0DxoZ8jDoMPCwa58zb/yq6UHOY\nFWxr52sYnmhdjUllq1Krt/4b58kKvjJAsBXZr47fBHW2Z3Y16AoCWcoacMzS\nOiwdVBiOECNRLTGTkBhheaXmMJ1FVeh1J5eorIiCjOhELBBREDsNiWgNa0Ek\nwkW7YoQFriVWvMmxM0Fd4QcOQwe7Gr7dlhiaaBcm7FsnldKeXNXHsRRXfUOl\nrjPelymYerU4RBSb+KQbZyC5v/q1n0mxl0WRlvSQOFmfcrlgrp/FYpLCbHEL\nOFA7XXBTXDL/zCL+fch3hXn2qtsfV18ZVdws/W+a9GylxJkzHWBd44dxGXZS\ndyg240NN0a9eOAGAJko4v9Dju334VnntpKdE4TsAZTpLv0vizFsH3j4nLrtI\nOZ5xJhgruVGuOXNsOzLqTubSubLWvIB6KCj9eynGz3Gv7XdvNts+CxIDAVdJ\nJczyPWPDcE+8d4eR2SaNh92omRWupDgFMXXAQ+w06ndw7Z3Imwl0E0VXzMvG\n7+We\r\n=LA4s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQDu71CJed1LpKLFGqh/1h62zbtKA7donAJU4qKvRx3AiEAqJfsmVFhxfPoplXu7MUX0QWGCZszj2d4Ws4HXpg/3SY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.5d5d840f_1541256956795_0.35296044224282896"},"_hasShrinkwrap":false},"3.1.0-alpha.63619ba1":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.63619ba1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.63619ba1","@crave/farmblocks-hoc-input":"^5.1.0-alpha.63619ba1","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.63619ba1","@crave/farmblocks-input-select":"^3.1.0-alpha.63619ba1","@crave/farmblocks-input-text":"^3.4.0-alpha.63619ba1","@crave/farmblocks-theme":"^1.7.0-alpha.63619ba1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.63619ba1","@crave/farmblocks-text":"^3.1.0-alpha.63619ba1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.63619ba1","dist":{"shasum":"62739c6b0f5e1cc08b8178634fa45ef16ba8ccdb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.63619ba1.tgz","integrity":"sha512-J3nDWM+qh0/5SjdROVAqDKzqaqalmLOht95SQ7yYeKGqi12ab7O9CjtawQRAV9RzegyNDGSEh5GiJH/sfppEuA==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3hZnCRA9TVsSAnZWagAAEscP/2dH4CEun1SVxKTMWy3P\ntaPUM6EXjStsfTIL6lNwkVlFghVzamNPzxV7fLjGoJShUVRTgrniwUouMsty\nJ2BaxlTQhBoKILNKNkXDXdZx6LAR9mj45/QwI7LURepVHXN5AaA3x4xSbgNX\nqQ79p7jum3LGOrTIW5eEgPf4Jy227+bL3w+SH10iQLp0nEmSTWAPhl1o4ROj\nHheQc/oWt+J1xb0gUoC349F21HGk7s8H3BSDQ4kCgKZX8IZXMEWbCgkbfCdr\ns58WhxfjCKOIAMRNEwV7yQMzBTLZusH/S8UkCVrEDLBE2mtHSftmcDwSWbp8\nS4zGIBQ5f3H1zGKPnysedvxCdRFeKS232cV76k2gvF9BP2P/G/67vlz+v90I\ntpsB6kubESt4cU7vR7mrtWhj+7px8XauhyFRxjHumDja7XREV4EcfhdG340I\n5hiNNjOv7A91EtrwTGtnBgyUGI2FxhExKkiig7q+rPeX00HwU1uFIWrJyv2m\nS/DHnAaImAW5qNi6st/bcOKgKTx6Fd2Tm8aPxCl18gX3OoRbBHe85GP/oyr+\nl0Qcx+cMiVd80Fj8UFmNqLrh3tYnkLO90KvtebBvB9m9yoQl9mrH9Bw/aynh\nfDSHkxJD95PcfaeAmTOL9rH4AHTcSYr6ByuJs/8bpAVOdmUM7Azc4BXZ65gb\nVD94\r\n=m9Ij\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH2nhhhCE8cJ9m1MQXRi99669A+GexPN37ZT5Pj6Poq2AiAor9u/5R5zoKCWTwILBJiCJ66JQ0ASitndwGJUKwjT0Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.63619ba1_1541281383010_0.9134050956985913"},"_hasShrinkwrap":false},"3.1.0-alpha.47d16c13":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.47d16c13","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.47d16c13","@crave/farmblocks-hoc-input":"^5.1.0-alpha.47d16c13","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.47d16c13","@crave/farmblocks-input-select":"^3.1.0-alpha.47d16c13","@crave/farmblocks-input-text":"^3.4.0-alpha.47d16c13","@crave/farmblocks-theme":"^1.7.0-alpha.47d16c13","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.47d16c13","@crave/farmblocks-text":"^3.1.0-alpha.47d16c13"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.47d16c13","dist":{"shasum":"f1f2cc87d8f912e24b4c55594653a96aa3acaac5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.47d16c13.tgz","integrity":"sha512-ox3tkET7dZ2a2zsZacB3PDbmveedaQw2dKv6F5kX5U5y19WO+ZtXWfMNOdi8Z/HOEnrVQXQPzorkcSoGFF2fJA==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3rgJCRA9TVsSAnZWagAAqFMP/jAIH35e34lKHtR2qRsn\n1kyWVF1cN87Y1cpQG3RldaImypVjzAV4tX6cIdaj/8zzm6DiT1GHCYofCvgN\nrKqXlwU8nuWO/G+JgWOu0ljlJJIX0qWI/Sk0xCSaM0sOKxoW+xbzawfzmXJi\nMNQUnSaA3qZM8/aFOyUHQgdDwlAlLwQJgKfxL9UbEedOpBTA8tN91vw/v6i5\na1GXO/z1nKx6gzN1ZKMMHZOAfh7QYteFmFnvohl8vvcVR12tDczTEXPG5ofs\n/qAJmbWwYeHyaa98bo9aIr4rij/MJ3IlMab0e2GFMVknlh8wEp9WabhMoVA9\nMVKnRp5FYew77+irOlEPqqN66V0b8V20uZsjZ3FJJPqBGrjDsaCoQXVsu+nz\nc46z+4d6djO88jUappIBfzoSBpm0/3hKbqKW0b3J9cR4zNJRiyAV6RUQqAO5\nyEnk9NK5FsNKDpQW1Xkin+J7BnwA0Vcoi2koCTuciDs8y2jq9PyXZkgFUe0Z\nVaChQyfa9wF6O8vyiFnRslR8Z0wqN6TIKNyfoYSLhzucJUFMi3uUJVDLQXe8\nLmS7UE4JAcgQ86l/F2FqjF/H/NHCIV4T9yZrGMtyW63gTSt3VIm3YFkPI3ty\nRFp3LeEX7iKODwjloXHOKiS2qD0CtGfYE09eMfJmfCgp2C6D04exHeSflkBj\nwoAV\r\n=ILPm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5vCoh2sham5WUeQa3q6AZBlvbJBYYhEjjUMvcsgBpCQIgW8vx6WD5YumxJgphkfbSmCoZeWpAQpDLK1n2Wr0K6G0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.47d16c13_1541322760969_0.36810701708034044"},"_hasShrinkwrap":false},"3.1.0-alpha.64dde1e2":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.64dde1e2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.64dde1e2","@crave/farmblocks-hoc-input":"^5.1.0-alpha.64dde1e2","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.64dde1e2","@crave/farmblocks-input-select":"^3.1.0-alpha.64dde1e2","@crave/farmblocks-input-text":"^3.4.0-alpha.64dde1e2","@crave/farmblocks-theme":"^1.7.0-alpha.64dde1e2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.64dde1e2","@crave/farmblocks-text":"^3.1.0-alpha.64dde1e2"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.64dde1e2","dist":{"shasum":"f04791f866e8ddd024ac838421d50c8fda6ce09a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.64dde1e2.tgz","integrity":"sha512-ROz0h8zy1YI4nHoJDA86CgRztEqvSuisz/WbB5Y4ChNE99XM10S6E9RjmTCKiz3JhqmO/6VkOCZks2LBErWVkw==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb3sNRCRA9TVsSAnZWagAAEv0P/ibOJ7WeK+TWUPAegA/b\nEfedGvGy+z9T+L7LCfJ2T5pCfGu5LmUyDxjiczmEcBok6yb18Q/tzReNff28\n0G8goAzyYisfFMImzh3KiblVadI+p6kTmLgBcrEVygL+S6zVnIUk01hEWYJB\ntcjbQUO6REFxLROnlDau/ri2WJ6XTwwk0Z7ng+gQJcDWQ3F8peW6OGYosTlT\njMZ7Jn7mNkN8tpXnhFbdfKpN2QV5ZNya6kRzpMUmY7cswRapeKPFKfies4Yh\n533RSwaQneUkkNmRFoyLeGN9cYqvmfPa5HmEJdpQTxsIl0WbpH7B+NZTR+84\nV3WFu8eAtJvDSC3qsdLY3mG1cC1sYMVLSr5B6l/emsCFJIZT7JYhRA5VPEik\ns7jW2Qdz2R6V54ZzZGGESCDb53KEdSrm4e3x9vTiZG1djbfmIL5jaAcfNbg6\nfikV5DTJD1Igs0Xoynk9hcsewxcn5W+COhOJsc2A74Nf1KekAlg+QGPp0vW+\noeepPKNeFFwCE82r/GejftkGfzG69rZOEgAQGHmux5sHpahCDKzDc0gmz6MI\nAx0ypUxmhQnH1RzcTPdmun3gZNeKJ6xLSgPjmVnVDlK32NiHkWLU9NJrSve+\nWCZdJNjKPoFMDVSnvp7qMV7iaZeL7pHLNRJWXGamHG1fkHMnwXYVCjdNyDLt\nfKf+\r\n=E51K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0Z/62JH5AeG+vcbb7+JjFptWhopfY7hfUsyshrkrnwQIhAPMBb2cN6IldXoQ08zMzp8ufbpvC9EJE5JN9NXyac8nc"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.64dde1e2_1541325648925_0.33590435024826704"},"_hasShrinkwrap":false},"3.1.0-alpha.c667a834":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.c667a834","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.c667a834","@crave/farmblocks-hoc-input":"^5.1.0-alpha.c667a834","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.c667a834","@crave/farmblocks-input-select":"^3.1.0-alpha.c667a834","@crave/farmblocks-input-text":"^3.4.0-alpha.c667a834","@crave/farmblocks-theme":"^1.7.0-alpha.c667a834","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.c667a834","@crave/farmblocks-text":"^3.1.0-alpha.c667a834"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.c667a834","dist":{"shasum":"1037245f1e007c668ac837bfe30456ec12519df8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.c667a834.tgz","integrity":"sha512-RSWO5EZgEGZghIKeDiK/SWdo18qwg4iXrT7sYEAnFRgz3f0uKoz99F4zlvAqXaFrszq1FwhdVihqvbjsVmZwuQ==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4BmDCRA9TVsSAnZWagAAm0IP/3mrX6PT1GnTZMdfYhM1\nDIJX/8HDnfeyKQS/6d3FrTqmlUiGP1OW4+NgUUtVe+BkQEnzYvGVvIQ9Ra4M\nL4uNpqZDArqs6rwv/r0PCemAkkJiVCsMy/oB7Ot5nFh9CZatLrQeM+NTbnvH\nmo9w/R537e0qCku0LaVUug7Bw87SFLeCG2xLabS51qaLlEbXW7jrah22QxTo\n2VLl0Uviipp4CQSZxnOvRMWH4y+PwUHbQOjWdSpAXMmIRJIZN5aFnEYxWfF5\nUCjwIPg3aXF3XSNI7wFvwlUFDTqgLJSPG7wf7+TGEU9GwV8E5X4DmbxVk9cX\nWdlmCK1B4P1kCCd6x0oFguM6Xb9D+dGnCP3MR87FdPDH6rLbtmtOpIUv4lzV\nVgukz36ZeVtgYuLmrA3tcl8dHv6GgKNeJ4f+AiQDnEllwlFEzwfr3ylwZ+/5\nJWguI3ho66W4zpjZABH5VdtMcVwUvt7xqb61VS9HmzE3AaLamHD3dwXu6m7w\nlc92zg/vzh3jBFtiM1xxXoaiDD11eq/2MzC5XwmyF5kFRjLw4nm/nWKEzPMY\n1+IWiRvEFZ37nEupTRFAwG9TEPFdo7GTD+BM9O4BY3Y2PmD3/nGOh6nTpOsd\njd2JdyAwSVL4N/VyxJ6E86CqvEJ1s5yEQA3ogDC9wYwdONWsjSht68Pu+1+6\n0+Kh\r\n=R54M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICLC/tfFNUuySCFxvhCZH2LMVFkjyAhXKUiXXTbLs690AiEA2GmsjAmlpP3G+Cc33AcwXwE70dGe36jUNa0kK67soAc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.c667a834_1541413251048_0.01925288283585669"},"_hasShrinkwrap":false},"3.1.0-alpha.ccc56190":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.ccc56190","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.ccc56190","@crave/farmblocks-hoc-input":"^5.1.0-alpha.ccc56190","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.ccc56190","@crave/farmblocks-input-select":"^3.1.0-alpha.ccc56190","@crave/farmblocks-input-text":"^3.4.0-alpha.ccc56190","@crave/farmblocks-theme":"^1.7.0-alpha.ccc56190","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.ccc56190","@crave/farmblocks-text":"^3.1.0-alpha.ccc56190"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.ccc56190","dist":{"shasum":"cd18bc4890e58c533e243dd46f63fdf753fc5bff","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.ccc56190.tgz","integrity":"sha512-VrYo5j0z0qR38RZraB07TseiAuMxWQ2roRU9vZa08mFDJwX9G99laIB3+WhLX/SL4Dhz+guOmWhdaMU1DLZDug==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4Bx8CRA9TVsSAnZWagAAp4EQAIBO5P2jXfCvROJqBYa/\n3pc83nvre4wvCD0hbUscCgrUpRat+l7IIzxTFPoSSv42m6RyvGW3Uw6E4leO\n55MduC/6E4AC9+oesCJKs1RN8VyVrW9NSxuQmMcmedkm2j6karIA7gcC6dVz\nHAiXdpfY/ZX/Qsxa8BYolR1i9gsoV9x3dtb6kswgzXzvR4+f6s2AFEeWIxYH\ng0rifbipVLfjVk57nTrkgngYlsRFSOqu4UbyWzjJpoEcPicsU+pKwEgauj/O\nSK/aXo8yg/Y9EnaideXVbiw3K4V80R8dbdJk3DcchaqcJvjpUc3y+E7Xqqxh\nV+oCLV5tp7PcJztglLWmOJDRHlod5PB+oBF+TWYd8vQOderJat7vmOFhunbk\nndsYn1DiUSBjNr7HwAdvbOU4VQre8mt3Py/DIDIJ02Il9qDkT5ezRgChpE8V\ntRyZPZ9YySReR/hvnijWz2DQtILasDWbkx3s5Liej87VVOESZ/03YNuytKZK\nHPIIpJ0F+1RpJcNg1G2i99/gCcQBTyDFok0mBffSEuLG7WbQPW8JSOLNC9dq\nkzCWSCjKZ4Zo9jP5vyWo1nnA/WqCTmk1z34Q59cvRaL0fIJ7D5A2ze2t1Ym0\nIF/uskrtIuYM974KtZdD6vr/IYkZoxDNMeH8QXfNDdjQ+B1QcdeWEu0n5C26\noN/y\r\n=qV2M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC509R/5Q2S5DvQQtMmj1nfIHG3yXkg4zIVOc9kyXgrcAiEAmsONwr5vyjanU+8LRFu16hYfpjsx3VgJWdyG2rSShtA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.ccc56190_1541414011574_0.6923464356762732"},"_hasShrinkwrap":false},"3.1.0-alpha.cb539665":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.cb539665","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.cb539665","@crave/farmblocks-hoc-input":"^5.1.0-alpha.cb539665","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.cb539665","@crave/farmblocks-input-select":"^3.1.0-alpha.cb539665","@crave/farmblocks-input-text":"^3.4.0-alpha.cb539665","@crave/farmblocks-theme":"^1.7.0-alpha.cb539665","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.cb539665","@crave/farmblocks-text":"^3.1.0-alpha.cb539665"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.cb539665","dist":{"shasum":"469f20fb40216b1ffef867611fd0d68f2ead3191","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.cb539665.tgz","integrity":"sha512-F3r0DNH7LPUBMqH3yY0fArPgoITTySyGXaK20VB48xCR9GeTOZioxPNv4qGq7jji40w7bLQB71Ovx0gGOUrmcg==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4EVPCRA9TVsSAnZWagAAfc8QAI1KsoooFgw4k9I34NoQ\nh3QuADF1zIz0yZVh4q2xtHP2aSpDrCal1s+NJndSvmNxsdeZC5+aId+tIG0X\ndowsQjkNdQhVv/7aScH1Zy3K/kdHDCY8pOuz0m+sL20yacHcDbmXosUa+cVE\ns5ydRJz/t4EcgSCIFO495rLGBS/PZ9qD7xI/iH1lnslkkUWpHwLltHn0l/E1\nPSdn0dQWt7dZD3YOfRZFWr5M6HrrZy6QdwP2Nfqs+v6s4TNSh+h9HJzSBIVf\n8PFLfQszu7qAeb8dHuciHhO93iJk5g8And752lXM8uj/7zvhj0l0aKE/aub8\nZlGo5eF77uLNBxanRIrlcwSCO9R+ypxo8bd6Bknn4K1oR7warDDyN8t3KcaW\nwmj7oLQ7m/7MAh5gnu3q1bmz9frKN3p5986PUzt0fk0hkIGzvJLzrjnVI75z\nbtv4zKYnM3QpJmyOfK+pHf5DYvGkn3SujM+i7ENA6t4YY40jFoPEOZVfCNPf\n3y5lQCeltycPQXRuFCj97Y1Sc8v4rsTDEf/K+kt8u/HSgcaJ2TJBDcaZqDJY\n3FOoerOwtyWJF9aAYBHIvg+nFnIMDCu7dcQXomRhcKN9AnMLV7UwYbzL6mti\nZKynSM4841nqMubV+rrgM6OZ9hsFnzfypqITI1/bpYJlNE3ySrk2AthU1Q0q\nCJJH\r\n=5v+L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDePlTdCbK1R/Z9YZ1mGL7r1AZKV47mZzfcc8gseBr6ZwIhALjQCHe3cWZmSAWCE+z5otx0SKV1Id9OpB1BYL4b5FDL"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.cb539665_1541424462866_0.8704447727660609"},"_hasShrinkwrap":false},"3.1.0-alpha.ff6847aa":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.ff6847aa","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.ff6847aa","@crave/farmblocks-hoc-input":"^5.1.0-alpha.ff6847aa","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.ff6847aa","@crave/farmblocks-input-select":"^3.1.0-alpha.ff6847aa","@crave/farmblocks-input-text":"^3.4.0-alpha.ff6847aa","@crave/farmblocks-theme":"^1.7.0-alpha.ff6847aa","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.ff6847aa","@crave/farmblocks-text":"^3.1.0-alpha.ff6847aa"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.ff6847aa","dist":{"shasum":"4110a434245387634bd61fec70da6b1714b50efe","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.ff6847aa.tgz","integrity":"sha512-6HpteivTMtnrc0PzitE7B3iYzVa+5KFTeEYgUXWMQni+uZAB9AE0vj1kmaaucRoO0xw+Py23thTJKPstTZBjCQ==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4c7UCRA9TVsSAnZWagAADxgP/RLMEqbqbPKUtEtg0n2G\nl/52i0bkJ55oSfOSTb51gMbBwPOW/1x/V8+SHM2HOiArqYmdXZPILXi3jmA6\nbNMeQsKXEHBw199xbkrncm+03D8n99lB3W/FiUR5xRbrfbcs4KTQO0vZ9gLx\n2Z53q6SQFXUo35MA6RZEvIOpwbHqm1p7HpVj6Mi0brHZ48MzV4rPxLStWMRJ\nW4Tb3xqHuwBj8EFHlUL/NZVNJhKCAk6M+AUtGR42zQK69/nRCa6Uu5eleo43\nnyxaqkM1ZBE6DDms1sEjB4yLobXGbasngmh27YWolaNK1IUBqwFZ4md8n+0n\nAB1ay7M/3GO2fyJKDPx2WZ+N9DYmuQBDOx643YQyzrR5F9DJnEYxeAjLpHtq\n1rDQwouEDwo1WUS+osyoEKFdYJM346fY/KCUrEFKSrCgHK2GfCse6O7WNMEH\nsvPIYKesc6KmtL39x+Qxq0MmEi30Q/ImsxHNQuOLyjCcoW9RJZG+xdKzFYp1\njJxzEa2XeGeh658cazaEhg3B1AGgUc4fFAEJVt7etlmidf7sG4rpAmkF827I\nF62xyYSEI0NN5FiOvAzImlfUwBvj7MefJjSIp25sdpLIS4HGvbcaSQYw+Fk+\nTTFvLoYoTH3hmcAaMpaQFf/1wmqiYVRlPL5TA81UEFgfx3Dp8xquvqbKO2Sm\noz3x\r\n=fpBZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICt0b7ROpt9r8nVxFWOpbSPg58ZVeluK73rXSPJBLnefAiEAz6lKHpgYVDWrgaCbEso/PUPWK+ONWMcQoNrbLJvWr6I="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.ff6847aa_1541525204136_0.0212502863226538"},"_hasShrinkwrap":false},"3.1.0-alpha.c0aa2f9a":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.c0aa2f9a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.c0aa2f9a","@crave/farmblocks-hoc-input":"^5.1.0-alpha.c0aa2f9a","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.c0aa2f9a","@crave/farmblocks-input-select":"^3.1.0-alpha.c0aa2f9a","@crave/farmblocks-input-text":"^3.4.0-alpha.c0aa2f9a","@crave/farmblocks-theme":"^1.7.0-alpha.c0aa2f9a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.c0aa2f9a","@crave/farmblocks-text":"^3.1.0-alpha.c0aa2f9a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.c0aa2f9a","dist":{"shasum":"98cc65bcd32a843e096f13e74f9d779d25c3a458","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.c0aa2f9a.tgz","integrity":"sha512-QIsOWnwJIkqi6qEM0/6ozamA7z/k05H1nXD4V1XK9futy8HW7lAxp7TieEMi6Y8Pqhp22TuuYgO+uRLDwm+zxQ==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4dh1CRA9TVsSAnZWagAAJmgP/02Ro0Tf8sDoQ90WcMf6\nO4YMGqCPz9OtKI/7nrLgivyPnv1fe7jwvs8NV9b7zyOlzXImWNaHQ+5D9YiZ\nT5J53CiYwgEGx/Maon2WMmdCLg9Ep21cIHaX0UNTVDgRlvJsalwgvfHn6184\n6+FHBip5EDOUgkWshckEzK2kJzy8NOfyO7IazbHjyrI0N4VRoIfgfHH8gyZo\nneRbo68ZwNdLdDu3xwyB4sABUs+wGGcBZNRGebkJZ5OczDpB4pPbCIu9bigI\nN7WkV1f6EU7ngiwYb6TjwsFnmz5FhQYVhnDnpexpLzDBRw/0u8o2mRFLDSYu\nzOYYTcBeSgISDs2AMSpfenElQjzaMEqIUg0sCMxPt0fMylztnT5XZ5UrKU6V\nYYHvlmgakWdXZvfPmEY4aByMMxEYs2XpZxbBJ76X7DqPb5od/+Y0h93mPOhx\nYLM15PdcTjO03COS2+sv50wnQ5zyUeW7yU+YExaCEVWcVSO+KpcXtBkp9qmO\ntDzcVoF0xy3++W+jqM3dDwiNcXuFcOgScgW7XNCrlBfBabDbXleDMp2wN14W\nCWf8XlSiHi0N9yJfWDUdKJk6E2IPCZibBHgHV7vsdaA+z2Du4G1oJZWhIIDC\nvGKJgac231Z33xwv8DzVrONMzqDMWkvB1zjua84kq0hS7i6KACTo/37mY77T\noS8d\r\n=UFd1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYGF/o2OSZUCDnh2wt2gNPZ0SJ1N5u5ameuCI4I2yzewIgGMUeh/UTg3W2tRWkRHPzAd3sp255DJzvedytCd2WovE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.c0aa2f9a_1541527669171_0.8860506445784548"},"_hasShrinkwrap":false},"3.1.0-alpha.875ee196":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.875ee196","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.875ee196","@crave/farmblocks-hoc-input":"^5.1.0-alpha.875ee196","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.875ee196","@crave/farmblocks-input-select":"^3.1.0-alpha.875ee196","@crave/farmblocks-input-text":"^3.4.0-alpha.875ee196","@crave/farmblocks-theme":"^1.7.0-alpha.875ee196","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.875ee196","@crave/farmblocks-text":"^3.1.0-alpha.875ee196"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.875ee196","dist":{"shasum":"b465a625a5c95d0bc4d767410268d5bec190b00c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.875ee196.tgz","integrity":"sha512-tztYJOYNQXicnKYHBMLKtHHHqHlAgQWcgDg42I63GzdNnFhzT7BlfD/nUa/smbgWCoz9D3pgZAWJOta3eDR0og==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4kFBCRA9TVsSAnZWagAAzEkP/iVVgSqCVE7p5gG5JbFx\nTydGKp4vHtoWALoAudCFA5DmE+qLvyEq6aKJVvm1Ys8+xHJu4Tr4poI4zGHu\nHb4Eq2lQZwPn+BZlC0vss6MZqAGCnOyGj8PaQSRGqqjI53Z5mH+6tIXQ8jLC\nvvh2BySyqARx+TG5jzVXxpjogqsDNrhWPykJBJ6z1blMMzaglZ2bgSoqTO2j\nINDtR5TWbp9M69fXawNOh7jrbEmUI4QoDsEKGHCkzuLcpWr7+ohq86IqOH38\nDmrpQc6ulYVJn0n/ERTd7+uXjYZ7QRK4DwXm1D/K5OrbiohJ6hHr74N/CA5P\no75JADoHHF2L4/C6vZdtXMkazAFoXtk/7QLg5U6X7UeG3bSkll0VP/CStnsF\n3edRPfFlZTsPyqiplJJvcqgnSWAh9EHd76IlRNdOqntWRaOCVjYPcYxJ889h\n2U8siaOcnci7AkhheYEh/lhnxDyp3DXsAaN45t6M79uShCLt529oiBounOzN\nEbiEDaJPc6upg6FG2Yk7fGjglhicui3yJXDp8LuYbt7bs22OVhSBPDUgaEkH\nCgoaYcZ5cMn8RqXFM9yUW0bNkGewsNvJUL2EbNC2DAeaQaKOXbKsH0lKA062\n/ypsjmnjxe3UfEa7BCm+JiNIIIdfiVSpfkAfga4baYt5N7Cg7CcCdFICIwZC\nOI/F\r\n=/M9H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICgiuDN6pv/K3ZFC9IygcGZzpbL5yQIiAl9DHIiOPGolAiEA7qcXUVViIOWeRqPCpKLBtufiCeQfMBjkqqgVG3NWZBw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.875ee196_1541554496419_0.503939253568993"},"_hasShrinkwrap":false},"3.1.0-alpha.e97f538c":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.e97f538c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.e97f538c","@crave/farmblocks-hoc-input":"^5.1.0-alpha.e97f538c","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.e97f538c","@crave/farmblocks-input-select":"^3.1.0-alpha.e97f538c","@crave/farmblocks-input-text":"^3.4.0-alpha.e97f538c","@crave/farmblocks-theme":"^1.7.0-alpha.e97f538c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.e97f538c","@crave/farmblocks-text":"^3.1.0-alpha.e97f538c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.e97f538c","dist":{"shasum":"b05c3f820f0779d7271ee57eb42bed369fc38006","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.e97f538c.tgz","integrity":"sha512-7XmYjoKf/nZIlkaO3mjymmz/c5JRFFnv1OCoXPV0Ehx1va1oldSz/t88EIaUdWR0HHzK7gbX4Pi0G1IfFpj8Yw==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4k8pCRA9TVsSAnZWagAA4IoP/j8QxivvbzexFV1tl7M8\nrAhjNoaDNSsVGdvzYHlkBQG/YrCottjw8dERDZf47G3RQMnFH3F8jmPZoWOc\n3lh2nY+Pyc9T3yUvXW/RRhJU4Yq35V5oW45Ch6MyZ6XP2WoKht/QsDXwWIPv\nk9WpHun42Sx/4lkTZZTATg5uQUFxVd2dNNbzrKTvXP4tikL/AAb5AwDvp2Rh\njyuKp8Ns0mL/VXd0VzC16IdSHZmklEo0dsEtYdU0z9OpYiJWLdXShM0y7mDE\nG4/T6jVtodPcom8o564Jajc/8pEwhuCQEE9vnjFfs9vxMQ+uyGGWmx4v0M8g\nuFMdoT2/6D/QMhFc2XnqGuHiJjJgSQabV0J/bWSIe9I7sQpR2oUIB3V0PxcH\nCAodWp5n3IfAKLvZ0AlPeh4xHmuVeCbK5AEcpGysxXStVsC6YL8Cifey+2T6\nq9coOr7QOE3V7BUH5JIJW6WNc+lQTL1LxFWjNP0x6RbkOpAToxPVkHpj0DFH\n2kF/WDYEHeXmQhqmArva2MFXS4N3rOdOWAWtSl/xRqoXr/TMnaZN0sgHNcpr\nbdseyyaI1TviqcX1xEHSazVF8Xx4Amo4Dt+CYo3RU0hkuJgB4JkY3do83V9m\nezEOpVD0O65FboxJqQRUcLSKqV9cSTexjcy+9Bosz5K01P4W7T8eFovERo6y\ngxbG\r\n=HSp+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDw8dnVnSDD5gMxOBnUAT4A20PqgEkp3dm28kFaFrJo3AiEAntSSTQ2lz1LpddTldmAzQ8P3dOtkNySGA65gFm+Pd9g="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.e97f538c_1541558056472_0.7612423290282593"},"_hasShrinkwrap":false},"3.1.0-alpha.21e26729":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.21e26729","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.21e26729","@crave/farmblocks-hoc-input":"^5.1.0-alpha.21e26729","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.21e26729","@crave/farmblocks-input-select":"^3.1.0-alpha.21e26729","@crave/farmblocks-input-text":"^3.4.0-alpha.21e26729","@crave/farmblocks-theme":"^1.7.0-alpha.21e26729","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.21e26729","@crave/farmblocks-text":"^3.1.0-alpha.21e26729"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.21e26729","dist":{"shasum":"b4dc677a0927f7775367fadc67cb204a5466f5e8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.21e26729.tgz","integrity":"sha512-WuBZQtZvCJuvBwhpxZQwX2G9MRRj+cw+j6H+5vFy7MwewUspWd9L6/sdNwXVB3kyy1F47bINLry9hX+dNbWUDw==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4lb/CRA9TVsSAnZWagAAlfYP+wec1Z2ZuF3BS5hHMYOw\nZH7Hq4JPE11Nq+LZ5IjK1O6Z6MIFFYIifViY+mYX1EU979RwHSwQp0tdnQom\noc9M+Qzubzj0Zdq3TvN3/DFGudH0IelemI+HVXBDi+VGy6EKuD8qt9SHQl2D\nQgXIy2qvVn1m5ndJjoEkzWK8lRudtNNaofht/9TdZqU4cdl41L+Kan1gI6Iz\nFY59XruFgxHwa2jLDtNwuv87+Tpd8VeUzzXJpQF3IcZyxLwfl/8lXAeBOhwS\nfXFlBtZeApTTc7Y3ydAsfyLI9+lgqSngUY+9DR459LmH9LkdhQeV56NALNw+\nD5A4Suf1DAgrre/ik55/nMG7UPS/OrUWlPCGFLy6oRpqFrdAyKiwWwtOdnTo\na8bCtHnXPr70D4G2wCwxfZHd8CDVRnnfmJLmwwaFeEq8QdspzuEp6wtVOyRy\nfjeYdoKEHFc6bTXCZSTfRo8qyGP0yYGjUMoRnNmEHUEkV42G9SrtlI1XoPDY\nk+fplTnALimxWgnUhOg5ae0Y7H3hNSRHMD7V1d+YHz32cItLOnIGPS36GOcg\niwtvH5hZRFx3BHxPzj1eHSfT/A8CZo1n+rxSv03U3OgTgF4KQG2U5c5g+Vvs\n6RfRkwrg8ymMs6BajhXLsMu7PMigV0VPc0auPsE7ndSI9OMrOhKSybkg2RCz\nYRS4\r\n=PU3G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbd9J+Ko1Ns5i1Kz8c4VSPS/vXLqX06ZH7sXdqlDC1eAiBkjdLZ2cEbt0O/VBVkgD+U+rAhnUNbJMFJl0ros8w2MA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.21e26729_1541560063023_0.33117522401428445"},"_hasShrinkwrap":false},"3.1.0-alpha.21d9064f":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.21d9064f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.21d9064f","@crave/farmblocks-hoc-input":"^5.1.0-alpha.21d9064f","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.21d9064f","@crave/farmblocks-input-select":"^3.1.0-alpha.21d9064f","@crave/farmblocks-input-text":"^3.4.0-alpha.21d9064f","@crave/farmblocks-theme":"^1.7.0-alpha.21d9064f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.21d9064f","@crave/farmblocks-text":"^3.1.0-alpha.21d9064f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.21d9064f","dist":{"shasum":"1b670d5577aa899505a529bd6326cf0e5d972951","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.21d9064f.tgz","integrity":"sha512-dfMJkOdoXv97A7G7ONydaxnoAvaphvHax7BXMwyuB7B378rnPgJJsvVTgX8LgNm6Y0pWNY2dLclw8LEyqns7Gw==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4mlVCRA9TVsSAnZWagAAux8P/j/F2qyf+tpKyr+NV1Qe\nMNkKfCXQLQEza5s0tKqWTFVHpWZJzqeO+ak4CnBrVdyKifJ9tFbI7i70K9B5\n0PNx5r69EAllo5+4NTJhxzPXkHeC7jquhwC9JDkZZiWrfzrT0lR8P97JD91Z\nMUsJ269tOk0aqiv9dHHhFIVt1l3JT8spQMO5PJH2sm35a9gHF0Dgkip/5pf4\n7oqH5uhJs8kgL+d+kmHqdsr0GKmelnZcYW+0q98+oTBIvlZ3arHIEx/uoudc\n5kBJucSukHYSKZlu3NK10eLTOaPmm9wHBJwyDCcF6qx7S0ohARP/fb0ceaXb\nptIYfzVkJdlRhuMEHp4vq3aSvpAl8pghhihch1OHa/qMPBx5uV+5yOFLS1cc\nDBqkG40nc8fSFwccNfL+S91LIm2fMvXQG1Vwhpp/eswDTSYu8ljpPqwc9DEW\nngXXw2ZgSuRcwZZyU8N2yf5CdOVQfn7HJlx7Df1wsanZDqPu3lJsV0L0qwBN\n1qXmyNByjmneNhe8UXhFfuLxwCy3/qQk2SsBZRt2CJe2FRcjrGI6TBYEwQiI\nB4WMq88JH862Q2/sTa9LHMVIQ78d5YipxcYuMnGZNpvzJcQ0HyI/4qX5PyRi\nnGjYg2JBtwGIcMczteyToUqhaVglW5mqp6b5ZuZlHpeUkcVkIoQy0Cea4Pr1\n1QRP\r\n=Ooa/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE8y922watDq6GJ5eKic++TfpBjqTG+1BJ7gnMF4DsLZAiAdVsHfyv6BAD7CMKvu+KD4DdH0QNw2pBy2whta8r7UkQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.21d9064f_1541564756740_0.9160500442268369"},"_hasShrinkwrap":false},"3.1.0-alpha.a3be0ff6":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.a3be0ff6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.a3be0ff6","@crave/farmblocks-hoc-input":"^5.1.0-alpha.a3be0ff6","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.a3be0ff6","@crave/farmblocks-input-select":"^3.1.0-alpha.a3be0ff6","@crave/farmblocks-input-text":"^3.4.0-alpha.a3be0ff6","@crave/farmblocks-theme":"^1.7.0-alpha.a3be0ff6","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.a3be0ff6","@crave/farmblocks-text":"^3.1.0-alpha.a3be0ff6"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.a3be0ff6","dist":{"shasum":"fe8371a2ee0c5b6acc0dc114d368fb787269b3e1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.a3be0ff6.tgz","integrity":"sha512-31FVzvricMBBEZ4HQwGHk98BqpGE3tM1H8NhuBQUAw2ubNHfhUiAIJHuisJB6X8DKaJPSLzh1XH2uTVrn4Ftog==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4om8CRA9TVsSAnZWagAAU1UP+QHPl0x7VN9kOAw9N4Y3\nL7UZWTLgTJOcpJ/iRcEN0SIN0H5tb5TXlmPDbStzFNRw39Qgoe/eTgt7a3iT\nfpeeaSoo+L/+JA+kFY7f3ch+IzfygqBZhfySZjnm4MeLWox5vLuhT13yJXQl\nbMVuGSKk+hgZ9gv0M56rn/pqOEZHJl1UaUEIfuV7wd0xUjujYn+iyMvh6/TX\nbmFG5JzEy0T/Ir9QU/GuWrepwp8/Ju4Art80wbpu6ZHXAWrfzGGz4u0Lapcr\nrbdy4U/bpBHjAK4OC5ai1CyEf+9j0WeP1ayToxiLEjaaKM+ufdtWxNotbznm\nXftSu4S6LsdTOFMlUZZXyH3ue0ZPFl1V0xjnsDQi15IPuJjTVFy44FfrT+g3\nFaDpaf0dn5fIdupsq1P3vfE9Waa5U7/bid3B9TOQ8glh6+ZV5kER9lUgMybg\nbO4f4jz8yQa8XlVhB2EI17H+ambcO6bzGpIW8Lx/scRCKYQPuAi4pmtYRc/G\nPpPAM/re/WBtpnUMk5pDjp8GoztA1191s0p9W8zEJMswqiYXgVD2Ed548Bln\nb8ilSbm/uALTLsul0d0lagTaHmjOaF+Y1lHHk51u1KOm95kh4gz75P2ghnWL\nVe55PjG9m3K7QCaKscmkPg+rFJMczVraDVvh4aeYMWeMb+QKskUGixpjhxxT\nJt2c\r\n=nvks\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbxm+15c2gVKnPWqQ6NAeDFBXMaMX7HlcBWtu1yJ+d7gIhAIqGuo7Y3Jz3/icsGhzrCxRsZUomXPSRfqSJEE5y8lCR"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.a3be0ff6_1541573051647_0.3687236748645981"},"_hasShrinkwrap":false},"3.1.0-alpha.a407fc3d":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.a407fc3d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.a407fc3d","@crave/farmblocks-hoc-input":"^5.1.0-alpha.a407fc3d","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.a407fc3d","@crave/farmblocks-input-select":"^3.1.0-alpha.a407fc3d","@crave/farmblocks-input-text":"^3.4.0-alpha.a407fc3d","@crave/farmblocks-theme":"^1.7.0-alpha.a407fc3d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.a407fc3d","@crave/farmblocks-text":"^3.1.0-alpha.a407fc3d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.a407fc3d","dist":{"shasum":"5852dff1b2b4d7eaa7e9c3013b5720bf71c8160e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.a407fc3d.tgz","integrity":"sha512-dwrwirLnjqFRU/9OWgiSEFhApWW/Q9MrBxWxAlbzrU2PHyd/eCa1DhX21bFVXkaWIxgjZIQleYxLQzD+kTwYcA==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4sJzCRA9TVsSAnZWagAAUkUP/3F2kBWYqjYz8kYtk+02\nItdwbFhE6zK2TBV3ZMQI9/v4oIGRpplt4XqC1zD1gFkrVGhmpUw0/9AWO4nt\nlf+A8pnVYDB8U5vWyQlqvqfd5FdB6hYlIInnLlqJbu3MKVUz6m4icMfV+FBs\nm7+XJvZ3C/ODDqoyrFUb/6KuS5WWFuqiYdREgQeYptdvlpBW2leEuD/cb8vE\n/rgeaGB6dveXoW4hZBchVtXrmdy16LsMzzk36R/fkSQOHTzPgic5hdZ/X/sX\nPdVV0Qdac+Nxnh6ovus/m3DfGTZgalEkG6keNV6lY7f0tn6jMmy3pX/paoIv\nU/aanNUeDRYCW9RZL6Q8fIx8kipQljVf0QJG6Bv0QOuj9XVclIR7F8zSk5Di\nykcCta033yxf7Uf5XNRYnDGU4gVVgErG7XkTy8XcP+Kbwqlg1waAHoPeQjfn\n+/j2zcSBcjOLbFZLn2xbmkeLvTvVva41/FtRPOMj3ZMHT1K9rfd7Qv1UlGWC\nlyErf3eVSxdhaodP0YPimzlwymNjBD9dUnCgvgLsRoWIDbIL0cSBJDhpYGn6\nFCV902s9Ukn6IW7j2Q1SnY7vJlIHER+RXhd99z91jNIAPAWXnMZwAWWolSHq\nbgw/yMS36r2OLnNjBTN+1QCYQ5xlvtTj7kXGiKDpa8E/PdGrD6rYpy1sgorS\nLCAv\r\n=ovZH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHQvI0LbQM8zDJfdKtXaetm6mKzcgsOoXR4ajeRe5biwAiEA9On1VWzV7uQ2ToOSjyLfQy4iIz7PZLQuHfXyJYH44l8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.a407fc3d_1541587571007_0.9376364983738719"},"_hasShrinkwrap":false},"3.1.0-alpha.b9bb0fbf":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.b9bb0fbf","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.b9bb0fbf","@crave/farmblocks-hoc-input":"^5.1.0-alpha.b9bb0fbf","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.b9bb0fbf","@crave/farmblocks-input-select":"^3.1.0-alpha.b9bb0fbf","@crave/farmblocks-input-text":"^3.4.0-alpha.b9bb0fbf","@crave/farmblocks-theme":"^1.7.0-alpha.b9bb0fbf","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.b9bb0fbf","@crave/farmblocks-text":"^3.1.0-alpha.b9bb0fbf"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.b9bb0fbf","dist":{"shasum":"dae47b81f2e663000765d67c216503707486f6b2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.b9bb0fbf.tgz","integrity":"sha512-bnPlVwuARIrQ6jvipPLloS3w8suv3owg4OD0LdKIBM46jC4rs7IasQIcwG+KtOe2Gb1dRZcZbNhMVN6lN8fZTg==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4teJCRA9TVsSAnZWagAA6SkP/RAA/ToEtre1tZram2rm\non1HKGRj5nhyloyBxMTS6JqrQIFh0tXFnhGz/TmB8DeDym/c2FVgPj52vl5Y\nnknIcRRZEEZP8iJAg3WoRqQeqEhsnGDSWjRY5U2vHU6OWXx2aUCQAO7n74Qf\nT3CEmhskCEu1lT+UODaEjp0Z2SaGIuW6uelskufVF6R5+Ct+jt95MP2Llr2j\nK0q7iFVlVZKM9jD4SXm0Lwm1ZXnQYSKAJZt16rjOUuYRGYFnJHSd+TzkO+l2\nMVdwxrlsmrXk+rLF1Ih5dnBaa17/QyA9qOCe/u85h3bCyT8dL4Wmp860EXym\n2bxCt2Iz5KmiVQo2hgU2JHz4J7r7DJzmfuYYLkFiaQRFyWnpeP7M20J61zIl\nnIcfmEdpOD6tQ1VNDKiMhgEv0MV/hepfT4sm9AooMnlvaO97CKanxcCc3dGR\n1kq166EpXhAcebNV47FhQcDO2lbasdGboNJrkYiWy9emo1PW4VL8+/HgjP5o\n/WhC0DynAXAtz4U84GL8lioGTFOmtj4f2Xrb7SyZR9vOt0IbpZR9Pd0e2YbB\nFfi+4VWCVbQOG+BQGWR3n9D0TPjwBWUtcyRi6Pj5oZH2FEBUKYxn2OZr8m6D\nj6hoU47CHpdQFpQrf8C1Q+FzLeBm1HWvaaSt/NZFdOZ6TJsKJD+cr9MnSl9J\nWrqP\r\n=Mpa2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCRlyNjnBM48Ci3JVq4FEsmE7DSl6rTy9XKAmKyZkfa9gIgc9PYqv8qwLSvyTpeJssFo1lOR645AOymhdFmEA7ac0c="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.b9bb0fbf_1541592968417_0.478549598097481"},"_hasShrinkwrap":false},"3.1.0-alpha.0c3e89c7":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.0c3e89c7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.0c3e89c7","@crave/farmblocks-hoc-input":"^5.1.0-alpha.0c3e89c7","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.0c3e89c7","@crave/farmblocks-input-select":"^3.1.0-alpha.0c3e89c7","@crave/farmblocks-input-text":"^3.4.0-alpha.0c3e89c7","@crave/farmblocks-theme":"^1.7.0-alpha.0c3e89c7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.0c3e89c7","@crave/farmblocks-text":"^3.1.0-alpha.0c3e89c7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.0c3e89c7","dist":{"shasum":"2f4a2a7933217e277b9fddcc377a36c6df3ad02a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.0c3e89c7.tgz","integrity":"sha512-0VoZu01Yrb8osQr+g1fePo9RyUjbg63rMQHLHWdlXM7EehTdk4VHukpAhu0jih4lh+BGXsPJhjx+VAJWYVaGzA==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4wYRCRA9TVsSAnZWagAA3PcQAJSKdrSJEE3/GjsqrIRE\n+6plus5kE7ltSHbsNHgqR1e2tLOUX+ALqKBMiWi6vnHI3vvuxITFj0s1KL9A\naWy0XfAjVw7zIJgCj5PoOSyzz+GXzBTzTiaAiFop8h8V2K6sJMMlwmLMy5wj\nT1sf6Ff0d8zjdl2e/3h9zkAFPNXD7tgkpRfrprR8+X28Bg7MYpfN0egudT8T\nguJky+jtc6y6eRbOf33xRDOaKtnx6AOsBFsnMhkY/Ganh+yQC0pI2YrSsmUS\nCkxewVgAawhbN1F89xxtnbqaraFksAB0PIiF5F2e5XYi6wC1PPstnMY7iQqB\nKXZVwScfuPBFG9G+BLC833S/t9u3cskx49uoQlYx6Ye/0kGON4YnwuuzNmuF\nu2pGJSPGdvimuzIPaCCLzcrMQDt3MenMe6HiKQ6xGVvoOkOA8i/GW+QW0rEq\nFpIl7I5V5ssOckUcosjVG0s/8pwPWRNwwAWgkXa4RXJx6H/RFhe8enCFdktB\nN1bsPnVZIsR37uMWKTKlIuVsPz9gixMdLVnQdgw/iB+qMJ/fIGXnA7S9dCMq\nL/s4IXzW8+H3xW+o7rzbfbCopF5ZkBZWcF+9d1ItYDld/Lkt8tx9+5wN6mEv\naP4pIAxmWhZtnsPs+mCMcTFtEm01xzppyvY35+6lZlG8u2Vd2diHxRhdiXDr\nLhUu\r\n=4RMz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBHVJH+uIBKU8bqXCYS94At3R/VRAiIKOstQNc+Pmu9IAiAEpL7tpISFMRe8+o/DBsSG+DZvAS7jKzfWSNrsWhCc0A=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.0c3e89c7_1541604880829_0.3677023872577432"},"_hasShrinkwrap":false},"3.1.0-alpha.9350a75e":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.9350a75e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.9350a75e","@crave/farmblocks-hoc-input":"^5.1.0-alpha.9350a75e","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.9350a75e","@crave/farmblocks-input-select":"^3.1.0-alpha.9350a75e","@crave/farmblocks-input-text":"^3.4.0-alpha.9350a75e","@crave/farmblocks-theme":"^1.7.0-alpha.9350a75e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.9350a75e","@crave/farmblocks-text":"^3.1.0-alpha.9350a75e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.9350a75e","dist":{"shasum":"804e75c244faae5d954fdd0f0c48afb418657508","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.9350a75e.tgz","integrity":"sha512-3GbFsLuPED46w1ecKQeYh3u6ersQWT9wvthDr6qHKPUDWwEwwhpIGyl22FMTIqgAQWNZAzLVKkZ2OLK54QvNlw==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4waMCRA9TVsSAnZWagAADQsQAIR5232TqITrFfavK90x\nogAohFYAhzCKa5NfxSABJRIFbPpHymmhb/rYQ9llRJpENYGK7yA5bqXyaJE6\nQ7B0QomYM3gJfzlEQ2gGakxxc8M29voHVc3Vty6BhNZt3kd+wvEzzZroQ90c\nvgI/Hux8IL034s4VWyeAFSONmzFIaIAfUBI4bLvb12SvDTUhkJ2TXxgqlIiz\ntidp8kh9iBFzusPfG43xjaZgyemEyXHYpWZA5qSd1ocQvP3G5wZDPz+3vZoK\nou1o2vGQNVXqPxpVJ3T7+ADYuXvczTxk+/1wWL11teUbznlim6vCiNwg5wlO\nPHTRDKGGU3BZzUe5qOHJVnOLPPZPPDJU/ek9BQn/3v/CLLLD9DT401CxYJfK\n/4GcRBa+HxF0ujGTqWM68aXyZOWiJ8WSLt+lIBWbO86yRGmVV59RG0vPAiRx\nYvRlO31vUKqa4vfhNSbwtkIOiVVlMDK03Rd29Z9kTwRNAqkT6Q7dSHxBl2Hw\nyqqkvcD659af8m0nkNwsDX2y6bQvQLiro7vRkhOSLa0H8guMzyY73qd7Andj\nm2h5BEfhHZnDga9k+vDptneDdvYKz3kjor/MFhflx8Ziqn5KetZGvJ9CTyXX\nrPt4qGSuJFMGzEo/4LXG81ddgb31exzUAR5F7eM/wtw//vvwsjDV09q3du93\nZdOR\r\n=Hdj/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFTJf5Rx9e7r5zC8mhbZk163N3xC38OoA21+jKqzNRk2AiA8xk8TCHXxtGQEcaf4s84252Ssf2TbmyjKl9mHx2i2jg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.9350a75e_1541605003943_0.4237468187318971"},"_hasShrinkwrap":false},"2.1.0-alpha.3825471f":{"name":"@crave/farmblocks-search-field","version":"2.1.0-alpha.3825471f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.0.0","styled-components":"^3.4.9"},"dependencies":{"@crave/farmblocks-dropdown":"^0.9.0-alpha.3825471f","@crave/farmblocks-hoc-disabled-tooltip":"^1.2.0-alpha.3825471f","@crave/farmblocks-hoc-input":"^4.4.0-alpha.3825471f","@crave/farmblocks-hoc-validation-messages":"^1.1.0-alpha.3825471f","@crave/farmblocks-input-select":"^2.2.0-alpha.3825471f","@crave/farmblocks-input-text":"^3.3.0-alpha.3825471f","@crave/farmblocks-theme":"^1.7.0-alpha.3825471f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^3.2.0-alpha.3825471f","@crave/farmblocks-text":"^2.1.0-alpha.3825471f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@2.1.0-alpha.3825471f","dist":{"shasum":"68bb48988927be3347167085abb27d48c7cbb885","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-2.1.0-alpha.3825471f.tgz","integrity":"sha512-1Z5TG/KsF1m8Cgqz8M09LiXqgZb+IJifb/2CGJrJ/gZrkdpcI5hzP+jvQauNRSKv7BPjsOUu1OmVbGAFwt4Rhw==","fileCount":15,"unpackedSize":48757,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4wtpCRA9TVsSAnZWagAAnlsP/RdgW8pG5WewOvgpzE4p\nngr/fSmplVBx79iegKeHigygEtcyzUUSVAxNn8ApnsFY4GZOyXLigrLHUpMZ\nEMeZVU0V77+jiCxJ+Oes+ZctU5idDfY0T17dfZhOfwsRozneg5DLTfO1zT6v\ndR5uh3bxAr/uC+HWA5CNdz7JWnlKvquGd0BuHZPfzf9guH0LS4JIKJU18qXa\n35LrwnGCnSpBcbMyOBJI9lLcKaT6P8jM5vNK+nrkS/f6W/EnXQ5FFPNLKEqy\nwq2swFRE7XU6/46jNn2TpZ4fRYCCdMNTRNE1HgL40XOns7qPEZluZCsMWsFC\ngllaYvIIRFvRksx9Jg0Yvre5gO05jme+F2C/h45Z9ZKQPgG1DExRXctf5Bd1\n9Fz93NlfRluBY2cBuL8U+/QDr4vklpJNkaQetnah48TvVsq2YK50hA6YwBq0\nkNjXfPebRclm/mtHSz0cK+twvJBxSeqpd1IhyT+9pCC1mfLmnQiUDi1xoYg3\nURd/EoWZ+krKPtvAkZIC/u3S3uuvl57QEEaXPy+dEoCneZpgt2xuytYSs7/H\nQYWKtu41iHV7/ALfph2kEdCbnk+9+lrvyZIH/AuMh+Z3FuVttPJfctpGKQ1O\nNqRFswrhN3BYIaewWR+se9fYDbhdWpaDnL/nywQuiK5XoPr5tcUZ692/M1BA\nUUdv\r\n=Osge\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDzCzIwB4D52vqIKUVel5AXI8pdSfiAe2FeQAZInUI0AIhAJ7ltVhV8Pab+oVR/HUCYjVnt5Y6LZ5FaLUPWSQKE6sN"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_2.1.0-alpha.3825471f_1541606248560_0.08994755234692331"},"_hasShrinkwrap":false},"3.1.0-alpha.5af55816":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.5af55816","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.5af55816","@crave/farmblocks-hoc-input":"^5.1.0-alpha.5af55816","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.5af55816","@crave/farmblocks-input-select":"^3.1.0-alpha.5af55816","@crave/farmblocks-input-text":"^3.4.0-alpha.5af55816","@crave/farmblocks-theme":"^1.7.0-alpha.5af55816","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.5af55816","@crave/farmblocks-text":"^3.1.0-alpha.5af55816"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.5af55816","dist":{"shasum":"ddac53d598f76dc1269dcc230b8ce6f43fc623fe","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.5af55816.tgz","integrity":"sha512-CJ13aJPZdzfYIIFkRUm3OGbjQ5EhY/DRsE9R0SZfbjD7rhOVlOe2zbTviKcRC+q9L1qx6H9IT+u5xG8736MH/w==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4w1LCRA9TVsSAnZWagAAVnwP/RRlDIguntu8BRTwrogm\n9f8jOimoCbPUOdGqskB3d71Mk94S5SrSwloQZWm15nLgp0GR0bUoL1v7Jy1I\nnBlM/LwYQGq0K0EAWQPZ0GMUoaRlZJlaACBbXLrY2HLzn1mGtRxAukT2tQ0I\n0efSjVQ4Tc7qVliz6vQS+RZdoWPHJJXOVXtTeuyyangS9lceewOxWA3W1cEW\nk8e59yKkvPreNWQciSXHKcKsl2tcYzZsYhSBhQWoloh/I6WTyTR67nNfhBjm\ndXOaTH462OqHQfX+fs3Y9lzRLDuVs6DxyE3kFBmRKFu6XsCSYJIpFHUaXRDM\n38uPrE2vRwtlyPXTNQl+Z+vp5EFVYqTXLKrA3myA8/edQ29XSExXhLXyjuxL\nmdhIP2PmR2qRWLYzO7zLZGB2yDXxYlkWLAbsAxqKjB7yWbg9qVDhnfv73LAC\nPdq8lMdFzgHunCdapMPqiNzdURVKEdLTHswPXAYEN5lwUHOttBtMItDmMHGX\nIVeJwp/pR4ZGtHxV2/nLXTPexbT8DtMi+V7vGi0MIqR7lC37F+V5VZ7H2ZSd\nTh065u2tA8dDbnf4cJ0pFjIctjONQYBBESd9k5ZWJQXfm9sUoI0ch9CALnSz\nF+EMwfbal1TUiR2IWxSYD/sFTAEYRHdL8SUhdLUEvIBeSKhDjFONlk8D1hVG\nxFGu\r\n=e0mD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDlUDTQMXOOb6NVwspJCYkpkgI3WJfk/sbp9uKkj7H10AiEA5SzeojYuywKygCvTS5k42qRJKjK3N/pPn7qVP8F6eOg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.5af55816_1541606731373_0.5469172701353511"},"_hasShrinkwrap":false},"3.1.0-alpha.8de25fab":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.8de25fab","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.8de25fab","@crave/farmblocks-hoc-input":"^5.1.0-alpha.8de25fab","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.8de25fab","@crave/farmblocks-input-select":"^3.1.0-alpha.8de25fab","@crave/farmblocks-input-text":"^3.4.0-alpha.8de25fab","@crave/farmblocks-theme":"^1.7.0-alpha.8de25fab","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.8de25fab","@crave/farmblocks-text":"^3.1.0-alpha.8de25fab"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.8de25fab","dist":{"shasum":"6524d028578b55f451435322e01e362e35642f9f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.8de25fab.tgz","integrity":"sha512-aDkjHJlfEYvQjYwrbwrjN/R6cxMVeJSkHG1xzOZ/wWGZABzSDAABQDWkJVNXp6F6BjrrGmV3FSU8m/Y5xJ8vVg==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4w4XCRA9TVsSAnZWagAAjyEP/ReQtyaustEMVHnoUrOf\nQe1fJ3wdc+TEu+uvf1Jv8hYjrAODttQnnkpkc0ULues2gMUKpTrRu9ZGU/hM\n7sE78U/+iLGJNylMYOxNWDk4YaFvgBwg0AhS1QB4rSToMEAHCDESw7epVUVj\n60c0Uj9zzIvB4EFbOAkidhRbCLct8Gdj5F1LvLU0TELkjOh8TI/H6wRZULZm\njFVWp/ykvop53qGJLjdEPiNHfsCqGFzeGCKssHiP3UhasvJYlrf87GOf/O1b\nM0uNTeqDAggyqCMEKbx2HzaUlSSIQ98jlvzCESGjuhSSMox68cVLqWaKDjGM\nmDWZvdrmbMoO7VEFC9U4Z69r0V798DWqLuTKg/Aq79NeDmyfgVAhBo16wrFQ\nR2DGq5W97JynjvuL3/LXPJzA846Sb2PwsPWJyEQgyedIiGrRLvglRpya+Urj\nVZTZ1CsDQ2rtZ0QNZkCC1oC+Jbc8Gzu64uT//34SM3lCvurWYCniApMEguTe\nOF9FzeLLoCLDjcOBOSevgAxeq94uiXRA5l1I2dfz7x2FewWm7fgR4FgMcYD/\nZbpUuztGPVNzaNigUMX+zgxbL02HQgK+LLoKBjG1rqX9jGQJzylLCvvPAOg0\nTPz50K/g4WzK6979RwezDrCeXohhHg6IUE4/V4ku7O15FDUDFg0W3zXJZOwg\nk7QD\r\n=bXV7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDPSrFjlaJczIG/6FRLepIuY5PNv155pXeFdRbbofYKgAiBCHCwOWQwYIM8C0N8h+iLzmBN/mO1isEV+yx4BKr3WEA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.8de25fab_1541606934547_0.1564078876285686"},"_hasShrinkwrap":false},"3.1.0-alpha.e6e80ba7":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.e6e80ba7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.e6e80ba7","@crave/farmblocks-hoc-input":"^5.1.0-alpha.e6e80ba7","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.e6e80ba7","@crave/farmblocks-input-select":"^3.1.0-alpha.e6e80ba7","@crave/farmblocks-input-text":"^3.4.0-alpha.e6e80ba7","@crave/farmblocks-theme":"^1.7.0-alpha.e6e80ba7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.e6e80ba7","@crave/farmblocks-text":"^3.1.0-alpha.e6e80ba7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.e6e80ba7","dist":{"shasum":"2baa900e790592d619c827e11416652b60932ed8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.e6e80ba7.tgz","integrity":"sha512-q2j+95W2azsNt3/+PtYaCHhqzTIyCDnyGbTj1rlEEypEe4bqLON9n37rbkjLtpPDOTRAcqbbCi10Y7sX2dRbgQ==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4xN0CRA9TVsSAnZWagAAgMIQAIeN+ImQKHQQPKNwCl9m\nK/Qx3XQxjHm2MsQbkZUfKbviftJUPUvpugtYY5ErR1eTVHwvvcigiqMXvlRv\nsELpY5KfpAxVHoVgOhv6Cz42ZRtmmYDUNh17Zbjygx76mBo/Zw71C3YojX6S\nJc7t0J0QB8xjiP0FHGNCKC230LDr92bzj+Xeo+RHUSLI2HZVjX1GEvNbJ7fV\n0ut0Uw1bNcuxqsIW+eUq7c83nOHbd4JVHUplKgqeE6NVeImZejc7GNwEKXu3\ndefwddBUEUf6OyY5gl4RQsNSflyis0gPZ5eytqtie+O2R1rRp9h1HNVfK9MU\nZtpM5XXIA8uFfMcFXcEVd2XlsA1yyZefhaa4IxzTfa1OVOYsxiYvK2iNghhR\nQzfKdQVWiwKfl/hnThM7phPFF9/JqF9ZLMc9sS7NkWwcldUADGHbkw9JIqOB\nVqYmcza5BxBiHwgmDu83ltmKMA0OalSTKjz8jMmEFRrwZnVjHYfmN4mCGK9o\nyIP9XsF5kAbK5yFl9czDkqBODDBkPsPJhq0rHHV1CK2H20bkwkmAUO6h8WNj\nE86EJ9AZaUde8ZIGh8z97CjWkkWxmL5m7x2HIMfBF8VIDGOeQIHQ++D8Q95r\ns73txcIYDY3eNMm6subVqKMK+xzTAk3odSdJmFUOHNonMg6AgTwA1GP9m0/v\nufHW\r\n=n7yR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEElNQxw//yM/eD0oqcSaJ1agtIvn3fMMUrXSCiW48HZAiEAxLG1RLb5z8t5xaLtgi5TQ5u4EFKXLThSoqqLuLgwlg8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.e6e80ba7_1541608307976_0.3119674450957248"},"_hasShrinkwrap":false},"3.1.0-alpha.07e9f012":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.07e9f012","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.07e9f012","@crave/farmblocks-hoc-input":"^5.1.0-alpha.07e9f012","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.07e9f012","@crave/farmblocks-input-select":"^3.1.0-alpha.07e9f012","@crave/farmblocks-input-text":"^3.4.0-alpha.07e9f012","@crave/farmblocks-theme":"^1.7.0-alpha.07e9f012","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.07e9f012","@crave/farmblocks-text":"^3.1.0-alpha.07e9f012"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.07e9f012","dist":{"shasum":"1cc9ae377b83d1ff91bc30d042a45ce15bd1b9f1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.07e9f012.tgz","integrity":"sha512-NgSN3ASm3l2JqBihMCZy6s1YrEeFm0Tq6CDnOxGUbFIamd1jIS+vNfiWrDeJEtpGzzg7jn3VK1NCv2Gvz99EXA==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4yUnCRA9TVsSAnZWagAA+ckP/3uaXTMfmM0gEtLOaDva\nDhW4hbG5TYF1PxKZKufZoAqEq19x3AXlauHq/3tA8cJY6l0/xPc7xR/IMgfR\n/RkjYMKV/27SRhQtyZbJ4y3L4sc4tdNGm0/4nUUJzFN0L7YxoqyRBL4oR7ZU\nICz+YuEkgr/H/UmX0Dy1lj3dFTavCPOgxqeVs6Kie2Jsmq5noLq0eQNZ4kNi\nxxn8mgjCYBGz/Q9hIfRvaKGGZcpKwSaduZpjujb4wXZ2M+Q/cDYm/rV3H78A\nTFFs24lRIT8G/rq1opp3+hAipNr2pe0TX55NWbVTtf72tNzBFsWJrWpjgO1Z\nXMmqfOkxPJc/sKjIC98ZZEcIiU/cOyVwJTt/VkCdKHXir6twsOKRqxWk0wD3\ntiX2fse7Wm9d2vAhhSkIJRSRXP3HI+k6f149fnAKK+Sl8FZddNQMzyHnx8sj\nWWECcfFayR0OdM+w1/+kdpVcmF9i4+6/Lt50SqndpOsIsiFzjWwvA4apZxAR\nExykTHR1C6VxpOdk+l3mnr6zZgfSVUUh8squ8oESD+ZscX4DG0qdm1E3CrYR\nSUcD5eJMf7RDDqYz5sLVHe5kXnpH3UyjgnaVL5zajnOSeE6Ki6qrFl+soOEL\nci+a5K18DN0WwA0zEm1QCRdoBJFOGWrRES/OJkrHZsCmsRQlfz2D5MMiM4Yv\nNz+4\r\n=Swm6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCyn9efuCl8EujCwpHWTksFSJVzn0ambiyuViI1SyGn7AIhAMbcwgu2aq+HpubYfp9pvsK3rL+nOzxmnGRcd+DHKp3A"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.07e9f012_1541612838740_0.8591123639581004"},"_hasShrinkwrap":false},"3.1.0-alpha.1b289e6a":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.1b289e6a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.1b289e6a","@crave/farmblocks-hoc-input":"^5.1.0-alpha.1b289e6a","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.1b289e6a","@crave/farmblocks-input-select":"^3.1.0-alpha.1b289e6a","@crave/farmblocks-input-text":"^3.4.0-alpha.1b289e6a","@crave/farmblocks-theme":"^1.7.0-alpha.1b289e6a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.1b289e6a","@crave/farmblocks-text":"^3.1.0-alpha.1b289e6a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.1b289e6a","dist":{"shasum":"268494bd6a3975a8fd98d9deff3ed1e35e3ea03b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.1b289e6a.tgz","integrity":"sha512-7oNAfkGU6OMd/DAlU6AMMF/bawUcCPXU34ZW+mD+zTp280EU1KGMrhod267pFgPEgSgJM1X78gosFOsGJ+53nw==","fileCount":15,"unpackedSize":51350,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb4+WlCRA9TVsSAnZWagAAyPYP/1jtopg9yukdaxbR3sAX\nZmgUJQDSbhkkeHPhqNor+b61QwOND08HpMjpeHQm1YG75+4za/sfIY1xSzSs\ntG9c3bdvoGI7k0w4DqF+fvma3wnaOtAyz78irKP+M5i9KiHScNdcWNSTesJv\nLO1WUhVSP4OVVutKvlh65M/zHV6FKuIjN9I/RazPHtLMaY4BFi7KX6uCrQd5\n8e9Q9Rc2FfMKIkAT+jKjh4+wAES0UWuXdRDTUYMAyeHKNpXMBIVBJC0bfNhR\n9LpJD1agbmiid4qrIjSrOx6koD9+6EIGplsSDmRDo/8hsJ4CiN28EMCVF4cu\niDiOF+2mKmXcvXC9iV9leUNkphTnf+e7GZ3THaS9kb8DG+8n3No0Ac0tvYXs\nwU0MDkUssksX1m4Wp/riaFzZMBIDs00S1i95qShmK1fOVdnGGpjb/lT6vgDJ\n5CqbOUfTmd/FbfZiTNiqitINM3fBZ/7wt3Rnn6L995qBM7olY5SvEMTb0hZb\nhvV9ffnx9kLNQfGeKRXD807Es0CYpO4UHIjORfanaL+Bhcpi87sJtAHDbi/3\nxeP8TuzSG4HXc1SvOqW09QB30EVOk+DFGieRqPJitTqi7yXkzP9JY6gSmtfr\nEK/K96RZQVlxDf9q2kK3qFYh5OTnGpEEpiJEXXYe1j3NTZudPYTa24mjCEhk\nGNex\r\n=I+OX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBAhK/QYqk9Quyn6jeJe+/m+haiq5RniybwX3HcSh68OAiBktpV/lwoOxsUvemHMUnsqfXe/t6AjCQyXAhpMPAp13w=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.1b289e6a_1541662116371_0.005794402131165555"},"_hasShrinkwrap":false},"3.0.3":{"name":"@crave/farmblocks-search-field","version":"3.0.3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.2","@crave/farmblocks-hoc-input":"^5.0.2","@crave/farmblocks-hoc-validation-messages":"^2.0.0","@crave/farmblocks-input-select":"^3.0.2","@crave/farmblocks-input-text":"^3.4.0","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.2","@crave/farmblocks-text":"^3.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.0.3","dist":{"shasum":"0bb2409d3154c728b10d183f7eddc16e54d5079a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.0.3.tgz","integrity":"sha512-QhL0QrEjeijjjZraEuHNQwenxt4oDSv7GBRIC+dNpWT9uVMmZik0gArI/ECop+7px/eq8eIlOrKsFFAjQ0koPA==","fileCount":15,"unpackedSize":51171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5DHKCRA9TVsSAnZWagAAoEcQAKM0C2u5WSg0NxEyCkKd\naEFW5yirDJ1Gjz+nrORnb+5Rcw+Bs3e5qUBadFMyNZquVpR1BmIYyIX4qfdL\nwHNx5rtAc3NQmY8/4rhg3Qw4o1clNRK1mqC6EueavpOb9CUn1wmljBd+x2zI\nZ9NaPMPgvlVPTbWM0JVAqik4JXu1OQCCkzCuCPFini1PER0TypbsnI5Xg6rS\n+uAF+mSHt3FEHloUAYy4Cdz+37QmNLmB2d0fArl2brh80w2WIhj/Jcv74wxF\nbeTTXrQPesoz8ixk1zWoItDMoEsZx1Fij1qHRAcHDG9UFKrK5RgsmDMScW97\nv+Ehz7MZUPLW3ADZwmjJAs1iouWcH6omOAz6fX0jSatgioYRR3/jWjKTSkSq\nqFPnG0iaLfaKByDOYn45XOay5gc2cm2AWlMU5e0R1QGelC5Ubi5mh6EWTW+0\nOvP1BYWF0D8Q3Qz+C2MOJ67IWElPMAFYDQjgzrEARbQFGKS2iM2JAkykCOe8\nz6ef/ttYWzMDlXImxQj05v/8sUIZEw+qEHtvQLjT10J0bPAbz8bLeO/jGIFz\nKzKSj99OlCLMaQIlIrGRcRSLEBc9GuH90o7OqCkTukZrey7L9Yk7UBEHrc3q\nCRJuE2YAUKclu7U5tipz4GhYQaiAsYDE5rSRZgiwmrcZw4MM5kLkBbuzfE6f\nicOi\r\n=iuFC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSyXF4cAvPWHueLm2X9q9dkZoO/AFKH8trLMEcCiYYcAIgHHOCOdXFFzXRO3vS0SEKO2aND0j6pi+TWVhWHjsSG2I="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.0.3_1541681610024_0.07875649472136126"},"_hasShrinkwrap":false},"3.1.0-alpha.3dfab596":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.3dfab596","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.3dfab596","@crave/farmblocks-hoc-input":"^5.1.0-alpha.3dfab596","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.3dfab596","@crave/farmblocks-input-select":"^3.1.0-alpha.3dfab596","@crave/farmblocks-input-text":"^3.5.0-alpha.3dfab596","@crave/farmblocks-theme":"^1.7.0-alpha.3dfab596","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.3dfab596","@crave/farmblocks-text":"^3.1.0-alpha.3dfab596"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.3dfab596","dist":{"shasum":"53d4cf25672d9454ee13ddcb7c68bf005732aa5a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.3dfab596.tgz","integrity":"sha512-BgREdsRYVr94JuHKr/AhebtKSIuXplCPWUBSabptpv9HHkI88pICYgCB+abo4EZCgQQu1DqWVJ9BKfZqJxB66Q==","fileCount":15,"unpackedSize":51596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5DouCRA9TVsSAnZWagAA/8IP/0fwI7W9e6sr0iSIqPfj\nAyyKwiwBS2yfwmtqBxkSd5Lc8Os2lQ5XV2IU9OnR8T/nA9HLhTYLCEsUi2sf\nngtdLvXoe+YW+AMehHhLAuPPJaoKhNqrRuSUs0j4TsxkkF08Dehk21R7GrhW\npG0Jn3Yd0TpKzi1Dr6chqOLxMYh0U1QLlZzhG6KDJ0UxOpeuNRwSEWDDIfer\nfJ8L6s0C6UBNWvp7IX14rR7GAsCW1KAOEwfCljULsmeIT0Sw4/zKVlox+0IW\nwt1s9QrKDppeHq1ohgrA4xZ0/kq7Wv/OeEL6005KdW4dU8kaccu73taa8hTK\nCbiNdMehqtIrjwPl4FbKLCMVaEBQk4l4XnrhS9j+V2ySbL2KtGHg+NOa0ajT\nv/poL0gvCk7uXFHUy1AFrGN+WvZmXmsNd2j8Gu2dPNIF8nVEcar7EURPF/fy\n4tS2qZsKwbgR4z7p6YAicbhRyQyretEv7DH35jPlasSWerghi2jvfkjWitfr\nOAbY1Q3i+tW+ZGj4vCzWI07DF3ZhDK02SAlfgHQZ3LuHKsRt4fPAm4sthAEK\n8eHlVJV3QhU4dDbhZ9bk8UgDUOQ1p5YDcRtLbOpZ4uzb0Cy3uPE7VyERdiSy\n5b27EiHUvclQQa/P8Wv+8VC9qaMqUpf8eJExAO3JN8IZqYppqQQTpkfIvKMv\nAOpW\r\n=Ad7E\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/XWR5qAId0BfGbDdOt4V66izAK3H3K1fVKQ4BbhA21wIhAJEwKkSvbBoBZ9kEuaB8e9GQOOGiWUSwMJhq/7QSEiGw"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.3dfab596_1541683757817_0.14887867548203926"},"_hasShrinkwrap":false},"3.1.0-alpha.885812b6":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.885812b6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.885812b6","@crave/farmblocks-hoc-input":"^5.1.0-alpha.885812b6","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.885812b6","@crave/farmblocks-input-select":"^3.1.0-alpha.885812b6","@crave/farmblocks-input-text":"^3.5.0-alpha.885812b6","@crave/farmblocks-theme":"^1.7.0-alpha.885812b6","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.885812b6","@crave/farmblocks-text":"^3.1.0-alpha.885812b6"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.885812b6","dist":{"shasum":"556cb19fe7c6a0dc1d14dd9e615d2a90b39b7119","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.885812b6.tgz","integrity":"sha512-uWCvqEtYRQ+tWGi2Z8wuQ5xC1pu25TQbLfafpRaWom052reEJMrgPRGG/6Ksqz9ByYLR4Jd5WYWWStVMfJIYzw==","fileCount":15,"unpackedSize":51596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5FNaCRA9TVsSAnZWagAAMfMP+wbT/RqQjPT08YHRODH5\n+jRCbw1wbjyMTVUzkWcmTCURq2RULUJ9Ynvub5VSQTjWav1LIBuKhsOeLurI\nIGxfhSpACoUNMSTlxFF5KD1tDScTYgx0ZZPh2PRUYaWbJfsmUVKluwbhGqx4\ntY30s5wlSdd4NmML1iB3HnOQuv0c+MaUeiSDAoBfd6fzg/GVTQTe6giFKGbH\nR7+7ThOGFM2cUZCJxCDOcwz48Le+7JkB6NXcEO+9vQ9Tr489NYgNQGCqSv7/\n5798Uxv7vg16TUeiBgWXVoNoYuqnwq2JCUnTBxyO86TNbJAuEi4V0cZ5gfg6\nP0/MniekX/UD2eJr/rndXp+y2u7sNhk9kfhDa9xhsy5j4d669xxmrE6awMv4\nNSmDWktYDivI2ghtbyOYexmeB9QG+TfNXWvR1HtE2DwIY7zIMAs886ZOT2yg\n5wldxKnA+eq9D8ASqCrczlHgRYhJtHjsCv0v0MvsW57LiXuzcVUf9yZWF/Uf\nIHksgNifanpRtgKBBlOw2pjyf5uVmf1GCK2LbN/1IimMpyrfa8lQvvD1vyGD\nWXokJoiv/DC1VAD82b6lBOvhg03eVYslUh3ZPIXSRiShLqfKI8t8C5jv0wXT\nP29EAhJ2D9oHjAaqYhJJskQIbBZDFtsoXhnfbDRntKDJ50oAVxGyxZcehNgA\n/F1j\r\n=65Gf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBB1jI/j7l3Hp0iAlgbUhTKOAvj2WgKLXuVJRttZmsHaAiBas8PmG360GgpjbBQeI3fHU6N6VpKroIl23G+vshQYcQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.885812b6_1541690201506_0.587167004803895"},"_hasShrinkwrap":false},"3.1.0-alpha.d2eda2b5":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.d2eda2b5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.d2eda2b5","@crave/farmblocks-hoc-input":"^5.1.0-alpha.d2eda2b5","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.d2eda2b5","@crave/farmblocks-input-select":"^3.1.0-alpha.d2eda2b5","@crave/farmblocks-input-text":"^3.5.0-alpha.d2eda2b5","@crave/farmblocks-theme":"^1.7.0-alpha.d2eda2b5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.d2eda2b5","@crave/farmblocks-text":"^3.1.0-alpha.d2eda2b5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.d2eda2b5","dist":{"shasum":"9159c6b37ee67f8f9d9de12c2c71b0c2efe83690","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.d2eda2b5.tgz","integrity":"sha512-MQ97H60xcTOV/SGsAN/lyGodIoXhfCSrEjmXyoE4De5kSzZKMeojABaQcHC3w/AmYqdpjb+/48dgclGcWoq/9g==","fileCount":15,"unpackedSize":51596,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5IY2CRA9TVsSAnZWagAAk64QAJAn2cCLHUoI7WYmr7ju\nww9wjmWDNJgPkQTVSTYcW5Z/dnb6xXBHjGuTcweHPIsfh9S07dlr2CB2mSfq\nn54/DLOe9A1o/F9QltNh5zHtt5NvEX/isYSSK9SUcyKcoCnXv6MObC4Yx3vv\n3B1RV6JnAMeP7zIamO3Afln9fLZEgyinGYOkfOWDKZRy/1pnLT87bL3MoHDB\nSFVqodGWA1koU5JqWx9Hy6b3kHHhPpcVIuZXxIVGQayCo7KONgPxLXPEqffK\nRZhryfS1sSA1F9eGnozTyfVu01PCh6uCtoNpLyDNp74D3RxDaoU1gBVyp3Ho\nCBzUzpSwgC2hV3pYjCCJbRJKWnkEXiblG2Fq8AY9G8a4yRYMLS2lNgT9+3zr\nAgkXCsGiYNYlIIb2DUsgfsc0SqqOEWxOjp7IoSoMIyGFVceR6x4Y+SA0k43v\nuc5q8LEbfVr7VyW/PxlHnHMlZgN5AJmV2/ORSlZ7Od0LrZLXt8qoNP8qKqs8\nVFCjylSP0vSb8eF0mK6CsDaRhg1+e9+2xtYlXrGRlxFu0TqVMZl/8QrlENGP\n23ev+LZFz3yyQ9btWXrmSWVZ/veE3cc3y8018PFeb+AIpoBSsZtNHap7Z4gl\nODuNE/wtIP+5Z8YS9iUZmhwQMiBot76J+GFjpsf47O8J0BxbUPSnLSUk2eKB\nKyt/\r\n=GLde\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGUP9untKrY9CKvzet8oq4jwjThzhaUa8Fg0FS81bXxoAiA7itok8aLG++JiCNc0DMHg+A/uD5RLAyR6uWCPYF8H9A=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.d2eda2b5_1541703222071_0.4841172706399832"},"_hasShrinkwrap":false},"3.0.4":{"name":"@crave/farmblocks-search-field","version":"3.0.4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.3","@crave/farmblocks-hoc-input":"^5.0.2","@crave/farmblocks-hoc-validation-messages":"^2.0.0","@crave/farmblocks-input-select":"^3.0.3","@crave/farmblocks-input-text":"^3.4.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.2","@crave/farmblocks-text":"^3.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.0.4","dist":{"shasum":"44165be1bff06a0efb52573e1883329f1f76d1e5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.0.4.tgz","integrity":"sha512-BrIRx24AW68iwO7/4jtSqLEQlaZPZWwUlE3zeseMS4/BUFfDnoMJm5y+tHbgE0aRH2WKQzVxfN74wL7c1MbHXg==","fileCount":15,"unpackedSize":51417,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5IinCRA9TVsSAnZWagAAGIQP/0h0gnsT0IRPsIyRjO43\nXYClCO60Ky/I1ImZbcM5ALTPKZWhls131sIuhBynvIcQS46tx0PmTIsrnZm/\nQRD2UmVCptoDESfW0LcQPKtcJKqxqzFmTXWiFcgpNbHZ7brYTfPsS1Bgy/UT\nSu2NS4aUDg0Xp4ueWeZxdUnOh/LC55vNwQWhsbIng7vDmyEDX0IOYEdUlVRT\nQf9AgpT2+o7pGsZwUYieBhQQaKaYyKWkZRojR6XPnu0N+9WGsDRoPtjMxnWB\nmGyq/39Nm3lqIuliehNqQVzYFMr+RzHOzQuNRBy3eLsv5avJHWGxj82Q7KNz\ns5K1CDuPAsjgcDtSqQ1i6l20xfqRl/j6M+9KJaDk/opniGj5W5El9aB95vp+\niuWzahz+msbElonGhbp+yZFGrWvfFimmRs+TbTidKCEOxc/m9QhDCb/ZZSuo\nEYikeoit/yBKbbsTAM8Ye/A3GY+nnc8wkOj2tudnRLPNvFzaRTSFjbvW8O0m\n2slrqnKlJJ8ETPNSW1QO4p9yU+wL6Rk6vslWU+udEiim6bmgW36nbA/PG0KR\nnD6sav1biyAl3yJc3x88aM0iWqje6+uFSJ+rkejbftXRtzi01lecNFnE88Z1\ncTk7dxRl48ylKX63OZlMV0Aj1nTq/QiTmxlVdF/aFk6+GFkIabGzdBmSS9Kf\n4lGf\r\n=xDLG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWCki1U0DmfZf4MZuG+MgfwEAitOQ3q8mK69vxUFyrSQIgU3RdeHueUH2eb0MTaKVv4fDn8y9CNjp+q4scs0Nefvs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.0.4_1541703846469_0.32781510975244355"},"_hasShrinkwrap":false},"3.1.0-alpha.eddde304":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.eddde304","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.eddde304","@crave/farmblocks-hoc-input":"^5.1.0-alpha.eddde304","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.eddde304","@crave/farmblocks-input-select":"^3.1.0-alpha.eddde304","@crave/farmblocks-input-text":"^3.5.0-alpha.eddde304","@crave/farmblocks-theme":"^1.7.0-alpha.eddde304","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.eddde304","@crave/farmblocks-text":"^3.1.0-alpha.eddde304"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.eddde304","dist":{"shasum":"83cb25e4b2b6784d68de2dde750daa463af57354","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.eddde304.tgz","integrity":"sha512-JTJltN/1lMKfQHIHDLZS0Nh7TV9GYYRGLdEit4XxxsVRQq3ix89hF9GfemU0Jm+yoHq62AqPxXrHjNtq8vzI4g==","fileCount":15,"unpackedSize":51842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5Ir1CRA9TVsSAnZWagAA98cP/Rk0jjIKGv3Ra3eFgyj4\ng7bikCKAxqJT14f6hqoo1/ab2XmwAsQJOU3xEXTcfCP6XIn6BHQcIO6NXM8x\nkgi/JHXQ8AWUeYh1MzGzrimkeIaQQiXZQnCMf+WWl90uTPTrWHvNiScio9BT\n4MHX2cXnVvls0Lx1L3Rqfmz/PdR2KH5UYRFav7WY6CcdlODOL0+xffj7x1Of\nz+N8Ks+9h88067bPiqTBMdUobE+n7URgPn3Ts6Rimgpf9PfwVjgLfTDZoVIX\nqSo2/7g1pZy0wp9pnwIzkaWSVvHq2jjeDxfhMvS9+zh8OHhVmcEBJ5cJxMNA\nOnoAED0Z7uKfDu0Uq0jerC2BVXY5cRxomYGJ3lq1/qXFQaREj+O8JQMh/Y6+\nhDyxyd1Z40pthsBDi3+VhkJDLLngWqEcJBnseuvHrjYF7dFuCUAfvOnOjyXr\n6wGfcntnGRK6l6KShPN3OS4NZL13+44HaIQuhM7DpoUgMwnIaC+tBBJC2YHk\nF1J2XVOD46eMmhv1CGbn7p5nXBZ20+rbSJahy4pTU7SoUTk8W01MtVGhKrnu\n9oLt1QuEHzRWVHDMUuQ5tJd5XdoKKFJJXCILXKiExpSLlZiAp+Iof07FetdD\nMyOGj+3sj+YoG8piOqbg+9W8/ZrUYX0dEFF1BVnNj6Z7HUBPWI2Qsh3bFTFb\nZyTt\r\n=9avy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIERwwrT3ZLNsQpxUv8Hu3fCEqs5LMo1tZ1lx1edCum9OAiAF9E3BJpZlB5Ijps89yID/ov5DQzo5rYD+m/GvXfkvkw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.eddde304_1541704436744_0.2602599057772286"},"_hasShrinkwrap":false},"3.1.0-alpha.9bff8ddb":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.9bff8ddb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.9bff8ddb","@crave/farmblocks-hoc-input":"^5.1.0-alpha.9bff8ddb","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.9bff8ddb","@crave/farmblocks-input-select":"^3.1.0-alpha.9bff8ddb","@crave/farmblocks-input-text":"^3.5.0-alpha.9bff8ddb","@crave/farmblocks-theme":"^1.7.0-alpha.9bff8ddb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.9bff8ddb","@crave/farmblocks-text":"^3.1.0-alpha.9bff8ddb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.9bff8ddb","dist":{"shasum":"23bee913ae4c90a1134c5dc803b901b9b252c970","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.9bff8ddb.tgz","integrity":"sha512-75+wkLR2NJkvbr/zDV6Nk1beCHdrtKZgcAj5bfvflKa2yv2itrgUod5PB8SIsKDfvDiuCWq/WVxv+rQ6veRWpQ==","fileCount":15,"unpackedSize":51842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5ZzoCRA9TVsSAnZWagAA2BQP/AjVJqu6Y1zx312qgPk2\nnUkNT5WtPaCCfbG59pyfto4r8X19WWKCylpE6lVUR3yRu6aGnX5ssMlZoDVd\nss2ib+1zN53+OLpJCZfKq6MAZC03AiCqHAhAiknRMCEOJ+ezDdaArJphUMEP\nD5nOQoKY2aJZZtz5h9dABfS1bKkAjnUs18w3reXVGypEx4L7Yj63OYtMhKQH\nJHRRBaNYbUyH8sgWKr46IgjKcdg7bDAG5JMAtehvC6yLOO/6o6aueZ2prfhZ\nKrFTPpuOOUjBT+J+G1TPB5/LZwGcapZwRjlUF3CDqLNhD1SeoW6iTm/v3EJp\naTJmihlPo6lY78yKkblmi2N4eYYKETHSgAA1nIWxX38H/DG0HRL9RnusiJGV\nlY0v6EE+h6O9j7aM9CqLJpgbUDCeslUuhazpbiAVuMvpZSBMNUEFz+/HS2LW\nO8JVnm3iPNwpHrpj8RjXuf+jnOograaIeCEaYRM9ABETfDawE6bVxwlTno6Q\nW1wKUUo0ARJ2jXnqRimxynUOxoZ15KTf0gqMdO203BO0MkHVSrZzkj4W8ed+\nyYZnSCOe6XbKxhZ34sDoT1mCdh55oUBZ8/WeWDdGLJnqqfSKlV+6x3lpSKX9\nSNw1YN9azRQCsae6AnnOTH+AyChSm7MtvrS/nA38FfLHdtgRIO+7SY/WjeHp\nwfw0\r\n=5BaC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH8xavI6tgIhsAxJPHPYe87O26OXqLQQ/g/QzCcNZm+OAiEA97tNOeSjp/tRv4r+zewt++W3vwiJ8dJ/5LNNhJXiSmA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.9bff8ddb_1541774568077_0.2569256614993416"},"_hasShrinkwrap":false},"3.1.0-alpha.0251c33c":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.0251c33c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.0251c33c","@crave/farmblocks-hoc-input":"^5.1.0-alpha.0251c33c","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.0251c33c","@crave/farmblocks-input-select":"^3.1.0-alpha.0251c33c","@crave/farmblocks-input-text":"^3.5.0-alpha.0251c33c","@crave/farmblocks-theme":"^1.7.0-alpha.0251c33c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.0251c33c","@crave/farmblocks-text":"^3.1.0-alpha.0251c33c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.0251c33c","dist":{"shasum":"538d981e60ee4178cee94f2149f8e745aa11bb11","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.0251c33c.tgz","integrity":"sha512-CA4ckwjcm5vM/e+gnUH3bvCZrTLIvfappK8oWwpMulvXTa6ESch/c+ZOTeAb8g/b23xomSSAIAeE3EQ/RGHwYw==","fileCount":15,"unpackedSize":51842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5i+qCRA9TVsSAnZWagAA+jMP/3jLkguNNUk0ln9CiibZ\nXD3uD42J+U83ZMNTE2/Q4aTxQD5r9R07C9UaFtlDE9YIR/NZlUd9ymicyLZP\nlWJZelb3kLB+eZ0nQFHq+8P53Ychx5Gv+3Ii3i6j/6cmL1vR1EbuQwFGe8lp\nf/U2K/BiA83W0iL3Bmdqzni2UyNALlIh5dcAdSTkA+YVcu+fxPBA1jw+BUrf\nJYQiGnvycila8oaGa3tzJOWrR0E6rlFT5Ix6WYvb0e8eqmyXs+04sziRkidD\nu8z+2bm78VVjxJIosT9cZRNgAw0duZtGXWjCbBp5XjoMzfk78L6i5mJUJddt\nfz8XU0+0WApS3mxE5HO5V0zcV4P4yc/iX4iU/Qn2yRVFT8ZM0OOUTw14viT3\n2ojY7zEM8Pd2YuocFaU8B41pAnGop5l2nIOA9Av5Hsd5VFF54scY3DqmP9TK\nQ7QscDuSAwG3fnTWcGx7HGSRiEjySQeWw6SV2L8rboIIE552H1DcJaZBQD+G\ngkphApMLe6JZwdWVgY3jWThoD+hHnLRYGdk/YMsybNXIHDpJK5+2oTKMqq5v\np2AodgVdmdNL7t3w/jWqzYYGfHZGqmsC5d9XBaZAs1tXXEfSsy7vGdpTiCDZ\nAy3M8aNuqIqGsI3YaCvA6mD8NGD1zJgWMGwsBnQwjAQP/ZWXI1fKs2xWMS7r\n4Fhp\r\n=+xDl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7fW5a6FizX0vS/q7LhN1b0AC1IVlUhc1hKb0NlXaRdQIgQg5uhut41zvhqeLn00PWO//RwmP7JFZn7zdobH1ZAoM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.0251c33c_1541812138105_0.15668569932769771"},"_hasShrinkwrap":false},"3.1.0-alpha.e1d3d9bd":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.e1d3d9bd","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.e1d3d9bd","@crave/farmblocks-hoc-input":"^5.1.0-alpha.e1d3d9bd","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.e1d3d9bd","@crave/farmblocks-input-select":"^3.1.0-alpha.e1d3d9bd","@crave/farmblocks-input-text":"^3.5.0-alpha.e1d3d9bd","@crave/farmblocks-theme":"^1.7.0-alpha.e1d3d9bd","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.e1d3d9bd","@crave/farmblocks-text":"^3.1.0-alpha.e1d3d9bd"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.e1d3d9bd","dist":{"shasum":"bd8df5b46db499e743be95438edfadabf352a450","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.e1d3d9bd.tgz","integrity":"sha512-818hUG01UGPVmqPtiIUS4T6zHrj005cjKq6GUBMbGgswu5MdRwDhxqWJ8yQ9raf9HhsjXIPXqZlOu2NVO7pj7w==","fileCount":15,"unpackedSize":51842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5sXzCRA9TVsSAnZWagAA9hgP/1EOe1gucRaIEJDINBUf\nmh+JzXYO/SFkiHuB3hF/Bkw0EX/LaHdibtkLAmYg2CkMduvVXqtXgku3tA58\njtw+8Mj0Gtnzmpf8/KOKbjV8TBwsYtdTgD5i0tFa/tH/XETGZr+M7DCBRddv\nJpnqQJjQHeqO/0h5LhQfYBhZuwlgVQWZ5bJGIYQDdx4/CpD2nNpc2B0DLr4x\ngeeychlUxa1aTlFQWaAlDIcxn5mel3sfNI/PtHZ0bR3J6+8c0GT6/sP6na2O\nyzG1PhVU4nstPWd9jUvostlWrVBaRyGgAwj20P/ewt8jr+xX78k9ULuCsPP2\nt0unQelWtEVw+wlC1G5a/eb4Vg6GjHb7sDH7zh0RcdXhlueGb/6wSK1Y5K8q\nNVMCntgEDCy9aPaFe0nG+KXSaEYl1IrEMJiEHRwh6v6WPchiOQb6683ufx0y\nw+cCp3wKCwd9x9BUeJ8w+wCeG3yuEgZn8m1oKiFql78sJE5q5woZCti4mx+4\nLONNPDoE6t0873Thi+/1OBK92ErI+qMTJykmm2aFAExwx80B20tUulyxR/4I\nGh+eNrG3/crObvMEFsvA2pFLRNXmvc8JvRvxjmFnUWrcKJ8GiFwMVQ4xvEy6\nJn16RJOqh7QMMEJvH0Hk0WatSrMChnbOj8gZ+75yRGGDBmZgK2yX0yw7sQMW\n8fbq\r\n=6c6J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDZNGyjvk15kY4TOmdGVV3am+/jjKK3ab2M75I6NdQ32AiBu/eV0EaCY/vGQbLTg5k1O+fuEWjr1m1JD9MaEPJaSMw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.e1d3d9bd_1541850610643_0.9719820909034982"},"_hasShrinkwrap":false},"3.1.0-alpha.43e2e3a4":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.43e2e3a4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.43e2e3a4","@crave/farmblocks-hoc-input":"^5.1.0-alpha.43e2e3a4","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.43e2e3a4","@crave/farmblocks-input-select":"^3.1.0-alpha.43e2e3a4","@crave/farmblocks-input-text":"^3.5.0-alpha.43e2e3a4","@crave/farmblocks-theme":"^1.7.0-alpha.43e2e3a4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.43e2e3a4","@crave/farmblocks-text":"^3.1.0-alpha.43e2e3a4"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.43e2e3a4","dist":{"shasum":"f618b286228ca58ac8477557d5fee0730b2a7bbd","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.43e2e3a4.tgz","integrity":"sha512-XwV1Kg/vCQOITzbXe3F3bm+BCHTH29a3oKUdGLgPvB1EUdVqX4BJZAOUnJUq63VwS0z5lwbnDhpvpkH38GHYMA==","fileCount":15,"unpackedSize":51842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5xebCRA9TVsSAnZWagAA3yIQAIiXcMrQSRv06Zpg4xR5\nhJUf7S2YaqWiL+WtDfHa/NfjVeX26xDD3iIH+KRPH8SHwGLRtcvP2FZTvn/o\nPmjCdnJD/ojwc/jzd7PYgMrVLep3PG4YQu5hF3Cxifo76rJwQZ4weG8Mtaf3\nV3NNTF2PvJsbjJzK36MO8G6RhQ0jYwA1FX8/08lHDRYUJUlc20rrUJCHjP2g\n5FgBUCiGL1j+2IDM6HEDYTom7EAepIdP1DK5egjb5PtG5NQPe+7bwdOn+Y6o\n87xa4ommrI5A1I1eMGcUMGFMSiYgxTdkJV5qT+nhtw+JDnxBf7/BfoUepMnp\nSSDoJuZLgVg6PhNGsct7CeYbh2X6yxTOFUOuwlFb19wUGqqPWeq6BuGC9lPf\n2rhPbcSJ9XjqSDkbu/oX4e+Yl6yeYNN7N+YghpjQRcZTOKnhyZ3iZrL/v173\niJAh3HA8Z6bPscgoHJjy8UzxO6vwqw33ViiC0YA5yjL7k6a0DDYzL+cKKPSW\njrW7bKf1LfBD4BwzdLajDOl0zzhyen2INSM50VMvaymi2JiUb1AZrJ0b38CP\nlLazGDvTkvo+anWcLUV1dYjzMk4XLLQ+brn2yr4OexNzTngQVw1sxv+4zgtn\ni1g8wOCD6B5R/XuX4KtOcwJKCc1fnASF5mhLQCXE4I2hLgnc2/LyMwlIBkdd\new1u\r\n=1znU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEw/yXUJOCl/+hyKk1GtnKfQuSN7RHjvMxxwNwTg93HjAiEA9sFVH7HLAhCBUdBdf1N5c4BLdHUbUgDanQUqkuXP1GU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.43e2e3a4_1541871514691_0.09895813503022"},"_hasShrinkwrap":false},"3.1.0-alpha.6ae5d07a":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.6ae5d07a","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.6ae5d07a","@crave/farmblocks-hoc-input":"^5.1.0-alpha.6ae5d07a","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.6ae5d07a","@crave/farmblocks-input-select":"^3.1.0-alpha.6ae5d07a","@crave/farmblocks-input-text":"^3.5.0-alpha.6ae5d07a","@crave/farmblocks-theme":"^1.7.0-alpha.6ae5d07a","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.6ae5d07a","@crave/farmblocks-text":"^3.1.0-alpha.6ae5d07a"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.6ae5d07a","dist":{"shasum":"31aac97d48bde59e85e56924ae24d9c70bbfdba4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.6ae5d07a.tgz","integrity":"sha512-aTQhQhGfR9gQt4nnPKTUFhM0G5Pk9MfiwqxbSdQkBpieh7vXuJCZKD+G4JeMgLDDsDN7AOUB7LYccZ/r47Nk6Q==","fileCount":15,"unpackedSize":51842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb51j8CRA9TVsSAnZWagAAyfMQAI5Ic+QltihTlPs7Gcy4\nSYD6g+iMj8ISDMSfy/q3MadK8mi/+1rn0aPe7k4FIkXH9llnzS3IOTsGi6s3\nSglgLSqnU6/M50E4iZ6iAhuqvEBJPOiER4Q91P8as7On7X9+DRa8eRtTLRPY\nZFVTRN48rwT5uEcbVA8mnBafKYYsSqfV/KLxDr1seLS+3fn4747WVH1q0SUU\n9SO+OIOCx1ncYdz16jAV7eZXZ7K5cmdJKeBtsa70C6wDPI0w+D81ih5wqfax\n1OYyoe+pTzQMpt8kdKIVP4ssJwfSnuV4grcrHNz77nTffc8tuZ/9ByKUENlb\nkyWZh5d4wdgxUdT9QOmmtKui6F92r5J0TSKwirdF7/xxSno5f2s4xeqvixsL\nlGiW1b06V/I0lJYb4gEXgaCSlpWd7rvSEY6rR+kXtYI2iC2EFqFvdQYLl8Hj\nvBiJNx5nJ3KdNGtaSzzTsN6sEejoUVmTyUGXsSlpLX3juyOZCv6H/bQePB3R\nNfOntb0OPQqtfjPMQeOgMmvhhX9tu897r8uuKCqW4X8MBPpFor8ql1kEJBA+\n/GC6/B6Dz4XLUsQkouNS3abpTMcJBQW58iWv40A6pklKUEOdSmZRm4/iMhUz\nerte91WALos2x37C6jzkaBO+SaQs/GsCLmD5OJWdU9HrGSPZiPGTK9glUEWZ\nbLAv\r\n=MuQu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDeJog4Xk+QYQY0GGt5CYy/KAZKteugv9Lgp53qivTVrQIhAIEXeP5ZJriFXO+CWy0xqfQT5dlEYPgnQkPZPzVgZEwy"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.6ae5d07a_1541888251478_0.3593307131896877"},"_hasShrinkwrap":false},"3.1.0-alpha.e7c81443":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.e7c81443","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.e7c81443","@crave/farmblocks-hoc-input":"^5.1.0-alpha.e7c81443","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.e7c81443","@crave/farmblocks-input-select":"^3.1.0-alpha.e7c81443","@crave/farmblocks-input-text":"^3.5.0-alpha.e7c81443","@crave/farmblocks-theme":"^1.7.0-alpha.e7c81443","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.e7c81443","@crave/farmblocks-text":"^3.1.0-alpha.e7c81443"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.e7c81443","dist":{"shasum":"77cf7c8a29b416bf7697bbf82ffaf6d855d9d026","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.e7c81443.tgz","integrity":"sha512-74gnEBKeG90IG9SQMe7ZJmPKpP39bfp57JFo8m6/rA6t5Sp2sM5/hK66mPvMW81EMPQoIyc/HFK20PbsAOMuRg==","fileCount":15,"unpackedSize":51842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb5+9xCRA9TVsSAnZWagAA66oP/izwVGpslsEWLbk5SUFI\nmNDEJjq2+K0wRq5hM5GDTYLTpo2VS5mxKkykB4BoMGx18J4AUYWIINrZyMCW\naTRH5jHzgcHZ6i/f3Wb+oxvgu1TE64oqJqPkNtGwPrrx2thLVOZXGOZmh+in\nxyhHZ5zNWX6J6+5IVgLc8gnSTu75AFMl+lNbwrIojenwwft4bss4psgPbpWe\nPdaGSPFiJqRWSeyY9bqGK+nv7EzujbI+nIJBzBZFLnq5xbia6mQmqNHIzA/j\nV7JxqQDijX4tJTEKavXTxQSQbUdZI/uJfoMnPYN4uaXKSqdp+LfE0qQKSen/\nkdW4+SNmY87hcfL0CzdMqIhxebpBGP2kmERDsuiCzrbCF+pTeGe1/XXJPexr\nd3nafwM/ucjjooVUGV+kOTXi3tVKHqNz7yW8QpsHtvBT6cAYsgMAZLs/qzY6\nCR2bRgJw/zURBng+4CXnOJiOOk8B0DEFfaSywf6vRnbDseqzIqAWU5n6BQT4\nU0cksMevY+CdpU2fv+oiOGMwSYHrpkw/nKRu0ibPWY1LYuFatO1SzOOYlj3T\nhg+oa5mT0XsHZV/MjRiSPIEKrue4+HpLkDsoItKG73jJmPVJLWJCKSaPpD4i\n40yiu1iEJSp+hMwFS6LBr7GDIOktB0iz5aefA3KDf1XJejJP8kOWDSsiTcK9\nrPbg\r\n=SWLf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBJjsFfKPqJDu3AVewICpoyFClfBtvfU/6I2wofdOgxvAiAWflrE/U6AnBcvQBs6pXwbG2UTTvZv654ta+1HAWapJg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.e7c81443_1541926768676_0.09252729696501705"},"_hasShrinkwrap":false},"3.1.0-alpha.3bc2b88c":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.3bc2b88c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.3bc2b88c","@crave/farmblocks-hoc-input":"^5.1.0-alpha.3bc2b88c","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.3bc2b88c","@crave/farmblocks-input-select":"^3.1.0-alpha.3bc2b88c","@crave/farmblocks-input-text":"^3.5.0-alpha.3bc2b88c","@crave/farmblocks-theme":"^1.7.0-alpha.3bc2b88c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.3bc2b88c","@crave/farmblocks-text":"^3.1.0-alpha.3bc2b88c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.3bc2b88c","dist":{"shasum":"7c5de5fd42edf3c7bd0f95234a7aadb72b9aea4e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.3bc2b88c.tgz","integrity":"sha512-KCCn5Q808cHHpQvsNRn9GO4z4QMoW8OfffRfucR6uppxvshjEGtoN6ESIH+gol5x7KgrrD2DQ/9zyKP9LuKqRw==","fileCount":15,"unpackedSize":51842,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6BG6CRA9TVsSAnZWagAAw74P/0IMvSyotYTWTBr1aD6w\nveNzFauqE+7j2qwPd4Za6gUsESFqJ0vPTwWXHAJaA+dRwjDRd5h7mb4waBxq\nMNKG6VVlCeAp8Tks50KDPZCJtwxr8nl6d6hRC0IGtqMB3dT+Fb6XtwTeSyUd\nQvvtWsp9vYta+Qsxlx+9+sihAAcbXl/fafuh24dO4O6Bq91uP0alGS8HT/hf\nGSDSNC2SP2ZwWfvKH+dzj1rAyVy/BT/YVv3JP/5sP+t9ypeoXPSrxqiEwClv\n/JRAhsCMIDMAjQApvSd2S/cG+vnK1le4EeHFl/Am1ml3yOHgdBT6c2hJQC9P\nQjNCTx9vvG7eZjoQ4d+Kt4Uejkm7i6uYm/4IWPHKFXkv2G8MPZFK780CGN+I\nZGoN/lywuYtQqvyYW9BW9WGVPAVbmjF4RkNloyF7CvkADVkUSxpNM3Yhdrat\nvP4mB3BL41/V/LVOk9KXejPGGt+fqHDp1INAVs4bixU5JSK8riRFSVax9bcw\nviezAIsHz4T0tCQnwTcd6sFHodG5QhzBnLsSCLRGAo1xC4UNxFFbWI2IsKvz\nW6wmaQNhcg1qF7pGz0m2Ym6E4Vd3Pm2zStmXRxuTBg4+liadyZyCvW786zdl\n8Bdl+N2SwB+aF5pOsY2/U9GVpjhUsxciuMiQEm+uz6n9RH10e1QlV92wfPvH\nknhm\r\n=ahYz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+dmPQS5QLc1NluiisNWWSkZASDgUd9PTK7tjRUOeWFAiB30MmxJkXq6hdfWHZty4V/xkV0hok5fXrWpg2HRwtwTw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.3bc2b88c_1541935545853_0.2725702022391614"},"_hasShrinkwrap":false},"3.0.5":{"name":"@crave/farmblocks-search-field","version":"3.0.5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.3","@crave/farmblocks-hoc-input":"^5.0.2","@crave/farmblocks-hoc-validation-messages":"^2.0.0","@crave/farmblocks-input-select":"^3.0.4","@crave/farmblocks-input-text":"^3.4.1","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.2","@crave/farmblocks-text":"^3.0.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.0.5","dist":{"shasum":"a16752545580216c93159c6f492b53bbdae89173","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.0.5.tgz","integrity":"sha512-Nzo8Ej+t2J0qyk9qGxSq56J1dSGftL3GDU6WEwnFdkPLHTAu8tg7MFh2V4qVAL9aNLLJqzx3pY4JcO3+juqHgg==","fileCount":15,"unpackedSize":51663,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6WifCRA9TVsSAnZWagAASqYQAIhxmINa/MzN+FQV2bg1\nfPfTIGc+zI8Qgo/XfQTlWLCxpfCp49Gyvs1Poj50HF8F+U/+8609VcVQqvQW\neCMiFhj1omo8VPLX6dYRzJdEWom/EdvzNYr7WSIwejE4x/fEnaY5CU4WaM8b\nd7frL0XrSsguKln1afv1OFsV9NhCo+H3m36NrsoOJKSqOIb64IIJVYVRLq4P\n3lMvofOG8XGkoPUY68PrZeaiqfmXqJOazb4fRI9ySzwIA41XXvcti9Eme28+\nU9xoa7Y//Y14FoG0Jo5nXXCePxb9QYN25SB7cm4IhRLDF16nAls1z555WjKT\nJrKLCKxtzIM43cchEhScD2nYd7Y+WDIOTJmpN1U8YohM8zSacfAcTS+FD34H\niUJ8u3JLRHsIFIu99aMCpjppqnvG9EWN9hZ0X5TXPN6Eq9++RG1WOLqGE/IH\nNehcIqecv2usZdt3VZle7ZfKPX15tMzMYjXQ7PG0k6XCOcPSEtTDXp96OzAe\nyZrt1ok0St3F1r3vUnyQgo1vY3+K3B79mwiTOMljLt2RcqtdMsKNc9S/z0RM\nUHCqx8myPB7/UujJhNI7DhbrJrIB7SvHvG81NzOIkHEo2UWskmgx54rmB1jb\nB9/Bxzu1MO/3Uq7li1VpQT6Um5+6zEVHmTaqRd07COw+w+JlOLx4K5pHu4up\no9aQ\r\n=B3Nx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBHYx2Q2F8TBNy8qxvjwo0xA6JLzdIBglhPTUPVIzciYAiEA1/RW/bQ6wZRgALfOevGAxVPS6WFLFhNJI5UccDwGE4o="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.0.5_1542023326530_0.9707284391507109"},"_hasShrinkwrap":false},"3.1.0-alpha.aa3b4b88":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.aa3b4b88","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.aa3b4b88","@crave/farmblocks-hoc-input":"^5.1.0-alpha.aa3b4b88","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.aa3b4b88","@crave/farmblocks-input-select":"^3.1.0-alpha.aa3b4b88","@crave/farmblocks-input-text":"^3.5.0-alpha.aa3b4b88","@crave/farmblocks-theme":"^1.7.0-alpha.aa3b4b88","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.aa3b4b88","@crave/farmblocks-text":"^3.1.0-alpha.aa3b4b88"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.aa3b4b88","dist":{"shasum":"0d2eede5910d6b4e3fc1b11d4f8255032865cbb7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.aa3b4b88.tgz","integrity":"sha512-QqBAW0ydo9wSWwI5DhnfueN1OmoKiYNN4g1FgI0NekC6Z+KV5Q4pdzC3o8AylxeckleYJ0TNLV1yCjdbLyP7Jw==","fileCount":15,"unpackedSize":52088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6bvOCRA9TVsSAnZWagAArc4P/1R57IBX0gQh1IV7Wo7A\n0ZdRpKQPiWTgWHazoq1ms9ZtIsbioBEHccY/BdWgoorxDNf0sHyrds60LZCv\nKM3zo1eoyydcRd3EVnyUwi1JgWhrgAP3Oqu5PFdCouuqsShl+5gCVeH7gSQ+\n6qsYf2kg8rBhC4gm7Te/yoScbzlfDKyUZFu7lgowsP71QLe6t7HvBEgH632j\nqz6L7VJc1BEmt6z+/g2mAgcbPoGa5V8qvBwOvrdr4IHG3ZtMTMwrnwsWfioR\ngqNH+sUASxJznw85HVEncki6+8lw8XYKDsOgy9hExezoMpAF5AJuVN36Xzz9\nLNvi9iA35QtI8gxZ/4MSqq79o86Pu7MPOmaEKCqUAIChET//cJNJ0V7XF9Pe\n9K2kfNUgVAZlqvBq6RW89LCl6oFyI91n75i1glhXdFawzpcsyfR52a/FPHZi\nCHarKPp5n/scpP1mT0FqDs3o+NDSsEsD77dTAmjIHUymm3hyCWOGL1mdh4EC\n/GjOwzdg4XWBN6jJiUDHiNbgwbbuwSCF8yuuM8lmP29D6hSGGRnRwycVjGHu\nYLV3EB/8x7CoUZy1Bv1JOVSDVFutBg+SbY6TICd/8d4diY24AijbaNwvbt7N\nLpLrQ25t0mg/OYuEfNbx2pxS2wdvsKrRTUZQQG5Yzfvxx9UrmLktO+5xYxfi\nGWC2\r\n=4rgD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5J9HItyAHUgMyu2os6njuVan4XgM/yS20lUtj4t+GtgIgQUWWzVx085Pdm8khMBsyOvv5XCt66PkZNfYWevWjnO8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.aa3b4b88_1542044621783_0.5201951140152574"},"_hasShrinkwrap":false},"3.1.0-alpha.83b4399c":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.83b4399c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.83b4399c","@crave/farmblocks-hoc-input":"^5.1.0-alpha.83b4399c","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.83b4399c","@crave/farmblocks-input-select":"^3.1.0-alpha.83b4399c","@crave/farmblocks-input-text":"^3.5.0-alpha.83b4399c","@crave/farmblocks-theme":"^1.7.0-alpha.83b4399c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.83b4399c","@crave/farmblocks-text":"^3.1.0-alpha.83b4399c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.83b4399c","dist":{"shasum":"897f87b888a1c4b664c4d7550dd2f65a64208db0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.83b4399c.tgz","integrity":"sha512-PaekdtTNwQtS5sIUwN9DuPvS6+/v/XqTIj9u2LB0Lb/4YCnWiAhWRznk78Bv9u6oWVPZaVBxwMZdotTkozn/rQ==","fileCount":15,"unpackedSize":52088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6g97CRA9TVsSAnZWagAA+V0P/2FHIsplCBQHSsD2aV+g\nQDy4aFWr5RpT01jGM1J1ZfEP2XGBK3MqpB0DfZdTX1HhdLOYtfEvmpaBBa7j\nrcePIsaWQJUWYZKnHWhdc1SiPr3HPxbtwyNAnM0IffHiUeyXTIBwobLRbwUY\nCosLzgIb10yS/bYVu7ks0KGkCrpLxetnGglmFVnMFr8LH89bu534Bcl1u5KQ\nJJ6Ljt7+8+YlogqQXkykNh5PGPYON+11MAjvbmg7BRFM0HfH+rSCIUWVA37J\nKVIpYU97yUWnvKzF86PhOW0TBKCcfo0f19Gm0SxvI622i7DvNCiVLNaWYd0l\nsZbuPVWE4gV1nDJkkEFhH5aAwnNJVZWzzf3D+5Z20CAn7IySOyNLLnRxoeV9\nS8ZEPgMv/Y5ic/C7TlBao3pDRNQdULfuwEcqQ+QTxh2Ksanj2KsUvMWaNe4U\nk0Bies6CvwE9mxK+/PiQris+Ysx7Q0WGShbp3EouoymgC7GM2qy/gcA1BNsf\nJ32WFxHHpGz1Eik2RJmRoJkqxWM7xQDIBPKo9JgaHLHTerIrmIoXtoOenMIa\n+8A/LX/+iLs7IJD5Jm3Q/bnx5ET3v5wymTzPVDFi6933vJWiLusye+0VssHA\ncWFM2p+X43w34VySDn+KwLA/AiCEDzywPCNQ4F5JDh+EEEdyYtUztIMJyVrN\nHoJu\r\n=MCZI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5TlXEYz8c+GdKMLe7GgBl8I9cjqCoDy4HbvwotdVByAiEAghydQx3SZIgBKcyqtBEsikLoirj/Yipw9a0HR9IcYZo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.83b4399c_1542066043056_0.2072680660943358"},"_hasShrinkwrap":false},"3.1.0-alpha.fadcd199":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.fadcd199","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.fadcd199","@crave/farmblocks-hoc-input":"^5.1.0-alpha.fadcd199","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.fadcd199","@crave/farmblocks-input-select":"^3.1.0-alpha.fadcd199","@crave/farmblocks-input-text":"^3.5.0-alpha.fadcd199","@crave/farmblocks-theme":"^1.7.0-alpha.fadcd199","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.fadcd199","@crave/farmblocks-text":"^3.1.0-alpha.fadcd199"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.fadcd199","dist":{"shasum":"deef20d98c2159a6ea7c4ee685632b7646dfe385","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.fadcd199.tgz","integrity":"sha512-SNgCNiFzNgGkidbu/SBXIxcdPiDyEQRPWyZTQxPmY/jt2XdDKYwy88IWEca9ILYwjJ3TRxxEVwSRzx13Jxx4Kw==","fileCount":15,"unpackedSize":52088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb6mDYCRA9TVsSAnZWagAAGGUQAIfG12bE4QbV0J6X8W6r\niGNlw2xiLxrA5aD14G0GScBYMCvHG0EznOM6fhgZSvPBKat+wnrcgWOe79rn\nc9WhZGD7yRCfJGWpH0BImhl+LzrR0JtGBBp2qoT2OHnabI2/xq+tFQWqfaiL\nwzkezXZUnQWKr0EysLR34w4cXXs+/roBnkxrP4MhOEvKIgC5JEsu2SE+4toG\ndJkl1r4PD40PR3kmHg2ynrmNMi0pIgEwGOdE0uGoJDFBph9BMlkyhSnpyzmp\nY0FrDT9IYFQ8tr5ufGKt8vPhxHEE32NUL0jA3ZfhIZbpAzScNG1QcrRg5IpT\n3o6DgDDm7fYbUZ5PFgX6jtpbGJk9FIMSQ2eceXgIjXPdON2ZHKSawBLVTSww\n9oo/OVPWZksnFm67/cCWfcT6fk1L5IR9RcOuEM2MSVWKmvqrEkgDYDvJH4+m\nhAyA5qx1pkaNrHSfh0vDbdtX5RnGQvj32n0zalHAazj3a6Bd2qYK0WHS0KEw\nH78G0NXlrecrpX/eI8B39gXuti4jRM4Qxla8trgl8UL2AgdheEa6cDtqHsd/\n+up2mHULKc4kNlNoggSJcR6zTGhE+UOZbBl6x8kMaNDJvW8Dlo2fzSgw/RZ+\nVjG2QLAnumkkvR0ppS50vqslIdbZ7GrGMHReoZNAHsUMrI5VtbwVePWABmIv\nzTBM\r\n=nGWb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEhyjP4n6f/bf0q8gYx0gq68zXB0tkHRUTdTIUWKZUGFAiEA7dyvNda/YmOeffnWkv16hZNoeWqfcF4lNhwV+b+uxAY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.fadcd199_1542086871554_0.26441803602941416"},"_hasShrinkwrap":false},"3.1.0-alpha.6bf4f5bb":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.6bf4f5bb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.6bf4f5bb","@crave/farmblocks-hoc-input":"^5.1.0-alpha.6bf4f5bb","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.6bf4f5bb","@crave/farmblocks-input-select":"^3.1.0-alpha.6bf4f5bb","@crave/farmblocks-input-text":"^3.5.0-alpha.6bf4f5bb","@crave/farmblocks-theme":"^1.7.0-alpha.6bf4f5bb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.6bf4f5bb","@crave/farmblocks-text":"^3.1.0-alpha.6bf4f5bb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.6bf4f5bb","dist":{"shasum":"b522c08e3328f158ddaba33a42df6cd22a6658b4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.6bf4f5bb.tgz","integrity":"sha512-+OA4gqI3olJEnP+f1eOTaEegDDAB1gIz/6f0rdVV/BmIjQOr1bGxe4f/FU7DZNJF1xyLjZEJJrbSaQnhIWx7Dg==","fileCount":15,"unpackedSize":52088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb7x2RCRA9TVsSAnZWagAAn3MP/iKYUXVlqkrWu4cL1vfm\nzhWpFpQkOhZ9sP7oEa0IzaGuC8ugxX967pAais+CPFaCxjGMa2sIdaANiC3E\nLD+XLtdVzsKlRNQVYqyUB4w0O7sp1QuI9lDnO34K2w5Fs7HVi/te6VVjWmHc\n+qC/t6wpIdnxH3nGljuWOXT5wW3y8MlqNxBBaaJHdbilbAB4QCEldglm9vZ/\nTiec/V3D5X+oPJqWWP/+QMqS1hrwXcITy7IlKoNXRMe8Vm2QFxAu2FJOl7Ce\nUj0xISHhiRGvdTTmY0nzPhlyDH4dnb+TTSPEiY/UwOM6gQR6pdMKT51mjwPG\nyUhjZ/T1Ul9UcBigahmA05G5vuC0bbphsEAHrrgZ5wnxYDOTK0bkAE/GO7hj\ndNzBiTs5tPvz92hRXTdlSkyVgNvNlvdT3fHICrsMNiKh6kMNKuQItgVINIEK\n4/yqcoi/TPBlOsNr/xcjLwfs/q2PgRqqUwnwXX3ka2RHEdR4s02NPpToJvjM\njyKbOBLn7F2l24ET1AkRMhBMAyIkoCgfHlQLLPnsC1BScR3aU3qFQDFK/eo2\nGpgJVfR/IMrYiJ1rnpJXCM8d4urQ3g311FEcihGxL23nvbckZjJI4Nk2OfEZ\nArsEf8U2dLjpneHQbJYhshqOaE6GXTJR9qDrzpPt7sL0fKkSLfpSe3lHfkvF\nz42A\r\n=jOiu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOlQrA36eszbKmqx1+7Ksto5AWWSREHEmnvXMVXupfIwIgaQ24NZRJOedTfVgdBsY/tCvjX361OewKOZudOak8cZk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.6bf4f5bb_1542397328557_0.052408799796809236"},"_hasShrinkwrap":false},"3.1.0-alpha.375d8a6c":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.375d8a6c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.375d8a6c","@crave/farmblocks-hoc-input":"^5.1.0-alpha.375d8a6c","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.375d8a6c","@crave/farmblocks-input-select":"^3.1.0-alpha.375d8a6c","@crave/farmblocks-input-text":"^3.5.0-alpha.375d8a6c","@crave/farmblocks-theme":"^1.7.0-alpha.375d8a6c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.375d8a6c","@crave/farmblocks-text":"^3.1.0-alpha.375d8a6c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.375d8a6c","dist":{"shasum":"f7fb206c4fc16918eaedc95d020840193217527d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.375d8a6c.tgz","integrity":"sha512-Kelnj62nm1em3xDs1+qoeD2lJKxhhui2k72gX2+yjJRP6tFYrkU0ovWKpZ8kD03X6+ZZsQPdFrm845F4BjyXGw==","fileCount":15,"unpackedSize":52088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8QQYCRA9TVsSAnZWagAAmqoP/iZ6fgeAhYJk+F7GVfwm\nHZtm71xJjDEaG0hNKGpLRRBV4f7oT/TBXuw7Og62Z8QrVNMLb2VLTkx5dm3Q\n9v4vObQSef73+vbtB0QFTjZEDuj5Z5GO+gzEXszyre5ygQYRa47aGAUPOkoS\nyUV87/tpiOqn31zkANlgHdFnqKlOYR2o/YLGpRTS24h2SWrzucJY76sSP4DT\ntLq14fnjTxqsNMEpM+5es+sNYkthECcufiBEnm5c1E+siCJ4dsxLEE4fL4L3\nLGbMY3wVnSIy5TCrFvb5ghxiKvH1iAjcA+ej1iHD0ZA7gKBpgjl/v5WQJkjq\nGVided0E6EGg+Lw8IAd5DM4T/sMTnmNmLPn1dyi7qW0OyxOkBIdJSjQoPIEZ\ng6xStJFfsAoFFsA3HUjBAS5mSHi6jgt2+6x5EDQxW/OzF0vxlbRdeTzijsPZ\n09k+uz7oYOlOIXMOfuRK/CkukvDtCBrTdOzaV1vN2Ai9M02QbyPTwTSM98Ow\nGa7DIGSopRpLcmKjfT0+OLHNtP/KX0BSvyl8wP3g0/+Xq08mxoT3wo0x6H3t\nvGJJJ/7EZRNU5cck4WvgrSOLBt2PKqJMYgtAmeALqUgDvKMr9W3L8cI3sQnE\ntJR9IZ4t4OBbJ9lvHkI18haKrIfaENIzWUVLTLAQn7OWuHir/2GHhR4k1T2Q\n2tnI\r\n=1oQO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlIixn/OVgO72juUX1+MCFG4R3Z1I3HZdzEQuTvZ1LQAiAiuhlW+hK7wIVq6hPJHuY9O7WmrMJ842Pc3A+MujhViA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.375d8a6c_1542521879577_0.27304092036585415"},"_hasShrinkwrap":false},"3.1.0-alpha.e54fc096":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.e54fc096","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.e54fc096","@crave/farmblocks-hoc-input":"^5.1.0-alpha.e54fc096","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.e54fc096","@crave/farmblocks-input-select":"^3.1.0-alpha.e54fc096","@crave/farmblocks-input-text":"^3.5.0-alpha.e54fc096","@crave/farmblocks-theme":"^1.7.0-alpha.e54fc096","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.e54fc096","@crave/farmblocks-text":"^3.1.0-alpha.e54fc096"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.e54fc096","dist":{"shasum":"9d82a01b471982d268acef4b3801a59b71553a9b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.e54fc096.tgz","integrity":"sha512-F6dKaqAJ6iKR+ApByrTEaYyW2fCUB5HkFGBMYvQsECCeYUqI5t97lnknSHken2li17KhNMuuVtupQT/N58bDKw==","fileCount":15,"unpackedSize":52088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8vM6CRA9TVsSAnZWagAALDYP/3RS34o932Zxnd7iLlnL\nBCD9abHzTvUc+5uedIaska6hv6ZluQzKmWAb29N23KKTPSO+ncgFmYRvEfnZ\nxY07TdoP5MwCreBsZbzNH7argEw/uUqI5OJW+bVTDoiMLFXnNVtLnTYzKQXf\nqmdDvRvKhdDPHkwTNbgYf17ErSZE7juISjbbcmrIYltcvPQk6/dD1lc+dVnB\nsqCU3tLAlKXVVD92wCM8mpUrBS1glVdkSBjYMojI+zWKbWVEG2yyLD9/5cX8\nwFVjjDm+AdIcosWGzJeDchPk3XmVHnf4Eq7/bhiWAvR2t4qpp18mJpQqQ7n9\nwLRtOB7LN06EK0S7kXAtwFf0exy+3ozvhSiNaxV6w/5+at2LUeE8bfM0Pnc/\n3cDouFiu8nCSiDvtSrNW1UJVjgpWi/dPYmTipJE+iQO3i1SEVuPPTJh4FQm7\nPTVXSKG8AOq7S4rbMUfLrt1ExUC8IeJOeP/rPU4QOclk9AgZFJh1rpUvPm4b\n89Uy+6lAS5EYr3tPF4wU2i2KfCR8vhjE3XGZqVA0f5oqT9ee+u8etN984w6l\nyIapTvFUml7Oz0jRpheOwIDvcq8oIeb8jgzzhLxl7E2VS8ZrK++/VBD3ATgS\n2aDOURHMssIja0i+1+c05sAw7NDap4qpCJuFNzmMMGL9NfWhKgw6k0tf+Nnm\nbeDX\r\n=kWmI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCFNr1g7auHLRnfg2hsKcqOv4Q1NqtBzL0B2EZYHIMdjwIgQuyLfC1g/nyETo0j/eOPAqbNSryl45yxfBUUHWPqOFU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.e54fc096_1542648634194_0.8189732590090091"},"_hasShrinkwrap":false},"3.1.0-alpha.f6da0219":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.f6da0219","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.0","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.f6da0219","@crave/farmblocks-hoc-input":"^5.1.0-alpha.f6da0219","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.f6da0219","@crave/farmblocks-input-select":"^3.1.0-alpha.f6da0219","@crave/farmblocks-input-text":"^3.5.0-alpha.f6da0219","@crave/farmblocks-theme":"^1.7.0-alpha.f6da0219","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.f6da0219","@crave/farmblocks-text":"^3.1.0-alpha.f6da0219"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.f6da0219","dist":{"shasum":"46b643fb40bda0168b82a8ed9b4e1a359420b7dc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.f6da0219.tgz","integrity":"sha512-Xq00MR/cHXpECzol5juZnp8/txJF5hGcfRz7lA5pgx9rEY/KaIAQqNujFFMn7iv+Urf9panU/5723dJz3f+y3Q==","fileCount":15,"unpackedSize":52088,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb88/fCRA9TVsSAnZWagAATwgQAKIpi/MDF+OUNqKpjoGh\nGE2MK5XKST8cUFxMIZAI2RCJXMo5pAI5T+Xe0zgG+OPYtqdxCQ7A6ud7OEpF\n6jrZUj0odi3XKMHqjAh+5rEPa5lKhnFbLPY4aREMDsR5Zaj+2cFEVCfmFw6e\n3mzQ0LM0WQ945qMclX8PeeGdjUkfw+Fcjg6d0SrjiSq53aPu995xXc2L0fL5\nZrhw8abrFPHtHVHF3qUlIbqnsk3xpVn7wj8j50/6U+MQkw++Y9J9OAHMgqph\n4KfOO01t53MIi0svGNYNLFrEhrUm6G2GbOAIPHbslZl8L/VXORBHnHR8XF6A\nEG79s6PfU+qIF59fKxDHeZ6+w/0YaGXRIp4urZ60Eso7XmxsRwgtwSZsZtB1\n7XaslunSYTo+hizZqEFX4sJrmP4L1ciykGs0gC2HOul6S/6H5rKyikjeeR9W\npqin80wtShwVQhwPkkwLf+zM63EWz3mKHKe0ymJFFQTuqR7JUIZOLfUHehNN\nW+g0Xy/9yO3qGquhyZBcGsV/N2kCBF6dgyPCaaJ6YtSrm7z2W1khycvZEJ3U\noEsQm9jr3TK+Jg2SoZi/NfIHGG4zh9lFoJyMk5mZ8FHLDxkLb9+hRSzt7HzL\ndslLpc2gO9GFROlw+VPrpUMo8RS0AAmM+m/to7WPaDf2DP9nCBdl/65uirWT\nIDQN\r\n=90WV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHaJ8crBgLLnPhmg8gFqk7a8dDdcJuAQRWCCXRT2GYGAAiACzyb33Eo3EaTT4tvjQNPsA8eKS/KTkblx6kVITyOfog=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.f6da0219_1542705118598_0.40930592302406255"},"_hasShrinkwrap":false},"3.0.6":{"name":"@crave/farmblocks-search-field","version":"3.0.6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.4","@crave/farmblocks-hoc-input":"^5.0.3","@crave/farmblocks-hoc-validation-messages":"^2.0.1","@crave/farmblocks-input-select":"^3.0.5","@crave/farmblocks-input-text":"^3.4.2","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.3","@crave/farmblocks-text":"^3.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.0.6","dist":{"shasum":"db664d365c0c59f5fc60fd9096aba04f4efaceab","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.0.6.tgz","integrity":"sha512-/CsWfnoPhvDfP28Q6bV+zQdNaddgMXP7hnd7ArQw941vB+0EvN9YSxM1bfwLMYEtXZO3bw2H33q1iYgQNGzBAg==","fileCount":15,"unpackedSize":51909,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9UAzCRA9TVsSAnZWagAA8L8QAIVb4fBFVDjXOzt73D6t\n1RoBBPgoph29l9xfBcW/6QU+bVdpAJCtIwiu/WRWMOWueeV2v/+05ZBZgFQ+\nSN15brVh6cnVMC+UiTweRMzt56s4f3ykkHn24u7FS4Ta847AoadzlIgfjjAA\nkk3dBbClb290ElQoB0KOH5gDX9xEoJ6Cukp7Th6/E6+0Cak6aidI4VKnRndi\nQXtndYFQr+/Cb1+YrwYUQdwsqqkcASpPMSKE6/zS4WbLdN8aBRZRRau9KVez\nFh/SU9P1hjKZKwMwfotl3goJlrpNDjPFqqNCKtKhvhI0V1t5Typ9fbBpGn8+\nz4+QEgpjNCeLa78dT2kxXWvGRbNMo7yPjlIP1rh2+EobQxv22IHKZrDhffM/\niZXRtPId4kHrabayLTHzBARWuoAssgYQU0bmOa7xJIbUVljGdqSn9JmWNQY4\nd7UUPsU7c4cl1bc9UALy/8mxKTXNmzlB5zmycM46Z1SpAHdpB79L9HS6wCTh\nm0QP7gJd0owqHD3TvVLqpkR8FoOUv+ysmBcuNjOHqqSoRhmnknQJxsndNj94\nAs1aOBuiVHjA00BFQnGmbGM/HqDK4kVMk2+y7TfuucU6oI7b8dM5UWuE1vVf\naZ3KoehVsy1Y33OuBk/TFMu4idJa5Y/kPJyeapxgyzgWc/t+E2RZSq5TIUCT\nrYnf\r\n=XS13\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD9QIubgvBbqgBuqGU8Mmva0HyaarKbXg8l9ZeBON0ZHwIgRFA8+tKQWVxfR8lxu8sNWKdUez/aNdcC/2H4dzTht6A="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.0.6_1542799410728_0.0018904765959686376"},"_hasShrinkwrap":false},"3.1.0-alpha.6d6d14f7":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.6d6d14f7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.6d6d14f7","@crave/farmblocks-hoc-input":"^5.1.0-alpha.6d6d14f7","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.6d6d14f7","@crave/farmblocks-input-select":"^3.1.0-alpha.6d6d14f7","@crave/farmblocks-input-text":"^3.5.0-alpha.6d6d14f7","@crave/farmblocks-theme":"^1.7.0-alpha.6d6d14f7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.6d6d14f7","@crave/farmblocks-text":"^3.1.0-alpha.6d6d14f7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.6d6d14f7","dist":{"shasum":"240332a4b00e45966e112dd504b76e68aed6077a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.6d6d14f7.tgz","integrity":"sha512-P0KRM2jCgFvOICWXSDwYyDPtEVdTzRiqAHNeOZHhp8G8JBIlD8zL8TzEzHDkgkJ+8VChD1YVGf+MQyfF9juZ7g==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9UH8CRA9TVsSAnZWagAAcvgP+gMo1JQmSmFa5MoqE5n4\nArxIUJSSEMRFlzl8kC7JU51ZWz4/MgY9rA+4mfh7pPs05r8467NFtDVXEeMW\nu4w2kvPugQRkaYLtoguW/OW5bCPenLUuyfGnXCpSq/zlr4DPdeopiAg/W0Ql\nW7mL+r7onAdlDSmmCfJqzN6qdZS0M81yyts0lERPxVWmRIEjGpHjXG93RVdJ\nnCkrv5ixHaTBkaPeE05Z9CyCxSd0LrravczT2R1s2bOOhk85I6RSjrgSUTcH\nzGO3y5D0hCnhdqHgMIbX9jm4FbW4sgxIsj+tLME6T3EWvRLXGaQlwmY0p3za\nUqvt6IzuK7TIlIfv6MvecMqLuuYqMSHBh7T4PnZP7TtAc8+lYTyTaKtMXvUQ\ntEH0mnpjP9BDuaJ7OVbQCijjIYopwdtYRO426IKD77/dXy/t1VWwz2dRgLaS\ng34CU4/aHimTPucmdhwANqrDg4CnA03jlAcuWDp7vkDb6NCjjtOA5Yz4KZjn\nMPvmkialbfrN1cWZLvWB0Myo4h5Owm0aOlC/sNh3kneHfsM07HIzzz1bQkow\nPW2q9qobUWpJ77Cm0QGfTcy1pm75Dqmf7Bmr5qKlAsxKgvDRidJ0OTpWZPYU\nCcHJIFUkn27ckoEgvjLIvqBEXenrJeXebq0U2mF57I8axtCb8PdhP/ZBy3w7\nBl1M\r\n=NtZv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH9kLOCENnj4Sq/tag1KpCwbVDxkqh9dW8zyymqqNi7hAiEApRbm6cMsGtWenPzwjrjZ32zY2Fc0oDllKLhiPlqEZOw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.6d6d14f7_1542799868398_0.8518884637484492"},"_hasShrinkwrap":false},"3.1.0-alpha.6b2101dd":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.6b2101dd","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.6b2101dd","@crave/farmblocks-hoc-input":"^5.1.0-alpha.6b2101dd","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.6b2101dd","@crave/farmblocks-input-select":"^3.1.0-alpha.6b2101dd","@crave/farmblocks-input-text":"^3.5.0-alpha.6b2101dd","@crave/farmblocks-theme":"^1.7.0-alpha.6b2101dd","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.6b2101dd","@crave/farmblocks-text":"^3.1.0-alpha.6b2101dd"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.6b2101dd","dist":{"shasum":"152144197522e16bb4692bd0de6794a18257ba1e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.6b2101dd.tgz","integrity":"sha512-boPM5dCaZo03bm8sqFjT6hzeWKAEn9nGiR0dNneWE5TKV1frKrtxh/6ET2tvv24lu+xRzk6m8vmQRjtBakphoQ==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9awpCRA9TVsSAnZWagAAVAcP/jgO4bEIwDahohv8as9h\nVFpzksPLurMO8yzP1a2gVU5ePbwcXv29YDxP4B371bXdmOl1GOmwAjDgsNU6\ncZbZDvOz4A13NusF9N8jTwkiElZLV3mmq97ZJYbFIIcBzUJfMNHRt9bm+qCc\nxpS0cHcHSeYzy6C+EHPeL28aBj0K2fDwdCaXs/elRab5NnGDwWlM3BKaJCSj\naRoiVwwTe4xrMm7/YP0Dd9DsJiwP7ROatZdT3Bl5WNk8Q8OK3dk6wDQFfNJN\njGH5qyoReOsRqza9nQthmJ5aiRf4IIB0glTbfQA5M3g2yWyDLgYCXtk1dn74\nxaeUH1aA1WhzHmVk/NdFUb5o2K53j7OTsO+QtzhLw1szw2VyJ3qRqIDh+Bo9\ntXQvFY2Fk4PauDF4Hp3JitaXB2woYUYpE7kJQsdTTGDSBZ3FII7Gl9pFNusa\ndmfSpjKXzwiPp2nUvYpd5aPpkYyntmFXWnfzu+moJgIuZSQ4ca8bDRbMMVxr\ncQ7vbWbo+4SoKGSNVC/oZWWr7FsYfsLtRfFe7ksfDq63B5PrfwdGfjthoKTM\ndtx+j7Bbz2gsTvX56Sfnv39txA3sLd0X8hFV6SnHVOZv5fA4Tgmsp761PZck\nGGhWzOlQGEFcttSX5I67Qr8KJ6ShW3nRWSzfWtmqT09vc5nxgQHg8bCVGYfI\nb6Vt\r\n=YI+I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJOKh0XGMW2wWVc8MkriTy+HMgC1ZLlSgtRS5VaA9fygIhAOEvjjpZ0gEq0wAProAnkG0HDjCbLagXgMBxXxus06pJ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.6b2101dd_1542827048468_0.7095961901245837"},"_hasShrinkwrap":false},"3.1.0-alpha.74cf6c51":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.74cf6c51","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.74cf6c51","@crave/farmblocks-hoc-input":"^5.1.0-alpha.74cf6c51","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.74cf6c51","@crave/farmblocks-input-select":"^3.1.0-alpha.74cf6c51","@crave/farmblocks-input-text":"^3.5.0-alpha.74cf6c51","@crave/farmblocks-theme":"^1.7.0-alpha.74cf6c51","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.74cf6c51","@crave/farmblocks-text":"^3.1.0-alpha.74cf6c51"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.74cf6c51","dist":{"shasum":"eb28ef4c70a44927467001ed1eeec946e77a6ba0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.74cf6c51.tgz","integrity":"sha512-75gEmRj1huWMihub7ul1pw52glgA5JD7yZtLf+L/qhQdeh9PGWbwqX+K6as8uKlrHnQapxORotgVuW18TYnKqg==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb9viqCRA9TVsSAnZWagAAcvkP/1niSNCHFUORKXSZR3bo\nR/0zaKMrFICNcPtw4qqEWF08fOH4GpGkJyXinPBWfzrt6zfKhzbPJkFinKw2\nPHiOhTfLI778DjvJRapO96mf5k+a5/2YyAeAtU5fOuuNzeBmOKUt/wnwD/+/\nzBEe21pC2LumUO3K33Yu7EZjA8qJKboxOKB64FWQB/5GdmfThuk9m0fj0GkX\nxCCNCeqbsGRQnCYnr3mSbjT7VB0T/HugvfjZ8DXr393zzMT6c3JsBY1EDjQK\ndQNXjwm/s1p5ZxITSEmp6cB4M2dS3ptLI/flOTGzVaWzgAnhfB2XLTW6UQ1+\nJnTdWLa+z95bIosrBcfWrMdF5Tkap1CcA9T9b3dvu6Fp5mt3b/8oWgr/tjGn\npinSbpRTxof9X4zr40Htz6bdCU7JQTCXjgoSJeMfARSlyY+Vk7HlE0N1BWVW\nXh1rx4Rmu/x1gC84nu1eCHVFiDPRJmhVliL2+r2eYc9SQMAX03zeDKJ0i8Os\nY4V7Eu+OCMhrNFDvgz6PGLfDVKYxVIM3kvWwCG4O9ieI/bzdqhHfGiLfvHD1\nA8hGiAx+keDMftt93CR+CCMQtxlp6t1OVVBZxcANeDrwPt2IeyMzNDTYk1+z\n6kXrwmpRsRiMFPBjRudF6xi6H3O53BRYAKfrkXDbitzBeuw6iCGTrcnxUQvT\nGG54\r\n=U2ZF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHZXtAyXCuAfAwUcuxNYwUEWVS9HTlCvBgvfnjr0TCZRAiAq1xkT5cvwIauyMQFvAg4MkbjBJqYU1XegbpqV63vEpw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.74cf6c51_1542912169624_0.7475680534413927"},"_hasShrinkwrap":false},"3.1.0-alpha.c6940d9e":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.c6940d9e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.c6940d9e","@crave/farmblocks-hoc-input":"^5.1.0-alpha.c6940d9e","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.c6940d9e","@crave/farmblocks-input-select":"^3.1.0-alpha.c6940d9e","@crave/farmblocks-input-text":"^3.5.0-alpha.c6940d9e","@crave/farmblocks-theme":"^1.7.0-alpha.c6940d9e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.c6940d9e","@crave/farmblocks-text":"^3.1.0-alpha.c6940d9e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.c6940d9e","dist":{"shasum":"7f6b127748ae6fa9a098e66cb692ccbcf2362885","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.c6940d9e.tgz","integrity":"sha512-DrpLswKCRIYbdkX0lBKY80LoVJnKXuD9WH1QcuoTl/cBEqnzkHKcaDVPjkaEBcHjkXIC//3bj6ludgiY2rB5SQ==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb+v4CCRA9TVsSAnZWagAAVjYP/jC2kN99xtz+89GQNv8B\nXz1vC+u4ZelDxbuwwbzTMoJxORWPJV3m1fALFj8ShlyvZLrjGRx3K4JWl7jv\nFk2HetCci7cII/Gpkhy5kLBV/UQNTUhvFgTXsk3VD9Eyp1+XvBeb+hXuPwlm\nN4saix9oKAOLfoG5pnHIgOrgU70BQfV10PK5Qhk2+ThjIWFi4nnaBAOsqNPC\n/J1Abs1qsd4jxBI/cRSTGXyjdn1cvS+9xXUlGvGXRDASAePJ9tn2dDj4KlrY\nJHbvM4u0h+1peGQfV0df5qvcBxu4AkrOB5TSkXlPgydUtNM4bcR3DOLMO7B2\nK5yMkSW6+oQ96FXnLrFJ+oJJt+EON3vM+6/f1521gIinW8ep+x3IYv9a3qmx\nTJi/aHfjkNbxBB29qFohqkyNG5wykC3Newqg9+m+qB7jkfa0srkSblVxDx+Q\nRwC0wGwC0w7rMDib3vtaH1EDiNpTL9VEOYw2QwwjxEzT44J+qAq1aGxk2pf3\nerMGvaw2nNjJxucS9mm20dc1/B+dAW7BiJ4mpDnkF3V99qOKiaxX2BSaIiyZ\nXoskbv05iwYfbdxozdfj5J44k94dIsH8q6pfRTIGD5SDHq5A36kabYhBEZX6\n3Tjn01wkJee0QlXKl2iLSXRwKVWiXFgTsmEqie7DdJzkhaTwHPGB1v3Lg4fq\nA5oh\r\n=8F6H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFm9CpEOBVf3bQFilHLMDZGZz8g4gHlc0p1xxJhxsCJ0AiEA/RBjcPxnAB1gUJfABxSS4c0RE14+3DCr+SZkWy4vkmQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.c6940d9e_1543175681990_0.5497559767443403"},"_hasShrinkwrap":false},"3.1.0-alpha.74f71aaa":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.74f71aaa","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.74f71aaa","@crave/farmblocks-hoc-input":"^5.1.0-alpha.74f71aaa","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.74f71aaa","@crave/farmblocks-input-select":"^3.1.0-alpha.74f71aaa","@crave/farmblocks-input-text":"^3.5.0-alpha.74f71aaa","@crave/farmblocks-theme":"^1.7.0-alpha.74f71aaa","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.74f71aaa","@crave/farmblocks-text":"^3.1.0-alpha.74f71aaa"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.74f71aaa","dist":{"shasum":"7c86b1063db0c8b4a7513f27cc8ac17cca3f4d97","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.74f71aaa.tgz","integrity":"sha512-wpnSaJdjJdcncJO3do5sBrVwd2Ov6KLJnGaap//AV88l2J0Y74ccwLFpITxpB++PgDMdLq4M09fZk463rsgcbw==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/UyFCRA9TVsSAnZWagAAY7AQAKHY7KiSZU4MkVdEiJjh\nJuJuH9MwC5MrPtRiTh/LHt56Yx0M3lqNCqKrh5arHiK2lLLxL54J3WKhHlmf\n3kxdehoiDoVGdfKg60zgfN9UO3SyI5mZLkQYF5yD1Ods3Pd2lh3YP+PbnO1Q\nmiqGogEsr6FTAgS6/rBaW3YWD/QWOiy80IMQ7ITLgvOVXC7wdt+qiq4k+kst\n805AskVSsoUQt5FHyGhyxhnDl2WZYUXA2tm8HPfQ7ZYX5HkmrqgYPQtp8rxR\nryh55Ajkz+8Z+B9CUmxIgCdT8DQ0vW6TeN0f0ODVf/3rHlnbDJ8wwJXgbNwx\nz+nDp2nRKLmHRKDUOG8wMfYEU1i3+T7jwtW43blz9AP/RzXiHH08LmRZySCt\nCHN7RRuxam6HNODVngtst5XwlDMVS9BPEQ6GeBcTBkhy7YXcsZ4ph4bFLIqB\nS2xdh90eJAKhxmDdlwfug9ylQ8U19k4DjVLdB+/0FwAjUL4XbmkSjqebtXac\npf8Q5NF9/zwpnOIccoNsrvVgEGC+N1XSh1TN1JsymnaeUXn+96tSChbQQMdT\nFYEWez0jcYobgK27HGwrY0PIW5MeKL8GHLF8NQ95wJfyIJS5M3Kpdc+WWhvU\nG51ASuGH3iywktI8LnSIrlVcF7t3AXv1zTYYs53opFeQxskoooL3eJbnai5J\nOMWK\r\n=Qn0K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDgWrFG5zRZS+wfCovZv5xeUv3RRZ/wLfwThhdrX2LHzQIhAJIwnLTQMsJ+RoZmtxaqt3xbTUKLTS1rdv6/1b76W3xn"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.74f71aaa_1543326853131_0.1420822531335031"},"_hasShrinkwrap":false},"3.1.0-alpha.b2965f0b":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.b2965f0b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.b2965f0b","@crave/farmblocks-hoc-input":"^5.1.0-alpha.b2965f0b","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.b2965f0b","@crave/farmblocks-input-select":"^3.1.0-alpha.b2965f0b","@crave/farmblocks-input-text":"^3.5.0-alpha.b2965f0b","@crave/farmblocks-theme":"^1.7.0-alpha.b2965f0b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.b2965f0b","@crave/farmblocks-text":"^3.1.0-alpha.b2965f0b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.b2965f0b","dist":{"shasum":"63cdbcd7a8c399feb0c06e5955c1d11630f4ffc2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.b2965f0b.tgz","integrity":"sha512-EDE3qkJnuCxgAsOz7X675Vgcy8vlhKTy4SBFGH3DZbXK3e4ekQigLvPWwhDEqNyUSQEqGdQ5gojwUYZ2ZgIH7A==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/ViQCRA9TVsSAnZWagAAf2cP/0vr8FphIjQgvbcFEOZx\n7jdc6Ei4zVfUh8iql9jBuhLYNHS3pDD8HtIO/4p6iD3k4ebKcYU3nRMZYp2t\ngrfI6qy6lKYYJ4AqCOWQO5OtOr4o6VKB3t/swiZ6XDURowGFJ4yq0SdHumIm\n52u2vSMDGr2crpd8n5aAUTFna9Ol+rSpRf9L2jIHGuFSQwDG7a4LUgqQkJAP\nF/ToelTqqKcmCR0ey1lhrGoCRluWlvN45w7Q+nPmHM+j5w2D4sfzFGEhowoJ\nCoqeze+61Oqcc+GRPq48XIeGk4rpl7U1fmyc4pcqpUc5jSsH2IsLDL2h+Z/w\nr3Tq72HJnmuII5Zumf3R6HRTGQHcYGeMVdGAAmt5xK2b26K/BNFLMtFA/Qus\nOIBBQTf6YMGxOcZ11PMuJZnNBzNwWUrWT6ZPEsCm5nvutEp+xskVn1ZzTTEN\nogmjk5LWrFAWDqfH5p91A9W7hUvg7qv0H09l0pHw7FnqKT1Cc/G61iF1RPVK\nAK5L5CJiF4FA88WgJW3vE7cgPoH4Ab2uNfolem8/KtoJ8a8SVZu2uZgNJ7KC\n19jNnMBceO42NfCKBkQxBG9mCmVLVjt1ClS73BnsJUkSib6Jr5PlgK5wr/Zj\nKkS3nPpu8SdkiivymRC06DgQ8QxXBmR4fSVqLtpuIwiAOTE5kGxwyOfLU4Xe\nS5a+\r\n=7b6B\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCqU9y+/2CPsnQOAgimS3dKRLzk6Cm77Jvk+ZGTWNVJ/gIgQwnelsnzBULF2aHQLoVotei+rEWaav/kjLhrcnpQv6I="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.b2965f0b_1543329935735_0.157040617392451"},"_hasShrinkwrap":false},"3.1.0-alpha.cdd34101":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.cdd34101","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.cdd34101","@crave/farmblocks-hoc-input":"^5.1.0-alpha.cdd34101","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.cdd34101","@crave/farmblocks-input-select":"^3.1.0-alpha.cdd34101","@crave/farmblocks-input-text":"^3.5.0-alpha.cdd34101","@crave/farmblocks-theme":"^1.7.0-alpha.cdd34101","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.cdd34101","@crave/farmblocks-text":"^3.1.0-alpha.cdd34101"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.cdd34101","dist":{"shasum":"b13757216d2a449561a9f23a909121c211052074","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.cdd34101.tgz","integrity":"sha512-d8sU7nYwgmV/jHjE1+R8TX8hv0kQg2ljVlmye485ci5FIcZm7EJtAqkUyjsrGTULAixqXKTSNentICom1MHZpA==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/Z9fCRA9TVsSAnZWagAAjk8P/26LOprx0VF3bTXcqIWn\nVfKzAwKKEiSSJpgQkYUTwz8KWclJV9kbtCbZL3yBOhD3BECJozP4jQbAQX4u\n6tDlenEyTe7iEnCzM17Zlgc3VAGyNC42ImEEMkHJ1T1QiE+KvQOEBQo0cg3L\nGL6vtQKxqxlGppBbIk+GNs+WIUMy0qsKkgoHKzK3vvxAa+3ORMZuCRUMSN0w\nN6MMb6YytuL/5Rwr9G0XrUWqKN/l4u+GImqEFvqOp7PBwbZqBkhKBoOQJrK5\n4QSg76P5pjvQ1xQ7sDsX2SooK652Rm3AUBFIt2T3eBeSm0+NHAzcY7zo7BvA\nsvC8jEyXx4xi0H8wwT3JnriA5cVqshpaCVYfYvidPosW5lL8cwEMKGVO81Jz\nc9+x5kbR7LSqJP+QN8V4z2AI+X9Sruu1qvdr3PhW1zkhCq08WFe4y/z6oXpx\nArLHeifyaYnmiV6CIznoPVE9Bx4oSt4ILWnBNzbxxjzoSUpaadQxCOeMSP7q\nyvR7cbTawbdRBeMvDLSEmJPmEGe/IyZgFl4uOvZtEX5vrkNxweAXum4NAgZj\nXhgXImrsA8GaB9wFYwxq6qZkuiLKxVBhmNOW2U2ZNBpkNtUgYpXjNp66wcCU\n5a+GSxBykvDYB6wzjHb330iyAlsV2n2vbuOVZ3zCQSQAYXa3JmWuuu82hVKZ\nrFOY\r\n=No6Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGQUCASXItS5jwkTXFo20JCq95/vU0bnp7Y0n3DbHlPAiEAlhShfDvDs3CXhDr8IaX0dZkG42/z7i0Jvb2GVGhihB4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.cdd34101_1543348062897_0.8275187626450682"},"_hasShrinkwrap":false},"3.1.0-alpha.2f7f3058":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.2f7f3058","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.2f7f3058","@crave/farmblocks-hoc-input":"^5.1.0-alpha.2f7f3058","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.2f7f3058","@crave/farmblocks-input-select":"^3.1.0-alpha.2f7f3058","@crave/farmblocks-input-text":"^3.5.0-alpha.2f7f3058","@crave/farmblocks-theme":"^1.7.0-alpha.2f7f3058","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.2f7f3058","@crave/farmblocks-text":"^3.1.0-alpha.2f7f3058"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.2f7f3058","dist":{"shasum":"df81dd187b012b603393e2595dbfc048d1a4058f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.2f7f3058.tgz","integrity":"sha512-gCKN3P6qY6sgFeoPAYXEHcaUghSVkDTKUnG2HxnDExpKZZdouf6mBTH16RzAQ2YZU5ib62iOr5XTaYOw7juvKg==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/oRUCRA9TVsSAnZWagAACBEP/3XUZ1W6bqsKCqog8M9t\nuUzb1HtOSNWAF4lyQy2gR1caolYS3hV0GEzSibSnxpnDeACGAUdW2w9X4W6v\nnHfkXdY3iL1cqQpk4x2ShJUyWIPCXq3CP8Q5ZoZwz3z07WK0HqRsgP5E+NQg\nvPlb8P21CKSXSZbk+GwxplGwQpyNF64EfjHnVOCnMnfE5qR/mldtR97DJJZN\nTlAntppgCK/K/MFY/En5BaJyhx1GFIYZ7xVNZYC9xxg77UbB50AN1sCb8q9g\n6zkJe5QqdU8CZXqSWYI0kLKEyrRJBBvngHNuX+kfY0RKOBeRmII3vC7LT/MW\nsVKvQQWFzHXev9j3KQOOFyxp0dtAbAM/mQOoHertvLOZ2ctEac1w0CtHLgKh\nRiiDRFm6evIt4uMvGzmwiAi+oT/v3YAFrTkI+CVepheknn5tYYXGgJZDgvUf\nVzZQKxtWPAB9Dz0MXuRQpGO86Fa0azU0kHAY4HAXvI7cBtZAg24pzKKFRJE5\nwglZVAuAW1Yy9htSbOXFAI70ZgMRi5ukkSaHPlRwcTqef+YeQxNE/k1qUOxk\nv/jlwEEcB4V/ip9aLUhwt7m0H+x77KtKSwlMRnWxdIHsxK4Xr/8ITdzNrExU\nLqbN133zjJWggPu0yBDVUWlKJzJGuwxThRpOAEP8Z1QQGQvuDiGo3oQ35FmL\nn176\r\n=rXnG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHSZIKiccxqgLlKb11pJ5AjWY1/P6JVwSNLWIX5JvomYAiBFk/3gK7Pr4CVgV0wD7TW5MPA9+9v0kP3piwfqN470eQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.2f7f3058_1543406675649_0.6415449921949812"},"_hasShrinkwrap":false},"3.1.0-alpha.8657e05c":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.8657e05c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.8657e05c","@crave/farmblocks-hoc-input":"^5.1.0-alpha.8657e05c","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.8657e05c","@crave/farmblocks-input-select":"^3.1.0-alpha.8657e05c","@crave/farmblocks-input-text":"^3.5.0-alpha.8657e05c","@crave/farmblocks-theme":"^1.7.0-alpha.8657e05c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.8657e05c","@crave/farmblocks-text":"^3.1.0-alpha.8657e05c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.8657e05c","dist":{"shasum":"25fc6372035168ed4e270c5957d904fbd0fbee47","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.8657e05c.tgz","integrity":"sha512-tD9io7whs+5rj/DWhEbmjyUVfQmXaBtIsF69Ira89adZCkZa/wnLmO+UfV484WRzCHylmTmbxz7rz55yLiuosQ==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/sFnCRA9TVsSAnZWagAA+/IP/2jFPCqFgotPHmTsDFz7\nv1uBMKvuiU38fPHjDKzpeDBUJrsIg3jYSIxSsoaoqrz04DP0R9QO9g5BNeaW\n0NAWfIAeXnmhz4g0obQ2zR+RSZ0LQ0Te67FgqmkcJi7NN3dpB3QknFj+1ca0\nQ7kOUaw2WkGmPGvlKDemBBdE+AQ3gFIwVh3zRSBmEmdQ1LqQ4hPv65kqvCqL\npZ+1zchAtOiH3EQQ905m93s9JRKk+/+eyXnztzeNReibmOWBPOcWMqXYKZMo\nR8cqvjrIR2NjXRO2VpKnVTxXHFEAyL1rbI5e83UnBHFGycHWCVdoej2PArX0\n0FKh0ZY/7JSS8cEaZuvKmhdtfmqHO+70htWQFxR1A8GpQCZ8kR23BQCZD6zq\nEwW/Itf8kgzgYG4nAfhHGOi8wJ+iLp0l7nbTSZpbGYlGxt2mgH5h+YmJdBNF\nfW6DTiGM7xIEhsj3aFGIODbRUy/FyrqZlRTi9GtBXLPGNIAFEq+aKyaAoSz/\n99ZbH1U3c8g125jz505Wy1MVvCXJ8T86JODPSL3WOi0ofMdJn8oHbhNXmS1w\nkekSIj2GnOrah0NDk7vCVq0HYL77+vVVVoj16p4t2iqhyQ9g0XA0lE7/UYXp\nK7BbWKPYERlx2t0iFU5/5kHvck+zoP6T6tR3abIFHHvEusINgdk165nIBSeP\nT3R2\r\n=zU6Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBcHPXkiFWx9Bqf1jX4k/ynartVnd9o/xkl/WVKDbCUoAiEAq+eQdzVuDbKCWSEhBlvdjkQeKeuTk3ntE7dkS/NP1is="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.8657e05c_1543422310271_0.3374643458567723"},"_hasShrinkwrap":false},"3.1.0-alpha.dd5f7476":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.dd5f7476","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.dd5f7476","@crave/farmblocks-hoc-input":"^5.1.0-alpha.dd5f7476","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.dd5f7476","@crave/farmblocks-input-select":"^3.1.0-alpha.dd5f7476","@crave/farmblocks-input-text":"^3.5.0-alpha.dd5f7476","@crave/farmblocks-theme":"^1.7.0-alpha.dd5f7476","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.dd5f7476","@crave/farmblocks-text":"^3.1.0-alpha.dd5f7476"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.dd5f7476","dist":{"shasum":"bff6f6009d0ee86591e265311d75dfdd059a8b8b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.dd5f7476.tgz","integrity":"sha512-dBjm+pvgxr+KXMXmqUPyvcqJluvqeudlfHTkxhfq7P39o1hJ9qT6M5lP7ZSAB3a8sDHAvN9y8fbFzgWyedZbEQ==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/w4HCRA9TVsSAnZWagAAE04P/jPFhxvlsutVN71BSMtq\nZeHgYoeIA5F8ZrAIepg6Cka8shjQ/NT2q5XU1vl8JI+AIIdh4Mp4GoQy6E+3\nfkFyp0O7CbaK3qv9H6/UlyRF4lgtHbZ+gh/oXRwh/B/o7I88XprvUBPsVuGy\nK2Bn2f7oPP2P06v7pYsSmeuLLyJF+404V4/hqSDHSnyWGPCTuLGw02HIa76S\nMF3+T+OpEEaFd0Rm4sPVLfbvfOXVDO05YZx1vpmo0Mq9rIg3VlQ14clhMJxr\nJ7qx8H734X+tfqrjwUjOQ7n5I8Ij2njO9Mm9pTx85sbIn/VkiT4lF/D6qaBR\nUFGRc64HV5sp+bcaoeZGtEEd/lqmEUIwiWCaPqc5iQDLMZB/F3i+m8PUFgtI\nf9AHqEI0EqnZVY28wzRe0YCQ0KN0RAwOLTRlRd1rTtzvfdqk4Czfe5RexI1H\nw9yMvXY464Ye3SfjJ7YK6PkgsRtwv55Y9B/6bYdv67kuXXTcEPMK+myjVOtv\nT7gmCoNMrjxMu1vVi+Q8zK0QUEmELppoN7uDg5SXEGxOY3Z4DO40X8JRr+LI\n2/NLXhL1F4MXa37DSS2DRZwS97DLcCa2zveWRytsA3m324T8bYirapj7me3k\n2PGvEhgqh0PVdUMWARWJrxqE08ggqsGo9tOV+UL/ksQFQ+2yCaQ3HenRVKO7\nQMLT\r\n=tWEX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgTSB6G4+fUK3L8HL9LSusR6C0fNWqM7geXCj0uchu7gIhANVqH4sfuYTzzAXje0MVstzfH0ER3RLSTZUw6qaM4Kzs"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.dd5f7476_1543441927046_0.8462234808892077"},"_hasShrinkwrap":false},"3.1.0-alpha.e5a3180f":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.e5a3180f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.e5a3180f","@crave/farmblocks-hoc-input":"^5.1.0-alpha.e5a3180f","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.e5a3180f","@crave/farmblocks-input-select":"^3.1.0-alpha.e5a3180f","@crave/farmblocks-input-text":"^3.5.0-alpha.e5a3180f","@crave/farmblocks-theme":"^1.7.0-alpha.e5a3180f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.e5a3180f","@crave/farmblocks-text":"^3.1.0-alpha.e5a3180f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.e5a3180f","dist":{"shasum":"6be593564826ac9e8945d04a891f35816fe50f5d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.e5a3180f.tgz","integrity":"sha512-stfEBhInk47uNGkni9zJ53ISxuqQ/fJCj4Eo3M3TXn1U8xbM9XCMGI11z4jwx7v2IlZAsoC2H5YP8i6Fz9iL4g==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/xELCRA9TVsSAnZWagAA8XQQAKDtu02pXBPkl4roxbRb\nEdwVn3s98MXj2JIEKLCt19ZUE8S0RWuD6gF/w9kPP/4bSNSmlC07IjwI0MEx\nShqAH0GESTVY62Gk2zpabhn7F6MeMRRFEZki99vvL9P14xizoIJ41chL+jwm\ntkEVt7bf1cAyCtLPa0RQ8O8LouI82vngT+RmEHSJhgganXJeqDqzGK1W0Hve\n4cixfGJnqpTRAHkLmN8oyBEliZSiQ0zphf0zVyemTUQQT6gjHXuCk64WPClv\n5sK9eASCpSbrLDBUqsgmF7zaji7OQVM+2whhwmMsotqtjdMHdOlUXAErpF31\nSljmgA+tz9CvGrcNH+uOzQ3KpOoZALzyf4M0AkhZMJg23F9IpVJPVTZgg7Ty\nh8BGoFWx2lmvZgg9hXH2X1QL6TREvAqULaNus8tZvry2gaZu4jptE3IThyga\nFxT0PxmMGL0xa5EvX6Xw9xhg/UFeBAYGNZpl9XswN8kzAkcnDPuRMcQLe0vw\nXsKcy+hRfCyC8olt2oAHhAD5LBbWON7nkm02vLAvL6LhHQ57q+NBLswoRzKG\nO+Tr6kPH1Dr765cKdVq4SZKRNSEM97systS9KZwRK5QzHW1e02tboZCzcpkG\naV7BQwyJUTCKLQdNq6veByI3vsHCGTtdW4k3CiVlDyQQ9Myz4KqJ3CFcB9qg\nokUo\r\n=SdCf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF/JMKzRRv0QFyrM3YKlwee9VCFqrsQUbY28TNPzMjQOAiEAtWCpgTBwVT8KG9ZCoGNvNzcKkGPv7yDRd6R1nWUi3rw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.e5a3180f_1543442698848_0.31568710252666476"},"_hasShrinkwrap":false},"3.1.0-alpha.d4c07955":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.d4c07955","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.d4c07955","@crave/farmblocks-hoc-input":"^5.1.0-alpha.d4c07955","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.d4c07955","@crave/farmblocks-input-select":"^3.1.0-alpha.d4c07955","@crave/farmblocks-input-text":"^3.5.0-alpha.d4c07955","@crave/farmblocks-theme":"^1.7.0-alpha.d4c07955","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.d4c07955","@crave/farmblocks-text":"^3.1.0-alpha.d4c07955"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.d4c07955","dist":{"shasum":"6ac2c6092f396b4cfe80d8faa67ed92e250bb7c9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.d4c07955.tgz","integrity":"sha512-hzob3tnCXMD0x5C/17qbihbLrkE3c6AVWF6qL5WEEUG6S4dTCiBNknNYZsOu8n/wIgcvigfoBRMmrKwUZRq2fA==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb/+GDCRA9TVsSAnZWagAAyM4QAJRHra7vl6V6xnIzATC7\nEYtWNGlpeQGTCIr4IWvh4D7U4TRZ8IL9cfmrrs6tVAqs//TF9fBzu64V0Xhn\nqhtmHz8h3IEVxv8czTtmrtQelSQmFIv7qLVzHFLfxDOiLEyQBMV9kHMdbNx9\nLdJt9qw/f8d6D+Xu3AvDKIuFGpxWNXIEoe9ukcqKB+0h2Dvyx/QMELclrulU\n3bYcUkH/7V6xajZ9kex55hTKutYRnGGYTCFHCRWfyetFqZ0nB7mNRuiFWTHj\n/qN29ZIY8yzNs0frm78plEVbu0s1dJ9+gg0da1KEJUd67qE1fJLi2XHQcWAG\nNcW8sD5NSOe/1unq4wy4r5bkugLjKZLuYgBmsyCpSae7J004MwjrvJaUEC8z\nvHWYcVGXksOfORtmFtnJaXUFcJuRxpV2TILz7ea9qRJnedSpnzuLnVg03sfP\nAkqXUZOAC9X/ZyfwQRP9YBlgKE6Y/I/KF/WQo6hOI+EcokTV5XRpi7CPHQyL\nCd41KWEgDRfi2c030zmSPaoa0si6dC5XAhkTmWKzzobGVw1FkuSpjQevCQKt\nHxcvJ44gVR9Gp+QiQB2I+Wd2XC5DFjOaM/h/GeBNKTbcFwUfWl80hhIPtgDt\ni9kweEw/YmL8neVYy/osc+wyleZKXOW99XD7tkOBwuW4QMmdJqTuYn1n5bv1\nyGDB\r\n=OfxM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpt+L7E33CM1xB55m5/RwfDx/8SDI0DXDSE8ZiDiynTgIgY9Z3EKWDSC7E7Wf4Z8K+KpVn4EsaJ1McEC7+VZY+Y8s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.d4c07955_1543496066580_0.9754887408835196"},"_hasShrinkwrap":false},"3.1.0-alpha.e03c646f":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.e03c646f","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.e03c646f","@crave/farmblocks-hoc-input":"^5.1.0-alpha.e03c646f","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.e03c646f","@crave/farmblocks-input-select":"^3.1.0-alpha.e03c646f","@crave/farmblocks-input-text":"^3.5.0-alpha.e03c646f","@crave/farmblocks-theme":"^1.7.0-alpha.e03c646f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.e03c646f","@crave/farmblocks-text":"^3.1.0-alpha.e03c646f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.e03c646f","dist":{"shasum":"230ec2afe9d2cbbeb8cc4dabccc3bdbfee097e6e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.e03c646f.tgz","integrity":"sha512-GPsaZtz9ZtIgVmbdMnADNHsv1kyW6JrdRsaH8sFW2n+T4xTg5h9sgK+CT+B7lbskBizoO4PxO8wq11cuaeRrog==","fileCount":15,"unpackedSize":52334,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb//QICRA9TVsSAnZWagAAdawP/iN/vw+83VS9HOyRZkzc\nWRMcogGOV5qFzUW7KoqdSpiCzgLosjGVTHQwn2XRAnBDcZHXBbAvotQQM/nl\nLoz0xhrLSpoTiU85EyPQc+2Kkn4aGu+KdyfIo0byIfjw4ArH77s8Lu+413Ts\nJlhXLqvNpk6v/7ahUQbYNnQE0ck4mk1PwSAPWYXUSym4HxrUHx9XU451mmQa\nxhQyTdmppnUSwA3mX3HUDAFA7n8b4ogLKmZxzTieieUBvbwzdV3eRhkb2+OK\nl55UintGKh/YRYpLi3tQv5vwMvMvi7pP8hKy7O1UYSCfkhYay/qDrczwhrQT\nIlin7HPoBjPsBOLZ6VHe9APf9q5tPfjMppa1vNObpUwulelxE4OWlnX5YZLE\n3BcUDGuPl3A/CyB6a3GHkioF0bi/3q5TpKZVxdXLn/DCpcqRmeZESnI8fw3h\nMrumSQEqT2ZO/oiU6ytAS5Se7R66oA8kAZtbW4+h3ZNxCONGLq3VDPqruw4W\nZlWBjPPHcZvlB69/akG+mkuXMNH7grMsbCw2ZBMO/eRNJ7mSmdHUznsIxTWm\nYzP0Z7xzymwM759ZG14i/CDb0WzzWhGkqHi6Zt4FGAeT4YR8UgXATq/G5x2Y\nYZG1oUDh/1f9UO3K5vFN6MA1eGWs25mdwFeM9q8p5t9z4mBP+cPJ0iP1bE5Z\npIhl\r\n=Wz+q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAMMxH6kLNSYi8hIIiVg5MsW/xY0dyGsTTbT/oYKxtbrAiEAs0AQ6dZoDtBKKgMC9+AncN/Pe2WarLfPDZVPcetrCCw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.e03c646f_1543500807527_0.8617761837348124"},"_hasShrinkwrap":false},"3.0.7":{"name":"@crave/farmblocks-search-field","version":"3.0.7","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.5","@crave/farmblocks-hoc-input":"^5.0.3","@crave/farmblocks-hoc-validation-messages":"^2.0.1","@crave/farmblocks-input-select":"^3.0.6","@crave/farmblocks-input-text":"^3.4.3","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.3","@crave/farmblocks-text":"^3.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.0.7","dist":{"shasum":"2c7f9e1bfc57911ec728c6a0f65f2fcd768e4329","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.0.7.tgz","integrity":"sha512-QGEdzGY6R7FhO3eQKVrhrDMQJPFShmP6pK8F+bDsTafJcmBti6EVVaiIxLs5+DE0G0L+/I3TyGqZpvC+tvTE3g==","fileCount":15,"unpackedSize":52155,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAAtxCRA9TVsSAnZWagAARpcP/31cuJ1RoXmCh9l3USNL\nVTT5g9ABLF/pKMowNVsQ0mkb2LwIPnvWISDCwdTZ9CbjAF1LU8cg5HRLlM2w\nUBWw/NQIiZPNa9AtjW1+sk0hqx3cB5TTWRmGTujsg79dwQbSjksleK489h8o\nZtP5yn+nSxnjYLP3B0bejPMiQxMEr3KaOXviI5yu2OSceqHx5vSnrHvC377p\nPddn0/ptrdYeLTIuRgS2iVob5q2ZyXTKueWYUbqfnWBL615N55iioaXxMTIw\nbOgYnz0eOt/H5AsxcG23/Qq08/uuykZvYhf0ytxniOL0L+qWU631kw8szaje\nyUhyKb4Btn4v8rlZiK9h4ieHafcvFJFPMyNeKMkaFvw0g1fVXP1VAAD0g5OQ\nNwD8hAo8PGaTr2K7omtbQfZv3qkU20Mn10V4Prk+3flzqHWdr+d+I09OvtCS\n9YJbs32Y9iiobj0E3gyd5NykenganXbXKkxxAC4XTm1TP7p53BkyKNHTa32J\neeJ4hd3jxchcPLKeM9LkpsIolBbbdZu5kbUZTj1KiEzid/6AwuS8RGYzPktU\nS91f5RNQMZCDalbVrRtCACttSgnSk2DPKVDWpHlab9GwaJOeEOMiQurk6w0W\n0+Vccv8eWCJ2aAenaaYQfhGzYvORr6cLoPYsDo5pYihFmM4ra1YBY9hzU0c4\nskI+\r\n=YjyT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxEUWAIzPu5WJOSkkg+kbm8422NPjKy5EuT78U+gKm1AIhAOCL/bElKCLARZhud1xCBRtwU7Z6B/0HnofiyU7BIArh"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.0.7_1543506800834_0.012968833075432284"},"_hasShrinkwrap":false},"3.1.0-alpha.a11b54b6":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.a11b54b6","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.a11b54b6","@crave/farmblocks-hoc-input":"^5.1.0-alpha.a11b54b6","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.a11b54b6","@crave/farmblocks-input-select":"^3.1.0-alpha.a11b54b6","@crave/farmblocks-input-text":"^3.5.0-alpha.a11b54b6","@crave/farmblocks-theme":"^1.7.0-alpha.a11b54b6","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.a11b54b6","@crave/farmblocks-text":"^3.1.0-alpha.a11b54b6"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.a11b54b6","dist":{"shasum":"293230c8b3fca67cf33a2e8e6db0cabd9880cbbf","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.a11b54b6.tgz","integrity":"sha512-aIuHoouxB6GiSRG0Ls6Iyg1Cj0aPlXlK0YXmnNbKqGdJqwi+YfSPuxBjWf5TMncXu9c9jOAZN0Uv7ec/VDk+VA==","fileCount":15,"unpackedSize":52580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAKZ6CRA9TVsSAnZWagAAXI4P+wSSpJWxQPZLR6yZNYvK\n0tHPuPqeboZVM4b3AMG0tO7FNTHwM5eEwQWyF/Y5y3VT/d+gf/KgQ20rrrFu\nIWSGeEZmdTbgOUmiNJJ7AiyFTtOuBqB1GSw0gpHpE4r0lAVMg61rd/BCNoHj\nD/b9Ttu2KQC8/BeKHgXtzjDzLONCjQz9cF3PsPDRrcO/77JxDJ0Fb8ngRv1b\n4mRaG6n8+uD9dUc0xUQ9v8o95IMnzpxN8sQc0Ay1LxbdGW4vCqF7Fu8wNyin\nV9DvXaVxoH5V/r6nMjAS5+NPv+gXIuSSuCA34X25ryR5w+he0oN67+sR9VuE\nnUIq1fCzMgAsEHvlC8LQF3HLNsvema+qhszajNKYrP49qiZPnevMmu9t5rEv\nbRugPmdTZFgg6+vZi6/Q/NmW+GaQ8osVvSYxrkXNCZkqSsDoM1gzq1/gh1L/\nfrTeCi414lAnO0R19LPfSo8/bxH4Ya3pWAOJcIdaxqN85FaK9EvZVmOV1U+m\nGaEdXkD9y7Z18UFbNS8H2XScmKXg1Zf7g30jDQRLiPw9sF/tq9kLsyYtu7nx\nQisVJxOLCTxdDfbfW0WZNmdPd9ornrgfyRydoe1RuFB+wovJEbRSsZKbFNuz\nsTvIhCcos3fIC8RqRdx5xXUhV0UkEIl583JeAJy8KdwQ9XGnNB1WQUW61/fD\n3C/h\r\n=ZqZy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBOwHucKKo8+dvv0t9QkDKyLZq+RSNrGbnB1Nue8P5RGAiA9fUaq8ajZrih2XCVIpTHm80+gRFMXJSTZu8pSSLUDbg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.a11b54b6_1543546489586_0.9172643981165414"},"_hasShrinkwrap":false},"3.1.0-alpha.e7623c67":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.e7623c67","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.e7623c67","@crave/farmblocks-hoc-input":"^5.1.0-alpha.e7623c67","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.e7623c67","@crave/farmblocks-input-select":"^3.1.0-alpha.e7623c67","@crave/farmblocks-input-text":"^3.5.0-alpha.e7623c67","@crave/farmblocks-theme":"^1.7.0-alpha.e7623c67","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.e7623c67","@crave/farmblocks-text":"^3.1.0-alpha.e7623c67"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.e7623c67","dist":{"shasum":"32fedaa6ee2474cbf65d93447b62797ecc1be5c4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.e7623c67.tgz","integrity":"sha512-qqfpFATvVsEprVa9SjqbISH5X5E/Ip0K0xdMS/bYpn1g6LiUFSv1OgyCs2vvL8W+0Hnr6IOzNcRcwtmHuYvDOA==","fileCount":15,"unpackedSize":52580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcAUxMCRA9TVsSAnZWagAAxQ4P/2Ga/cIIW2/97QL8kFFT\nv4Zh6APFWo4X12ncyOOokSiVhHkMoi7Hy+e9/gylJC6Uk5UVhjkySLQTpp0U\n4P+Y/IKHOJSU/3F7nYCNlLmqvS1RBKpBWYiW68Hs1G3+hSgUmbuBE2fHm5w5\nmyWUsZwWrsq8gRywd549TKXng7dkGJI6AsLCEtqoD5bytlnvGvsfvLk+D3MJ\nMfqtWWZcgcGf2+lX629WyDxuFtGcFESi5vkZ+47R6kf+0vo4z/h1DEXWQek6\nt3JMnAR6uiYSQ3cGuihFlIEmVxUGkw6u7r6E58809qgALra59uPPG9GnlngX\nMI8i7ACxvgZMF0i0cucsEEpjb1gXVr2nEZ6dUujMIUMyPY1wCyqpblU8aFjw\nl4hC6RNIm/SveoB86oKupTuIBqOG8rsOSCPcxYQyPUfjM8NdoXw49rbTU7vh\n0HFIJT8xUmETigkYE/RP/0usfVpZ3wf+2oI1h3lnMmye+0ZeSmFim5mvjcnT\nNRq8gA4f/l2emfRGgwHf12stk5ROeRGulOXLGoSezIfSxfH+yQFvgy6PvpS5\nZ962JUC+rWEatlHAD11nOEeKbKcTeKXn3/O1usuUDi/O2jug/jWXFC5I4Jc9\nKJXo2k7HBJzJfXQhKV6wMje5OuIyNOIM/wuFZ2Nq4rKoeItnD9P/xB+qK9EZ\nPohr\r\n=ZJhr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFynV6LqeWkzkMR6NP/KgSFXR0nn7Nwe80ADJ8NlvjqgAiEA8vWA8539S+s1+VJ0Q+q2tRG9wyrUALhWtXIiChQxOa8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.e7623c67_1543588939373_0.8914256008394124"},"_hasShrinkwrap":false},"3.1.0-alpha.ee3ceaab":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.ee3ceaab","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.ee3ceaab","@crave/farmblocks-hoc-input":"^5.1.0-alpha.ee3ceaab","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.ee3ceaab","@crave/farmblocks-input-select":"^3.1.0-alpha.ee3ceaab","@crave/farmblocks-input-text":"^3.5.0-alpha.ee3ceaab","@crave/farmblocks-theme":"^1.7.0-alpha.ee3ceaab","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.ee3ceaab","@crave/farmblocks-text":"^3.1.0-alpha.ee3ceaab"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.ee3ceaab","dist":{"shasum":"7e62695293d3d0b89f9df4ac68da56b6bc4a33cb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.ee3ceaab.tgz","integrity":"sha512-TqwnvCYl2d+7tFDbVLSRHYRZvKggxkp2NXjtdCCychDBK2l+dGRdilRBonIOedB+TLkMM4NHLjYBJv4iFl2kWQ==","fileCount":15,"unpackedSize":52580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBOOrCRA9TVsSAnZWagAAit0P/1P9WsEUyB/ajv3Wp7d8\nHbGRmsluQRsPoCWkQ1QRAbpWg/Q7YG7t2OmQOp6H3qjC8efWFkhOsrRd19Wn\nvt1ex8DBDBshlOGgc6veF8ri5Okdgx8La6NWvug9W1Oa4pn/vEuur0aA3qPz\ndU3Wg5xOh0KPIz9Ejns8yZhZu2+VlCIFA8wH/2gkNDERfB6vnWUavYU1bow1\niYDhL4AxTgxamKA+3CYI+XgJDwEKr6wZ7Y0MRfzrcipSbFocHLKH0D2at4I1\nbzSw3Hw2C2Po69DYbMgvQgxsmzZOTBKKGsELF/YrfcJHlI9LIqVyhQxgid5c\ntcRjZ+cRBxwRsqqe5jTB0mVYTtsLKBT/OgkbnRiakp8oeLuSUw2qEACUXYJs\nObA2hWUEDHDBDCvPRBIPIle8ZUxfMW83Bww8mYDDg+q6Za1I/tDIBUx+Q64B\nrNevVxJWKKjqmP9znjImJIptTknQyytOxP1r40p3fraTHLQIIzWItedvUJAU\ngV+XcrdpZxzWqLKnHfHBRo6tglCVN3/LnAuEkYCVLXEAcxbfxnNepQaIpSsJ\nJcX8b9xLvnl0CeB2lyP6bpCfF7/KjE1++L6tmDBEiYjEycKKoGwIwxbP+8S4\n9xSP2SgdaOtK8Kwx+fSW8fklwd1+EVLcFIO4VOyds21Tv++HaoNKEBx2PGLg\n3iC8\r\n=j0oV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAu7sKj3mSWGFMWsBdue4eP2G+HUa4P1/PZo2qv5sutOAiEAg2K52YuaQcbzG+czTUa7jw8F0OT9oZsvxkt21pyrjU8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.ee3ceaab_1543824298451_0.31464717215544313"},"_hasShrinkwrap":false},"3.1.0-alpha.e87ed319":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.e87ed319","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.e87ed319","@crave/farmblocks-hoc-input":"^5.1.0-alpha.e87ed319","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.e87ed319","@crave/farmblocks-input-select":"^3.1.0-alpha.e87ed319","@crave/farmblocks-input-text":"^3.5.0-alpha.e87ed319","@crave/farmblocks-theme":"^1.7.0-alpha.e87ed319","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.e87ed319","@crave/farmblocks-text":"^3.1.0-alpha.e87ed319"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.e87ed319","dist":{"shasum":"58065f3f3ec750e3d7b077ec6692d6c213e9c27c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.e87ed319.tgz","integrity":"sha512-CcTZ7QDL4LjF6ymhXXiYspCjg/ukIH3W0def9NvioJIhAbx2L2seMPfsEbXLIwTVNYF67+SRuOqmQLVTYdQgkQ==","fileCount":15,"unpackedSize":52580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBgFFCRA9TVsSAnZWagAAHrwP/RKgZpjLdEg25REEaO79\nW2Kqhqx7QBC5HM7ccddeJtX2WobWm9z1fY5T2AFiBLaAr4WrIqzQiGlIyOL6\nmSJ4PIQgxEmKqjhSL+wp1W23FArq30EyY9amX/0+b5NhXV5NpY/hfXdgewTs\nGcUrbWkkJAoW4xtZJQ1X0g50+R4ywq0lp/TCab22cr0xIdoec1rAc5NlH7dp\nBCvOiTrYl0+ptXdLUVqsuMncExnc+hGWIG0I+Nb2GaH7//rgKoOh7qW4Mn3k\nGf+4Ei+TFrrR0DPRlFHZkoeTdj82+hxJRxmrYgmT+ckrEdrFvDQhLeUPO/LZ\nyjeiKJKtOOe8NLyJMENIMLPFKE4cxWbHO0izrQ3wlSqoNAZpD7GkZKvZtzXO\n/EICJ1Rd8hozi3klI568wf7ndYdGpQ6CCZjgfufBJ7QuJI2+P7f5yb3lcVKF\nO8zPsvZfSv2GLoEt41sR8HGAe/AKr2/mhT3pv+JpNlWjoWCZlMtgag82bdht\n+8z2u/iAtEqh9DIZxKwZjSM0mKuua4krGntrxJeqZsg9mkPkYDqM1XKFIsR7\najuRQ7i2JIVlqh3O1OdVO8o3xyDFbhnckugLmocGyPXIsSQc4Wtdqn/ycsGO\nUX25X2pv+uxy3opLh/Yt4QdLBllIvBzUOSvcuVkaWK3lOxzQzM14nBny7lIq\npFIa\r\n=umq2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDNzmwq6Q8LyV7oq6Dr2CP30ADNuB71Es8Q30hHjVcEAIhAKaBVeh/tPXXenlqgpPHOCjlkd9hUDuIOJQSbuJMkY0R"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.e87ed319_1543897413009_0.31771624308100277"},"_hasShrinkwrap":false},"3.1.0-alpha.f6b6d992":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.f6b6d992","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.f6b6d992","@crave/farmblocks-hoc-input":"^5.1.0-alpha.f6b6d992","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.f6b6d992","@crave/farmblocks-input-select":"^3.1.0-alpha.f6b6d992","@crave/farmblocks-input-text":"^3.5.0-alpha.f6b6d992","@crave/farmblocks-theme":"^1.7.0-alpha.f6b6d992","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.f6b6d992","@crave/farmblocks-text":"^3.1.0-alpha.f6b6d992"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.f6b6d992","dist":{"shasum":"e79aafc08db2f62376627500c160e89063a85add","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.f6b6d992.tgz","integrity":"sha512-FWYmJ1nn2ye7gkuoxOpRZEUQ7ww5f7/LRYLUzbxV7DuujXZQ2ZXXSlA/YpcaJec8M/3dv2B14AAagCaNewRuNw==","fileCount":15,"unpackedSize":52580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBlf+CRA9TVsSAnZWagAAEBEP/jNe92bwHIDCIZX00qH0\nZUYPvb5bw7oUgLyQ724MRyVw0WM9Hv6kUhH/BDEFxl9NcvYMUx+TSyt3/ula\nd49Qj2vpjqO1PD97rWiOme6MH/EmEDVtOHuxi119kc00MSXdhcEeeAGK18H6\nKy622zY9OnikqsSU8DiK6A8JPhv1Vef9hPKhsV3vgVFAwzxPy72vxhHtoQ3h\n649buH2K3KSt+Voy2BmcNJ593aOqPcvD8H6X7OoLCjt7w0K7gFqi2j39Bnug\nx8JYTIPSr8LNR7/nJSiGvjT17dbJLgJZg/ITteUXB3LeLqemsnS9W5kA1FE7\nh27QqKlcVsqL/quNbjqEMbZOItC5EzBzhozmO9N3fxaOEwgm+rAtNttvERUR\nJB8zSiNXHXTYY+4B4ZpjPv0dnIgBf/1VzOEyntg7Go88k7c8Gr/R5olZlbuJ\nbuM96LrxZW9IcvMA9V5Yg1yWUBkIhezKtsZISYmSNQumbgymfZKONb3zo+S4\nz/dUqF225Ef37DMzqJc1xHS6nkW26Ebaykxj8FX/2XhB+1TwXNyXQ7+9N9uY\nL/vf5VJV/FwA1getX/7bfKEjywodkhMIu1TWyOMKbmWh3kv/6bYZfcXK6JWC\n+87A65cGN54UPuNq75MGg4GByiu0LDRIKTHymbLzwG4Jm8ON8GY7N4kPCYm+\nCPAa\r\n=4BO7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDK/MyrOZLJ9APMkWr/ftHlbwtwfU0dW8vjxHVwpDbyQgIhANneRovqdDZsn+Xv4SAYWpeZ56e5y92bjhnaDnU3TJ2e"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.f6b6d992_1543919613881_0.10046878316007746"},"_hasShrinkwrap":false},"3.1.0-alpha.5a5c4b6b":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.5a5c4b6b","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.5a5c4b6b","@crave/farmblocks-hoc-input":"^5.1.0-alpha.5a5c4b6b","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.5a5c4b6b","@crave/farmblocks-input-select":"^3.1.0-alpha.5a5c4b6b","@crave/farmblocks-input-text":"^3.5.0-alpha.5a5c4b6b","@crave/farmblocks-theme":"^1.7.0-alpha.5a5c4b6b","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.5a5c4b6b","@crave/farmblocks-text":"^3.1.0-alpha.5a5c4b6b"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.5a5c4b6b","dist":{"shasum":"503e524034b719e3842005742b6d6d7ac6073118","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.5a5c4b6b.tgz","integrity":"sha512-XPX50v82L1B5NyhMr4DjDvyayKQHMrX3cJNcGTjJI8TSra+cgo7bApNwUdjSWapL1ldbOyN1NCAoQISgmtDs9Q==","fileCount":15,"unpackedSize":54684,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBnzJCRA9TVsSAnZWagAAhmQP/Am3Mf2LUBruvg4DD4hQ\nEM6Lp3cGH28gZLrHCAZMBOIuJ9Jbs31I+V/wSedB1neJgdIGQouy3/kPs2H7\nm4naT5ORK6naOFNzwEkVl/S1nCdKFfa2bh24WVTsgb3CDKTzkiqRcY6NgKnt\nF80Rvb0SPCZbMVqw0s7p5vxCC7tevSVsslVYRLr7pZOuB2fi8M25p6HGHosV\n2RO5zg9fGgAHrOUv943p5OKPwzHC8bgEk1h3kDI17iFdE1YlvaUf7k2ExETX\nlrJcgtDQAdkUlgB2u5FwGYtV+35jBwuUCNqgn+fp49HO3miJe3wv4vcwBnfL\n3uBfq6cwoyNDxGz1JWXEGETSvTPtuDdy1B+qoGAUjczgp4KG0UR+YDe8XtrR\ngvmNQopMmeAFzfLf91dwg+CwAUQaUpqqlGKzRnY2HUXLxMPNDrP9ko7Y6Kw8\nj8kboE9cEkmzj+u1q4cQ4ehBOAzq14kMtccnN46S3W2CbIXlPv+euEk/WPYn\ns0WTEBiQhGxiahI2hDJGrNfjz9Tvcar709B85xtVBt5D3Z5/sWJPOnXgcdqg\nUHcM4r+iPM/2b8y0P/eGyHPX+UI7zBJMm6AMnz9Av45Lld9mCM+iCDEzWuAH\nNqD+Zpceu+tUuVE7+HW3k5BRMA4i+2Fe8i+e6DzD12yuqw0jn/7InA4TYCF/\nE9lX\r\n=MBsl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC9kVp6cXGUK/QQoFHEHXmK9CT0wHQDP9pt/Pg2zXpKZAIgIE06BSjsnfvBH/JV0p//8znzR5pWoix9olO8G+nf41k="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.5a5c4b6b_1543929033020_0.37176283430387835"},"_hasShrinkwrap":false},"3.1.0-alpha.a6658924":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.a6658924","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.a6658924","@crave/farmblocks-hoc-input":"^5.1.0-alpha.a6658924","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.a6658924","@crave/farmblocks-input-select":"^3.1.0-alpha.a6658924","@crave/farmblocks-input-text":"^3.5.0-alpha.a6658924","@crave/farmblocks-theme":"^1.7.0-alpha.a6658924","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.a6658924","@crave/farmblocks-text":"^3.1.0-alpha.a6658924"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.a6658924","dist":{"shasum":"e0d8e9969644acd3dd07c86ef584cee8a2925490","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.a6658924.tgz","integrity":"sha512-oH38hESXrkhEn2xC07kGSgEOuofXEKXzw0z6j/SZulvP8g5ifBwVBE/0og4BgkNiltUh8Tg4p+w2ewsV5v2DuA==","fileCount":15,"unpackedSize":52580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBo0JCRA9TVsSAnZWagAAcwYP/Rfu/86Cl1F70dRV7ISD\n12Gimv4gZKATE3GMU51Rgq/DDYupbM74GI5aL94zWeWbnJWcjWBAUzhr9+aE\nwvkS4v5rnWLYu1NdSlq0DCHTpxKdh5ilvtMaYQ/FYVh32SyNjPglkx30KMYi\nOFxSdGVld2PKIZAiHq41m/suat/dynOvZ8yt58lSqS9U1sxP4t9eX3Yg5Juo\n3adocPUIMOTpsNZs5qp2DOnTPnt0BvIW3OegvvASzV+WkH3bm+Nwo2HA7Sxk\nvyYyR+ekmlsGXeqjwRgXnKbuUojhHQjfe9Ci8UJHs9NsGF/2LFk/kEn4j5p4\nHk7bz4pb4DJm+Cd/CZkhKZZOJBLUY0zrOHcUe715l5whAdhtb3mbstW0+mG1\njOj9R9t/Z62+K8U+iIEPZNSsEiU5TyYOk7trBeCC8NC3NCVR/ep4of4lIsRp\nXOexubpHacWsojtVDJ+bA3QA0XJj3ckX/mSWI81xjUhTlKuldRvr0LX9dR9D\nF4+b1EeXvqmCrl0AHjvbZmup49/dqVFt/GN6D8qIQyeJQbIHOrOEN6fj5o7+\n54P/Iiz+D/ncmdXXI8o6GjFK2zYwMngLZtIHXKpVu2+qF+osk+JVlmnpHvS1\nViV/Ok1Paud2c0HwyV1IbRyt55L5Az0RPOutCrxaUt3CH6UUpBS2f+u1Dsxw\n9Caf\r\n=tyJg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICH2pQ1H/rTN/xBq5X9/WW+Bawh6ZmDT7cOCUGxZzhzXAiEAoRU6PteZg9MgnCmAlC2HNwhaDcvrAIvPWxGsiLAuvt4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.a6658924_1543933193086_0.4362962660712921"},"_hasShrinkwrap":false},"3.1.0-alpha.f82fd6b4":{"name":"@crave/farmblocks-search-field","version":"3.1.0-alpha.f82fd6b4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.f82fd6b4","@crave/farmblocks-hoc-input":"^5.1.0-alpha.f82fd6b4","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.f82fd6b4","@crave/farmblocks-input-select":"^3.1.0-alpha.f82fd6b4","@crave/farmblocks-input-text":"^3.5.0-alpha.f82fd6b4","@crave/farmblocks-theme":"^1.7.0-alpha.f82fd6b4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.f82fd6b4","@crave/farmblocks-text":"^3.1.0-alpha.f82fd6b4"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string)                                            |          | () => false |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0-alpha.f82fd6b4","dist":{"shasum":"b6ee32c1e92422bb6eb1e691f24021d6d20f87d3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0-alpha.f82fd6b4.tgz","integrity":"sha512-g8IpbQemznbno07UwSDM5TPzDLelyy9NGDWqdJ6IuE9uXreBk4R2qSx+p4BdzsZmRLSyMSLC278IjnOIK0Gf1A==","fileCount":15,"unpackedSize":52580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcB9fnCRA9TVsSAnZWagAAJiEQAKQxnCJHHpTTDSsYzSby\nJlT3IuM2x3YPzhaGQyoQfKwWbMsh4jPIx3ZI1Vn6+AwgdvTFBTKVjFSbA19+\nAmT9klb/dCsI3WL8tf8WLQz256eYDpTQZlPn2JLKPWFn1goGXTFyGC1bMUrd\nO8XlDKjtArnpVow8GTpzyT5sP811IFGx1oagUQIbNOkkCBxPXU1jaGdKjmKe\nJTn5HHSKJs7dYbma7E6odBI71Atrn9MfuTEwMK8OPxQEOWusBVO+RqT97RGK\n5DJ39CdsiN9NXl48fcVWQNGutysQrqMCoqccyu4sJEzmOgIdH7EcdP3apygo\n02anhkQSy/au8JI4sCQ9V/bW04tbCKMr4zsX914ayORz1BJATY1zQ6cfwT80\n8JHvFJXOkrK7T+BDv4khb0GKiemX8bj01qluD8VeIPnn2ktkdAUuvGDw9lmx\neI8oiqkP2qScBO6UTdjY3wo/S3K8akwNlXr+V0KXE1GLyzh+I2PvbDFkX21c\nvS0vVjsgxd5aasw/9ICSfqRl5w1RQmbb3orYPCC03wNWJx4UYVIcvbF+FO/9\nllkWogx0eR156bO4+spXa6PgasC4nglEMg85DYZOUjjdDa3AeV5QCmBwo4R0\nl9GJLZJLzafnLdO9oOrGgq4JpFT0zhZAFLx3UFIo6XwROoBOb4HeFra4yvES\nvNVe\r\n=QgD3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGqudVf4zF6UOnrxj39nLs5uwjYNv82jxQcSWt+t+JeKAiB/9lYu0emgge3JLUqmQZhoBiRSSMUPpjHB9gwNZb/v0g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0-alpha.f82fd6b4_1544017894506_0.691626497662094"},"_hasShrinkwrap":false},"3.1.0":{"name":"@crave/farmblocks-search-field","version":"3.1.0","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.5","@crave/farmblocks-hoc-input":"^5.0.3","@crave/farmblocks-hoc-validation-messages":"^2.0.1","@crave/farmblocks-input-select":"^3.0.6","@crave/farmblocks-input-text":"^3.4.3","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.3","@crave/farmblocks-text":"^3.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.0","dist":{"shasum":"39e13cd64768f064fbebf6aa903d47b8b386c542","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.0.tgz","integrity":"sha512-UD1VKQYyDZpyClfVp0as6+EFbiHptFujaLoc6WixUtQimaedi+Z96DbAEt3SNT2PzTwTgF+e7NNzq/Ahnogd5A==","fileCount":15,"unpackedSize":54504,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcB++eCRA9TVsSAnZWagAAfWsQAIfXv7ccanKyqfQAGyTo\nYkkeXdqHd/7KZi+P34i6kk+A94x7N2CouCeKGXbNF37L/e0bigFr5UcA61mi\niU5Ka22+nznXd8Kl5bU5N3KZMSuacmKlRqq9EX7F09z7bsjboHairUybFH9m\nrOTNeKKUkuxixL4+z0InBYRbz0xxqLtarQF4VvdRR8oPJpNDcyCy7qxhuMJk\n4svMEIHqjbF4kFVXinsCsMI8+GnT718YqPXGTtwyr09uXDvHFAdHTzDWdd/k\nF+CyXOMz0y4yfos7kID4Fyt6td6B65lRzqYofwECbZwVXNtG/LIJqqM90abm\naLrUH7euPS6YP1ZuAzFBgYrAxrlf8dC0VY45/3rjaW5WWz9LfUbtgiLrtd9D\n9QFc/bjjFAtUe4tZOknfg2IeDOwLxEUUJpL2sCYD+hoNzg4vy11Bimtq4k1m\nrhrT1iMzUS+7fyyZl3SiKbiqGaBY1OAbzDEPurtoRC7JWaFpK5TmY8Jj8Kuh\nNVtuFUIBGFE0TZ7euglCJksPMZnwKtnqk7LR9JB6X/8+1IzT4ILkMCtQMEhA\n1E9k9lSZ8+z9elKKe91zGSRkbmj2dbzClNxFfQYPucEJ+2E+49vSKgiQsLbF\nwmE6Da8l1BKce79ZguD85RQsOrF4NrY6U/YUp6Ws0WbrmPxRwrqximUbGxoi\nPMRJ\r\n=h5Jy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC+Cn9IQwvy2OZfyZ1okqyqrgp7nC0Hjb+dXx31MdhYkwIhAKvF9le/z7N9F9YFAdW80aYnCYdgia5ZyceJvAbABo5B"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.0_1544023965865_0.9629823570674512"},"_hasShrinkwrap":false},"3.2.0-alpha.a45fca8d":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.a45fca8d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.a45fca8d","@crave/farmblocks-hoc-input":"^5.1.0-alpha.a45fca8d","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.a45fca8d","@crave/farmblocks-input-select":"^3.1.0-alpha.a45fca8d","@crave/farmblocks-input-text":"^3.5.0-alpha.a45fca8d","@crave/farmblocks-theme":"^1.7.0-alpha.a45fca8d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.a45fca8d","@crave/farmblocks-text":"^3.1.0-alpha.a45fca8d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.a45fca8d","dist":{"shasum":"3f7919590ae578439f352cc6c58615b92026b96d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.a45fca8d.tgz","integrity":"sha512-psQhXh8hHSD+aZyYsOqetwUVqeB6B1WXE3BxQnrz/2fEZzcWl511U9RTVpmRnv+dUCrHhIMGBSYW1v4UOxp3Eg==","fileCount":15,"unpackedSize":54893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCfzkCRA9TVsSAnZWagAA1DgP/iT9vrCZcIKQDtEqxeXs\noE9LglR8HlgNHBVVpx7/7HhQXN8VBlupXfrcG0XMTghV7IoeuV4FRu3JrxZw\n8ZTXEFmdeA+4TGRVyFIqSoqUlY/j52UNyx7iMboiFnqi5AGB6cc7mNWshbrL\n4o8UF8QGAxzyxADhFtHLjcET0eyQoSNKry5cOvgglEExtjuprd65wspu8Byh\nOptwQsRWJE1saCbzNYsUil+r2YW0ungj2QWiG1UWyDX0w1C2nRc6GXcqfGpE\nvA/ZrNRf4v9YSAJy/3soSg1d3jFo4wVnvrw51biJZdylNb+PBRUiuLzHkRrd\nf1ftTQm8kZnLTVGsgSuDP67JuVD6K2JbtgbB6cq/f8Yqq0occnBwBtbxHekd\nqdlYEkPuMgOmy7LBQ7111/XeUjyV7641lNcG/VvboJ2ei23j4U2MJcTto1Nc\ntVdHoL5qzcOq6kpEoXe00e49pZ6uBI5CPLblSdmmkdot1kmLZ0UKPCZ30jRV\nwuPNM69isId93UID/STxct3T10//CNsl19fbeBdC8a3r1Q/KzdF50pEccq7/\nFcgw/C+T/7U1gXyDzgdWl2sc5f9TwWY1SeqVQSoMYxP+W0nZqoK3w19hm2pT\nEHb/0GC+mFoLbfm6NqZryd4rzuKEux0+5wEOBXGVjUvVv7ccp4U+4CaQiF3w\n/jZi\r\n=cKLK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC+xoTmFKebQ5MHsdIgsBzM8mFFtQ+LGcyjm7uA07JpGAIgfvHiPsJyHXByEqXEVcb3fwiZ9lhDd5LF5YdteJBXnmg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.a45fca8d_1544158435291_0.18806347328964046"},"_hasShrinkwrap":false},"3.2.0-alpha.21ea3e28":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.21ea3e28","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.21ea3e28","@crave/farmblocks-hoc-input":"^5.1.0-alpha.21ea3e28","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.21ea3e28","@crave/farmblocks-input-select":"^3.1.0-alpha.21ea3e28","@crave/farmblocks-input-text":"^3.5.0-alpha.21ea3e28","@crave/farmblocks-theme":"^1.7.0-alpha.21ea3e28","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.21ea3e28","@crave/farmblocks-text":"^3.1.0-alpha.21ea3e28"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.21ea3e28","dist":{"shasum":"e0223483e6c2692a07b630a0a6edee914b10dd7d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.21ea3e28.tgz","integrity":"sha512-A+vk5dhyazahq0zVv/W5SNaI8udYUnN6ArkQNqhJjeglRUCYdl/Pajzk381pFeB3QNnIAywoBZr8mcWnJ0ANuQ==","fileCount":15,"unpackedSize":54893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcCf2qCRA9TVsSAnZWagAAOAwP/jZpeDFFiaD+TvymzvLN\nw8renLfIGQmAz3dewQLYAQI9OIC9cozqRjHfFwDbehZdQ8L5CwA/bU9MP2PY\naPhG6cVJJGmj91sW8p8cjE0SecQwCBbq9zlHtuT6ZpESn2bqtyyPvGZhKr2m\nyGREWVnB3hvIajFt2uPImPvNyLymBSJLVWCz6GanBFBda6XcvDNrLYs1wMdP\n2cyusuDan3qY91AsiAME3SsyomcJQcueAuhApmrk1BEPWaHy1xweVgXOJ5qs\nkv4jiDXqpOoTNOBSeha3tuqmN0BJMFjHdgZ8FQNpSzvJYuGlh4DDIhGbwUXL\n2Ji7sWsYpZ85sPeLSOiXZXhykBq3gsLRAv2udlJNIIQLOVkgSxpntNnTnDyT\n7pB5XftoeZXTgFRsYzgaAOkO9PR/BsUyO0SgdD0RJfm0O913KxX2xu9DJtXz\n9nydoXiUZlPCmj6pF5hxbivDvjjTNwUTK0cfsXGbMV0SVHqiIk7S+98BGGrV\nFpc6XUHXGX1GLsNgVcNVbz59KU9EVHmcMs1amwlX1jrCYvdMzc97fZq+x1jR\n2znTgWOmEklQQOvaPzt5Ik0KfgsAVfA37zfuRVIRK5kwDlNZVycVhvnbaWI6\nUrXU2OqTAQe26wCBk5I5q0AM2ZggooY65GudrYgjvi6MS68outXzgb23JBQR\nWssg\r\n=GmOH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCB0PnjYTTPU88RUCVa+1hWf7p2nfdJs4Raf0d7A1oHVgIgF7Mng5PXfjsgn+qZc9h9BC33ClYdxienVI3osdov8fU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.21ea3e28_1544158633409_0.9263317097643793"},"_hasShrinkwrap":false},"3.2.0-alpha.95d46834":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.95d46834","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.95d46834","@crave/farmblocks-hoc-input":"^5.1.0-alpha.95d46834","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.95d46834","@crave/farmblocks-input-select":"^3.1.0-alpha.95d46834","@crave/farmblocks-input-text":"^3.5.0-alpha.95d46834","@crave/farmblocks-theme":"^1.7.0-alpha.95d46834","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.95d46834","@crave/farmblocks-text":"^3.1.0-alpha.95d46834"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.95d46834","dist":{"shasum":"0f7739b32d776bbc7a0af2bbd747051879a1daa0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.95d46834.tgz","integrity":"sha512-NTBA7aPbrQlq7Ht9FcJD72w9IyGKGEnjFbTO4GiVEzRLET2F2rPFZJK4j+Y87Nw8J/01h4dye1p5inISS20hxQ==","fileCount":15,"unpackedSize":54929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcClsRCRA9TVsSAnZWagAASHUP/3iai68dFIhq8opMzMkJ\nj+aRwO3HN+W00btItWa+UkiupoI3tZPRrsBxX9gU5c9xTSNbfwcVNaZmnLNb\ndvpx/4qFfA/tXjzpaaDIRCTWk3k81deJctwK181nrb2Bvwh+kmJ9uDfT30E0\nxCi2by63FHIl5hZQKIvwzrOc59tK9lOzDhvqAT2YiLn0LQzx3fP8ks3uY+Hw\n/ybN/ifcwbXpphNJdmoBPtBQIKzx1i2q1ykz6p2UgSI1RYQNtu5lo0NTwroa\nfVapxY67JYXEZ2lbxvtWA2kFnITQ+PDkt2hdJxJdAsPtolbPTQfcd7emFNlm\np6p8qLM5OJefkHUJqGbRLN+mT8ojoHZXG1U7mPVcsASwAvUjkIqgy9KniEu9\nFYcdMhj70wmxyQazXV3wWHBN5juk2H40n4qdpXFiIzMKQ7norZ0OBGYyiboU\nB/bwbVTNjq7/yapDVesYZ/eDRR63Jf/84wU2iloh990rvH5s7bujAntoeaSg\nRWoFWqxq+IQo2CooU4XKSAnKwipz8V+Tk0jtmYNIXO7Tl3k+c+ETqC3ouwJK\n6D3BmI6tHlZ4CuDSf5mA8HoWw0/cxiln6IDaZPJSSfCBsQsdqFaE1SgH4ZUv\noJ+vruyFqSW4MDLtemSNJfTLaftIJIW6wYw83xckY5Kff8n+EPJl0EE2fND/\nAc1J\r\n=GQz8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC2tsin1eAyiW9ZYlpEYm+2sqihmNWIaIMgEN6cPvu1tgIgQAgV0QM7c2Vtm3WCtzrnNaf7CwMDiGNkb1TwD0WPVYA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.95d46834_1544182545315_0.640813213763793"},"_hasShrinkwrap":false},"3.2.0-alpha.d8019062":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.d8019062","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.d8019062","@crave/farmblocks-hoc-input":"^5.1.0-alpha.d8019062","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.d8019062","@crave/farmblocks-input-select":"^3.1.0-alpha.d8019062","@crave/farmblocks-input-text":"^3.5.0-alpha.d8019062","@crave/farmblocks-theme":"^1.7.0-alpha.d8019062","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.d8019062","@crave/farmblocks-text":"^3.1.0-alpha.d8019062"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.d8019062","dist":{"shasum":"b21b042bdb339605f0418c16874c8d90946a17b9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.d8019062.tgz","integrity":"sha512-pUxpwnLDzTRPVTY1YfkaZ8Mj8HYf4B2eLGgGUNz9pqzo0beSqPAZvctPidFZYcf6NzTCBSDQti/G+Qdgb/2PtQ==","fileCount":15,"unpackedSize":54929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDlXvCRA9TVsSAnZWagAARBkP+wfCzXZDZ0EG9sJzWqmV\n661AjTtIUqdjNsyntxCBeE4fWX6LhbNRUd/xNk9q6ao9xDh/efv2Rr3HjbpX\n4MbjgxW+3/YJ1whBT6qWCriWVoIWV/eHbmc9u0MhKzbmWnlklXiyHWQ4VUd2\nikPyDCRtnAyRVfBwYGTCbcjoNz8tpx1OEsa9X4vvqUn+o3Us3G5S/tzbFFDU\nUpU0vcMWJPNXnkFXnYvz4hX82tw71yt1H1V/o95z97NVEt0NLrSLknwj1crW\nOUDQd/06ke7SoA8kNzIqpFg6/UmppiTZzkPqPkQ77hH4IXTQ4OFwJRtSShvp\ncRGngI4a2LenRG2ko48dQeyITm/MyMd6EVkl/ZXfLKIYu5srNZsCH9qJG+vj\nsSIpb2RjFxRE3udAPA6CxaJ0OrXwYYvisD+WgmNs/XB/lEoJu7Ux1LXbzvW/\nOCQAo+UGz+hssTsTaGReXgCG1Ez16YTWFLR+e4qioZ5OT4IBCzuQqEyz5sHS\nyczrOPoS/dqj3aGfEG4v3mG9/AyTdALe3lsXrz+/gnnvKQKKtIk/LgCosa3Z\nOC049l15jD6GR0I3uCfjYHoMWskCNLT1aa3kC1xVwkSdHLCFXKFV2k7ofQeT\nzqp2dqeFsK9wHti0IKFR0jToL2fDs6PGsRwFrMTSe71zcN6WvgKB1ucHCo/m\niaaS\r\n=a7Ej\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBQ1fo51Dx8X3ObPC7nUYw0gOrjBpBsaN3p32kYcnbeeAiBNrGLA4zgwQKWOW8Xy8xlKXeAlMjyEkrTvc2Ro/+X2fg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.d8019062_1544443374921_0.9987648849483985"},"_hasShrinkwrap":false},"3.2.0-alpha.cf417eeb":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.cf417eeb","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.cf417eeb","@crave/farmblocks-hoc-input":"^5.1.0-alpha.cf417eeb","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.cf417eeb","@crave/farmblocks-input-select":"^3.1.0-alpha.cf417eeb","@crave/farmblocks-input-text":"^3.5.0-alpha.cf417eeb","@crave/farmblocks-theme":"^1.7.0-alpha.cf417eeb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.cf417eeb","@crave/farmblocks-text":"^3.1.0-alpha.cf417eeb"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.cf417eeb","dist":{"shasum":"db218204508688f128d11e14febea29c3035863a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.cf417eeb.tgz","integrity":"sha512-QSTnMI2vvlWCRCbW9uGAIejasPuRKCC1aJ+oISNUlHdsLggebkoxPF2OT2EhyctWxHdXbtPYISmNh5U67TxcKg==","fileCount":15,"unpackedSize":54929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDox3CRA9TVsSAnZWagAAz7wQAJwT65kPtsio302RWTX9\n6z+Y+IQ1vFt3xbQf8PHovxbSuZGSzD3TkUtTNWyo1+GR/5w3VTx9/VvO0wNl\nwvjXai8Ww+LvyACFixh+3ASvk+h3vei8iFu4Kitcsbasglc8Uw+BRS50Oper\nnhtWci6UEpkNL/ipbJyl8W2H3cS3UKKabDJMN0Ja94RRs0xckq5Jd8brary6\nlSXHhpKNAHmV/06fDcCijUGXgRpyIuqmzkGY8kJGx75WuRaUU31XeYUZI9RH\nssG/UGdIgJUCFOaaW+TNwqxODHfN1+fFtaIiw2hD5KodcufZBxceCTSb+GSV\n+/APQD9RwIeOSxsI6QZogA+LpU+oL7wNA9lDnshpKYlbAdJzUAGzZugyy/Lc\nkr4VWN6ZW7ZoUc3aj+NFT0saCdgKRrAphNuN6AOCTSBnflRZfENxV5zhSKJX\nvJl/p/kaGmfp3tQDhuS0qXWONKHmsx6pJuXo5aa4JrYbo3vDHdG2DH34RZDi\ncDLY9NDMAhfVCA/KMH6cbSpPnoyPU1XLPrrydd6wF134wmkWl6soLGhaW+69\nuN3S2BWHMvKGKMsxOX0uDkIAvq1B5ZscoeXGPuee6rtpFowIxnd0n+apf5sO\nf9djEMmTEZjP55MY32Z402guM7EzI8nBTmZ0DLBFoePQxBJtqyKKwBRak9P0\nnA8R\r\n=7kJF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDozSroW1xFwQKiDP87bILHfISRG8I0mHFwRBoSzjZOngIgM+/vmVUlRR6fdtMihIP1UhE1p+H6x2qUFrRqQYmuwmQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.cf417eeb_1544457335087_0.8061197757847438"},"_hasShrinkwrap":false},"3.2.0-alpha.1c3402b5":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.1c3402b5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.1c3402b5","@crave/farmblocks-hoc-input":"^5.1.0-alpha.1c3402b5","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.1c3402b5","@crave/farmblocks-input-select":"^3.1.0-alpha.1c3402b5","@crave/farmblocks-input-text":"^3.5.0-alpha.1c3402b5","@crave/farmblocks-theme":"^1.7.0-alpha.1c3402b5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.1c3402b5","@crave/farmblocks-text":"^3.1.0-alpha.1c3402b5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.1c3402b5","dist":{"shasum":"7f0e6edddc55e51d4c208ba2683369981de769ec","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.1c3402b5.tgz","integrity":"sha512-Qt3yF84OuMaHGXmBC48f6zmn4FkzYX52dXL7Zhr04RIsu3p3JYx3skLaUUQJtclOuMJ2pfivG3nolNBhAQ6N6Q==","fileCount":15,"unpackedSize":54929,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcDsF6CRA9TVsSAnZWagAAdyQQAIP76uRo+Yx5DcZDaw/D\n2Wkf8KRtT971rgJVoZCgHVfP8vZNNjD4b7G6lHHfBuiy0TfiuN5PPlqSrh1Q\nsEGuGCo1eHD1aFtKhQiiW0Av/MrBmoLUGbW445lVf9WaCv6h2gJ34Qp0Ha5K\nvhHY630BQrhbZFzotvnTOQZyVduUl8O7GbFLt0NrKhvMNBcuwDTwl6EZ0amW\n81B9PV3UEvfL29kF/D1jwHqkE6Gebe0+IHgQMZx+VZKCpppl8ZTCyoohKH5f\n0MYi91b6ey/hsL6j0+3FbCT80MX0QTi6wCBWQlrLL0U+FO05ysmk6MBOEM1J\nNr0pg5iUiCQEiZOUKX8h/FHBuc/WGSn0vfYmHThdiRxoniGMpOmairgQsXuR\n54dGx0pl0etxltZrw3EYbtWHI3/3zN5+mz+iBXGc2v51oYVj58nRzIolkHGy\n8ohDFkHJcLWnXURZSF5QdGgXAYxN9bj4aSEhE60HT+1K5MGotCc7SJBVQhFo\nuhc+zxNl0uzXDH2mge2nPXCcRqleCiVmhTrZmUDeQGpL8Fzm2tW+i6RsgpR7\nkWYAZHQD91hY4LBlsqttyW6Z0/3u5jmrhJRtypzXV8hDVf+gHtbrEIlJ2hxq\nqYtmWGYRZJsk/vcN6gcfbV2FORUjmizZ88Xh9F3sf9Y2rw45AG0nDqgvKuw9\nJr93\r\n=yDXi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDWFLo5RWa3rnVo5R3x2mHCK4rbD80mbg5p0gcH4BPGQIgE4NFf/sz33OHgKi59k6TR2SoAC2Tup4o/JY2zoo+od8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.1c3402b5_1544470905426_0.18999792935798276"},"_hasShrinkwrap":false},"3.1.1":{"name":"@crave/farmblocks-search-field","version":"3.1.1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.6","@crave/farmblocks-hoc-input":"^5.0.3","@crave/farmblocks-hoc-validation-messages":"^2.0.1","@crave/farmblocks-input-select":"^3.0.7","@crave/farmblocks-input-text":"^3.4.4","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.3","@crave/farmblocks-text":"^3.0.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.1","dist":{"shasum":"8e19d1a9ebaf108c6c5539cbfc7c3877e601ca58","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.1.tgz","integrity":"sha512-I/3Lj1AXS2YNEzAHwROxwgkx33ba+n9S1ifjHcUYkrCEd/UUDUHHF81oiwlnWRs/RTMthRbvFK+Enveb/Vuhow==","fileCount":15,"unpackedSize":54750,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcERXwCRA9TVsSAnZWagAA/WMP/A8T5QaJR3kCoxzs3msM\nuTgQVy8JIyEy/uCAkM7WQkBIJ+YApJ+/UVaH2yIvulmFkXMFutZrG29L+qA+\nCYa9LeyAFnP2YvPp5YeoVhtO3ckoQ8jam3iI+xHR9Z4F9u/t6oedwCjL/JtT\noRrx7I6J6NOvAyvW95SVU/ZCLI8G4NX0zms5JkmyTiqqJJVtMGYYfyIgsa8b\n6UPuUY1KzpDlpHgv8un4EYuO+YvrBCzAl/r3ZxO80md2ApKNbMkVV4SyYPmy\nwvUZ9Obd6zLstqj+Yr81kxkxk3Z1X3rjoCyqcz/VVfxtZC/vdNbDeOjKRFZY\nnKMZTqG5ob84ES4dWsM/1Vbt431DfIStaAKEcMKUb5UAGwKJ/hFpENk5ZRE1\nw/gaaQCbZbtP8t8R5k/hUNt0KYOWr6JC1R/tl0kY9Xz+82kSKE241BQPG6La\nkrsVolDoCZigc4S/BHNzrvOAS0f7gO6wMAfCEyC/JlSAP67sxw1kNk3qFQYC\nks1shskmXKt3kerxE2yRCrijOHP8e0dDJHQRiFtY0aogY/H51oHsf6ljaDjI\nmpmBPqqEQfTYBYHEoSo0UI/BAwPNTeiyOp5GmPzymmHk2KQBche2JN4MVEbj\n6PLcqEP3vJ01fIzu2tgs6U8gm/mEIp6pG94DcvjCvm346sP0hYcIT/EAeeC7\nb6fD\r\n=iGjd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8HiveIIvoGnH3Y1MPGG3QY6ksIDBBfwZGCYbgdWG8aAiB1K+jnU0IBP4kgbHKsOsbA644dxB6oImWOO51HMM0V8g=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.1_1544623599952_0.8057526548272318"},"_hasShrinkwrap":false},"3.2.0-alpha.6a8363d5":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.6a8363d5","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.6a8363d5","@crave/farmblocks-hoc-input":"^5.1.0-alpha.6a8363d5","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.6a8363d5","@crave/farmblocks-input-select":"^3.1.0-alpha.6a8363d5","@crave/farmblocks-input-text":"^3.5.0-alpha.6a8363d5","@crave/farmblocks-theme":"^1.7.0-alpha.6a8363d5","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.6a8363d5","@crave/farmblocks-text":"^3.1.0-alpha.6a8363d5"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.6a8363d5","dist":{"shasum":"c315e5cd2c3b2305317054b5b113ac886edcaa10","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.6a8363d5.tgz","integrity":"sha512-x7P2Ol5w0aFHk8/4SzI/4Y3TZUN8r0FkmFjq6X7aEMZ91ZgDg/7AFvvj5qf1pWCnQ0ftR58RMu4wk8v+5gabJw==","fileCount":15,"unpackedSize":55175,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcESaeCRA9TVsSAnZWagAAf/kP/02Vb8b0Kc3Rz0YvIe3B\nijDemFYvp7xUzm+T0XCV8D5ZJ2IEkpkSVsdlmpF/7gWs4I8ReIpAABJvO78z\n2XOxEqBMSkLvqeWtZxlLI3aV/m08Zm3CboHh7CJ2/jAiVhXughjkIsi2/pld\n6EOY25MGfzI6ll1v7R/tjOUtEGFg+c8UnJCLnj+KaKPNqT/Z1+GJCdLjDCdm\nJidxUri8SeS2MXHPmr5lb3aCawIt+drpLXN2z4IpLerivg+K3xaMi7JwH37u\nd+oaa2O3AzggTeN4Q5m3NPxdmAbrAP9eLBsPZTsJuq/CHGqdkRVE6o2ehS9V\npC0sTFbhKTLmuGVSCoArOLJhWPD6ffVGCbikuuIdIM4y/CNyfOg+CIpr4jQd\npFmjhnu0Wh5lsqUhA0CAKi3UVznAaLFWptSoqHIa75STulTg0EliL9JFiwgI\nhwzmido9iQsNDo8eOYgbq1eeEXPc9F+otfrnDjOUI8Zn/atsV1BG3Loc6G+h\nEEwSHdfjBSbp54f9OyPQGOY6bXi6JTI+Z1iAdCILpFFBAAUsn+8YL+VDLU6k\nJzv5vwgs34E0qzfcWo65U8ffhMwP1ljtaFU2KT+MDAoVQv+wssUG4/jbfTD4\ngKQNsgWWJ8Ijt0aAoXcx2HR4sTvaqzl/sQ9WZgCT/zIDI+5gaqZqspi+THuO\n5nNB\r\n=79Wt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIF49hAzEdOMRqdLPee7HL+v+rtUe71vIyj9FmCuNiZaZAiAJw8dfROpgHlu7E4rNAGQFeXEv9J2Ft5idRxcfMNzDCg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.6a8363d5_1544627869512_0.1348051900550975"},"_hasShrinkwrap":false},"3.1.2":{"name":"@crave/farmblocks-search-field","version":"3.1.2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.7","@crave/farmblocks-hoc-input":"^5.0.4","@crave/farmblocks-hoc-validation-messages":"^2.0.2","@crave/farmblocks-input-select":"^3.0.8","@crave/farmblocks-input-text":"^3.4.5","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.3","@crave/farmblocks-text":"^3.1.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.2","dist":{"shasum":"072d22677e3737b8edf3962ab6220c9c3ceaadca","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.2.tgz","integrity":"sha512-X9b9++ndMBGG/CJORKRJjjvTK6Gzg/W7nCA/Iv3FhZeaHQMts9GgUNgHCoPlA2/QfZfwhlg50//4IrKtYP527w==","fileCount":15,"unpackedSize":54996,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcET3ECRA9TVsSAnZWagAAiIAP/i3RzuaJbwGkAB6RsOIf\nEznyxtmdF/11GyKYL1fWVo/Qj+bNaXiuPauFHUw5qdTp5HGjKXE0yYmEqSYk\nwkhiIhI0o9GCKXMqDVvkL+QhFcfsWVrZCH+W31WnfZsLMvJTlLV6FZgb0EhL\nOnijWIvLE4moQ7gBFQKnF4ku40sdH4jGZfVe94mkBb0YT2uDX+LEG2hKvDpp\nCWOiGkDgp/ZggMgZ2ki5LwBjL4AKPjqknH/G2v/7/eoJdI1zT5zU9i1s2wU5\nx8E7pBxjXEHfYEs/ZnLuM0O9YX5UBvou/LWFb5/Hv9SdmGPfmStm0wMjSNcS\n50MmitG0ipbrEO2dnJ84qt46QduAIF8ZvfEErmpBjBx5V03H1KS9vJWoBVWv\n17X7LT3bDzXPYlWlqsAD3GiQlDRxnOu08Q7HtC+MAA7iUGD5X1T+3br1ssQJ\nRl3/dKq7n1PSu3p3v8GwzSFzYt7HyswG/GTjjXJXYPoiUx4JkDDoU/Ntg7Au\npZlgGTHLSA4KJI57vPGCcWaSC6/ULx0x+LzlgZ6d/4uXSftJq+Aj5FWAJTIU\nKrGsgk+APoUTUm81YEkVD26gweV8sVw65WPp8TGtRyhNJsSJ9ap3d22bC2Wh\ns4ahBXqUzY8ykPpj+eJTRgGP+uiJ2JbXrlvGjlL9fT+5pKv3D33YAJ/S8RHj\nFOYd\r\n=bHoU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDtg08Lm13BeGnq3p8YJNYWZ22Yr0PqYGSSfznE2AuSuQIgRdaMgaYj1MuEfU1uDTFqzt43Gxx9upG/7WQhgL5Dmgw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.2_1544633795355_0.2158989235847526"},"_hasShrinkwrap":false},"3.2.0-alpha.b2379f6d":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.b2379f6d","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.b2379f6d","@crave/farmblocks-hoc-input":"^5.1.0-alpha.b2379f6d","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.b2379f6d","@crave/farmblocks-input-select":"^3.1.0-alpha.b2379f6d","@crave/farmblocks-input-text":"^3.5.0-alpha.b2379f6d","@crave/farmblocks-theme":"^1.7.0-alpha.b2379f6d","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.b2379f6d","@crave/farmblocks-text":"^3.2.0-alpha.b2379f6d"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.b2379f6d","dist":{"shasum":"f58f9d20b481641d2d2363402996920b51babee0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.b2379f6d.tgz","integrity":"sha512-Q8tfSoG9gbPy/h04zgNHMJzs2H6mousf2ZGbTZDg8cjeCBsjJybM4B2CL2crhTVFzhBXxfEHx91JzevX+qGDmw==","fileCount":15,"unpackedSize":55421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcEmaQCRA9TVsSAnZWagAASOkP/ikrIGn2ivsDo/nzM6SP\nSQaWQJ9zWDkq1frEpcGlj1fY9jlhyv7D/HNYzhGs8x1odaC5S6cbUadLHrJ6\nssORJ07eEqCn8K/9oXaOZATceAxGpiJ83k1DmTEhOMUOvvkKn5syNsRMBKKB\naTa2/MccTpuIoaBLmMN4fsevv+KccEkJgpTYroZWMyix1ENvN0xiDqcO+x3j\nRiwQR06FFtPZrKFbTIKV4J+2+stzkVtrslqBA5GIVcb4PmsAlqzWGgo76Cj6\n9dsOm0Q/hNgK+utxmeiNUMSJz/+WGI3MyGNYD5oSin0m/yDMhJRrj5ArzJVG\ngWC7ds6hlCOPUMFY4MJqjUgTN5mfWydIT4xbxenNCNgO+9J0SsxIRXSt74nx\n7K2L+mK8y/t6/a0j8LWMCs9+7uzAdMYooX6MTICFd/UJUzv+axINyeNDtdiW\nx//QM7xmR1NzMlsJjyedhrQLpgf/1WZYYishRj/vw8gSWUHlkmOVncAG/2Es\nWNLzPukVBcraiyl1a+gwIqy3/UUUJqJveM6KR2p/FK8W/yD88ogGT4FjY4Wb\nUp5240eQyaNcKVHUckNKf7dNZ5BchV6/8GUGszspAo4DkYkWJaedVDrkS7RY\nin//hJw/CPzjrHiJcDNkJAQa0mgtOQhdbvDUT5QNEwTSrzbo8+nxkmp/vUUd\nlZ0m\r\n=W9As\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBC+2WU4uFB2Yc9BnHgzVFi0KmYM86W7rFwTpsO8ijZAAiEAuchRiveuGTH02bUoCUgpivGsbtCrpbxYlX7sJbUB0KE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.b2379f6d_1544709775457_0.28664272234654753"},"_hasShrinkwrap":false},"3.1.3":{"name":"@crave/farmblocks-search-field","version":"3.1.3","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.8","@crave/farmblocks-hoc-input":"^5.1.0","@crave/farmblocks-hoc-validation-messages":"^2.0.2","@crave/farmblocks-input-select":"^3.0.9","@crave/farmblocks-input-text":"^3.4.6","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.3","@crave/farmblocks-text":"^3.1.0"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.3","dist":{"shasum":"602f2a5cfd59da854dfc00fb5762705e357f426f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.3.tgz","integrity":"sha512-qH8oHRHqmCekBlJqnc62/dL8PHnr+WHZu7wNqcDHqZWGTtzDillXhNvqOcLiJUighU2t26gJcxe5ET35/W5Y6w==","fileCount":15,"unpackedSize":55242,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcE7nACRA9TVsSAnZWagAABZIP/jF0xZlIIb99vYC0ET+D\nF5QSWNo+aRMqx/SP00z0Pm1FQlL7nhXttq1OoCq9Mk1yw4vcz9A3zZvE+9l6\n8A+X32XQSC2Vzqn84b0XjPtlIKxFvxQixhduulJC0p2KUfZ3ZrT21q2kMDz9\n/yeAE+JqlpdUnvZxgOsgeLGnU9ml4ogp3MolikFv2tpkojPc2LigRj+MhRHm\nDmKey4ewShAh1Zz9/QeEdbV+/7YlwnbqPUDltdJ3f7j1uQsCHeEKUZVf9cE2\nGPS/tkKD0akkVvrW0QaDJx0bs0CisitP+xTZywFe4NbvDPBmqN06lMC0JI+p\n7T6wiKCDwWEnR/J62jLmSKYEu8l3ULiO0TCI9J1tGrrVKW6hvfFT35XG3jp0\ndorhnARG/88LMBN7UJEDqveAKRNsSDLqEOzhQucYGzISFKy6hswcDdiNwLIJ\n2rY+UkpdCEu8TNd6vIy7WN9D+/3686WTaiYZjZ4L+j2aaZuIzYUOYQrWHMVH\nxHw3IXUh1t6F9ZBwx3+2xOz5dLnfYSCzjzBrvRpYExrlGkOLgbfAfV7ol7g8\n8s/pBX1ZIgEcizpmbHTl/MvnQrj0sLAjc1uoLwbcCIQlQ7KZbt/ug4wx43QL\nLABx+iJK2M9GJZ3w7wrDUbGCnOPQvZ5cZ/VSvMJ4xMA0hSqJvcfz4DhKFnNI\nogRj\r\n=gLG/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCu27RZiB+Kwgiwukb/DrjUlPNxFqTO8j2MTg+ivH69KAIgbL6fcpqRwcPCWkGaUECRtXle4OZkf/pjfAOo2qJfMK0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.3_1544796607518_0.3948929909607173"},"_hasShrinkwrap":false},"3.2.0-alpha.ebe764b9":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.ebe764b9","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.ebe764b9","@crave/farmblocks-hoc-input":"^5.2.0-alpha.ebe764b9","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.ebe764b9","@crave/farmblocks-input-select":"^3.1.0-alpha.ebe764b9","@crave/farmblocks-input-text":"^3.5.0-alpha.ebe764b9","@crave/farmblocks-theme":"^1.7.0-alpha.ebe764b9","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.ebe764b9","@crave/farmblocks-text":"^3.2.0-alpha.ebe764b9"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.ebe764b9","dist":{"shasum":"ca2aaac0145dda1045a4cf7c59745d867d25e53c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.ebe764b9.tgz","integrity":"sha512-Av9O9IsyTEIDP5c89l0pOBZK8KJWLfuSc8p9kCg68MNCUOBl6D5o8yD6KOKU5fhCUXTzcvwR257ax2BCix3D3w==","fileCount":15,"unpackedSize":55667,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcE9iDCRA9TVsSAnZWagAAotcP+wVCTlnm3LCmAfFCuoEM\n9YxPpxQebJ3NA47RQCPqzwYNQ5rrg5eK4cy0aMS0xApr8rs85pShZ7PkTBF1\ntzCGa2pEJd7VrMj9xP6Aa4u+L0YuI9kJIKXGnrG/6DG0QlrlR1fyw1IugTAc\nPxYxILWPiRyIkTX7oqQNJ7tYNgWOYC9N3I6xatOR4rGmbsP16CH+6PIS9AAZ\nP/NKNVtUQpXiASxk7nSLizyIR+OsaXdAiKX8M3yma5XIJbgqlw1dops1h8Yr\ntqkX961pFloT4wVZbJvfChg2wHyT4JVfoi2nlyO3uGpbtMeMKLNanp3YJsN5\nukl7r4Re71ZaxYhfNCdnJr8k3UVCgdnU+n+k2AD6BNhyJoBn/CTW7UUlpYcM\n1Dr0wIc1qKqSRATMMZyXYmR0wj4nnQoDo6wKwwlS26oWJrVvgJZ+ARx9l3Up\n34G8pZ0UUg9RsBKRj1sz4Ow0ixHnLcl7bBLVBqvBX4mdbddGAA9es4WzQGnI\np9OOY5XJUUl4/8YMt5f4WtrPJGtbijZ3VxsCNF7WhryZYpuYGq4fWUUppLll\nttZmE6UC+xFgE+sAC1EHXFiJL0T1qVX9PIcoGZ9hMUk2OBPe2Qg72nlhl3FR\nlmc8y660amDgOuukk8xgcsFQtj3SW3fh06WNiYtojyxWWG3WTNwfNHZDGOz/\nuxpP\r\n=I+tX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCcafOf4eMpbmfC6Zk6bjQuIeSmk0Lcecf/gzSzOsPADQIhALClY32pv6P+wHqikR7Tt9O6hNJQ27fMN8pwOIPIWDJt"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.ebe764b9_1544804482865_0.800975510164655"},"_hasShrinkwrap":false},"3.2.0-alpha.d9cb31b4":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.d9cb31b4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.d9cb31b4","@crave/farmblocks-hoc-input":"^5.2.0-alpha.d9cb31b4","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.d9cb31b4","@crave/farmblocks-input-select":"^3.1.0-alpha.d9cb31b4","@crave/farmblocks-input-text":"^3.5.0-alpha.d9cb31b4","@crave/farmblocks-theme":"^1.7.0-alpha.d9cb31b4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.d9cb31b4","@crave/farmblocks-text":"^3.2.0-alpha.d9cb31b4"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.d9cb31b4","dist":{"shasum":"dacd5fccdfc50a1f45b4b954e181cdf083af73c0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.d9cb31b4.tgz","integrity":"sha512-uBY5nD+t0eGX8vc/+IM1EGSAUxQUSZebksVxk/CznyQ7qZ6+ax4OfhC87sEME3d7ibTAMSMt1srFM0qJaLS/Kw==","fileCount":15,"unpackedSize":55667,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcF30hCRA9TVsSAnZWagAAFCkP/2PKqKbUZu9yZO3lmJFJ\n1XKEsA2FtmxsRLI4gaOb5YQZKFgEuYRDadGJ/32OeOsnCbkQHkL/yrnBETui\nW+fHwWsZJUjLisJw7uxD+tvXFbJ5jN4/DomKnPBbZIcaBr/JV0BIcSeXtyBa\n7Pq81wCHA3vbJefxPXaDyyp0HT7uux+11FdnAAFDE5c+77wxKkl8dop/mjKQ\n2/R0VHKlxEmUsbrhYqmstbwZrF2biq5SP6at+WcrFWti5ao4LbESRHDB3kK6\nO2wbDW981w3sVyLinX3opDhpxzZZhUlGt4I5KoPosPJ45fGCixMoUeQ3i3zw\n6Vtf4p8JuqyzjkojIsAFwunAKez0e9P2v0FgwVDQuJsokHI3k4GdkNk8pEcb\nJR4eV5nn1gc03Zr/3whXKvwXt4EkJB4LKKI/IqQUQG5r/odjOLd+MrY2CxmU\neot+VT0i3A5I/7mN6FKsBqqV1foZ3fKkLiJ0LvmVL7YryBQ/EbkO3wbj0UZ8\nzQUYpTJ8dvN8uu4a0+e1aH80CkfpeGJ1hj3mYNTvVF1h2VgY/dklktOCfae6\nXt0hR5TjFCc7x+WV0ThPj5ElIR/tn3Hbxw/0vzZIPseB0uhfka6tH6prdWvh\n/iOnsgLfZyV5I7QCWr8mFcrSbuxQo0i5e8IlRGQdo6XtO9RwxM+3OhD9ybAy\n/icg\r\n=Fkxs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBG2YI9BdmGjyC5jjEozjlubg8itkJ3pFcEtjM9MlhJTAiBjh12MShGbZAzFMM0BcTADWjuYQ3AciWKcArHQ/VUlZg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.d9cb31b4_1545043232723_0.7263193656226108"},"_hasShrinkwrap":false},"3.1.4":{"name":"@crave/farmblocks-search-field","version":"3.1.4","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.9","@crave/farmblocks-hoc-input":"^5.1.1","@crave/farmblocks-hoc-validation-messages":"^2.0.3","@crave/farmblocks-input-select":"^3.0.10","@crave/farmblocks-input-text":"^3.4.7","@crave/farmblocks-theme":"^1.6.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.3","@crave/farmblocks-text":"^3.1.1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.4","dist":{"shasum":"df3fb276d2a0c79e866e17fafa4356e659d599fa","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.4.tgz","integrity":"sha512-KmIsNBYr6AMfxkfqRYNAKXvZI8Ph+IMIty+LqLRfMQ3EE4gakJrwJxSUgxqwn3uNpPJr5RFAweQoLLivdRhE7g==","fileCount":15,"unpackedSize":55489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcF/EYCRA9TVsSAnZWagAAxFIP/3Cf1nnDjICn7V5lQhHt\nvkdbSWCRYOACAjxmprAU/XNk1B5sLWLHai3wS9za+lOQJQwNsGeuNFOpwCEG\nJ3z5Id5C8uizAE0YAqesJPPWbuPS1A4BXQFqrqBX6oV8dGKVUGfyD5miCg52\nHRWEdCidtQmMfDm/VD+cbQTTZHiVdJL+Mxl1O7gy0ru6FQIgdDs0gOUob+TT\nucQ1lJrSn0uB5uXzNy4EnFDokCDHL775/G1ITEJQmn36dLzQ3gY8blppbkWC\ndjDIGntaiys+3NSIagE80/iBb2s6CAK1v7ZEJ7uv5JDZJje4zBf/3uVp6P3h\nlUJ1Q0gZiPvPYMF72Be9jIFn/rNxp+fuf8LtNlNOTk45RyE9wgj2oVv+VYOx\n/63RvZhV3E/70Tw3rX/QZo4J2PAPxzfSb6Y+iTiLQK7/g6/9sO6l1HvyhqW8\nqWoZsRLgdPEEpmDetovRbVT/tYqI3VceRkkwx6AgqQGFZ4Cwc4GAqDZ4+ZII\nvEy1An4mK4VydnHI+6RRwodDqCYYFluNvmhUGHb269lcDfyCkrM++M9mk64s\neuHZcXHb76wOSj35PPBAgHLYwSgiWZFVjkK43ybyEmW7FMsyM+xtCPQAqeN+\nHh/TRk2OB4EtQNl6jof1tgSBEEWGEZYVO1FLfhZcsh8JfIbZ1UpdotxvE7LP\nOUBe\r\n=1Z93\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEu5LwMNiTHBmiP577j+3PjQgs6WX+XZI/+cvDi9f7C5AiB8uAfflC2azxELjS7F4IRiuSXeEAM846v1jFGn31rqoA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.4_1545072919866_0.5648782655945226"},"_hasShrinkwrap":false},"3.2.0-alpha.09169fcc":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.09169fcc","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.09169fcc","@crave/farmblocks-hoc-input":"^5.2.0-alpha.09169fcc","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.09169fcc","@crave/farmblocks-input-select":"^3.1.0-alpha.09169fcc","@crave/farmblocks-input-text":"^3.5.0-alpha.09169fcc","@crave/farmblocks-theme":"^1.7.0-alpha.09169fcc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.09169fcc","@crave/farmblocks-text":"^3.2.0-alpha.09169fcc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.09169fcc","dist":{"shasum":"a8c27acf5e3b0911113dd24dfc16f847b1d97475","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.09169fcc.tgz","integrity":"sha512-EQPaQLUcMdEoZfjGvt2rmVBBk7attVUMsXqicMgJI71XhWbZGq1cltMjLkWbh2f4rXl9rl0A9kOSxPZ9McMHKA==","fileCount":15,"unpackedSize":55877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGD52CRA9TVsSAnZWagAAmckP/icNIRi5i2MUp02k5qTA\nbN1L65+YMddJ5t/qDJ/13MWB8fmYsp/OhwN9MLBHwc33aGOYK5dcq4kGboy6\ntPX3/ZXrNmOS5TZDEMdEbmR9e2tgOxiWd55iXuMgwHZXa2KWtXIs9HqqQPY9\ni4EkfgYSsaa+LyEz3KoQbv8DPt6BDxgKlvSCx20B/o/dk88GiT+rYPpDV9Yf\ntV3rNypgpr8KnMJQQ/mzBL01wAEzFY/YVTMCW65eSPDlD84w9RnHXAf6SFWG\nAaoaZdSJ/3jUUCSdn6IRliRJoqSW8ubAqDdcNgVc78F6Qz0pqVLZyF5aGVDT\nK/gkM36JtwLpik7hzwwL4Y+23dDZ2GLsJXIeVswd9CGyi/89vsg8YZ4wMHwK\n7olU3VTRJCQWUpsML7NzExVlN/dJtu9MPVP/xJjQkSqdrEx2RCmvGx12DcUz\nqitcAvViW8OS548XwrbYR3NqXMzPMFSdsPWHtBWr8sn7G4IyV1GVuT32IP6+\nh6UVnAK/UriBUKpyefrY+F6BY6wIRUG7N7uzyBDvDIipNSl5/W7N0so3bxx7\nQUDjQaZa1MEF52l7q4DMVDMkKMYuahq+AYSUzKBy9Y9vRSQFBofBI9APNfFc\n8r2nuEVfU62TlsW3wdUjU42Wz6v33/u39OG+ksOgNyByDcSzV87fen6IX4G/\ndGkf\r\n=FM9d\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIENsB96iZfk9WLTQVh6Z1uWDXksPKEfYn/bQOT7xv1YqAiBnhJUVETWJjMXY9Ik+5NSTuNEVURJt2t/XLBwxMd2Ytw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.09169fcc_1545092724607_0.7599868403060595"},"_hasShrinkwrap":false},"3.2.0-alpha.a3d90946":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.a3d90946","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.a3d90946","@crave/farmblocks-hoc-input":"^5.2.0-alpha.a3d90946","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.a3d90946","@crave/farmblocks-input-select":"^3.1.0-alpha.a3d90946","@crave/farmblocks-input-text":"^3.5.0-alpha.a3d90946","@crave/farmblocks-theme":"^1.7.0-alpha.a3d90946","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.a3d90946","@crave/farmblocks-text":"^3.2.0-alpha.a3d90946"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.a3d90946","dist":{"shasum":"941af1436718814f2f2a1a383aeab00d109768cc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.a3d90946.tgz","integrity":"sha512-B+vHruyhYu+751drnCs7aowvb9OLqdb/oseD44e1ayvCU7Jcqt58tJtdQyLhEj/pP9wj9D3EVP0HD/TH0vtXMw==","fileCount":15,"unpackedSize":55913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGOfpCRA9TVsSAnZWagAAXm8QAIU+/F8w7zrRe76MqsVJ\nsVE/Qs0E6DaBJfFZS7qY8fvXLLBHi04qtRz+xNbZQj0Y3qYt4nLqG8/c+kzX\nrkFFsPHyMluJAnvei/BnJHwi1rA59b8XdfiYTL1JDP3B33YK7VYIO3Pij9xC\nwHz9n196YTnaYkjjUgDbX8SxNx4valaxednS90Qz5vzJz4vtMlIaX0kBB/cP\nizm9cv9Z4MK/6zbbaFB8hsevvvnU22QSQ/LdXKS6KKig/UKf0WpMXYJPCjhb\nLD0LPCadQ5EJqJaQEgc8GPN9WoESv0aq3IlccYtl/DSEdvrCsGlZyu8cWU+E\nwbXWsA6PaTR0ZKCDGcOLISDV1Br+Bt0ulEp4sknghbgS7N9bUmQ0nc24/CkJ\nZcaNYOu7cNSMA3kgytzDa82vTaHcFXe4L5LEDwsbuyH8gKyPoYmy6eyjpV3v\nbweS1e30VoY4NKOKv3mgHBPZFNOXLz5Y1eUJ/1khT96gkVzdkGVwS4hNmRtz\n3CNst55gA5cOm/eqXWvQp/H18kAEceLJKxa7XsugIfqxYhmHcL0Y0t70/Cf/\n3XzME5Ag/ppThHPQaE5R7tAbiznvBm+U5QjdmnBy9rsrknvEBMEQPmqwWhDH\nA/nKvey+TYzMCXznHLBU1pkrJWSwsAXchbw1o/ed+Uj6umZ32eKk51Id8rTg\nv7q/\r\n=kQMa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICl6BAHhpNIt22osd9v+c7QG+jtAy8cmGelO3vFsm0mgAiEAt08mUvPs2UlazHIQt+DqrE/X2OBem2B4SKwpMt5hWzk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.a3d90946_1545136104456_0.39975744638116617"},"_hasShrinkwrap":false},"3.2.0-alpha.2496656c":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.2496656c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.2496656c","@crave/farmblocks-hoc-input":"^5.2.0-alpha.2496656c","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.2496656c","@crave/farmblocks-input-select":"^3.1.0-alpha.2496656c","@crave/farmblocks-input-text":"^3.5.0-alpha.2496656c","@crave/farmblocks-theme":"^1.7.0-alpha.2496656c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.2496656c","@crave/farmblocks-text":"^3.2.0-alpha.2496656c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.2496656c","dist":{"shasum":"049b275b51d2522af30903bd86f18fd1ad878583","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.2496656c.tgz","integrity":"sha512-KFZuWxrFZMLBuiiIDFfdV74DBuzQTOkdN/ehMbEVA9gF93om23uvtYofp5HpEtsCGgKp+Z2hJt1+uSTKpNzGQw==","fileCount":15,"unpackedSize":55913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGTe2CRA9TVsSAnZWagAA7JEP/3XpznPvjn/6kCNVXVkC\newLjr0fgcpOTPXRt+REAmc9pTtDSGCwemMY7LK5Qz02CipgRQb5j6jCUb9if\nKGnjwOTtfDiESxx0qHJ6u5O6dxCxjCWGJRdxcdvDONgCA1LOEX8xfLzbAEwz\nIbOX7CSFTgwvTU8Y9xn5AVbrzCOC+JMd5PilZW2LoV3ImO5tAnBhaqW7onuQ\nR3T0lxmIL5IXqFv7bMnGbsjPmUlbYowKnPKVh794ZZL1gkfrwldEf6GaUY1u\nO6ABdjimgtpkJeEvR4t7DuZ+cth4TjFX91kcIk4L0n9S7oqWkmGBtbHu9Vz3\nabXlikLUT7llM9IYGfaMX7BJWo1ytWfQBFYnbOmXtTGX6jmTPD0ZVxiFNKGM\ndLfYN1LxGElN7z1Fcl1O/ZMAYscnxRqaiZ7aSw7V+xknEf6lvtg5GMBEup5c\n2GulHD3jHLUGvVuD2/JBBe4EwY85te2Ll3uE2PmpsvOIBeh3Jti9zOLKLD8x\ndzZ/yI8CwF8OJ/+r990PyZvklbdkIIYAYiNsvGLGgWp8xspHLPwoa2JHuWua\nZShbDK8Z4o8FVEj2nTZ9mRz6Y2IAeEWUs1a2kWAK6DyLKoVLtnrfnLtmK0AU\njCYXbtKbgA3IKF/zNstN96tIHxj8qnY21gi/Vtn4+maNfLN/iDnL23kE9crQ\nz9kT\r\n=UqEF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDM4yu6htmfsjKYmwf2REvhcWBREUR2b1QE5mQardrs3AiEA/7kjVm0G66VfLB2I2Y+pwexium/P41bTt7bNyPvfFTA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.2496656c_1545156533734_0.6701640296158506"},"_hasShrinkwrap":false},"3.2.0-alpha.8a98f83c":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.8a98f83c","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.8a98f83c","@crave/farmblocks-hoc-input":"^5.2.0-alpha.8a98f83c","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.8a98f83c","@crave/farmblocks-input-select":"^3.1.0-alpha.8a98f83c","@crave/farmblocks-input-text":"^3.5.0-alpha.8a98f83c","@crave/farmblocks-theme":"^1.7.0-alpha.8a98f83c","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.8a98f83c","@crave/farmblocks-text":"^3.2.0-alpha.8a98f83c"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.8a98f83c","dist":{"shasum":"3b9eb5909208a6182dec73d1642207fde262170e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.8a98f83c.tgz","integrity":"sha512-jS+r1WprnYAK+AIGhNUQfyPBxU32DfwLYoMhlrvF5qanXCOkvvyAL4XkWa34Q8o6TIAxM8CBMJSnEs4ryq36qA==","fileCount":15,"unpackedSize":55913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGnH6CRA9TVsSAnZWagAAFS8QAICQn7Q34/6to4jpuLsH\nFmMg2JI1kcrNCkm9nUzcGVqZ/EhS3fwDFKfZw7cWszvwmK8wOzJd26IiB/2v\nG/rmwx0pdhIL34GjlbJ/g6SWPCskHGgiaQvmn9seZuzBeWMgGJ4m6XH1AKNL\n2FFTr4pB7jwbgaP7bKGoGxgF0YA6yxrfUDjofvKYAlVrPal029B8Cv7q1y8I\nRyVwgy5s1d4GpUKhNvbEGCgMH5/zzMVSczU6ltVrYOCMHhv59n3RwOSLnETj\nFdRIVVNdKrNvFTcr+t/JtlQ2iFbZdolcTET4FO2vfjO7XjI81F7Lvd4FZtTs\nzrPKVLPdi40hAzFeulAxlNRVnbNeRv9xx6NGcZL2z7ExzFvqdG46P0WFvdIA\nuXTTEjOYp5awIt4Sp3tqhfVIQd8XeIIBLZM7dY+QEJjEmLm3EFTG/9YnACub\nFtCAu/qUU9otlj0cyjYHGPSg1clgAikhNHGWZXbcqWCh+Gx6Nbjo1tuDmiYN\npsJYHdidWjCIUE6I6+7LiLuaI9e7dhBlanp6TIpTo5lpQ2+Zsgw6XTmSxEFN\nB/P5YDy8yMOOnPvrtLG3j/V9Yabp3BZx1U9zv2UHSfR9W1HZZD4ckLsfG2Yv\nRyI49SDEDs3nuGWX6mUzJ4qQHmj+yN4AVlaJhRn+FLcrICANR/83gP1oQNfR\n3Wqo\r\n=+f9N\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDZhD3nSos1W68uQdURujku6h1oYvEJ5QefECmvT8JZ/AIhAJjTxyMQbfHVF8ngd/xGWKMuJzKMHXAjdR3CXCpLtMtb"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.8a98f83c_1545236986175_0.5056294308559399"},"_hasShrinkwrap":false},"3.2.0-alpha.7325588e":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.7325588e","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.7325588e","@crave/farmblocks-hoc-input":"^5.2.0-alpha.7325588e","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.7325588e","@crave/farmblocks-input-select":"^3.1.0-alpha.7325588e","@crave/farmblocks-input-text":"^3.5.0-alpha.7325588e","@crave/farmblocks-theme":"^1.7.0-alpha.7325588e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.7325588e","@crave/farmblocks-text":"^3.2.0-alpha.7325588e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.7325588e","dist":{"shasum":"eb1de5c265b10b5bb590158c9423c77dbb550207","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.7325588e.tgz","integrity":"sha512-JWJgn8Q8r7F0uZ8g9GTY4DkrIqpzZExVc8jJACJPbtkeo5fERzbkw/msTQjuTjyHkR+Uq2bQHknePPPxN67sTg==","fileCount":15,"unpackedSize":55913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcGw3LCRA9TVsSAnZWagAAEZYQAIuRcbRdAV6SWNHKJi22\nLK3J1My1XgCfMr0uMPfJnlyKojs/vJu+5cUmqV2bT/kLbSQYb4v4O7zlOpZt\njd2u6knmX8V98zRNrGAKTsL10/And2mxhIC1aJ2B3fgWCPjgDR0fbq0b2OGM\n5SFcEooR1z5Od/ujBKLHCX9JmznVyE+GjvjvTzcaL4fyaDxqq7KLmJJJG57W\nHq7JIW3Ztf5PRBn6+cMNPjkp+yBHVNaiWe4lrzd2bm31rbrkSBLPIa/Vg5Us\njigvHDYBmSj6VyRPttrmWiXb/QB8h2bfUGpm0ePsA2y/CzfwbK7uY40Y1/qP\n6IKNj0/EOS8v5t1T+28n4g5EhPByC1L3ENuawr4KYbYwXXTGvg8IyDlX2oiX\nd7x7ZpzMGYiVIr3T4jhrPLdLSyyyl508iny4O68lSUB1wQRFpSSTFHPIL1CN\nBVQSbLhTbN7OroxcdkB1rruCANWa5t+FWOFv3U6VSb06HsA7iUqeraY9Ya4x\nVuutJNrRq8vtLwK4WOvfDfDSNhaYdFkOsnPdW6G6R11w1IOjXJ7OxvuUgtxP\nCyBHWjqPa7h4vmzAIBFDnJj50sKlCahEizDL5h7UX7Is0vujHrX5Fefu84n6\nnR5ph/fE7QhzwikHnjD6s5sWdsCESxYmDZkRid1WARMesufnj8vGrgDWag8a\nDaS2\r\n=oJp4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtJmgTLFiI/P/doJrQ4QMjaTnZk3xkbyEgpd71sjvB5gIhALKWULttjVXUGoP3dlilcPZhSpn+OWPkOdOJS/183ODk"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.7325588e_1545276874495_0.410884803822827"},"_hasShrinkwrap":false},"3.2.0-alpha.4a16a3c2":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.4a16a3c2","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.4a16a3c2","@crave/farmblocks-hoc-input":"^5.2.0-alpha.4a16a3c2","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.4a16a3c2","@crave/farmblocks-input-select":"^3.1.0-alpha.4a16a3c2","@crave/farmblocks-input-text":"^3.5.0-alpha.4a16a3c2","@crave/farmblocks-theme":"^1.7.0-alpha.4a16a3c2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.4a16a3c2","@crave/farmblocks-text":"^3.2.0-alpha.4a16a3c2"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.4a16a3c2","dist":{"shasum":"cf4b54d2ab328bfa58f594cdd995990742d575c1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.4a16a3c2.tgz","integrity":"sha512-P7Vw3O/Y3YOlfUNKd0Xq/zxAUh+Kv+vKeFL+End5idhEYGZtTwXhsboeoCdQkY8NlmV0W+wLmePlBk5gOvInUg==","fileCount":15,"unpackedSize":55913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcG7lKCRA9TVsSAnZWagAA1vsP/1j0vBvTrxrTj7VmfpbQ\nN6UAaSdAWQQguS3UeEXmu86NWh5brF1is+W8evdj/ElDEvmIWxsqWMN2fuDs\nysXPJDpouTtALaw89S1GIBJwi3qlTxsi8qURCJNS48iOw2YJmJlOfZejhmDz\n2hM3cw1lFfurF/WSG1NfNp+VzPFhajVilQnFFJ0tT6rU35JfwTAMvhetV+iZ\n5bs0+VwwrKG5lrBoLMBWEB4jWx6u+f1kgUq+qCbExW/23QQZO/Z7zNp+3WQh\nedvLyQFy1WuC/FIgB/a/qtuOiqoLc/Iyxvx4GHw9ngPbAbVisP+1DvXhUFJ9\noPtIAUB3HNYt4cGRldEts9hB2HKA2H/7H5rRYQhAN/3mZabySh1fFbw+VEGz\n4ueQqrg+ccBEuwVIk+7O/ZnCuQKtcMsyan6s1R8Pcv3Ho6k38zeWGqA1tKqk\n0Ll/YRCh6qsoMsFOyIH3hXqwhFcKWJpZh0Pfe+LZOBEaCRSpQP967ExCx2h3\nsgyx9MuXWzLLVRHm7RwiqoHrMtXqtTypXC5zmYQH8SXtPUde48yuRzOLnR9M\nanzj8USlj4WMXPFmYSCOz69N2LtZbTO6KlhvJJxF3jDx8V1or3Xf1aYKprcF\nPsWW8+KdXMDB62FV6agdS4PHvRKywv+EZFvmjokSMGSHoQ+6HhqnHZe8ym+Z\nlbfT\r\n=m3in\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnYrZ2I33DLOKs/oJlT5oHOS4GBdtlCF07pF+VzbDvxgIhAIMwU0lRbd4nmAtJg4cRY0uS8b1nJm98tolaiFnw47f2"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.4a16a3c2_1545320778048_0.4232840754415139"},"_hasShrinkwrap":false},"3.2.0-alpha.b4f9d325":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.b4f9d325","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.b4f9d325","@crave/farmblocks-hoc-input":"^5.2.0-alpha.b4f9d325","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.b4f9d325","@crave/farmblocks-input-select":"^3.1.0-alpha.b4f9d325","@crave/farmblocks-input-text":"^3.5.0-alpha.b4f9d325","@crave/farmblocks-theme":"^1.7.0-alpha.b4f9d325","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.b4f9d325","@crave/farmblocks-text":"^3.2.0-alpha.b4f9d325"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.b4f9d325","dist":{"shasum":"cd5cf996acaf079f16889c2ad4451111d4bccb12","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.b4f9d325.tgz","integrity":"sha512-6ogg0/G+qJXshid+drta6PC3oDLR1CmU/qdLvYliHtlxHFuTNgw7/HBUtf9a/WGyJhZR1euJTqRyAhhQv6vWRg==","fileCount":15,"unpackedSize":55913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcI217CRA9TVsSAnZWagAABdoP/3ALgtERFmxHuaTr2ywz\nZh8F7C6bTeuji7oHMQNbFv8jNBqd1O3JS9Eg3v1yBZl/Ld82d+xmh2ti58HD\ng+dFR8+wJe4eIWZanOlL0C0BnGIW3pJGNICnhBoJijBWwcEWhrqz5SdQo8cP\nEjdnoJAZtGBcP6aRYqvkYwRWRWMQY2jvv0HeOf8vMSyty1BF6peDsEaEHanB\nbLzPNQHMt0m2R310EGKfXuawuZI8SNB+GuucrtiOj8ogQLNZx73KdncD3y8p\ngEgBPMz6aY7XQcKTHuB/uqOGLYpHHLr9+5k4/4tzOTQLpnK3A9JEu024+/lT\nbCbkyZLpQKt4odm7A4n83wPiTJ6IytgEi57ob3mISN8aynicXsVCdNXsJl2N\nnvR4qeoY7oMRGJenZtmIiQIWjFfc/XiRNbTsdYauwdSpE058i0eXkL9rZex5\nvHHDU/r57u9bt8D4UrMGy55skHqXZivkFCVilDaRvIKPsS+1l3tA1+JxQhCB\nWkZlfjLJP8pjVUx3QWTHIFEwMDLRaRstOjCoKvpt2A2PZuwWhIA1Mdih65w7\n5TBYXKvdi3g5qzAbLGY7VonMZqQcaVgJbXfJ0GLbsXlPMRZsEsnL0Pef4dnd\n9n/DWjKKZfKBDDOYy/V3fWUjJMixjSO0R9W2s7KNG4TzxmLk/jw/PB/qmXCL\nNUY0\r\n=+a2A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/rurtRsfyLsyV4IFIbEPnTk91JQZSn4Fjfc48mqNOmAiEAhTM09lTYhRADzkaeuv4CVxzT0RvVDN1820rgCHsM8ZM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.b4f9d325_1545825658563_0.545178372960206"},"_hasShrinkwrap":false},"3.2.0-alpha.7c5cc223":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.7c5cc223","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.7c5cc223","@crave/farmblocks-hoc-input":"^5.2.0-alpha.7c5cc223","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.7c5cc223","@crave/farmblocks-input-select":"^3.1.0-alpha.7c5cc223","@crave/farmblocks-input-text":"^3.5.0-alpha.7c5cc223","@crave/farmblocks-theme":"^1.7.0-alpha.7c5cc223","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.7c5cc223","@crave/farmblocks-text":"^3.2.0-alpha.7c5cc223"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.7c5cc223","dist":{"shasum":"517851d1edfab2de3298f32907ef19c73fc41750","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.7c5cc223.tgz","integrity":"sha512-ERsMZMrskAh+8r6N93i/a0csKH9K4marl1hPxv5M6sKIJNSeVbf9I2ZyYSNbokSi1Bw2P6d9SZITvFpCsDTLhQ==","fileCount":15,"unpackedSize":55913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcI4GTCRA9TVsSAnZWagAAfh8P/i2MPLTGeB66zdUqcq1Q\nsj3QsyWJiNlg6lIV3PNV0tnicgL5EFPGF2QM1DOGy6vYrIC9hRT2laLDqQR/\nJ3EkrKMrWwGPLeTQpXuxU6TEG4hdwdIk0Fh+PBl5Z7zdz60E+tw+VIkZgurt\nGxeK49dX41ZrSZv4DebSb1lHGmgHOqD9R5yYjCodz5zZM3ERkWFBx4xKOTEa\nlx6u2J1g2ZRzVdWUoy1DHhY4D/PlU9iIQEvttQzx46NyMqzoBg8OJUP00EW6\nfi5uhfLCQDjgrgTVVr76Ov/hVPhEfQd9bWbGOc4t23IfqY0lZjB8lgOmCZsu\nttSAGaJ/MFYG6IhxT45bWdN7pMKtXmCkom0ufrT1JZjUuqWnYDUkbWns47Eo\nKQMLJMkmfoflmnhpUEN1WgpxXC+seMArEVg+aRPceEEj29gZmkXiQEM1bkaC\nN4BVpePBSc8i/lol8MLG8qowVwSHopqyXm6GwAmH1UE6wSGu1bv08p5YY1pD\nrUEamMNtss+g+27D05EoaiqbdFYR5P6qK+hSHSbBhx83Rz3msg0hiNSkFZWt\nKARfmn1pj8MqYxo2SxIHx1lQZ63W0tiSoYV0uvy5xuVcI1CByUcke8RHc5j7\nTgn1cwqGWw+katdS7UF8Pfb0EWTDtcV5UTqLkfh4GtSuNOZDeL65JJUyXX8Q\nc3ke\r\n=r/TH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGDbyYK60TZm0t49QV7erHfCQqI2wTEi0iHZUG3TKBKrAiARykY4+hmCUjZLA/aPFs2qAZAdPv0SvsnI2hLzaKIAZQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.7c5cc223_1545830803175_0.3153568275361054"},"_hasShrinkwrap":false},"3.2.0-alpha.198f2331":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.198f2331","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.198f2331","@crave/farmblocks-hoc-input":"^5.2.0-alpha.198f2331","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.198f2331","@crave/farmblocks-input-select":"^3.1.0-alpha.198f2331","@crave/farmblocks-input-text":"^3.5.0-alpha.198f2331","@crave/farmblocks-theme":"^1.7.0-alpha.198f2331","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.198f2331","@crave/farmblocks-text":"^3.2.0-alpha.198f2331"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.198f2331","dist":{"shasum":"9ca7814fa8a882b44e6f032dff1d02c8e98ccabb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.198f2331.tgz","integrity":"sha512-OTHF9S5goWZ5vwxATtRPGfH/BANEkt9wNG+SlZckwCtuClfQUkKKRIdtUxKHIKVzgw+yYve9N90sB1WEn7TFIA==","fileCount":15,"unpackedSize":56181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJM8KCRA9TVsSAnZWagAAJwkP+gIPh8tHjSgJaWmNnJ6J\n7rT5r7dcLPjXgZi+zci/yULnj64qvWjvMC3uf4N1Nh/efrD6b3jg+5Rsv1Df\npbONVXtyv4qpMe0e6jT21+X7BFkaGWQhCEUcI2lHQMvyfp5SgcY5GCxwHmbq\nB+M4cQrQVp3uCObeuCDTHSsI1URzqA4Jf56ydkAvsOzDE4MpWG9ropOTTgBi\n0QQOzWq/7yOL3GZZwr3vbFdA22zN8EDiOm01y1EBM61d/kgabpRg0d46ln8P\ngaKKZHU6NDWzA37+MUym8eNSzpwQYiulm5bJEWHTTV+SoOS0grwqZKR5Xw6U\nnYKeg/WaS0OjwiRNuUo0+DoRRqibVwf5MiMhPaWAP7kB1YbBGJElMyGA1i+4\nWkga30mLGU+F0b9rs6NuZtEKoTZU87ENdzo5aroHtXgb5l/MI1n5j1SatwvC\nd/WYqW6CeUnkUpuvTRbPluWTCDApwKD7bQfsA+xRjfFBW55sWmFsQC2rcKP5\ndSwyKSw5Bh16J0X35e0kriVcHPila1qn04Awq5F0lM2VVILK5PepGgJLJXtx\nme4u/uiFwSsuTEsltR1tdKeA4Ym/40hK5FU+ghswM5B5C0l3sVx8E6fdsH/U\noz8rHm2GpcEET2V8Zch/1bI9YYFlbAYaqC6sb11rj1M2MWbhRimlV3/R5MN/\nTWZ7\r\n=chuU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWg5BeDmvKOEzAok33d01vT6CYoj5JLm0H/1x46LrGlQIgAK+JQiDKoVzUQdSLwKYIYubLSecnD3hbtXimsYZXjGY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.198f2331_1545916170096_0.9525154852218196"},"_hasShrinkwrap":false},"3.2.0-alpha.20dc0302":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.20dc0302","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.20dc0302","@crave/farmblocks-hoc-input":"^5.2.0-alpha.20dc0302","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.20dc0302","@crave/farmblocks-input-select":"^3.1.0-alpha.20dc0302","@crave/farmblocks-input-text":"^3.5.0-alpha.20dc0302","@crave/farmblocks-theme":"^1.7.0-alpha.20dc0302","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.20dc0302","@crave/farmblocks-text":"^3.2.0-alpha.20dc0302"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.20dc0302","dist":{"shasum":"7c64b3d9c4f984a53baa8c9d7fbeec2b6c087ee3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.20dc0302.tgz","integrity":"sha512-zQyLCNKe3tjqfG+1323B9FEa65SkcFgmDgom/jRHRHK8jAFfbdMRUJCe5eZ+48j+1Pm/MZtmHpwQYBhQqLEuig==","fileCount":15,"unpackedSize":56181,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJN4WCRA9TVsSAnZWagAAV0YP/in+T5Yw8TpqVhvw92M8\nSuKy5FoASyBjBXTEx3Sa8Gcr0miQSbB3LEZ9vWgxJixwkuvXQsE3Qd+6EKqZ\nlNQzJzaUsp6qKpBFyJBbLBXL9OhYSVSCIY4Us0IqoMiSi/airRYP1FMShOjd\nqbdHSc+EJODxe6uYAZjvSOg9aFNj2UlrpHI1D68NDL0EfPKj3uiDIDIMf0Yi\nK8Oa8JlsBvojHmny4O7qUv4rhIodreMiMh0PqHF7So0zJ4uufyiIXld/z3JA\nFYr3+D4vL/sSunTjHu8Kgzq/kZMzPm8cSzmbEGMwE9ad9MONT+0Haa8yDVKm\naU7uoB+bx4uPL9Rxf05VkidBUIQCI5/anfpf8S2USo58pdyD4WmJLhuwNm1n\n80lAOMooz4X58hk3rZMkCDNT2nDVv7FAkzcUID169gigc0qAI6qOvAlk07Z+\nam8yJgFlqaNBnDGwOega9FTQRyVaPH0hPRVUUJeZjWckoHiz5+6XYAvCPtCN\nyfELT0rb8/88y/RN6ZcpShQVpYE3Htw6f4yCYo1kcL1sCgknfubidC8zMpcx\nYTsEYvgkD+J017Rt1V7c2e3YVHjvwCcYptgcIKLxvGHimJymm1TWiO2q4ySm\n5IdAG9ku7qVrozHlLlNCUqumeXdtvL04ItlCgoylSiUS77XOEaDFHlVNukSx\nzqrZ\r\n=lg6K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDsE0a44QbGwgWJNI8O+yql75WZEYnQi4kLIlHMJP5FwAIhAI00mGMlb476AiiNQtKssrx1S1l6WGsBYPHZsYGTMxP1"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.20dc0302_1545920021995_0.2875709800529971"},"_hasShrinkwrap":false},"3.2.0-alpha.5ec96798":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.5ec96798","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.5ec96798","@crave/farmblocks-hoc-input":"^5.2.0-alpha.5ec96798","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.5ec96798","@crave/farmblocks-input-select":"^3.1.0-alpha.5ec96798","@crave/farmblocks-input-text":"^3.5.0-alpha.5ec96798","@crave/farmblocks-theme":"^1.7.0-alpha.5ec96798","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.5ec96798","@crave/farmblocks-text":"^3.2.0-alpha.5ec96798"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.5ec96798","dist":{"shasum":"2745177d7930e11b8bf000e38494d483300c46c4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.5ec96798.tgz","integrity":"sha512-xiuSkcv4c2C8/5DCn+2lBpsUDaDRstnb/Az5Ti1niaraYzMMq4ILdUQt+zuQ6EerwJ+2hh4sGdrLyhnUfOr/Ow==","fileCount":15,"unpackedSize":55913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJdtvCRA9TVsSAnZWagAAujcQAIHg1GNQg6eqMIcpcaG9\nGhgcoNvnN5OoLgaIV5QvIdeWuaRfizX6HwMzcz3Uu4WZjiEhYMrdosGynCgy\nQXCBQpn1u4PZ9+L3QqvOVlLAS5/PdRK2epzrKevT4UEjab1D5YSLLoiCBWog\n3MfdxXvYCmGkSe/3IaYAeAunqVTGq0bI5uPUYy2ftQ7Q1jVWu82IVnwv4Woa\nKiBMJHElbfmtuYLJYVylxpSXzxEd9jo6C/7MGKHKCnzKOGRuO6C95KH0abHx\nzZB8E6XFonuSyXMVxILIyWZlqmlKc/bFbF8B2bFNhlL6jS39/oF+0Uq/qBN3\naxGMk9l2W+Kysf9pXcOvz24265AK7z2J00VREVQSeTc2/XVH1x7xL2l0hNc0\np2kky3W5AGXdnfoiNEohYuGdeGowVPbXgOUokcMTRtabtD4Z1hjMTOq0e2lj\n4XysBoFHvLQQgIbMNskHnc9rcLUcBM1CVF7Vnnu3ZxG5Ijm+YMic1WBcRlT0\nkgo5K/5BaZutKB6OZije2w+0eT9BJjQiODeRZOCzKmfhfKbDHKdijC20VNEG\ntA/GPn+wKLxD6mp233g8nL0hPKHJ7Y6kO6vIk6grEMZtlYPAPrBD3/OSvI5n\nZb5N52UFRiQ+oOBcPf+1d80e5yCsNaXueTDNZFVd4s6bgogKe2wvSllQnxtV\n4Jis\r\n=6di3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIERh7iprzhPRJ/EphgCH1GPYYnXBZIDKXgd4p8IN+X1HAiAF32ebHgC5vjIDAZHlET4oMG3JPKsm0Gya2hA0lBYzkQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.5ec96798_1545984879068_0.32365907577679587"},"_hasShrinkwrap":false},"3.2.0-alpha.3152cff1":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.3152cff1","description":"Search input with results dropdown list","author":{"name":"Crave Food Systems and AUTHORS"},"license":"MIT","main":"lib/index.js","publishConfig":{"access":"public"},"scripts":{"clean":"rm -rf lib","build":"yarn clean && babel src -d lib --ignore '*.test.js,*.story.js'"},"repository":{"type":"git","url":"git+https://github.com/CraveFood/farmblocks.git"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.3152cff1","@crave/farmblocks-hoc-input":"^5.2.0-alpha.3152cff1","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.3152cff1","@crave/farmblocks-input-select":"^3.1.0-alpha.3152cff1","@crave/farmblocks-input-text":"^3.5.0-alpha.3152cff1","@crave/farmblocks-theme":"^1.7.0-alpha.3152cff1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.3152cff1","@crave/farmblocks-text":"^3.2.0-alpha.3152cff1"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.3152cff1","dist":{"shasum":"42638ccdfd32f6d4545b5e85b0eb07fdd0ffbdef","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.3152cff1.tgz","integrity":"sha512-57S+rNJ2wkDwJhpsTAepM4ydsqk4G62X91tzlrHQ+XbvrVIKe3mqS9PaoqW7vkep+/KnAxkkRVn+DeolECim8A==","fileCount":15,"unpackedSize":55913,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcK0gICRA9TVsSAnZWagAAfR0P/1cNLZ01APnDVolqutaG\n3pQB+aWNV+nCQHB67h2jeh2ogzarQo4f5IfhZcp5+YYVxIw8gzT/PxtwLYdg\naMTzFi2Bytb5kvtnC+q6zz6sHiAXMYiHVTtjrFvt/DexI2HXARrh0IwuNYA3\nF5aS110BoaGcr4vuHdie2J5VSzcryJS5uz4D97RS+/HmdMT0H/EOHItqSosU\nxNSsizdW6nOgk2WwPaqsxMjuxYS5KYS5h9ezCt0/hzaYuK7/tik5mcQYftpS\nXlTkqt5Tc2F+E4QZ6uBEszlGU0PYSwaUmnzc/LYsWrAyStcmeDX3LqgZ4Yxb\nTAW5p5fipVnymeRJqQWVPHOgaVFIpJol1LRRUQCloDHFdwLRbN2c+j2nHV1R\nIx9RXPmtLMHhtw1Ctjdy0TPYNfN+zqMLmilQVHX7TWB3JQg9TTRBIE3vDS21\nXP7N4jucUIH2PlMue09CVKnHsE4fmT0iDjm3CmEjDQcPjsL9B8dHiyS2VXjj\n7rnsPs9VzHMf5t4nR622giffu+jF3Ev1cYkbQO5Gj5RX2IvRDgkx4fZyWdBt\n45W75FQs+Jna1gOQdZhRvNEhQ3+ppEkxE6Oxbd8odu8uAOuO2d0DBgH6TO/V\n/LuW32Az80gBpcZ2NcjJP+gcd7SjMN22CQNrUUj6cxX28ffZNIQ79SzJ9CAZ\npMlX\r\n=hMjQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAUSFDf0TOa/hxqfB0eYkRcGX6AHGrsmMghDgFQxUnX4AiEA/bprn95ZH2Z0AEcJoNHs7J6rC7tg4dFXWkt9nzAvWZw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.3152cff1_1546340360081_0.14661607319197745"},"_hasShrinkwrap":false},"3.2.0-alpha.140e89fc":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.140e89fc","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.140e89fc","@crave/farmblocks-hoc-input":"^5.2.0-alpha.140e89fc","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.140e89fc","@crave/farmblocks-input-select":"^3.1.0-alpha.140e89fc","@crave/farmblocks-input-text":"^3.5.0-alpha.140e89fc","@crave/farmblocks-theme":"^1.7.0-alpha.140e89fc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.140e89fc","@crave/farmblocks-text":"^3.2.0-alpha.140e89fc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.140e89fc","dist":{"shasum":"549171a86f0c64826c32cfbea4e70b22ce608296","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.140e89fc.tgz","integrity":"sha512-Ygfsr5y2xZWUd2fHtDbXpBIA/oPRMoQah4PcvPZojbTGMHSqwKNNIpSI85xcdRmI4wfqTuEgPUWauCh0o3/Rwg==","fileCount":15,"unpackedSize":61345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLNRiCRA9TVsSAnZWagAAEwQQAI1RGM7zewcJp3gqqjQK\nFBB26GkQJZJxCoH0HHVF3jIquh9sFAKAXNIB1W+jc7EQYorQpP5jiaa9C6O7\nHlth8W3goqWoysUR2PI7NShBB22Hc3UrBIfJjhbK+tMOKe2JxHxt3xzu5PNd\nz8/cEdDfsDzSTzcEeiYBwjByXfSYzL3HbCvLafkGVuCam+0yjA385dYNO00o\nr7HdtesnVIXgmw0dz8am1geVN4f2qfg4pPhZjWubKS9KjPeoCoq+QBAZnxP7\nluIDR9lsse9Njw4Qu98sFL1YbX1aZR9lyNDtNMDCti4ppITJd0CByzNDxwXf\ntuVoAf1glT6j0yDHUjUeciF1ApzSZs/QqR/pgeN9IIM1BT8PvV1UroONtcOD\nwnAWFPHr3JHM+JzU6h8TyJ1zfB3kWCCYloDuLO7MqIK+Rx/SkRczti/mvwzy\nAmfEVEdjV7nM5PQmjqs6VJmTGZKGBLdiJONQq6bfslf63HzEWzcrB9RVltZo\nMc0+e6CF7O3Sf492mLF4wqAHnBclO6p8UlW+xZ3v2pbEyDizFKe5l7IJLRuL\ny2pdM92dqJ4BI/B+4GalbGTicEZlVWHbw14o7hg3HM5RmjVe0nWIVZaoo/i5\npo7LqGDaE0QVNLw3/RQP5M+r4lNVPSPY6R2F+zXEGzD909Pb82YzJjnbHgYo\nVG6y\r\n=OjhJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFADyaXoeouIkTUS4Wp0gjM0UXCMnT4axj7nwDcWDHOcAiEAmoVHztuPIQ7hI9A0fIGh5u7/3UWvNqCSquVlQo5bb/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-search-field_3.2.0-alpha.140e89fc_1546441825972_0.1513376004895357"},"_hasShrinkwrap":false},"3.2.0-alpha.58cc129e":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.58cc129e","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.58cc129e","@crave/farmblocks-hoc-input":"^5.2.0-alpha.58cc129e","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.58cc129e","@crave/farmblocks-input-select":"^3.1.0-alpha.58cc129e","@crave/farmblocks-input-text":"^3.5.0-alpha.58cc129e","@crave/farmblocks-theme":"^1.7.0-alpha.58cc129e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.58cc129e","@crave/farmblocks-text":"^3.2.0-alpha.58cc129e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.58cc129e","dist":{"shasum":"f9f957efb5f08022d7a5c9450286b59c43169c2b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.58cc129e.tgz","integrity":"sha512-fFgCTPCHWp5icGmRgOeqV/4tX9mhE5KZNox+3/y/eDqZEEz4sQrotXzZq4vU8OWZUQI2BIGU+WpBFN5hRIoPoA==","fileCount":15,"unpackedSize":61345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLRIhCRA9TVsSAnZWagAAj84QAIb+4HE6Bq2xfb5W7p0B\ncqvfkJba1POhO6bkpMVcllQROCtr44V4rmEQCCX/h06V0X2hPkVpLore6XIV\naM9gC3Sb2tpxBVpQ5Pb7zrnLTt1bdVYagWZN6ZyQ2gewUeKWc9QkXzsQyj8D\nlJ1B97hpNsFqHD2SziQp8wF2i677OFnN2UbqHeXWP49bG9ApBg8GMXRasVox\nh2qDhVgWQiDl/ftsvBeW8E20L3ZsmOweGzcp3LL3OzzY5+B01wdH7kFy8qGo\nk4pF1LPUK+D/SKHgmdUHCwAZFhs33Wlp2mU2hUgHdJtWvDWGE+iKcbrDe8CB\nfdfLiuQPtrdxD3AVvsohez1f2DDtB0rT8814Vt1RYvXNPQgFf1ym2JKBsC/l\nd7QlnAgn+KoRaPkst+2KBI3/JqjahLOSsG81R7nLshFEbytelAOVvjjcKmBC\nDIeaRqsVvazyQCuVnths+TyHbhSUxP3fradJQslsQAWBDsVCaSgdxCWcaFbR\nGwoYAai+LQdOP18N1/gshj2nR/APEKGXMSeZCxFFDcPHsHIQE5g5en0fpHxF\ntR6k0Aod0SJdJZFFuxF7fZSV3Cij7RihSsQL10rzzAxtF+sP4vRNEJBl7z4v\nSmQVyyNM4IYHVKbAlRw/tApdzVpxASHsYfl8xktkZt/1FP0Yign+lxPxdOCM\n1H5s\r\n=7np6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFr7sX4ndXYg30QgjfcpbsI7ABKIg8ftnok/7Q6f919yAiEAse+zEoaM6XxdMrMEKbDuxWdgv5k4MmfzoMWcBhnQj/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-search-field_3.2.0-alpha.58cc129e_1546457632475_0.3347936700535372"},"_hasShrinkwrap":false},"3.2.0-alpha.b06c364f":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.b06c364f","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.b06c364f","@crave/farmblocks-hoc-input":"^5.2.0-alpha.b06c364f","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.b06c364f","@crave/farmblocks-input-select":"^3.1.0-alpha.b06c364f","@crave/farmblocks-input-text":"^3.5.0-alpha.b06c364f","@crave/farmblocks-theme":"^1.7.0-alpha.b06c364f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.b06c364f","@crave/farmblocks-text":"^3.2.0-alpha.b06c364f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.b06c364f","dist":{"shasum":"41b8014d6cdcee0d8bb2e5e0e4ba141caf409aca","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.b06c364f.tgz","integrity":"sha512-vUdSBRdm98a6hNZ8B++vw7ie7s5QrlMvacJOnHIlitZljGDE0vcKbLX5dFaGuM9voyskd8YmHZNn4WvMyH/lYw==","fileCount":15,"unpackedSize":61345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLfmLCRA9TVsSAnZWagAA6nQQAJHLclhSH3ZJEi7eTlia\nRdsc0aoa76sk2d7VRL6fWsBcztdmS8QBQ0aDLl5DAe3HeOA49dFSafdUnpaB\nyMiNY+3x/NR9ZUErtslTpdUWUBUhF66FtMRPk4n5qvBWkiEz1c2X9IZT82tW\nCNyF/xv+4hiK6dQo2NMzPTiGGXqOeJj091diiKoCHhRJBX7A69EUHKYMS2dq\nAx7GHU+gJCYJOcs9fuTu5YqP86H15DBhbYoQyoZZCTDO6JLnYFOE0PKZVSaj\nh15DNDv2dP+2eFsHEavcGHzebr9mRjk8lRyffUfeEONZvUEi7yNoSryIBkXH\nj0dfILH6KKCEGjPc/3lg/hgLFCek/lIUqHS+KOlEf2117OO3F1khqopIJS9N\n/Tem1E/p5sZBKFOhc/Hgs2G/gMmPsjU1Wi1hTiRIKMPdrEYLzJ/1qBl+bnXs\nPu87GUY9dph/9DLT4xqz5iBRVD5p5xmIyYGKf0ia+wVgWeL/+5aKfCmZe8tl\n5GufrNWGGtgRVcIKEFUT8YqtkcfTo4F+SZ45pIrGYlReFsNNCBObt9mt3OsC\nYng2ZLhmQwrqYNnp0DvWhNxUVOhJBHL5LCMxB2WRkuMnzoA6u7aFkqYBMIpM\neYqtTw8EO3VGZgtJK5k4gcdPxzffvY1Yc3OpNdP+6JKfeUigvhqo8TgyS1YP\ncoCF\r\n=rZVB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDP3BGCyijx2LPjX/91rwDAeQebWNvjzLjsIgAMlH6YCAIhANy/CkaaDVBuMlgMxEhGoGRHZfUFGaAyaCEtbDItVD4y"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.b06c364f_1546516874793_0.5518829885355037"},"_hasShrinkwrap":false},"3.1.5":{"name":"@crave/farmblocks-search-field","version":"3.1.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.10","@crave/farmblocks-hoc-input":"^5.1.2","@crave/farmblocks-hoc-validation-messages":"^2.0.4","@crave/farmblocks-input-select":"^3.0.11","@crave/farmblocks-input-text":"^3.4.8","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.4","@crave/farmblocks-text":"^3.1.2"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.1.5","dist":{"shasum":"d72119ccb30420476c39068b46107d59627630e6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.5.tgz","integrity":"sha512-6Y44ce1yucfox3FsD168hIk3F7QUgseH1Czqvn2mKe5rLr7MerIYvXovlcdEKB3ZnFHssKtURXtDsEL/kbqieA==","fileCount":15,"unpackedSize":61168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLf2QCRA9TVsSAnZWagAAEQ8P/RZ9c+Fr8dtyPDNcFbbb\njh2vZ9V6VfRrhKKEXEGrKWfXUYXIevkEbVGNdwTosYbbvk5VIpFR0fydXcYF\nssOXmuNRG3GNgia0bg6emEeeT1FML86N/7kbPZ/ugQKAjTqcAGbXAuqfp+45\nCeXQVPuEQoZOKUz4vVWcCBmZpyj9L4XYk/N9tLf6DnGkWwC3SBrAfyj6A0lQ\nZAdwF3DVMkXkBak55SRPNd8QIOom9A6htFw3O7xgW3APvs5JP3v0xSXB27hV\nTU0MAcqGXRU4acDwS259F0R5xDnwf0IbuxTnH+q0YtmOWKLKKADW55eeEIUJ\nhGHLyevyuZtxw6nrF3ddDGacPbaWWPoFHQSI8eZnIztxG7FX99rZfWvWeNqj\nkfE8g+yCm+rovNhPQlOloW87I9HDbHCn495BgO7YTHgZXgT4d5SSvCPBQOq0\n3/GkSW6AcyDJ8bT7mkW8qp5skJCtGJkJPcZOcuCZaVuttr5ZYX+TqldxI244\nnc52+SN5SHAOG1al6QEL2OYClEEck6CEZcKaqW9Fa8SR3FZAonQcld/DPs09\n25v4ElkN39uhkTcvPEqxb1tt112bM+gLt9wsF9++M92w5peq1qXXuB4X/8WF\nAwHn37LnhtgsOKzyqt3D3CSibvRQy1BubrYICqjM9M5sZ+3CS1FUOY69TX6D\nfpeK\r\n=9x+1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3N+hnNCkA8871obvDFgw07jAV3UogNRB5INfHL2unYAIgAslO/LCmvuYVjvfsaVVPsYwgjoxyOaNQT16QGFKqgvY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.5_1546517904089_0.8001990341882337"},"_hasShrinkwrap":false},"3.2.0-alpha.52295049":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.52295049","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.52295049","@crave/farmblocks-hoc-input":"^5.2.0-alpha.52295049","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.52295049","@crave/farmblocks-input-select":"^3.1.0-alpha.52295049","@crave/farmblocks-input-text":"^3.5.0-alpha.52295049","@crave/farmblocks-theme":"^1.7.0-alpha.52295049","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.52295049","@crave/farmblocks-text":"^3.2.0-alpha.52295049"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.52295049","dist":{"shasum":"81acc03beb1f42bfcfd1f9daa1e9d0722cb99d7d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.52295049.tgz","integrity":"sha512-sxLa1fhhGVdIw2fdv2UBeCGNBAXDLQcg3Z/ZPK3uOBIsWOgKcplrUu84IlariTl3lzZU8Z1KwdUCrsLsQoCnWQ==","fileCount":15,"unpackedSize":61591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLgAWCRA9TVsSAnZWagAAeIcP/2IWDc8n2+gzFmO0PJE2\nY92h4IdBGUuRPnAgcBBR6+a2bygKGq9rqdF10HM0LRZJVyy6kzIgjYgLWzYx\nBwwk8zA3i63ctAHeAXTJJuLkUnYfJ9y4YHRO468GgQ/Y4HkC4AsrhO8EIYEM\npo9UhvH/aHlv9b6VcoaAsIkOU5qcsqNXtbY34GnvoocAe7SJshobB025eC9m\nkLY8XLI2l9001MRnRdDYWdyab2O/7CSHWmx8BwMVZTgq5H71+LXa9fXvr2MA\nrsF93g8wWCdfjC1QhGflQs5zPqKeOqwacr4iD73Y8X+FeKNQvWsryy3R5T4E\npHwfLyAb2mHp16NriqTFNt+qb/bSVARpTujhcegI+bh/8quIk4v1NYObP2MD\nPyuAkVI6n+YFnAd3AvYCFnrVidxMhlyDD9zNoxQfy2QZ0dpQ0nP3r/MSawZM\n4Q0ol7OB6D2vQjnj8pvSZxhiPmOAAX2y/nTM0VKCisD9C/7PtzAlu7Y32P88\nFkM1J/Ll6JTF5igkDOl/Rpgp4OMJ1oGJv9FrJra1HrhTCtz0AFVcOby5iV4a\njLefTsf+51L8gQtTWPqrKOm1K2gkSTxIMBB0MRV07JpzUjyqxOb0+jqrY/vr\nokHgJ61lv8N53207CxLbMwsP55WmQfy2rPGL7jOmNsY6xc08lsI98KdrifoU\niY+x\r\n=L8xD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkvjQIvEgJdpqyELgxEa0SehiTiMTZQEhZDDMAfhwTAgIhAO39NRQc+quaftAKJ0EJzsbLXR/smHlbkS01AeAb2yl5"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.52295049_1546518549535_0.7397958698670009"},"_hasShrinkwrap":false},"3.2.0-alpha.ce9dd01e":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.ce9dd01e","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.ce9dd01e","@crave/farmblocks-hoc-input":"^5.2.0-alpha.ce9dd01e","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.ce9dd01e","@crave/farmblocks-input-select":"^3.1.0-alpha.ce9dd01e","@crave/farmblocks-input-text":"^3.5.0-alpha.ce9dd01e","@crave/farmblocks-theme":"^1.7.0-alpha.ce9dd01e","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.ce9dd01e","@crave/farmblocks-text":"^3.2.0-alpha.ce9dd01e"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.ce9dd01e","dist":{"shasum":"fdb939a06d3da1fb9b90b152c5b724b7637d11b6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.ce9dd01e.tgz","integrity":"sha512-cIe+f4t30cbbMd+PsY+zfEzXVQZZsE69cNNjzHGj90aHeKR+AJb8dLRMLGUPJyWgCAm+yOREywC3Mb16mm8TIg==","fileCount":15,"unpackedSize":61591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcLkpfCRA9TVsSAnZWagAA0NsP/0XGrzi2VxyvxIdIxpSA\ndEj3B5eOSCW+j3Qr9DpMwHrefAvTde8bmcAPy6l5FCM5jEqGLvopoPUaRaBN\nRCdite8jbsUpb0P09qaV6xkmCVv8mPMNQu5PY95kGCoPzjaX3AVaUqWq7fIO\nCeTqPRggxPe32BYBBCngHF4Cj0n8cR7zRoDKakXtSUXW3rUjwtRieykumUQD\nA3SGe3Fa2eAINa8BcwJZgZQazxicMFgjwWJPG6vdVsq5sp04G2g/qSsL9aAX\nA5LVWrdwYh/gtqBRkifcpFcc2apn4jB9KiEsqeNaJ4gt1CNnxzk7gyKM45wN\nT4Ezqoopu52i8dN2swyn/2oxZ2lCJ0ikYv8QgiitgZ3fsAJS1ETNZRxt/7bi\nvwruzzbqHw/PPe9ytNXGgWOqMw4ZMZrMFg1h5tH5OoiLM0drsiIuriwhWBoj\n9djehRiDhWWFu0LjRA98xy+C65M8jhLQVzNOVJh2YxGLwOA2gFiU8ldEPzwt\nVbDFUndG7sItxqTFKK/LEzgxfPeLjstYzgChbkt78ADdpI5nBpaCSqxwZ5Oj\nXwWFq0ERFbEHIxrk9AEQg+ZO8rg8bCG5SJLjLYpArPDSVNnchVg3ik+JVEok\n5gTtc0LtFSUS4jWik9E9cgtl2J7qmBfcWajxP/Vdqa7pYT4oZZlLP1R4DMcC\nuYp1\r\n=ISn+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGdxuuazZ4sWXlt6KhcQG52PGOvgN4fDL+bHZZ4umEo8AiEAyeeJTaZzFbloCyaDmpcFfo0CMpqVG+o95+Cdn8ZjPiQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.ce9dd01e_1546537566900_0.8243552233723699"},"_hasShrinkwrap":false},"3.2.0-alpha.9eea1bd7":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.9eea1bd7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.9eea1bd7","@crave/farmblocks-hoc-input":"^5.2.0-alpha.9eea1bd7","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.9eea1bd7","@crave/farmblocks-input-select":"^3.1.0-alpha.9eea1bd7","@crave/farmblocks-input-text":"^3.5.0-alpha.9eea1bd7","@crave/farmblocks-theme":"^1.7.0-alpha.9eea1bd7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.9eea1bd7","@crave/farmblocks-text":"^3.2.0-alpha.9eea1bd7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.9eea1bd7","dist":{"shasum":"8ca9d020e6b2a1dda23dc64b71923b32e367b8cd","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.9eea1bd7.tgz","integrity":"sha512-Utkvlik7S2nOPXJ+tFZ0EH3rLszULb6IJJ2ayGQeXW2f8e/kWQNPNb68fYEm9Adr8newBIxdOfxZ1fZhDJvzaA==","fileCount":15,"unpackedSize":61591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcL3FwCRA9TVsSAnZWagAAoVMP/0aDCsJ4ZR0HoN72ZNKc\nV9N5PiBzJt4PZnPMOh8VisTR1r1sHyiHnbX9wZOteGrOYm9+hytLRBFRuEqi\nZJS3PDVYuSBWvjzwEO6gvia9scbALzuIiapqBIHTHPCYlybfuzfgxy/+5h8b\naCPmJcjdYvwT3FNgosofrQMkBOioZaWmw6E+Zrr/1KZ3FCKze4JgVEpqZSJC\nnmrG20ZBVgMiL8Uf+1X9xf9Wc228HkSXBs/uuZiTi87ZIEbrBjTgdFPHWYQw\nJdwzMWBSt4+0FGkp2W+Ug0yY3AbsZN/jfiSp/KrD4L+lQtskIN6b+tKptxqf\n71zJ0WHP6MCSk85g2DM7T7B/ujvI7qCaXUvh5h+6RxSu5ooKuj9vT0vd0zYF\nnMg+jzKZNJDAexAbxHs0CR3P7Eezd2yxHJJ4Z2+in7JI73PHrhq768g6IWYJ\nC0Tc5o1H0HLnNCbN1d86qX91crmCLfGMyzw6w+/15SDorEUj+MlYlqcf5sF1\nlw45aAu7KF9oBRf3ZfNpznXV7hHOajvWYLi4oFuV/gO8x3kzhgu6v6XOoJys\ntcSrpCtIvXz0TEi6LV2YZDxo3pm9WlpM5MUUeLxJ46UU5sLaYeYW6DGaoMnd\ng04jb2ztJKh2BAhSztEpoasNTCUb/xS2y1Y4opwZIfT32XFY5N+MZrypEhsA\nd6BQ\r\n=8xuF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICuv2eNclQJMPDhFlMkYnQryiSWgh9oSwlLlvhW1mVxZAiEAzYLEui/9LzS0KPgd+jCbNNGtuYQcct1xJfonNbFqwcc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.9eea1bd7_1546613103470_0.7999184131113508"},"_hasShrinkwrap":false},"3.1.6-alpha.9":{"name":"@crave/farmblocks-search-field","version":"3.1.6-alpha.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.11-alpha.9+bf641f0e","@crave/farmblocks-hoc-input":"^5.1.2","@crave/farmblocks-hoc-validation-messages":"^2.0.4","@crave/farmblocks-input-select":"^3.0.12-alpha.9+bf641f0e","@crave/farmblocks-input-text":"^3.4.9-alpha.9+bf641f0e","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.4","@crave/farmblocks-text":"^3.1.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.1.6-alpha.9","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.8.5/node@v10.15.0+x64 (linux)","dist":{"integrity":"sha512-5d0+Aea8S2V/8p4a56JMiPovTKnIKiN88VbE622kWXHud29lvoV5LSXC9+0Cg71n4lG33N022p5m/QHXi6Jk/A==","shasum":"344cc44543b6312cfb89b9ecb983b7baba40afde","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.6-alpha.9.tgz","fileCount":11,"unpackedSize":61293,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM314CRA9TVsSAnZWagAAiWsP/3p3N5wCEwUnAogMz9tC\nK4lXjM8KGdUcSbtX3hhkp6dp8ahTrTiazOzdRIe9R4uECahfjgUD0u1EsN+u\nONRpO53DcGaQPqPi8pqGK6/hc6KfUrwKKP3Lwy2U7CXis5oyPlKMFZ/RnlMF\nqEWGPuv0CPcbbVdVYPQSyBx3YqZb+qqMb8OSaiSQZMg0j3JjcH6QRL259WjN\nD8DOOa8Yx3RcoIvC3Sv1AINgj/+eB6XukReUs8WYU+BL8OeLlDtVlQVxQaWj\nexbghcFffRVfGi31iKj0fDAEcfnUruLhviPveYYdWhI8n3LFRtOs6YOuI58/\nWPgF2+7wx3+ZWPvVhQClxnub8Zm+mRVn860YGlF6dU7EG/+NoTe4lMfiYCYR\nQfImQ6nSu1vYhnslZ7M/u1rGnL0WXFLNTryyqmQkpjZBME/IR5+B4fzgw0CJ\nZlB7axbljejjnc2jsJ/NKPTu5r0TjXZhcJA1/MkU9fF9Qwum4qy7O6gqCHfb\n4g/3Y755M8ZtIx0ba2KFG3quDzrx0gMZ7YDBhXNPndld9C2QDBdxUMLOJXJm\nQFZ0Ed0g7nmOeWTh7MRvKmTvBpiUVmtDHlIPDcwbPFyAVcVBF5rALOYAdXUk\nuDghj7HbzpWR20jlfFGK4/B3b34bewbMz7f1cma7+VkNfH+JCk5BU/CQAFxt\njdXX\r\n=1l/e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEXlL8h99/D1mISGjkDQaMZayIH4VsantriBDe/o0RBqAiEApyzPLZSOIBnAXHbbb0DgkynsTd2jWx/mSZ0GOnBNHrI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.6-alpha.9_1546878327854_0.8971766469551545"},"_hasShrinkwrap":false},"3.2.0-alpha.b56b7743":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.b56b7743","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.b56b7743","@crave/farmblocks-hoc-input":"^5.2.0-alpha.b56b7743","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.b56b7743","@crave/farmblocks-input-select":"^3.1.0-alpha.b56b7743","@crave/farmblocks-input-text":"^3.5.0-alpha.b56b7743","@crave/farmblocks-theme":"^1.7.0-alpha.b56b7743","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.b56b7743","@crave/farmblocks-text":"^3.2.0-alpha.b56b7743"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.b56b7743","dist":{"shasum":"d1abf322c53f5187bda893ff6765f3d9870e9c16","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.b56b7743.tgz","integrity":"sha512-xkJ+NlvQKsgw1mZLxpOhmaLc8bJnZd4rtNhtAILFeIAwWpSVk+R6iOj1RH3R4D6DkM7+kqpWCqBKZT+Avt51yA==","fileCount":15,"unpackedSize":61591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM5POCRA9TVsSAnZWagAAt9kP/05mO44Pk38+Zd9UAxrP\ncKKhjD8tc99Wn/FPaas064v41kt4ByeW10nqKlXCw9UmbHR0zauueaEWk7Ul\n9zobiRlIfHzTBRYVgbsfYdGFoaM9x0ld9S4+XsrkClGEn+pkCmu5Aoz4hjWc\nXEumRr0hmTqOHGAlMkiEfnbFHDDafBHYGWm+5xzAWBr4jj8NykxPK5t+dR+7\niCExXoeGUXkbUC4ZkxWSTarGDC7dI9jCdd9hAm5RhX/FPa8dQ13/YAjk1uzz\nOLTjNKCS/BisJ2GQXpWEl9elSj2pVnHl5D/59dHpVAQZvdWJ0st4xaC7VvQi\nsG+tf5303vj5KUFAn6k05Q/uh4b6qJ/m628cyjzKGpnNvyOJQXL+ia3qEA3n\n8NdIUS07YnEYfjCFEh5cudLXPWNfQQwcdJkCiaDAu6A5H7ciIuObcKW4eiOR\nVDprw6i9JmtsiKs+Iv/TwoYLqxAh2r8eGGS1YdgQdpo96gNwVogtgY0SgsWM\niR9DQMNfbf8gxFCbBraNGmKzeg8tmQCxN5CfsVom2/RFGJIbklqpcYvTD1BV\nHy7BhnLJ/ZNU17xPYM8c+6qufh2sjRcOCkqKut7DXGQAeNB6NorOaVgXRQhi\n+InyD9XFAhZGsAREoImVKMh5U94bi+ZlUXUpO5yARNps/ZpvQcStNcqC7G+T\nktU0\r\n=E3tw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCAx9Ze8zq/7m0l1mKg1mCDkcqGi1DzRCeWN0ZjlG4fWQIhAM7pdKrgItHI5B1B2xmXLnyzPFLINibQfmYdFXxmA/6K"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.b56b7743_1546884046308_0.05359515243722446"},"_hasShrinkwrap":false},"3.2.0-alpha.a89d5ae7":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.a89d5ae7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.a89d5ae7","@crave/farmblocks-hoc-input":"^5.2.0-alpha.a89d5ae7","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.a89d5ae7","@crave/farmblocks-input-select":"^3.1.0-alpha.a89d5ae7","@crave/farmblocks-input-text":"^3.5.0-alpha.a89d5ae7","@crave/farmblocks-theme":"^1.7.0-alpha.a89d5ae7","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.a89d5ae7","@crave/farmblocks-text":"^3.2.0-alpha.a89d5ae7"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.a89d5ae7","dist":{"shasum":"1717029f6fda7533ee463fae0372a6208d9c4514","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.a89d5ae7.tgz","integrity":"sha512-YCahf3tyixLQFHc3/wF/HpArWkiiUOuvhR/rr+hdtNZZ5Fpmz6pW2HDhsq7iF8f5uQUnj6iXPUyT8pBxz3AVJw==","fileCount":15,"unpackedSize":61591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcM5fZCRA9TVsSAnZWagAA+XIP/3P8MZUwXo9kvRkQ8Fne\nOEbqTT+ckCdkSntjeSHtF3ZEnMd8qsi/ZM52wrGtgkl6ZZHh1I6o3cOGMLW0\nSlpbUWp677pDvgx/nCgobQYw2oiYWG04CgSA4zvWBOxtpWRcJl5NXc0GHrmA\n74CshUlFCm/s4O1ggNSgGtywqmMHkChBUvLiTevgfDiMnnjxGtFiE3XgRhzn\nQkyrsIuFg9PMOsFAInpcS2cy1pW9t1QcV428pOVUviafSxyWbRU0ANFI2eT7\n56fe0M4guW6qNMwrGQ4obKKtKj2ojxDuHkCsgb9Rkf2p3qZCkM411eRBzj5X\nZ5/7GSmZ4ncctCSkkRN58ocGw7GDr8ZCDY77NqqyMbso7Y07aG/zUH4p+dQb\nZ0lwqdYZ18jDuTOXTiGKJt34t7s8f6Y3o2atSYOhfgC82LclzjbemY+xW7Yl\nEmiDhrAeMlFN4Nj4iK0mpJCCJTG6O6zivx7mvBxZROLE9Q+63aW+AvlPt4OO\nFWW+H6RZdvs2bGGS/iMuhqI2THyHV97UVs321ux2Ta8j/rqmh7qj3FCZ29Hj\n3027aDx36q25HHhMdR2zXmFPlZ9oEy3FW0lEhaFBL5aWK04XbbNGHWLmhMW/\n/RIDq8EcqqwM2r8jnIcuC2w1xzjT30PYFYPRTk7eiM91pBghWCU0G+DVPdvx\ng0Il\r\n=JNuc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDvRrxP1bVtv24RP/BmmjGB3E+gJwlfo93qhMxQlRrsNAiAFa6qVAPG9G7ogSMhDPto1BGqtMrAA8UKCYpNhIgkT1Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.a89d5ae7_1546885080103_0.8472722078466581"},"_hasShrinkwrap":false},"3.2.0-alpha.d20ca3cc":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.d20ca3cc","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.d20ca3cc","@crave/farmblocks-hoc-input":"^5.2.0-alpha.d20ca3cc","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.d20ca3cc","@crave/farmblocks-input-select":"^3.1.0-alpha.d20ca3cc","@crave/farmblocks-input-text":"^3.5.0-alpha.d20ca3cc","@crave/farmblocks-theme":"^1.7.0-alpha.d20ca3cc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.d20ca3cc","@crave/farmblocks-text":"^3.2.0-alpha.d20ca3cc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.d20ca3cc","dist":{"shasum":"04c2f58196cc7b523a25f9c71bba61f3a545a7b6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.d20ca3cc.tgz","integrity":"sha512-FTrJJ/ji3YbjBET9RYF4Ro67HbBFZvr8hO9GiUgZfgYyBpgDYcLVZeQwqEycQKfjuxmEEGmOyP33/SWuhKsWMQ==","fileCount":15,"unpackedSize":61591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNJ/HCRA9TVsSAnZWagAAkCEP/imOVqTrSsmNywsahLMD\nSi+rQOieZVKw4trxdmKF6O/gUhMAR0/IVNITANkQn5WmD+8Il0AY+f25zeQq\nlyCQ4qkCq8RyyE4CNbwv84DT3pCfIm0QshZBI2DGdrXgxCvvSETI/iWx5RHL\npKseYbpkuEOvYG4fwAZvywDgjpp8Xm7MzfXN/1KHz9AAS0Ot4Boiwfql0/TV\n/QD/4c2PlH/XNNWsv+5ffQNm6b1VQ05MSan+pz+HpjzsKQqrCQ3g6czWeP5Z\neWOnHgj3U5y+VnnxYZwpPD7ji0CDv6v+jibIi4LYrj+El/4sSncw5Vx7UuMt\nYnNlWWV99FslC/Km92DanxTQ2xyN75XvCR/67EaSc42yGLufw/0ay7i75xMS\nP1jJCAK/mNnRL8w7XL1B8/6uifUw3HAf+pzE7JUt0dKzu7kDHv4UKj9f0bcn\nNP2fd1lakU9kLlWCObp4QBg6/KDTEe8lHmQ2IfumwV7QMomUervgAl3yCrhG\nUyv/k3PvDpTGU4Y2mDOfONpJcQIC0uXS2+DtdCCtNMkFNKDpG0zg5OHhjn7E\nWr0CDchmXRayJNE7CWZBpq7C7oa/c5ycJmKiaTTkwRLoicIZWa7cICfZud2S\nct9GnvemLWMpLZPu8wwwijZB3WptIYrw+4qEDEzho27f4nlq6cOVW71ouuXb\n6DJc\r\n=NAgn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDj2ZX65h+kyhtKQc5WpYgjc632gDRN/vArqO7cuZ3sqAiBC2HQD7eSEubXv/yLdOEBKmDxNr4/g3CpNOpHl8DboDg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.d20ca3cc_1546952646529_0.27030443360590617"},"_hasShrinkwrap":false},"3.2.0-alpha.d17918c6":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.d17918c6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.d17918c6","@crave/farmblocks-hoc-input":"^5.2.0-alpha.d17918c6","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.d17918c6","@crave/farmblocks-input-select":"^3.1.0-alpha.d17918c6","@crave/farmblocks-input-text":"^3.5.0-alpha.d17918c6","@crave/farmblocks-theme":"^1.7.0-alpha.d17918c6","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.d17918c6","@crave/farmblocks-text":"^3.2.0-alpha.d17918c6"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.d17918c6","dist":{"shasum":"3d02767036f930809cd43e23386e85746f0ad9d9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.d17918c6.tgz","integrity":"sha512-AhDw66897LN94/UzCQjIJtwz/oZGv2zTxhx+iocIayKRnGkzB0BS07nc25gNdnXi+1/xQYA+9+pE6S2Z6n6T6w==","fileCount":15,"unpackedSize":61591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNNInCRA9TVsSAnZWagAA6iIP/10hM2S4ZPVZuEnQbFyd\nRlJoYB4oq7fwCoIjXaUE2si3+s6Mq8ozuNDwI9HqEjbda82TzQ4ePxI3aAVh\n8leCO7b1W+Q+rqHgS3AbZN3VdTCr0WiIBxS+zi2WgeXR8H1SQH+MWaWk+OBR\nqeFUXcGr0DI/re9j/TurJ7kevYOz1p25r3QCd1rgthG6Zq57rno6xx/RFCq0\nz0KH9/6td0t7peC2dTGURQHWV55nFeo4O87JpLY8zXv0LU9/ddpqSBChooaf\nxIieKFlmsnKeDGlrW/wkDcrXAyoxCa5EXLGbpEFYeC0j9toKpzDgsyNFWczx\nlCL5hK3Ju+OsXg0hyLf/XGvnJM2SQJrSnphMQzBRXdWSxVZiNY6fr9M6du6d\ngbNdXahPcdBccT5Eq0Zq4YSeAWc70XrKSOdbuF0zPqa/ufFNn1oquzBfsI8e\nTjnEsxtctcCNs3leJ7nek+TJB5jZ18aRPgxFBQbrhovM0F/AYmpvCbX8wTUi\nZJ6iaetUHnFmNMokEjk/VDZjdqiSzNpwdKxHkHa361JL67PF0sETTu8SDFiF\nvUcaAeH7q1shsh4uhMA78+UU8uCO+7hfwJsrqSd2YyKd/mUaHhcJK/NeGji9\nua4BpSRfVcAdMzxTjXpfZQaY9uxsXJ+KIehs6aqyXGFsEaqjopXlTyee87zc\nxq0v\r\n=lxhh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE9ADWrDd/pkN1Mc7driBCqu/C/4S0zXDnEDbwxwgYrQAiEA5+6IWRtDb/bzSxn28BlWMXyrZEcj3JmXXnUvDVc4wnU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.d17918c6_1546965543027_0.8898867317189283"},"_hasShrinkwrap":false},"3.2.0-alpha.9772d56f":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.9772d56f","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.9772d56f","@crave/farmblocks-hoc-input":"^5.2.0-alpha.9772d56f","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.9772d56f","@crave/farmblocks-input-select":"^3.1.0-alpha.9772d56f","@crave/farmblocks-input-text":"^3.5.0-alpha.9772d56f","@crave/farmblocks-theme":"^1.7.0-alpha.9772d56f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.9772d56f","@crave/farmblocks-text":"^3.2.0-alpha.9772d56f"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.9772d56f","dist":{"shasum":"f539c3b0c957a2bdfcd1501a6ae513f4577e076c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.9772d56f.tgz","integrity":"sha512-HXdn6ubfoQnq5lMt/jhQwS9tDNIcFsuMcZ8YAyNZMJhf14L6+evJcL9tK9uwNF0sIeFau0jvB25iQeMEvDz8EA==","fileCount":15,"unpackedSize":61591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNaPNCRA9TVsSAnZWagAA+MIP/0sHYtErPIE4W+2nGKU1\nDFeg/SuzE6r+JfD+YCNQemtmmHFsJe34BOeogPGdYAX24t7JnhUzxfzvFCoy\nviNMv5UtNwVyKnntxsW8Po/yTrKk2eCY/tJiqMsKefDfQUAdEOpY5Ib9YFgp\nWn3/mwQiFDA4rTWlNUgYoDf/EjNMqQipGb8BgALkpJuRM04PhiNBG4FiPXPO\nqEjQqrrhKu7Lbe2rmLG6zCFdFsi/XIYSUU+r1nTnCq6We5MDwmbTfi5wwCuE\n3b1CSh5JKrTnGM+OuYWFZALSycmxXNIwYiD2Ui1bPDinvmEM61/IHQCbAd+h\n3eDx1h6Qf/lAQB7Lz5yMZ9RUHpm4ygB65P+pKlsQZaOmmQ9nCs4pahRPQ9fU\nf0vLRc97pKMPzxSdL1zoESWfpWu6dpxJ8vQNRzWbzftIPy2SK6V3fcpykb1U\nxlHDmOIA+TpE4uo4FGFWqYqbDo8i75GVzgpaMFtztj29rcJvp//GuKZRoaiz\nsfpt+eONrzrGa3ap13CIQenyO4BrYDPd+H9PdCr5B50dC7Tb+Ab3/7DGM1lc\npX7/JLQf7kpQNUTxwsHLXVeez27lhcyg/067lJUpBroluvsHcA7Aw7dA3Hfs\n00GpoB88cm9dpphRZhD+rhRwjn5i5JyRSE47KHUCPKAShWL/dtDTd2++kSke\nLOUv\r\n=Yst8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDP9ePCrDPS4c9pbEr1dZKJWYwyXVCjMan0msXKNXHlsQIhAJoqbyQNM8j59iTscQFMLujpFR0SCjJTj0LK2saiVqYM"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.9772d56f_1547019213085_0.6431865903454093"},"_hasShrinkwrap":false},"3.2.0-alpha.46063efc":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.46063efc","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.46063efc","@crave/farmblocks-hoc-input":"^5.2.0-alpha.46063efc","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.46063efc","@crave/farmblocks-input-select":"^3.1.0-alpha.46063efc","@crave/farmblocks-input-text":"^3.5.0-alpha.46063efc","@crave/farmblocks-theme":"^1.7.0-alpha.46063efc","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.46063efc","@crave/farmblocks-text":"^3.2.0-alpha.46063efc"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.46063efc","dist":{"shasum":"0651a60d15dc0c963603314a067e45dd1bca0481","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.46063efc.tgz","integrity":"sha512-2BS9+TjDyiDac5zFkceyGONMQHZ6/gsiV3xB3Bdip27ftIkGu/CqQsqvVQvs0ZIlUGV9DQrfZTQ9zOpOIn1ObA==","fileCount":15,"unpackedSize":61591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNafjCRA9TVsSAnZWagAASf8P/1r5QALp4vXfiNzk4P5i\nvF+DziUv5rELoGIV3zUFRXJ2C8s++i0RE20Gbu/utHCmLymvGvCiLcdO52t7\ngqp47oyrJgNYnGddXYBvTFLlEvstb867lGJ8gOCaGWc+PRuHfLq2MaTRH09Y\nm1YVWrMY6T76bjo8vA8OjEDVk1uCCmQInPeaQNrltrVvoaolrAA+PqjQNyjL\nEjwY12q7vohDZ8dIrkiv5byXN1+a8z3fnLKAKrQz+BqZ+awqhqAkjgsF0WWM\n+/t7QkPw/4OX4aCLtYGyypUx77GskT7b5l9TWcAXnB2AApRd9xAjjWMI0XaO\nSpTcQln5nODaBb5NIUuVAQbk5XTmxkD6GgtMTA1ObdHUSDGhPVqD4G0EGQPa\nCK4N/vw3YYLyJx7I6kGREJm1WF8/4+3L78Xii+x+1UPcJ8jt7RZCxo+c8hJv\nMsPMhDE1W/7kqBacyv0tDeUi4Fm+oX2bWqUfl1N10G3d/QKZTc7DarEwoyX6\n7OTQ48TLnThnUcA6QGEAV29CwAlMSBdgv6onItpQafl1bJdh7gnHSvosQRPb\ntCIh7fThno++cy+7efcwIGTKOCfmScedcqfzeS/8U1S2LnxpLeIKy06e8hXV\naxMl7WPXXkI+rkafHiHTIZR/aoy5D83EkJkfpDxgitK3fMM9gcsD1MMd19i4\nz+Es\r\n=8uyk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDX2GTH1QbsbarbKEZ2f8Ch6tEt2cu9qISkU2UCtwy2UwIgSpfBrV2zMJwHy11+Dolo7QGUGusSXf/zkJNhkai0Qjo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.46063efc_1547020259153_0.8904500231415817"},"_hasShrinkwrap":false},"3.2.0-alpha.e40864c2":{"name":"@crave/farmblocks-search-field","version":"3.2.0-alpha.e40864c2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.6.3","styled-components":"^4.0.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0-alpha.e40864c2","@crave/farmblocks-hoc-input":"^5.2.0-alpha.e40864c2","@crave/farmblocks-hoc-validation-messages":"^2.1.0-alpha.e40864c2","@crave/farmblocks-input-select":"^3.1.0-alpha.e40864c2","@crave/farmblocks-input-text":"^3.5.0-alpha.e40864c2","@crave/farmblocks-theme":"^1.7.0-alpha.e40864c2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0-alpha.e40864c2","@crave/farmblocks-text":"^3.2.0-alpha.e40864c2"},"contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"}],"readmeFilename":"README.md","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","licenseText":"MIT License\n\nCopyright (c) 2017-2018 Crave Food Systems and AUTHORS\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@crave/farmblocks-search-field@3.2.0-alpha.e40864c2","dist":{"shasum":"87a89308bcfd8b57b4b38c57f8f983e2b9d46d5a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0-alpha.e40864c2.tgz","integrity":"sha512-WU+W1lWeMwk9kzdTJOhBObogMAsP22HFT3FFTk0uU/1OvFtxh8W1MWhZMXQo9tbmADEs45TZ7l8Wrnu5SvQFXw==","fileCount":15,"unpackedSize":61591,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcNbEPCRA9TVsSAnZWagAA0C8P/0HV4Ee81MUpqIYwQ1OT\nzpbEIxN27R8QvLKRM7PwEnFGoo3hqvLFCEpuWWKUQoUjQfGvAerdQ9jChiqm\nk8iEF7hoGtJIOn0z8YGncK4u325rsHIYzxLx6BpwD1pdaLryJfU/O4bR/vd8\n76yJZu9cYZCnVDuDJsSZHjegRMGOIqxMusmsisaWPcq1u7vqKfnrBSww0AlZ\nC6j+W5M9W5O4U+nvgReIeYWrhdKZoKIyBN24v+QNI53SUyHbpX1HRRm/LWhE\nexRMjmGHH4Y46RY2BR1tWBrFhtpUuKWJOiP3YAwU9s2ui7KRcUv8g52hP1O+\nA0Ole8aXqXB1Tt/9sHzV3SMm/f4g/M8rzZajKU9UD4Sktr+zCcQPC1mlJ5L8\nlmek0GR35SPBf82eDIUOJrL3P7wUviaucQ0CMyN7dPD20WJR+Hmp088Ns1qO\nXV8adcRictzUKSbxweuN77Xtao1oPFGoukwRBE3LN5lc2e2+HDPSqQuBFzi/\n0wtN2p13Km6EwvsOMI5SDiid97K7ZwdgDiOsbf/intj2wJsj7Jad4VffckgD\n5lgTrejmJRphTAdD5cPcoFsUqPJetJukzlqWfIaSQfLTffR+RaMDt2LGU2ow\n9AJoHgHDX3ZAq0jajkTL3GXx01d86chq3mtMJgA7yusDP0kXxU/q30denyNo\nTLVS\r\n=bj8o\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9d4edIufTp9T+SBkuFp2RlrJ+ae/RE4a6v0nxLFg1ngIhAM4ZheGX/jOX81OZHDnLzJSz8WXXqDKini07dlK9idfF"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0-alpha.e40864c2_1547022607357_0.49381728014812"},"_hasShrinkwrap":false},"3.1.6-alpha.3":{"name":"@crave/farmblocks-search-field","version":"3.1.6-alpha.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.7.0","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.0.10","@crave/farmblocks-hoc-input":"^5.1.2","@crave/farmblocks-hoc-validation-messages":"^2.0.4","@crave/farmblocks-input-select":"^3.0.11","@crave/farmblocks-input-text":"^3.4.9-alpha.3+c702ac7c","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.0.4","@crave/farmblocks-text":"^3.1.2"},"gitHead":"c702ac7c03c607d47a55063721e2d9653e397bc4","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.1.6-alpha.3","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.5/node@v10.15.0+x64 (linux)","dist":{"integrity":"sha512-IdeqfH9Olj3Fnj6Gw3jM0FFE6NLJCZPE1vQAL/8eCDrRNRd6SFav30KxiBTg3lK3pPf+xd5cNTvPPov4hrdBpA==","shasum":"1551ba23842ac69771eadd84b11997ca38ee6efa","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.1.6-alpha.3.tgz","fileCount":11,"unpackedSize":61259,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcOJQQCRA9TVsSAnZWagAAxnMP/19P7Lhn+o8qoMjNZtGn\nbLew5NkPSYshVEUNQOFtxkhow2Zcqe6btBLkAFL+izCxG1jmUunZK6GCBmcy\nWzr2DwhO2q9HQIkjGhhrPlesFtFFcXEjeunOXpj3mWMZqDrMIIKXvmNQvDXZ\nCnwL4CMdQj2AR5zowLuLXB4sOjpoHyd+ZzmrKYefspDXGbUQbtkmlMtZm42x\nvVDU5yeXs9jP+VrmvgbApn7FtVdeD5Csgo2MZt4trjoYGV3zslIlOf5foMM4\nq7pV59RTwF+LUIZAPZjSNcgXJe/bpLuCNUEVrc8Zq2PJpnwMQZqN035VwCYh\nTIj9AbYpFdm/oOuPfYg7AYhad/PDoI4B0ThMIImrH1oOu3crZB1UeL/RxnlH\nc9Sdj/fIdfVsrNez7baY65P4ZTTreLLT9+p5TJ08komD5o3oTSNAmjzOwOHW\nd7RMsl+mvakfn5+MFLmyEgodxuqTZbX/qgJlcxeWv25o+8YieyAYqXS4rdFb\nZ4yCSv2yZTpfAGv8612fvM1QvpalwdiASsx/Zkiq2MonUNqbxeOK+bblgR0/\nBGDyWB3l2uGDXmuMq9tlwkioQiG7RtGo2QFGjhLc6cmrL9tDrMudjUo7miJh\nqVMBaQa4bjjP165bFxCE+PJSmZ5fsjbVhzMU4VqJQY/Cv5QRVBI7qpKFf3ty\n2zrD\r\n=ZOYL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDQ4aNUkWpx9b7JT45de36aMglq/SPg3DAIv4ZQ0XoveAiEA7eMemuSl7CbAcWhwbB/iZxUt0XjQOL6Tr849TktRgLk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.1.6-alpha.3_1547211791413_0.22752138121146848"},"_hasShrinkwrap":false},"3.2.0":{"name":"@crave/farmblocks-search-field","version":"3.2.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.7.0","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.0","@crave/farmblocks-hoc-input":"^5.2.0","@crave/farmblocks-hoc-validation-messages":"^2.1.0","@crave/farmblocks-input-select":"^3.1.0","@crave/farmblocks-input-text":"^3.5.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0","@crave/farmblocks-text":"^3.2.0"},"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-search-field@3.2.0","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.5/node@v10.15.0+x64 (linux)","dist":{"integrity":"sha512-x+tZcgl16lbwZdPwRjGyWLb2bBtaf65Q50w3dKuuTVnfsqZhwC8JcijRAr7bWZ5PBJ4F10vfikebXrH/dc6XWQ==","shasum":"6833fd8a75f4d2b1cf6b462fb93c75f8881c5fcb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.0.tgz","fileCount":11,"unpackedSize":61579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcPNkVCRA9TVsSAnZWagAAhx8P/i8kHlQSfaPSj3CRHylr\n2kJiuS/sw34Y6BslRIcooNomER7KDfNS7Q/d5JNZw+JDjxAXJ0QCiNxynhJs\noYHQcSmpUcpm0/ux1diVPTod/P+Rf2nQZDm2Kry0V/hhEUZc1QUE6UA2Nvim\nug8XCLh5EN7u5/O+ODUq7neAkAcz3TObqGCpDltmeEe5kFe8lDIvKBvDDNHC\nP1MP9p0iI3Dwcoc4haLfgcbECKepcV5qKxxerTooNncrVQIqrWrahyHtXyeD\n+Tpzg/3oM3K2iw1oCu+6pQxZFsR3UtVYaY31zG+q5v8BwzpLuZvI2TmmHmRI\nM5Pl7zU3cuPVg0SXMfM+44zAyTZYU7LDPA+1d6LVhEFQNne8Zyv7p3quy41g\n3ujdlDOJ0uVHT0IPTU7boHWdYaMpPFceRqWd49DbHJdNIs+7SZ4BMCzY6pts\nYFXTiZWAJgzr0/HU0N7CiXkRot7q6ZJZU/AhC/x+cm9hz5kM0jIvH26Jlz1k\n7Bc3vNCv2GN3xN/mkzZvRtgsQyNDJ2MP4R97IGSikO4Up7mKLWckVHldxAMH\nASC5Dtc5dr+o+/cogBIvY/hxzjIBM0wq0kyibs0jxcRfLmGvnWhFg/qsCkr3\nI6yU4shcDbhFDU6LC8HgnUVuRhzEwNpTnqHrLEa8Jy8BstOujX5NRrChMv03\nvCKm\r\n=TKql\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC489DERqUBNyNNwf7kJW+w7MyIQk5G7d9PClJl6SJ9ogIhAJrily8aVc15c/rKVQQ/CuLricFcztJsx5Kzvhrett1P"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.0_1547491604353_0.9791968378834215"},"_hasShrinkwrap":false},"3.2.1-alpha.5":{"name":"@crave/farmblocks-search-field","version":"3.2.1-alpha.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.7.0","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.1.1-alpha.5+2f4b8328","@crave/farmblocks-hoc-input":"^5.2.0","@crave/farmblocks-hoc-validation-messages":"^2.1.0","@crave/farmblocks-input-select":"^3.1.1-alpha.5+2f4b8328","@crave/farmblocks-input-text":"^3.5.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0","@crave/farmblocks-text":"^3.2.0"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.2.1-alpha.5","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.5/node@v10.15.0+x64 (linux)","dist":{"integrity":"sha512-O6CP62MQD0sFgsJDyGkQgZAV2zUVw6tIEB/ZfrDZ5lJzr6DyzScBu55wrnQEhOXGnfAX+MAv2dHGI/EQx0w9Sw==","shasum":"c2020871c05ce3942d35b45c231d03d75ba743e1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.1-alpha.5.tgz","fileCount":11,"unpackedSize":61630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcT0iJCRA9TVsSAnZWagAAWGYP+wTPOLolYbiYGEKpfQ0O\nJ0dzgPChCKGpiZ9KOJGk7Ap59CGLcF6VsC2FCY21luw8kiiWv1W0Ev9aBzUy\npvNSQRbxOsPPMwJWA6He+IqFZ8A5oEBYtq0UVC80m978j78zVuxPCDf02hU8\nunZlv7+pP60qwzOPHWmzS59dkWw5NxM3Kj34ZBL0I/YPEdfk4ysNERFAXxTX\nHVn/kxEIwqtcH7NjzsRldExt4ag8R8Dt5LV6+qEVqfjjK47ygMg9FA0HUbiU\nsnwFFl0cIT7Iy3QJw77jB/tmmJtuudbTTH4isxLLhyRZbeY4sqqItJxfWt7f\n7LG01dgZYwOY3mHXDpw6EyolXDLiOR1Zw+NWPIvqJgC1uAYJ6P2mpKdP9zLu\nwHK8yibTadXH3c0lAsF/K/fRM1RQdf/1UROefN0kIqOyard78LB8qNfCiDBA\niMO6PsgA+Ad9cW1rS12GhvICkD+y/IQtaUlgckvoZrAQ2RxA6bhOa5zT2UUP\nh+6h28OlMNlP8FNzoWNmChIiAtLpU0WofpWslmiOAHxHifaWKvhkPx+qvpYa\n0DfZOgcI3rdSC35rNA/Y6V0OE0EX16UXCLAiB5oTESoE4VTMywSoLynanQU4\nWEzGYmr09Aod5E3sHO6LZH60o8ycgV9ZBa17CaE+vxuRdJ1udDtzk3owiEqD\nE9zt\r\n=H/KG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB29YqO/M8+Xi1d1hT/AAevCTPrD49zfa71D0+VXCmL2AiEAjrCOiMs6Y+tDv0LZnRViBn5UYyu9LeZkCWOknPV7Qg4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.1-alpha.5_1548699785329_0.11167436027697475"},"_hasShrinkwrap":false},"3.2.1":{"name":"@crave/farmblocks-search-field","version":"3.2.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.7.0","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.2.0","@crave/farmblocks-hoc-input":"^5.2.0","@crave/farmblocks-hoc-validation-messages":"^2.1.0","@crave/farmblocks-input-select":"^3.1.1","@crave/farmblocks-input-text":"^3.5.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.0","@crave/farmblocks-text":"^3.2.0"},"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-search-field@3.2.1","_nodeVersion":"10.15.0","_npmVersion":"lerna/3.10.5/node@v10.15.0+x64 (linux)","dist":{"integrity":"sha512-DTLHDo/jSgdLRku3dsz+deLqFn9g8Z3PDZQrudmYYCK7Gt/JaEHnm7PmUFJhYff+t0ylWPkFa+5Qy5cyk+XyMQ==","shasum":"4ec7a92f1212b62d45823c93e3f898983a4e57d3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.1.tgz","fileCount":11,"unpackedSize":61805,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcUHn7CRA9TVsSAnZWagAASTEP/39BLNvTp5rqCVSF0SFd\niGhYpwCxTcLDa6eqOsewLrFFQTQ7iNr7xqMX6GKxrOMjIID9Paj9fNwNPFoi\niKlHCYwALseAyqo/it6eCjCl7y8Fz/oiBTdS5horcf6zaP/fTZ4kC6WTP3az\n3daacuiT0BsIrJdElXj4Hxtc9JrG19LRuY5RETnBDCdTc7hWyQvKpXeEWC2v\n/Hfgilshzhi1/NIaSl00EWX/dmAEMJmQuWflHHZ0ECoiGWGJi15qIBeGEokl\nyGVFCAcWfY9YaAEJ5cAgcStLElqvZTUDO4wZsV2gQN6Pwodwfbifrgxue3dg\niTUAX4LMZIZNiYbhGzKuYUxQJ7VEzOymzgYQhmhMBY8G9+ohDsLUEzz06S8+\nTdrzMMbH91bMDVcxbymlVKzMT75VpPjmtLThxDcgYVRbQr8zpZXaLnCk2S4S\nuNF+QrN700j8VSoXirDGJ7wSbIF8if/nHocTfO7scUMNUpya+zkLbhlMf9TM\nioJ3EgFgZEd7plDGzTctBhbnPtMst3Xtpjy5irTE8R5Q4vMI4TBsA42IqnXB\nA8VYrw5MNvZ7T4LkYwldUu/nea/iJFzOpPnrx6o+zfDOHgnR2ZG6jzrnq0PF\nze72F9jS1zE6UQPPl7+cKH6vsBuzGseKHhrexOY2LaIVJQBO2pHtWGcVwDp0\nsF9u\r\n=+zwv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICNrowsfDJVPyOHZ1B1ngUOUceL4xQvwPShsid3ZMQ1/AiEAyssYDiDWiaWuix16RTziZQM3zm/sgbfxLcE99XIsDRE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.1_1548777978741_0.4739750384540835"},"_hasShrinkwrap":false},"3.2.2-alpha.6":{"name":"@crave/farmblocks-search-field","version":"3.2.2-alpha.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.6.0","react":"^16.8.0","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.2.1-alpha.6+540725d0","@crave/farmblocks-hoc-input":"^5.2.1-alpha.12+540725d0","@crave/farmblocks-hoc-validation-messages":"^2.1.1-alpha.12+540725d0","@crave/farmblocks-input-select":"^3.1.2-alpha.6+540725d0","@crave/farmblocks-input-text":"^3.5.1-alpha.12+540725d0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.1-alpha.12+540725d0","@crave/farmblocks-text":"^3.2.1-alpha.12+540725d0"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.2.2-alpha.6","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-w5SRoCFj++wcVro+ixw+4aJkMyvQhIQU5XUR7N+7vArzRZiwV5I3MFT3q0VCThokNM1FsHUIQ63QS42eQ5rTWw==","shasum":"e308a45b185680298707bf3259d1368e7e2b69b5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.2-alpha.6.tgz","fileCount":11,"unpackedSize":61946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYrPBCRA9TVsSAnZWagAA9VMP/1nkRW52DPhmCO7XKoxu\nYf5NO6MvtZD2TjR/UZ5BtWH0nJNTG5z/Ih3L8CnZ+QLtI/6DwcILjwQgEZEr\nd+fs7qOs7b2dk/gbQ8LbpKuAKk++epOGLszZZuTWh9X6Pv9IIXl0hOVDpDHX\nLhh/CIu7pGBvhZeqDMdgNfF4aJax6JgbdXqj1I6Oi9+yzgiIAtEzUZ1ayvRN\naK8wzi2QgLUoo691nA50KcREouzrgcDOExJdbGV7TpACCsf9MjicJXmMajKl\nN2SGGtxT9WaZjzXIwmWWWD7LeLUim6Q68uj91fjxOE7UnbP9UN+heaVwDmgJ\ngYi11cnCayZqbgVG+THsS8csUnYl0WSyJvUKDoSlW66b57/p5fIy2kIq06FZ\nWnL3RxbsjLt2vAN1i8GQzgYW5ldolQtqIe3bQjxQayBVIo0+PdK+mE4t1Wbu\nBpneg5EYxHHNFZQ3i1I0FoX7syIEZPhcsEUG9txR6gaw4bQW9NCIHPxA8NRO\nk9ilt9q8m+D8nm/vjsVI+O3Zmp4QJDUw9L2Qou48HWCIGls/BWOKCjlcCnwb\n4HpwXv+qCyPmyqLNrj7ijEG+E+5N1v08W8J18JUk97+t9UZFAre6x6V1ep0O\no+WQV9dWgEeGJb522KTizdWKPxfdFL8leVVLSBtOTQQMaCYwmYyunyu8XsqQ\novbA\r\n=VD4a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGT9Q6YwRdMTOQsOrV94m+q8l8evYc0NBktxpD4fXDmaAiAhMPaUiLaHwPgcApkPAeICmgYiGnTzLLAW2DcPCgLDNw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.2-alpha.6_1549972417416_0.1769336404581956"},"_hasShrinkwrap":false},"3.2.2-alpha.7":{"name":"@crave/farmblocks-search-field","version":"3.2.2-alpha.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.1","react":"^16.8.0","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.2.1-alpha.7+1fc1894e","@crave/farmblocks-hoc-input":"^5.2.1-alpha.13+1fc1894e","@crave/farmblocks-hoc-validation-messages":"^2.1.1-alpha.13+1fc1894e","@crave/farmblocks-input-select":"^3.1.2-alpha.7+1fc1894e","@crave/farmblocks-input-text":"^3.5.1-alpha.13+1fc1894e","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.1-alpha.13+1fc1894e","@crave/farmblocks-text":"^3.2.1-alpha.13+1fc1894e"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.2.2-alpha.7","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-DFsmV/Ns7bg91M7quk4XB6r9tzOfRt2trxWTOcJKRNsg35hcQAdxImoBSWKtfO6i+hiEI1BF6H6wEWJDJ850kw==","shasum":"68e38d94ccbd3ba6cf17ff4db5e2abb6e74c78d1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.2-alpha.7.tgz","fileCount":11,"unpackedSize":61946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcYtnlCRA9TVsSAnZWagAAyu0P/j/BztXtkViDpSy2QijJ\nKkrHsviwp3b8WdhwoorBFsExWl+dAbcrGxd8U0cZUFQvZQtXshtdLJnXGJKJ\nIFcur/gVQxDFUji0YBctvcavKnJGeYUr8uQOnh0Xav+Lh+YPm6CBZmRXhtPd\nMVBOMon4q05DIALojqBRqG6ZPv3MpOjIV5WYMFw5NVnlc79GLJyZtRgE+Q1/\nqnxgXvSRdf1fHfsuLid1hJE/M3uZsLzvlj+FnbQUjH4hN9V4LPHvHkRGvLTI\nBumjrsHm1cTYj3Cv2r4h0alaEPn3OTegKod5Hurlennnf/9wwwWibiG5VoRq\nkRNun2/XpYUeDcjqJWnOYRiuaTzynFpQlaMCPxmZE8FCY8xNe8Si2fmxC0SL\nwJm5g/8fFf1C42S6c+PgLHfqSrENUYi+Tph9TSSKPQ/CVpsnS3YYSMQK68Hh\nWoyfJgS6RqHgbSwRlzEBCdQCWStetzwLSNNk9Y52fp49VyqXFQcUZBsh9BdV\nOwVWFiDOOdkN4Lky3xWNQlFPY1CHdRVY9bOjyLDSAHKv95qylHE9u1CStxHY\nvgv8xv5Jx6J4JqxZwT7MHbr16DhfBNWgsBH+4fPWUwaH57UFzDwhxl1L8tOO\nO5+DPQrWP0PvmzYG+eJDOV7knt7SNknHCrMcRXRu6SrhbdTjavfDK1YkUYsW\n4DZ8\r\n=Cl47\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC+Gz/EWyoBtc9l4NMe8I0+6BJjncslTaRBaSuAoPI7AAiEA9SggAYFIhWPO46zhFSVL7EAccsfYI4j5zrtwWe69+PQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.2-alpha.7_1549982180933_0.6171345387846336"},"_hasShrinkwrap":false},"3.2.2":{"name":"@crave/farmblocks-search-field","version":"3.2.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.1","react":"^16.8.1","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.2.1","@crave/farmblocks-hoc-input":"^5.2.1","@crave/farmblocks-hoc-validation-messages":"^2.1.1","@crave/farmblocks-input-select":"^3.1.2","@crave/farmblocks-input-text":"^3.5.1","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.1","@crave/farmblocks-text":"^3.2.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-search-field@3.2.2","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-3dpdK3uU8JFIUIf2KhMp3aM/Og/xcDywftc6EW1tu6whYSzaBOzMxda/RNM3HX/1lBkLGZTJu4d/83HH1i17aA==","shasum":"7561f5a45c9d339cfe02ba98b4a43645fbb4f5e9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.2.tgz","fileCount":11,"unpackedSize":62031,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZADxCRA9TVsSAnZWagAAAe8P/RFPwf1b207Xf7bdusin\n+OylEJ+kJlhIPc9ikOzj0y8dtQ6Zkuqb3h2NCq9gX2HBRNgtaj/tsENBSNwl\n77O+GGYuitF1/ONDD69hpB7iGRXb/tT+/YZN42KI+YIgChUR6LP4LlC9qDmj\n/X/oRhcFq7BievGCu0Qsyd3CEM1se51KgNNfKGjXMpscMc6C1p4moddDy7WD\n5mvxgm7IR6Tl2/5hKXBtLIpK1gJCVappqyKlasN+ky0U7WcUA0dT2ww+G2JR\nroSRP21Jhc3gMNttV8ksL/Skr3JqbznXLqKnuBX3/8u/TJe06CpeJfeOE8cQ\nFoPBqE7TQVq21Vyv7jHnxYDlIYnownO01O8aFLsfYXSKbMNtCfi75Bw+ciCf\nHOJDFMzOq6ULCIpJWpgmlyQeO6zwNC1IUmRLx3PBdAyWWIHv397skqXjOMRH\nSJ5AwhI2WOJNfl/7iIo8Wyy/hIv7rtazufF0PHuLcmB+jv86yZiIyU00QkPN\n7Gc1HISz0QGBef9h0MIeSOn1FnCk6y98qEBkxBD1S7eaMriGzbvnXebuhOM3\nFwX9VpifDG6QaLw14JAoyX0MC9f5crCIqBc9jQb8BOPMP8nPS2b/Ko+D71l9\niW359dKcndAexk0DhGAxD2Z7sYw/luTQk2jy7f51x/WNCKDQ5b766PKWsxnm\nuJvI\r\n=+KW4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEgKd91vOcTFCl4nWV8Lf54aanl+YaiMSPYId/zF9hvWAiEA9d2VXfK5Sz49xZZlsoZcNix0TC1XBr2cTdEXj/NToYY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.2_1550057712640_0.6584430508824255"},"_hasShrinkwrap":false},"3.2.3-alpha.1":{"name":"@crave/farmblocks-search-field","version":"3.2.3-alpha.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.1","react":"^16.8.1","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.2.1","@crave/farmblocks-hoc-input":"^5.2.1","@crave/farmblocks-hoc-validation-messages":"^2.1.1","@crave/farmblocks-input-select":"^3.1.3-alpha.1+262352ff","@crave/farmblocks-input-text":"^3.5.1","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.1.1","@crave/farmblocks-text":"^3.2.1"},"gitHead":"262352ffd338354aa22bad321b28e134e1136282","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.2.3-alpha.1","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-FbxFb2fxdDFyYQkhDC6SFv14R2dqsVsddSHVsn7E6GjenVfsG2Jim74erfPVvr8D4A7RtRKvr4x58SxTTwEesg==","shasum":"b8bb3ffc523454d985ba22c13c937cbb95c6ff80","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.2.3-alpha.1.tgz","fileCount":11,"unpackedSize":62065,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcZATyCRA9TVsSAnZWagAADsoP/3TFNYu8Kj7+VbqLGgS/\nzEpvDVu3TqO2VE3qDA7OHCiNCmyQL2hxO3UGMy8Mzsnk3QgLtNhEv3k/s3CW\nSNrlixB4KsrNz9JoVnUykTBxPcurEKMSNW2v2GChjjxg04zvuMwl+A5SCyjO\nZ5Bg9ICLT7PjUmzI1cFJQrQD7BpIe/ZKSUQCJT4KTO38h+xiImttOlkEUFNB\nCJE/KHqKe9Sad2I+FmAAd/8ymizezrE46WNjKMjXX9qE8LBA8aptYEiTBHqk\n8hrtAQSuQPew6EpU1IC5kcEeO4yuCZQxSOq5OaqrC8olCZXgv7IfhHLyV4Gr\ntNaPLXCdfyREpkkjXa0eZilDzq6N3fT8JoZOgB4i9jT2h3WKSsT1ERkAd2hK\nhaMsqD2rWQrOl1MXWD/gODEZxoXy/Y1SwvbisuLePZPjT/7jDRrSMEVqjmuK\nGfsNc7ZifTL1fN2unUQ1kOdpukA0ESiXoABVAw3LgJox3VPaAZ71viuuSUCK\nExLVg3ISBs+G8CYCW9nfx5921MTGrhpGULeN/wcXLeXUUeDyAjo8sqNAhMkL\nd/dHKC/3oOid2+aoNBPVdeHzc/xAN/uIeX+c5mJ6zqcSHcR+CRsvNpWtSZwA\ngc+YDj06P/BbSlr2SFtsm+hZRz41GrnPTPk4SN+f2XucVM0JK49kMwR/LX7e\n61vS\r\n=4M0c\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG+rX4irZRBiWTZPs23j1Ua1ErSX/WZVBuJ4JgHe+g4HAiA0BOJosWhH1onkQ3NFLW8GX38B8AmaQ+/NPcWlarr9gg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.2.3-alpha.1_1550058738021_0.863401189184418"},"_hasShrinkwrap":false},"3.3.0":{"name":"@crave/farmblocks-search-field","version":"3.3.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.0","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.2.0","@crave/farmblocks-input-text":"^3.6.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"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-search-field@3.3.0","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-xPr3gigT8QD1TN/wpgnDjeaVhFCrqbLaQ0/V2m26Lk9HkMM2sH/DjsN71mk8GDf/wwR97bcGo4Q0dlSy0rqDTw==","shasum":"c156ef5318db5e9c139ebe703797920234117f7e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.0.tgz","fileCount":11,"unpackedSize":62389,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcaunICRA9TVsSAnZWagAAdyUP/3/Prn/uEfg0AeRaJuEm\noH8KdYlFOVuOo1oqjPzHcNXOp1f6w8NIb7lp2EBg4r3G8n0Poyk/IVa4NZuD\na6UImxQ+/BDZqfTZsVu0I+n38OtFUbYYqALL4hq0ChUkuOUEKVAMQ8guTbQr\nesuPxGN9DlaHlxp2+tuDGz07EZmfH6AnlUaUI/e5NX9NKun/j3SqLVl4+afP\nlXUkIC8HgifZfRVB4JMzsQa7cJzbaFEL8rk6neEsAnHdn6b76VqXU4csDbri\nGgqGjDlADkva+gF0mwFv1sdt9KQlU+uTVoa7TQ4WNXN65nuHyq9LSUTUPoKo\n/MLSRVasBLzTG0HEJ8LPentWiaLayHgO1QcCxS7k8OpomAJ3WY2KcCCzxf2x\nEbd6q4XGQ+NYh6wUd+eu+BmJpg4TtzyU9AK1A8MPEU2nI2osLIgxZg/9lOze\nMQSWMDUqfkn4gUpzOElXuJithkkNcnOdKAYBa/9lwd8EfJtZfeH2dqo6jS0j\nFEP4BFtakN5LrBDw+r32hd5K0F3e6GPRFCk6jmTqgU0xlAKVKDxPr0FQF0Cn\nZ8jsKMMf0cP4feeSLTjtYjROimQEq7s10yGrK7TclGp9bSx/Z8tIqoqXHX+L\nBDuhr6OH/DzxreWu8PZyBbpFDAu2sF4mITxoANhHfXb+Nfe4U5J+8d3O7wbk\nyi15\r\n=RQ9s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWFzHNKj1Ul1NcPYVHjtxWNQlm3L9HWKaqsMAyfEIjnAIhAPa6YfH3oREPWUym8xzqojMCqBn5VulfTvyYGh4sanEB"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.0_1550510536378_0.010467192773898848"},"_hasShrinkwrap":false},"3.3.1-alpha.1":{"name":"@crave/farmblocks-search-field","version":"3.3.1-alpha.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.0","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.2.1-alpha.1+3c22dd5f","@crave/farmblocks-input-text":"^3.6.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"3c22dd5fcf5547046ae097c12b71f0bb37752c58","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.1-alpha.1","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-M1hp3r5i6JJnxvgsWIhU6zM58mvYWxnARth+PZH7X+3GoV2LpB4ukXyE0L4ajDtMPpzwPeQLwy++KzRleNaqDg==","shasum":"1df0b2c21370fca5fac65943a295fc86e94421b4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.1-alpha.1.tgz","fileCount":11,"unpackedSize":62423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcaxLhCRA9TVsSAnZWagAApLYP/jo1qySHj3t8iONnVovC\nlTfdfvXkVFm4W6G0GvKU9xGTC0Edm8Imn0DxkQaYghYJo2sloYQ8S9uGoXwK\nBnqs/sJCUIHqjm8qafmpXlD1E+Yhow/HBTNtF6Xj1Bi+PynSIBAoTFF0BdFh\nCRjBz/gbwO/ac7RGQBEr/nM764BfezMT/7qEbQ3SsNjXdhgN49TmTv43cD41\nYZUhVwcknWJicME0kG8bNPS9SjySMAYkXlwlGSpsj3sbVbB2OSKEb7rf/kUV\n3XZvIkjRYWnTOGMs9y7IvcCQraKb/qBAvnBj/Ohtf8koSXgs6HKybSdDABjA\neQN/hYbPVNqsTt/cNJA2HLdsDcKLnNmF3snogEC1/52XCjwMybEEwT0m7dBc\noK+Bi282sePIB6PuJ3qT2++z/QC0RUo1D0yqcmQJMUILdMlD2DS7swZVOEZ0\nNUM7prPvJO9gehj0eri6jfIK27CyrqbKX/HJsyO4vx2yRz9G6BzArcLHTwd4\n1CocXbyhYCX+kwYXWKt6w7o7y8UMCu3CPvRRVIbfrH24curnXirCFwQeXKj4\nP3vt5WbhwOR3qyxayfJY4pIGXGhMtnTRKCQsFJEQaZE/Q8ecjNceXOI7mltB\nNO3vDRyKC0KY0uBQeFgSSaE4TPMngUAP82lNXY4tAJOJRdQebL9EDMM3fA2o\nj2HW\r\n=EXp6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICuiNaWAxttecy9Vq92pQNPQXnMWKVIXDOsqI8gIhDtGAiEA+GGh3n1GqmDTobj7mzAtbwtl4hPDtmn/EizA6LelC/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-search-field_3.3.1-alpha.1_1550521057082_0.8165988141138563"},"_hasShrinkwrap":false},"3.3.1-alpha.4":{"name":"@crave/farmblocks-search-field","version":"3.3.1-alpha.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.0","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.2.1-alpha.4+67dc9da4","@crave/farmblocks-input-text":"^3.6.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"67dc9da4c42dba3e109638aae3eabbaa6ff13209","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.1-alpha.4","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-tYQk//fAuwkQN76Us9Xcj269/oWc1IJZAeIR1T8UI2JbcVp91m/xN+dP0WvQL4gcWss93vWVrRL6YP+Brgg72w==","shasum":"f6ac0e2972915cfd3c9e7387b00ce173f105b640","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.1-alpha.4.tgz","fileCount":11,"unpackedSize":62423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccBOBCRA9TVsSAnZWagAAkO8P/RAWG2T6iEkDJBa+Fd/v\nPVRV63iZHqVddJ1+C5m9Q+D7SMnAU6hk3pxMjqKRcomboWLmbhPQp+x07HMz\na2kNsRvDCTva1/L6bzn1EQHr6pQ5W2C5ooyfA6KxPll5CrujAMWOjQVb/YGU\ne0uep9idTA3kCJf36LnZ4TTydHBlHeOK+LM8NgjLhBMC2bJomym2ahidRba3\n9tB1vDdztaWsfPwTs8eQj7OVWGrsNtUSKrDIZQQoOh3wOUkZti3wwxWsvjHK\neuYLbp24etpANIHX/1LvN+EbDYSpiZb/w36dZDob7qWp0Xsv7Hm1UMJkck4Z\nho8xiq0jBX8q5eu8q4hRPAj0EQs5AckwMeJZ+XXnR9uKe4OjWgkk2n8MSlmU\nGJUxrxdzSxFPRkh/DgtJxW474/2rlhlA8A6Vt8ipkPhXBQfyvmMZ05uX2CCM\nLwyK/+HqJnMwV8a1ZZMQjgINE8of5tcy3q5qTBa85i1fMXtSRQa99Fxc/NIe\nh1ThpSV+w1SEj1SfVbv/yWPOiiCwUPh0jMcYw7gKjjoYh/YdAA9YfPY38iqW\nuE9/0uH45ReSo7iDxtV/rXil0P1Nt3tWXUFatju7YcKRtsTDzA9ruMXrZQxB\nJaJZvs/oIL3dB0iRvY5jeXk1zfbYr/lGtnDxWkx4xynziRDPo4dWkCoDSi/T\nzAcs\r\n=TezZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDLGkHYsL+JkGuLwWPLws5hUdkUR8ox/des2wU7TNK11AiBpI3BkINb/V9DRCPxD6p7dqkAO8Q/KzV/bGSarfBLLXw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.1-alpha.4_1550848896643_0.08949046268767047"},"_hasShrinkwrap":false},"3.3.1":{"name":"@crave/farmblocks-search-field","version":"3.3.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.0","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.3.0","@crave/farmblocks-input-text":"^3.6.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"ff044364f9f70ec81be96ec649280db81762643c","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.3.1","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-HfAKujbL3bfxVmcx14reYTxJsG1+yai7ESMx8y0C0Ie9qVpJDXoCZjNMhVzlEfhbbCBTlQyPUkogvcqEGgptRw==","shasum":"a0c0e20cefe1b40c9a5a8722522d498d3ab88129","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.1.tgz","fileCount":11,"unpackedSize":62615,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccCrBCRA9TVsSAnZWagAAmYYP/0CQWjJ2aUQ7vzIsLMeT\nypWINy3JYQd5cZ44Baidk/sHPgXxSquoR8k4QK8AGRWacTCHXYpmaIfXphU1\nPmt5WrHfUnz8CzTaYK9z6dn+o6bbf3ffoElUgQSrsNa2lp/gwSYQLQ+g9vqI\ndhmo2jXHuFCbx7byoMnIvnbDaALr8wr5+ArUj/NoEPXeidLb3/E7G9IaXhHo\nY6edBxA2bgMhx5IyOaRezGfUSjt6Whyqx7/zsW8uJHusnK8qgG5rb8Fdw8QS\ntnUhw0Gb6a3Yloas3gY5U0sysvW2YlUZ1Srfk6n8j92xIGpphuibJ71c/jvP\n8/1pANVXEp0W+/klUv5r8TzoVu1/pASYe34TOgAeUsVGEDtzt6VbdX3yWn4U\nTI7CDPgNFCukB0hjv7GeQOPWi40CDye/cjU8XoJxc2rM+Mcol8SPnJy83DNZ\n5SWcs/dgQvBYcooILjVjwMCYSsx5fDizRXkVF4qQAabMfChmVfgdp6l/OZPc\nU7NHNDUYwl8+r7GzcueqHnN84G46OHwFajSSTS+EAk9pqZy/bwuokluG2yN8\nujMhQ8Knk40NnL34n94dZX9EMwTLfQolN3qDZB477LCPXJmKT/AvbBmOqzjs\nU0yfHP1YcQdyFKagoJshjO+WzptGQvwbXZWHaLgfqB8FjMikV1HoDRpoYUnM\nFabq\r\n=E6iu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBAyde5qbQdW/Xf5rl2cIa+SLJirRIo5Omqjmu1O/zRfAiEAhIXANs7LS27Upj4Tumh0NWfObTJ5nix0laUaXfgKZd4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.1_1550854848342_0.8660202330136131"},"_hasShrinkwrap":false},"3.3.2-alpha.2":{"name":"@crave/farmblocks-search-field","version":"3.3.2-alpha.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.0","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.3.1-alpha.2+6f942666","@crave/farmblocks-input-text":"^3.6.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"6f9426663c88eaf8aeb2405660e973f21e1a7bc5","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.2-alpha.2","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-ZHwr+soLmggnXhJtPIKoeVcYLbwHenMwGOieuLxQbIrVf/TKBYhfn9Nu+KRwVni9zaM8M0bGITW0620v/6TCOw==","shasum":"4dc16db31f407c7be601bd361bed0904b95d4566","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.2-alpha.2.tgz","fileCount":11,"unpackedSize":62649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccDe7CRA9TVsSAnZWagAAueAP/06MuTr3FlbCTDj4Hlf2\nMVNfi4VsY+3eQwKwxT5hti/+4RVQmFTEjoLUhFwWOaD25GtguqbUgIMqpcLt\nMbtxOy/PUMzMly+P/rp8YutDOTdWuNnIzDvjTHCCezBLsrs9qmeQqeFCcYMf\nBHUixB7LDNAee0IVm4snm2kIJGY0vCBnXXW8BSi1N3VUakUAj6N+apkSFxZy\nyjnZaPOpa0TFHsGS9L4LNNBNWCtDFCCBaxkx9W0kz8Th8gdR/J6lZoDs/9X+\nhmJ176lGyNmWwCf2Bcv1pPuZ6RWtBre+6PJgnQTGRzL1sQ1Hh/lQX4zexZ8q\neIXnTBWXf/CBEf0j3nf/OuWCVtxLqDkhvaSYtt+S06bHnnCvFv9qmwuXUm1j\n1rGwpGyyqUeDFJdDrka+GZ6szohUP2gd9SCsP+erUrrj5IzGFu0vM+lHFUuP\n80Ua8/UcRHsWKcjyUlI6QEAIbqL+3EP0dHi57f3jTyvg8KGSeCLIY+FPAyDs\n1ViM+7pyCDevRtD9qWMYj2TCxbG/j+J5uC+Q8J9OYRSq/RUW+pa4iTrSxHYf\nOAxxSUUrABiVZ5QkxbMKt2vKKzmKv+wKrp3iSskQXCTO/eW0q10BSD7cI2nQ\niNu/95xkGMb5f/XATAMD4Bat7ZPEhTDGcZUcKI+INyymDeEUMZVB5d2vVxHq\nOqUB\r\n=VNBx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCxQ1ATEsvx+8Y5dJ4X3qW34+s1bMGS7mh4UH7+DvjeWwIhAJ0ZrgAoQNkyR+/upcykXFicNMDKB2JQoJDRJC7J5SsG"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.2-alpha.2_1550858171073_0.776762008840187"},"_hasShrinkwrap":false},"3.3.2-alpha.1":{"name":"@crave/farmblocks-search-field","version":"3.3.2-alpha.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.0","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.3.1-alpha.1+0647ceee","@crave/farmblocks-input-text":"^3.6.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"0647ceee2f11b1817f93f6020bfcc929528eedcb","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.2-alpha.1","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-zCszLXXKTWzCxkHZypMsXgDPanMQ9Uoyvhtr+VBuAImcPy58sbQvr8NnyOt7iPpTMyWvr0g8zhbUc+9Oz8DTrw==","shasum":"dba08783c57ce6a13b235c4310f1be9bde6c7b1f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.2-alpha.1.tgz","fileCount":11,"unpackedSize":62649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcc+ZVCRA9TVsSAnZWagAAowgP/0S92Ewi9fD9lv7jdmK6\nFTfjlyDw9HGTcQym/VDlCEbBd/G29az+Hp1avSv/r4lX/ApbOaA7RmFeBBmc\nmGwqg/Y5uiLXQOTrjIl+rhkAfHrhCiXHdZFk8C4ykUhNuylI8hxGDApdO4K/\nZEbEgTvSxdmQC6jyh+W0aAX6MRCSfA+hGGXSTEnjbJ5yu+JC4wLQVYP3nj2y\n5W3hhauLX3lq5QJU//WeUzeXLVSe8ZxmH3dwzhN/0/UwVSs2QYN+ykYTUicK\noKJo9Qg0YJgnBr3YPZlvnq8jD2kQYC4h65tCRNAtccLR4gtvQRNe+QJGwahB\nMRpkqBDzO5qeGGrENE6YQ97YUUQRyELHj6yN2r9IJu92V522Sl1OVSkMylRL\nXvOur7bQl1bmgAkRtk3i+MbU+3nuLuzXzWwQMuNLl7L/RIqyVaF3DRxeemwF\nxjhUyKR+wx8xDN89VZOQLRQ9xfYSWTWe6KEZgIh5P27M1J8aQf6h0Ve0BaWI\nmIHbYTlgujmbVL+u9p1JkeA8XcLHN/YzoqoMOOfiON8svEZYbvHHa5LSNA4y\nSO6ZZyq07m5wsX/wET6LAXRyXCPiMp6FFv1KPS/tfromIGTNVzU1SKrswHix\nGOyydBojS+GgAgUPVz8eFUpLeqwp/WN718meEH2QHyM9dJMQs6uHP4GMuONo\nMUKx\r\n=7gXU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmZV/m5/ax6VR+X9aj/ARpVDi75VbOWlqkY7ShLm6TmwIgI8AY1YH8LfvK5OwgPWnLvrLktmHWkAcoc7b7SF9d6pw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.2-alpha.1_1551099476634_0.33220687397892346"},"_hasShrinkwrap":false},"3.3.2":{"name":"@crave/farmblocks-search-field","version":"3.3.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.0","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.4.0","@crave/farmblocks-input-text":"^3.6.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"2d6d7f6dd3cbc02f2a3afd7e80ccef5ef6cf7b64","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.3.2","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-lh88Pzx7xL0laaBza8AgJ5gCDS/LqoUQEb/zTV4W+Daee26XO0rikQ16mm6bpBCyFO7VGlH/xbfHxWpiWJQA/w==","shasum":"7b3308433bd232c5507e21344ed564ea7ea3704b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.2.tgz","fileCount":11,"unpackedSize":62841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcc/WWCRA9TVsSAnZWagAAqXQP/0SU4hcwXycOZeEbjH7V\n0SOT/8FRaX1EwtTVLIpfQ0vlLDG0SBEprzrP3+TuTLdcUHiJui8508hH9KmS\nMVtOKfi/QEtfENfxfyVQ21nfNMFgeUmkrZ8ix1V5D/e+IKEEzqwxj0+/exoA\no+uxITy/vKnLWHZaqINnnSdlyixMtSeuKC3B5+zpIlZGaQrFoSiC2z8cg1sZ\nETiLBPA4EXTAUyUvNl1IZq7PoJZujIZ3Y+A6m1Xda9Qfq5i3HJtCa2B88Jt0\nEfK3KDHwfdEH76TusWiUZ8OPOrjJalPdQAchYrcvQGN7lz72lYsTXv6Sk0zl\nXw2dN6URMGkrDxEtR57FcJXUY1Pi+B172nGKbzbMaeildsSdhA0l8ZhYW/f2\nH+RqIqPatsR6yk3HL/EQfRp4lF6FiajfhEFZ78MqsFus+KksqvSYP5dklszL\nSIqi77ceEsWOYW4eL0GOTuiFjOv/Auww7K3B3FG38fthe6YjlZibB738UcYh\nzuCNA+omYObyeM2T4Nr2Yu8PRLv1aUzPQogB97ZPkpnXntDPVUz4E8oeVCBU\nJgV+8v484h0UksRSCALFHKnGPB5PpUQOe9HJ7/tXwPXeiDFXhUY6idrvpdsI\nLUB/Heacjy5ooJme0bWEY27zCLT40icJsPKQGdeuIqJ1dcK7L2wSXCFPKseM\nmqYQ\r\n=2+3k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExc+uMcqzsEZVT0lxRK3a81OsgmTEZvtr6OgAW/vmDMAiEAvgbw5Rb4tPvyDfcabi3nW+X08r5lhrRhjBwxfSnijas="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.2_1551103381238_0.46152560681402677"},"_hasShrinkwrap":false},"3.3.3-alpha.4":{"name":"@crave/farmblocks-search-field","version":"3.3.3-alpha.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.1-alpha.10+a164c52b","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.4.1-alpha.4+a164c52b","@crave/farmblocks-input-text":"^3.6.1-alpha.10+a164c52b","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"a164c52b85e1adec8d58b41ff4b9e5aa07fb7207","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.3-alpha.4","_nodeVersion":"10.15.1","_npmVersion":"lerna/3.10.5/node@v10.15.1+x64 (linux)","dist":{"integrity":"sha512-i/Best/34iQo3IuoIc9ma5JO03cdyUcpwfBIjCULIjk2rtwlsLaZhhilU6743ZPcLNlrYjVzO0SBJkAgIgH9RA==","shasum":"b01d549ca4d7b3a8dedb3ea8120bbf6a2b8c60de","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.3-alpha.4.tgz","fileCount":11,"unpackedSize":62911,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcdpZNCRA9TVsSAnZWagAA568P/1l/CYhDoe9wzi4zgPvd\n9f6+hykg5vwCg50NM31xW9+wSoaYJMAmS1yMMhSgmWaIs+5vNsk+fUcuAaO9\ndzySjTin3BFbgLON/RNwM7HSC7qh/V/wEwG/mGfntOj+W50S3dPG8SkD2sCB\nCpRUSf0vfX39v12+BklhTIztbLUu3Vuqx6Vgy4BrlbnKX18fCYQRN8l8HsDk\ntDUII4FlAaaa26Ki9VvCb1g/keLKmVfnc9WqATG42vdtyHzfo0pZATIdyrIv\n6uNWz8+g7bT0lIuq8WGJp/ABAPVoDecNcUQewBnO1EyG1GpRIip21xiOp4qi\nF5qLx00gfYTJKWFdk99V1Pi3ULhOCx9wEsjA+MiBmhtaNTWXQz6Rz/cYS/Dk\nZ4FQkkgARSsaZRNbHPtyiN13CygQSPRvXZj20hAehnhF0pV75paoF2nsC49A\nYclOMkjG9f2rOaBFPCCBFQnpI4StYTxZMiaf02qlZdZP+4XMY4x9ygjePgxs\nPiuivdWs6tthOy89okP2oM/OFcByE/QUA9vAfQkOrQxQhY2b9lNFjTebWDih\nk/9GBLcpJ/TQE264ZMbTk5IVJ1Mg2Tl3gJDsbvNCwWDo7qDdVowR4AkniHgz\nDYUYhCCjJdPuYc514sQG/2FObzW6s9mUibGEEMJRaKCKbAZHwk5WQcoGYf2s\nLXt/\r\n=M4j6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBqp2LaelujtnkYZjcAxj7bJcep59PyJZ7RDZ3IKvJlQIgBduuKDbSwHX0v65bfNNJfNi0cB+J31PXHdDl0Dix3So="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.3-alpha.4_1551275597229_0.7857215514976461"},"_hasShrinkwrap":false},"3.3.3-alpha.40":{"name":"@crave/farmblocks-search-field","version":"3.3.3-alpha.40","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.0","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.4.0","@crave/farmblocks-input-text":"^3.6.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"30454c1c52232ea2f443694661dc06f3037361c8","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.3-alpha.40","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.10.5/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-bo2MAH1QEfPlsBwOrV1+CpnMc3YsyK2efOaJMdKL47rKu5L4UCDQLsRrojqAsbwvNqZpmkfkZi7mLmBi0zf3Uw==","shasum":"d665c79a0a6325be93b161eee3863385d847e95f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.3-alpha.40.tgz","fileCount":11,"unpackedSize":63279,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf647CRA9TVsSAnZWagAAk5kP/i271161OYfAt5K4mdnP\ntWf+G0xxzE+LjiGYoPlPTdIs8TJHJtpbC1E5DSZYtxtWzBgA6GY41Xyy1nnS\njUsU6NcZZCoAbSy8EvR72O3bqhntZK+Mw9uQ/TKIbIA7nS6Il9R+JnYPcqqj\nQlnMMNQ/DeVWZjrqorFpjX9mNTwUMdJfpvvpvxxYLBDVHCsJvaPcNHzvPcap\nXWNcjuXzBcpk/7fbeuern6dQYlTKVmnDV+fmFBbXcdUN6T6GbU4aO3HIF+I4\n7x9E0LNTnVAoNDHQ8j6JHGqN4M8Hm+3fr5CrLdSE676qImq8f6zyko4NPK4F\nS2wvAOux/vvM719kj7ZjSU9mvHlvTMl3bxsgGAZ61mANjGOzSGrVr2y9R0h6\nFctJCi06xEQxPwTalPy0nawoA6mbfeJANmKqoZ9cvBegkutBsr0llSoeqKja\n+5wLne7GK+iB/hBRbEeo/bnnNP6DkSyBYWnOm3aHIzCo05eGZtPZel7pNUta\ns67CzmoxbFKTAOSBDcGQ5TqgSTPyo8mtV+j3nv8O/Fpiu4U/I1rbDultKtt3\nICnpirWRnx27aoqW6Y4CGJ5tFQ1aFj87nu8kMX6C+R4DbgZgqN2GVNv6oFwJ\nwz3Hm/ASgyRCs61uPWHOZJKTfXsNc1gvVWs4rUrqF38wrxBnXfpOy9bzO5xH\nYCnO\r\n=53+T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG1TbWPkgxi1SSLAlLlY3xikl+qfYm1xPXcrL4kqGzjOAiEAqKSOWDamkH3oXQH8Zo3Xg+DMogRxeoq2JcdFFgJd9lA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.3-alpha.40_1551871546425_0.5726551212578399"},"_hasShrinkwrap":false},"3.3.3-alpha.43":{"name":"@crave/farmblocks-search-field","version":"3.3.3-alpha.43","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.0","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.4.0","@crave/farmblocks-input-text":"^3.6.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"5e959f5a25603575a9f910900fc280e3921e0eec","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.3-alpha.43","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.10.5/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-wd4KIzpuUyLF9ohuGAZqtUcwdpMwdIhVukXHcmOq+bgMFIdolSBBKewZveo4s9ZLE1fVyVnbwdQPL564fyzydw==","shasum":"715477b9d1e55c54e51e008afc763a09335a15a2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.3-alpha.43.tgz","fileCount":11,"unpackedSize":63279,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf8dXCRA9TVsSAnZWagAAUG8P/2JWxUsMag+ZWUmIKeV8\nhwEeYlPRy4o7+p6isoIzf9oDFLTH5B2iMkHIiuQhiuTc9h32lUcuQClEyzNT\nf47ZKZLwLb5O+CZ+1xLpaRSpyZvDszcx+mAqC5tDv/vwcAtu57b1Dwt+kWAF\nKIwORv289lJi/AALabuCRRPl/SPy/RggRBVa2dLz7rAjN18DFVX1NUDs2Gi9\niO1UicsJ/697YXZpTwa+28Qk044qpaaYyCE3hIR6VO6yGZazu05p/LNGRfvs\nOdEB0XMHD9cmrOMNfOslS03JIU2jKgDiTP2WZr7A/pxgAutH4+J27f9hWcfi\nbIP2+yJbvjjWVvc4jvrYrSNV0btHyOKoR6BATGvn01wRPcgcMA3CL2OPlFea\nwZQOw5joSKmsbR7jbuSNsSTZ+MuHzHzlJRdkPGT8hkKSEPXaq28lxwozbBqY\n1hY43EAe/kcdAyXCqcvF2IrbGWBBWsRsJjCvtwq2JOi0eue9fOA6NljqftK2\nniGApFj/iFoRtGYdTKmxwfEPctUkN9d5nMc8l+xZCUgBM3rra/N93klYNhWU\nllO1vM7kc3MMll0PYZyHysHZzNU9P5HuhO2a036b/f/8YPxU7mxnFoAoxGl5\nKMjUDJsD+mzPRowkNsJoz0+XFXKBAWkeCQIOAF23evILLQBa7sXyYmmKiM4D\nGkkm\r\n=1C3S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICyBAQ6RKBE0cDtpsEOXuZpxqbvb2f8BUg8A0PNFAfTqAiEAtqYvIOh6tJOimmvAqnuo0mzNnIR7MlpwqI9+AncMPAw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.3-alpha.43_1551877975243_0.5538895625387381"},"_hasShrinkwrap":false},"3.3.3-alpha.47":{"name":"@crave/farmblocks-search-field","version":"3.3.3-alpha.47","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.1-alpha.53+59b4d8bc","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.4.1-alpha.47+59b4d8bc","@crave/farmblocks-input-text":"^3.6.1-alpha.53+59b4d8bc","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"59b4d8bcd9024d95f1a9c495dfee6cf9baf3681b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.3-alpha.47","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.10.5/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-+ayNNVqO6RhxbTU0CPcVKvnfDZnHsUGpApcvT4lRh945drCBQXvQWIkZlXuiJKBQXZIArSdMLPh5A61SlTPVCg==","shasum":"25160552f894c6aa07ea86567c6c163c5c724ceb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.3-alpha.47.tgz","fileCount":11,"unpackedSize":63333,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf9drCRA9TVsSAnZWagAAoSgQAIPqSVW0Wfig8kO/AhgB\nUj1HTWfwfIl9YcBzgiBsd1U2mC85rjrv7NwhL3kvol90TO33IN5khMhSpRmX\nOvSeERJ9fKGeBB0TmDYz52Hx7GfiWkkPWQ48StNtRZ8oY8T2P4QD41ePxNp5\npf4RmCajYnui/1czHwj4gO+SU/j1buVl45u4OiG2qzZ8jmpPNwxkXN/h4Vtj\n/r5AhTDYYew7/iD1+NEreK9MApY0LQK9lkfmpCxfAaMoDegxRplAuy/OOqEJ\ngRastRIp29eV1pidhxBi/Ewx0oX+k7j6TQeme2170/iskJm3XjXZuOvHSDkD\nOn0azJy/GZ5lUj5pOVzzu2tP2VAlFa+0SAxkD4KULSI8uFuMwSM/ZVl9XDmQ\n4qRfE2VHxmoUO3DY7knOb4g62eAcVIo7qvRgZMN/dp/xdbcMCGvbQ2rMFRV4\nfBkt7khqV7qPxdPHqi4uUgqHHvyDh05ZwCHscwiOHWCTh5rAV+w/xVh8/EGw\nz+H0Ca4/k6pL/JL1nPTmKloMSkj7b9F9zOkrBWMROCcZnYEiNAxw/e77S9yV\nc49pXGyTUJd6gQKyU/KXkwV2o+TpgxAEHsRbrxSUD0exg7hJ142y/z0odF8F\n+utdj9kA2cI/DF7mw18TKkQ10hS7cYZzxwfmq33hcYZX7xSGjC8KnXpUgHIS\nx2oZ\r\n=FhWZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC/sGX0ZThDBZlksW+VNa5d2tPonrKm9jNHtEr4eUaDMwIhAIJIhDzR993d4Sbgp4IDhhzJUCLvZlF8sYr0CPTnnIwz"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.3-alpha.47_1551882090567_0.3190282455241562"},"_hasShrinkwrap":false},"3.3.3-alpha.49":{"name":"@crave/farmblocks-search-field","version":"3.3.3-alpha.49","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.0","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.4.1-alpha.49+f0d6c3aa","@crave/farmblocks-input-text":"^3.6.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"f0d6c3aaf32a4cf5a4df36210b525799484b29ba","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.3-alpha.49","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.10.5/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-b3BRcohm9fvQ38HY4AsjxgFItXOd3Sq3qijmNYl6hfSPsXcgwx1ralyZEmWqFDV69d9y0XLijMd+xZfHiCdTkA==","shasum":"7642ea727cc74928c463d45300f512a5c122e605","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.3-alpha.49.tgz","fileCount":11,"unpackedSize":63297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcf+6XCRA9TVsSAnZWagAA/TkQAIFixpK1uitodVp0PhWp\nSTEU6dnxURian2w72ouJ2CojY/ycK7ULJ3q6DziJaf6vEY3dmdJcVw3KKshQ\nDvF/EdOaRhqHZw2TbctltP8q7NEw8nXX9GWChZC6svMeDEoTa18xoBQ9O0aG\n0TMgQXZMrI5w4Lvyj1KK604Ofq9xJGLycGi+lwNFKXmb24Q0ruaCj/dpL8zl\nZ6Lc6NWTCvwbJoWt9XUWbVxpOxuIO3dJ31Lp1HjB2VEIfN3aoCN2ZWNwoi4B\n89rZ5Cp93wdFlJUsQ4E8G2PMBq2qVtRODNdovScCSS+1nQyhFw5YZabbkA3T\nZTOwRtlGyaDCH1CiNox7d7rBbKT8NzPG58bxemeae0U1XJo83TfonJYPyOOn\nnDzpmRN/2rZ4nWTtHX2Xuqa79NxI8ikR8kmWZGd3KS1eBC32TKRQitXSs884\nOuNbfa4SY1OTs8ZF0DLnjCrYPGtlqB5rV5Fwq/fk4J/wjrpOglfL/ET+g0RZ\neVyeQ2dasH9lMIz2QRFT7LdehZaTT45AUogcTxDl9r6KXUBXpVYcrHHSKzGc\nng2uYNBvA8fdYVh8ddxb2YMitHuO8X5C0DbKr9F48oXOVu6rd9bVs0CrXebp\n+R0IlG+qVdcy8Hzh5jHBaU2Y89r49aTbaF9YX7PHGcWLJ+A9SnHZxPUEJfXz\nVrrR\r\n=d3sT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICqSclyWtDi/VD0qqJr0hAnKaMi1WHkIeWXxI3FGHk5aAiEAmSoxrmCkiTPggcLMob3k51Y5sHN752yg3Wf2PTxGccY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.3-alpha.49_1551888022613_0.8341772553659468"},"_hasShrinkwrap":false},"3.3.3-alpha.16":{"name":"@crave/farmblocks-search-field","version":"3.3.3-alpha.16","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.3","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.0","@crave/farmblocks-hoc-input":"^5.3.0","@crave/farmblocks-hoc-validation-messages":"^2.2.0","@crave/farmblocks-input-select":"^3.4.1-alpha.16+fb4da09d","@crave/farmblocks-input-text":"^3.6.0","@crave/farmblocks-theme":"^1.6.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.0","@crave/farmblocks-text":"^3.3.0"},"gitHead":"fb4da09da08daf0bd9c12a4306f4fcafe6012beb","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.3-alpha.16","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-b6Y0Hq7coZ8vU19jqDjsO6rB4SUVGF4lBhlCWubdJ8BSk7KQDiFq9ET4/pcarOQGiSfn/QmOh113/2RVxCy7og==","shasum":"fa7c772bfbdb6a3e71356ecbbe4f883895b079da","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.3-alpha.16.tgz","fileCount":11,"unpackedSize":62373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgCZnCRA9TVsSAnZWagAAlwUP/R88RJiYXRGS5zlA98jq\n1bb8CRTMiLbMTZnXls60MYoOhGO1oLY4ATDpPmTgZHKDc4MWycgHxC7Iai2t\nPGW797Wp1rcKb5ZsiwvDs4M77BMP7Tw2R9OHMv/3K+O+e307dBO/DvPccF/V\n6BnGzI0Sx+b+mAn4ZmS6d4DRTXi/sKnEbFzNfhy2HaEgWANpjQRNgbfiiVfF\n0IqEGDjz4CWkJYSJULqKsi/dtSCfltNhpObD5rIEXuoDXZWJv2wofFz7+jVt\nwbpw6yz38iEl19LZiO5jd8rV1SYYxc0uVqY0JTWH0GzCyw6IlZVasv6jn+BW\nDwVgToYubgh+SkbggW4HM81azO7WtClA1s80ZIdjpsrmsmpIe1MIHIhgbbny\nfPCmQXnvcd4ZWFRIT/4z1ecu1l8VjjxgJGDNc/aT8bbrg/h73jEYOE7KYr+9\n6utLmy5xR+BFEJn4Gyw7Sec1XrIKjpJT/mFs3iIAbCZI/iILzrmQ4vHe+eYU\nVF60Z2gDN9oVGjTOHYkKzTOlpuY6+3qc8YlwpOW80Vy1LJFRj6rc/slo2SrY\n/pkwm80zAibVCjRyoWCgKRME+pjX5rY0mlXLvoVd66NzaWUPRRyFfCZ8aCDz\nw5t+J8ESbLhHrRWxI+HyzHlSdgkt03MVbAMe0BYqbZCgiX5bZhZ4M80XrV+I\ncjIo\r\n=Lagg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDl/zFMp4dNrREDlUiaQ6Wr8rLeW729vu3iml3jZRVRWAiEAiNFhHZR1NceNcnx/vz3wPfr/UPNNU2vP77EmyysBE3Q="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.3-alpha.16_1551902310911_0.5148185239054581"},"_hasShrinkwrap":false},"3.3.3":{"name":"@crave/farmblocks-search-field","version":"3.3.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.1","@crave/farmblocks-hoc-input":"^5.3.1","@crave/farmblocks-hoc-validation-messages":"^2.2.1","@crave/farmblocks-input-select":"^3.4.1","@crave/farmblocks-input-text":"^3.6.1","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.1","@crave/farmblocks-text":"^3.3.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-search-field@3.3.3","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.10.5/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-0XaN1pHtE7t7StFRwBulRL/drmNeZc+OoY+kH/wOT6FF5daCQ8YWGS6VuMHw3zklAGsjUd5z5XssSDaKS1tWsQ==","shasum":"a87557ebc91651cd39cd850e31f149f5b94b2a55","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.3.tgz","fileCount":11,"unpackedSize":63524,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgSDRCRA9TVsSAnZWagAAu9IQAJr11UvQ2Z+I7h8nO5lA\nLouIgVACChKTthj5sBh/imEWy7j2BDFuzjGkR6IFWuzCEKGmdkcKhNYLmAWH\n8o1VzQNlCemIAwNLKdbe6OO+K2BgGMp7jSzPynmaJkJvhGQS2s+RaWKTNmq6\n/nVW0YO8TFabCpiQmnkQhH7m0G0xVqkt4PHge3f6O0ohi7AvBj+hKiD5Q6+N\nVSYfh5tyJ3I1+0eXZvV/AuAoZosOnPf4K5A/aGNABk0bMgJyn8eZZYjL/GRK\ncIYVM5xdBO2Ws+dSMFWB7bFsMzZWUaHZMu0fwb9fjQ9LYWvx1RyXRqEC73fj\nPdOPBcShKNHqD0nEswSZWeyhtVr4JPL4+tbOGDtfUyhde5qG+J3IZY4o6WX6\nSe/fcDeyCRSNI7Ms+rthiLgiKuOcQOAMBPZ2QIGycB/ZtvZp3ND7ffaexZ88\noe1O4F1Vl9rr30jyHX9R70nO6bFDAms2+bRjZySx7Esm1mv2vX3Yeh1JDjRE\nQbslBUaD1Mff0/g2sJijYdX/hJ1P0m8UFh67i3hLvUcnh2HxrNVhlpdlX9aM\nmBGgajTmcvi4H91iphhMBVjkTQASk1soEFiWdJsHiTWY+UjOV5OsHnUbkrhS\nD5P9oOymjB3a7jaje87RlJusPZ61Cdstm6vRBjkow97fTtp01203QyecfL6n\n16uP\r\n=WySK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDM3ViXRx2kKh2uVaLmeYVsa7vLVR1zCqnU50JUbQYihQIhAJk/JisA1rgDrkoW0TyiOoO4eCFk6AZSmaPehaUzDXk2"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.3_1551966417173_0.07273189709143013"},"_hasShrinkwrap":false},"3.3.4-alpha.0":{"name":"@crave/farmblocks-search-field","version":"3.3.4-alpha.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.2","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.1","@crave/farmblocks-hoc-input":"^5.3.1","@crave/farmblocks-hoc-validation-messages":"^2.2.1","@crave/farmblocks-input-select":"^3.4.2-alpha.0+d0faa632","@crave/farmblocks-input-text":"^3.6.1","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.1","@crave/farmblocks-text":"^3.3.1"},"gitHead":"d0faa632d6f20bb6e7d0d1f023a7ac220faf8b2f","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.4-alpha.0","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.10.5/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-BFlNTLNO7yDAv+rPe8dia0WD7xj8FJs+CAkpCEVhpPkeExCi/Z9EwXd9pNn5+yJlO/45aLKH1vu5TyqM+Eq3uw==","shasum":"0c0575ddfaae56fa5a62bc1b5a9be649a2307f70","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.4-alpha.0.tgz","fileCount":11,"unpackedSize":63558,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgSM3CRA9TVsSAnZWagAAALgP/0vjtmKRd90coOCzR7aI\nzm25n+wrLxxzMyKgzZR/gBoOF8GwfJmXKtZ3coFo9qMDh9BrALtYUquCLP8X\nMP4lIWN7IkhkHrZ3Hc5xWOhjamuThFub4Dsg414zdJVeJDOuQtpi/3WiJZfb\nh6envTxWoC04IHPytg8lAeCGLtnjEbBBSIC+vfDRoI40mIRAQLmtvfXNQYG6\n5UQzFk5sP3CkJDEhwl8Gg7WMVoJt43swVgA1N0hSPxEKAuYE+2L/lqXRjmiL\ndiUX7w2/+0KKzvj3qTqIvpjTBmKL1V5DBod9r8ZVCDklisTz9k3XcrgFJb6w\nQgSiqckoGR6ZInxxb9+DBXrwC3pczHsPuaLkpOhaKaW9J/McczABGoRNHh/8\ntQC5YFaLtGItUUGc4N65ZGq6ryjvCdQHgYV0vzmFFSCsCrgQzH/8S4NztfGA\nv5/VS4dV5aCUp7oIiXItKl8AoZlaQSRNKbTPpEiC3ghkzVa8nTeUiVPLxu2f\ncBy8jt6yyFBdNsv+Y65hwDGtPjiPaOgjo+86m+aZpbA1BwWRfwCcLtVp8OMj\niCPf3nOyRCbGI/BRHJ+WXs8m63ABItECIkGEeCQdV+GZeqbWOyPuUFScWADl\n1MSRfir4abw3pZKt60SSFH6m2Va9gXjZXcMwX4OTVQ7lR0cnDdB8DzERqofO\nWmCX\r\n=7/o8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDSHDfTXeP63YynfFpAtmoBXW8ZS2zji7mj0H9ewsWl6wIgbYNmhjzhaCeHLlmJzvJfOmmylba/Jmmedo3RQl8V5cw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.4-alpha.0_1551967031000_0.5323327295853106"},"_hasShrinkwrap":false},"3.3.4-alpha.26":{"name":"@crave/farmblocks-search-field","version":"3.3.4-alpha.26","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.2-alpha.26+184f3c0d","@crave/farmblocks-hoc-input":"^5.3.2-alpha.26+184f3c0d","@crave/farmblocks-hoc-validation-messages":"^2.2.2-alpha.26+184f3c0d","@crave/farmblocks-input-select":"^3.4.2-alpha.26+184f3c0d","@crave/farmblocks-input-text":"^3.6.2-alpha.26+184f3c0d","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2-alpha.26+184f3c0d","@crave/farmblocks-text":"^3.3.2-alpha.26+184f3c0d"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.4-alpha.26","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-q5OgmVSGEjGErVRLAzC7TCkbG42+eODg5BgvlUCfKTl5wkJ6ckNUoekRuqC30MI/PmYw+S81IwrJ42PzwGNoOQ==","shasum":"5d74e09738ea2485bbb1d6faf135c0a652c33e22","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.4-alpha.26.tgz","fileCount":11,"unpackedSize":63164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgpUyCRA9TVsSAnZWagAApYwQAIFBdKTBAn5wV0T6w9Ph\nU5eD5Df1Bccn+mf7RvIVJbH2pbPlXoE2949l0JRLMYJhD8thFJh3wP2Bc+Vi\nB+wSMBxpfuiuTeY/0kb5xhXkjSCxdRFV5CXG+LMZ0ZlAFLUZFt+EOONOtpre\nEAE70PB3HpJg6dYB/hKa/3lUhlrKEuSmcLR/yGi0rGBrphKlFWi7x8iBU/lJ\n2ES+mU1W5LmbpBe3q6a4TXDhEHNXyfoJRCz3Ogl1e9YQAm0+8FKo4kuyMH10\nZ3FdUgy6rapuOmySaSOyuuQE5D+yJAuzWOQHPPBDV/q4Zv/Dd16TgIEQADuw\nfj2vp4FPJhJIYhO6SzCWvLkwaw3o6ZYfRBbDiAMYcC2mW8RlLvNmKM3tKLAH\nFFCKv4OKXpbwSzhb3ZMXziCyVtUoaN9mc/L7QExYXtdycjRPxQHDijrl/Uen\nuYXEvqpErLIg/JC1ZXDCU0juAusoIMeFNENiYyBip18f2qSTjEl4UYn48Rpr\nUZdk+uRRcrtruaXrYJyIj3+JRsRCya5Zh9u4RvesuNGpg/F6t0asVtwUylPW\nX5FUhKxRmeYWr5jYdZdwR+7v+aKmjkFSb1Ryenk3iWEvZrLZROL3jjXLWS9C\nFDAUxz0EdaT9r8HnwLZTAVsDsZKVGpB8WtUsxjl4aJFGfjMyYA9goon8ZByY\nda/N\r\n=fEPc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCTJEeumPe1uAfZRuLW9F1ia68l4OT42xT8kIU8MDr7/AIgcLI/WA+d8pFmZT8pCPgZnSqQ9E7J62+ykRKBI6t8Zzs="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.4-alpha.26_1552061745919_0.13726170946496064"},"_hasShrinkwrap":false},"3.3.4":{"name":"@crave/farmblocks-search-field","version":"3.3.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.2","@crave/farmblocks-hoc-input":"^5.3.2","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.2","@crave/farmblocks-input-text":"^3.6.2","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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-search-field@3.3.4","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-8RO4EtG3yL6bzKZHK20W4RPxzX8sG3B3m/9puyLKN757yFgZJ3N5Wn8iDeZx7snhe65l1G1SI8KdgrqxCi08mA==","shasum":"0e899d03560eef019a868249f604d4bb8a849ec3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.4.tgz","fileCount":11,"unpackedSize":63246,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgqiZCRA9TVsSAnZWagAAxpsQAI0Cygf1yhVoXqN61mSb\nTayKytfCJ6Qvcyei7Oi8CGoPzseaK+r3tAFC0yILL1FPijURvfIq8LYFwNX3\nd4ciaxlCNVn//lRHudiZscX7Amo20EfLWKIFxdKPhWXChPbAbsHMnis4I5F/\nGI3o8OD3WyC0i1oRWPId7tkwaVJVCj3JieGE/PGD4WH1sUCo1gvTrQTlip88\nkyf5j+R+35jmsZpMVpqKv0le9f7ljFTR2rdjTWfOY4hTP2CWnIQuyunq5DLB\n5VIfj+8No1wsTloV0G3ZUgAjHpb8QECfZCRML++ye8G7D49SneBfEnrZL0DU\nOjaiiiZI4XJKhyMWCrmirypryRsaUpFmFVV2xgxmQssznRQ2TrXT9OK4gkRg\n9nMHZ8GZbGIAnTXSer53UPZXsOTBBz5Mv0/pm756XSC6sYr17y6WKVfozJWZ\nAyEmEpgDVgUZ+/dJlbo8IWRNNBEoVSIci3RyIIT5t+21YnrXwEkryZs2uFMr\nomJQ7eWF8qJ2pSznHZP2dgIisfY5VQ0mbjA5/WJBHKWWjBggHBTpGfPpEeEQ\nLX2hcnnfjfdBfRsFzdOimOuLFlZ9BDEL92kzGQU1DBmW5r/ULfPE8LOEo6wq\nEp3pJWosPBK/hcGPAxjzkEKIv5fcgL6YvSbrc+Z1ky7Om1ULE8hknIEYGZJD\nGmAg\r\n=WWXO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGNhN8GvegsQ10Y6RRAOKbkerSw2eGb6e9pQiVFGgGFDAiBkFcoc72upuc4nGVLuI24iqI+BAOwg4XaN8rujjgQB1Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.4_1552066713089_0.31851701851277814"},"_hasShrinkwrap":false},"3.3.5-alpha.1":{"name":"@crave/farmblocks-search-field","version":"3.3.5-alpha.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.2","@crave/farmblocks-hoc-input":"^5.3.2","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-alpha.1+98217e5f","@crave/farmblocks-input-text":"^3.6.2","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"98217e5f680b62acc6e659f2a152ab8170442ead","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-alpha.1","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-jBR2/MnMT1vdaNQGOcz1JyD+N3WuiIBDR+vUAMi9JCwNPAgxsAGDhiKN8xqY947Mx/bm0Ti0mnNbeLNnohc1eg==","shasum":"861026c4ba302b1658861b8fa9e4e67eab9a323f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-alpha.1.tgz","fileCount":11,"unpackedSize":63280,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcgrc6CRA9TVsSAnZWagAA/I4QAKEWszQem11EVl3efD2L\nMkmtVchxf69yGABlEy3XXhaAt1zRlYI0Oeo7F42VvLp5plyM3O4nZGGOwDBX\nio8kssCx8rCHKzBNI6nYI/ex3DYG9zVugiGi7uvLLCcyeOP9bsDbHjq5NIxb\nWfERAzGDlTB+bQeA9y+dQNnQYE4vnxOni2yojKRiini4PU9L0vLghGws6khT\nv777thdgJ7QQiQnnGYe+52PznT/Tj/82Ur/rtOyZXDIxY1eNRUbDieD3hPym\nbBBZN56PysuWJfW45LekEeX4CCRgkJ1CsoMQKlqPLfhD/VbGzE4yO4WpKmW4\n5itJPP3mWQg+fmhqkucVNenFSihEIZHpkULZkr9eWZzm/P7BlqXb1inePS8C\nCLDrZ2W/6gA8AMpvWpX6RUJtKf9tCrH/+ef9YA+akaWpr5lZeLGMDWXIS22E\nSAF8Jct/h9/K8XBbRVLiOi9AGwy1d9FG9GcsJEa/Fm2RrG2sEqrKLJHVoDkM\nWgkbU9WMJUkL7yGq715u0bek2piOmXrukLbZgV6DODX7TLVCVOz3FAfl3XTl\nvVnvKmr2d5QHbAILe78UtRX/Qon4YZtzCKzSQXiN77ARWtEuM1nN0Dqw9YnS\nyMvT4rVMygC9xQEd4uVsgC5b1QOn9Z09FnFe+80NYzZ/P/9fawkegBlyiaQ8\nP8Zq\r\n=Gnv4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFwWQAIMEyKMU/X816VBqFYpJue1Zf/WxDwmtFj8Hx21AiAGkCIQqGmaD+tgNXA6P9fSFpf1dwBZcFAjgtVtT35Rpg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-alpha.1_1552070457517_0.5785899342424552"},"_hasShrinkwrap":false},"3.3.5-setup-percy.8":{"name":"@crave/farmblocks-search-field","version":"3.3.5-setup-percy.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3-setup-percy.8+6ab5bf0a","@crave/farmblocks-hoc-input":"^5.3.3-setup-percy.8+6ab5bf0a","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-setup-percy.8+6ab5bf0a","@crave/farmblocks-input-text":"^3.6.3-setup-percy.8+6ab5bf0a","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-setup-percy.8","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-gj/huT8Kp07wUEUux/U+xnyrSyBM0pbAONJlH1RDY9Hr2GOtoYmOymw7BzgFCKUZi55DczRi44k+G4DcR8gdLg==","shasum":"808493fe81e93aa9c9f41586109692b483cb45e8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-setup-percy.8.tgz","fileCount":11,"unpackedSize":63361,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciUaJCRA9TVsSAnZWagAAPBcP/09rVmpq/dPxUBrRACdD\nakWeLCGmJn7OvDQv7pGPHBNunngCH8NpJ3D0Kj/JLDJWvc6LhVPA5RGY9gwM\n7dDbtgphna8ZeSVsq29SKQ1L9ks7BDYxU71u1ieS/M5BoeAtidmzv3Il6s6D\nj8G15C1ItD3Agc5X3jGWIlmIdWKwYUgZDIzRQSA/tHq2pN+uwtYwV/3NESfc\nsmEvo83Fd9oHacioR1MLX/oNAXu8fvG41eSrdct1EeFFxpvElNvWzaldfuFN\n4eUAkAx+Wq4dejNfZIB5Bb+bZsqgv4sX6TstwflsfeFGqwNnCGHt4IZax+YH\nOKI7CW/rcgzUys0GqbeL0yyT83tdj1U1YV+vWrZ1u7mC8xxG7i35rYyPoAk7\nqdgvuPeSiwBEEcCYkPy+obD3JwWOXX64Oquqh/5qhQuZJo1fAhMlY50NcgxA\nWEZLYsmkyf+cWRBhb/Wyi1b6UPR2NWTqN8sormIFC5g9kN6mAA4BM6PnEX3D\nTKqUZI02/kycaiCj2r9Y18hO4XCmxRr6yvA24XEWG8ibYj2am7hm9kBy22m3\nGGHoUZzMiMi+WAhZHXL92+iW4B/w4jTRhLGQKmg4D1i5vVbS94rMjspAZxnB\nJbOSxCyZn5VJCGdQB/kr/fC2SbU+wl6CoCWO/MKZvf7pt6QkV1BTGZTU+UTP\n7ffv\r\n=uokA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYIoGpFx+1EBrRv8EFWTegMuONaj9wqOhjIe3yEJznrwIgCYBQw1WvZvqEG9X1HyIRuAeqvBFoINWSvOTHiYCM/AY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-setup-percy.8_1552500361172_0.5849080601581249"},"_hasShrinkwrap":false},"3.3.5-4208.1.8":{"name":"@crave/farmblocks-search-field","version":"3.3.5-4208.1.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3-4208.1.8+381557c4","@crave/farmblocks-hoc-input":"^5.3.3-4208.1.8+381557c4","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-4208.1.8+381557c4","@crave/farmblocks-input-text":"^3.6.3-4208.1.8+381557c4","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-4208.1.8","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-zaDUNplRPz7OgAfp0SMwb0r2mUTFIhs1N8cG0wkKf50xIaqS3w0GfXhdPBQ6t0/NQ+na+ZsDUcB+UjflSroCbw==","shasum":"adbeadabdf800a24ec259ab93d73ddcbec838cba","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-4208.1.8.tgz","fileCount":11,"unpackedSize":63336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciVk8CRA9TVsSAnZWagAATuUP/3d7aZAjAjWn4D0oGJVk\ns4T713eSIyU0CHz8kxBXif85MdUiV8NtBkySFvBFFOW46im3d6vVW4HV7Q0C\nrCYWrHRQGzykd6WL3KdNCKRmHmobO2BZOttgHHH5vVa5J6IBK38U4gF7/eG/\njDB8kUvaNdIz30zqjuC67NR17RLhUSKLFxbKj6SWK3TkMxSjplNTQSjftgUk\nl4RBoAA1elKekUOI/6Tf9jJm85QKr7LJMsLEe+DqHxOXD8s4066IM8Ml3BGJ\n/vSXsZhFoR7Mp/D7WnOyfOavJrVZgB1kDsb0Oa8Grp9sHiAPZbcwtsb8AAWf\nPvsk+7cSFoao/4X1njlMiqkzcOSqXZXHTefUlSuPvMDDsAsBBfMMIQGOKIUa\ntnMmzZ241NsxwYhVsoTndWkIGQdhVGWdWvPzZ3whCDfJrOE624QRB4Qe2vLB\ntpkcahDbK5yqI0MVG6vaVf4z39BDMyOdiLJqIiRGsBUkBdmCkDhMil6DuIjk\nYZyueuPeJjJjnFYNzxZMYJb96I31Pba6Rgp8rFz7G3Kq+Q6C4qOEdpIPjJBB\nVtcZTfLtYGP2NBQbeRq6+ZFSrAXiHsxUzun8pLgSdfTFwRVeCFKktirT00AZ\nbIhzYq0F696ZHZ4CIJYAqPvck3NLJ8PW+N4RaclHqjggv80iVBbgxynu4Nli\n4WK4\r\n=sHJz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBFM/+Oye6xISo7bLzlX0EvWrr0HMPlEhK+7YhWJ7xG5AiEA6wbixVIw/hKKOWtLLLPYQOxZ3L9sKE+WvR5nMVwN8iA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-4208.1.8_1552505147445_0.8872999716373831"},"_hasShrinkwrap":false},"3.3.5-4209.1.8":{"name":"@crave/farmblocks-search-field","version":"3.3.5-4209.1.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3-4209.1.8+381557c4","@crave/farmblocks-hoc-input":"^5.3.3-4209.1.8+381557c4","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-4209.1.8+381557c4","@crave/farmblocks-input-text":"^3.6.3-4209.1.8+381557c4","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-4209.1.8","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-xkAGvvSKt/9/2Jj24iZPMUFYetuXdRlvjHnYb8MMgcjSw2j/ZRow5E87brupYjN+2CYWVdxQFN3k4MIpz/+NIQ==","shasum":"0fcf8fa0958f9587270c07e1474a4c68cef0976b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-4209.1.8.tgz","fileCount":11,"unpackedSize":63336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciVlMCRA9TVsSAnZWagAAp30P/jjXSWiMbk/gva5kZEtt\nmQrGPoX2Q2mPd5rsbR27Ww1G4yNIDOb7LhmK/p1dZ/sz3vPNNUiH/j0hMhcm\nl38bh4XZ34Gl+iDCJI/60r4i2fRsJ1/j8rC6TQP/cz/728cYmThR7YSP/wPO\ncf24OsnCakcmaOP6Z+hTS5PqtSckhWfOy0gJL2S4BeZ8AB8LOZhUO5cZ/pDQ\nYZjmRluAodS5C75E/8N/+Zodq8Nr416b1oJxTJK6tlbAxCN8yVl9GM2G6elf\nnONoPIhhEGt+ELzd6a1J6R0+o4bx96q9Z4GMWtGN+DcQ0WAG9c9VT8w8+N6M\nynvCj+xcuJNfm10r8Hrr/UAGqp1BsNur6SusoSK39WQudXJfPTMb3r2w0TTO\nhiTYqInv8/H4miOioZi12inF2xzJ3yUYAO71YvHQbBN8TN4CH2n0no7R9952\nITdyLtrLr8yGzv0Svq0c6ZaAdzcOwos6h0MbHR/ZrWZfq8Q9EGbrx0SEZyb3\nLlBOk7t6jEw+u0jhY+YshlAz+m/5aWWWcC2xrZWJ1Kx7offdaJNUcmgzI6mz\nXtsxBan1/d8iJoqzDth5MLXs2ZWVi3LT/0/kukHRAtqxrgXILToTl6VcSQNH\nj4mCQ/kiY9uoHiULVzYgyK2Pxrynrt1oEaNIai5j+pZs5T/ZC4scwlY2KQqZ\n/36t\r\n=PBvM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDYjd4iQmGeVNwQ6kk+SWEqSOn8RPYqgb3MGzKUrhcmEQIga8FzUNXc2EEb7gLditGXl6Q78Ml4Lao9BJfEgPMkchw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-4209.1.8_1552505163577_0.5091587646044335"},"_hasShrinkwrap":false},"3.3.5-4212.1.8":{"name":"@crave/farmblocks-search-field","version":"3.3.5-4212.1.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3-4212.1.8+5104953e","@crave/farmblocks-hoc-input":"^5.3.3-4212.1.8+5104953e","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-4212.1.8+5104953e","@crave/farmblocks-input-text":"^3.6.3-4212.1.8+5104953e","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-4212.1.8","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-8c6CxpIGgXBi8vk2z2ipnLEPmdCWD7cNYpVhJcvNJK9vDq9XdeM+hq/j17775SPAgvzoOgjY+m5AAnQrU0yQ1w==","shasum":"a8e3161d2c0c5b2f1b5de1434deec650153be4cc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-4212.1.8.tgz","fileCount":11,"unpackedSize":63336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciVykCRA9TVsSAnZWagAAWTQQAJqEz2i0KL5kDE5/Vx7u\nHwTZbB9AVJdXllN2eGxE3scYSelBre/HoaKwWmY29Uyn/YYhJz3AlPT6jii0\nJZYu9KwvCuUAxCXdy9w1ToogRgU92wdZm+ciEv22zc8EA4xjN35yVCwCa4Y5\nF03WcPgGOqjGXpn++6nqJ2kT+Tgyk0+glCnGCkuGlup53Zm0iaHx8kle0KPF\nFe+Kr2unTG6bCHUTaB/eB5ZdEmhtLcWHpn3CmYv6BnYwS00wfNLQQCFgCHEt\nLzBa6CE37/qLuXhMSf+iO6gnvrQLVsH6dxXIPmUEtLh+4QHRDMHGbHxGXtZk\ns3dWh85elL2qVWyeq/WdmekH+8jQcH5XIEE2jkBxdvHApLruK1rJmEzXACOb\nHuyfw7TRYimc9OEiQ7zn2k2idNV2wZzIV4z1Gk/jVEhvAhxND9YORJrIubJa\nWnB9OoKshlI4b3qSYjMWM/Zy+mI4y80P8zLa/gLoFnFauNT83gIAPmF+A4HU\nm8PmH/M69+GcQy5UHaU6atXorfaQFn1+50ruBYuVn723YS6Gv16K4/LtJK2s\niDtjA70YQNAOHmgGV06Ssjf2jnDl2N8+TU9R0uWFcnReWL2I2pr4H1z4ipma\n0LOL4dg+2pEfqqdvsa3Gf0fKeHhj+S6yHQt+FpOkBgAJ6lAQOYQVNYWqvcfe\nRZQ2\r\n=W6Yj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnlo+ajz659rf1fXwJmQD/9yJsrUHZuzGhSVHAU30OgAIgf0N0Q1pP/kDM7TCXKKD3zSrHWLVfpW04hY9ySifssjA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-4212.1.8_1552506020289_0.42891998931639397"},"_hasShrinkwrap":false},"3.3.5-4211.1.8":{"name":"@crave/farmblocks-search-field","version":"3.3.5-4211.1.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3-4211.1.8+5104953e","@crave/farmblocks-hoc-input":"^5.3.3-4211.1.8+5104953e","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-4211.1.8+5104953e","@crave/farmblocks-input-text":"^3.6.3-4211.1.8+5104953e","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-4211.1.8","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-wAleX33p9agUBnUO3w226cI3pSZLOzhNZNtpHsL0/kmOsaiI8tfUiBYEzITg1D6nseF5lOjVWq7/cpvapy42fg==","shasum":"d6ca113d16d547d924e3b2f7048e1ef0c67ae2fe","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-4211.1.8.tgz","fileCount":11,"unpackedSize":63336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJciVy1CRA9TVsSAnZWagAAyfQP/30OIsUOzzYNSOWITZ5N\nAj/bntzeWYkMvM5iDbX8Qup37i/+pUDr8sEs3iAO9hHINwLL54mLTkAEoaL7\nRgsAqYv9OFWPYvUzFVtptJwUD4CDgwFTqGwn8dshdaCE0gcGaldkQBsuIw+W\nZYoPqCHfQaHG71MLqDxzkKCsM90XJodK9shNV9YhRgUL0Ggo5FBizUbjRX5f\nSty0W2pvmOsn46oUnIm+/WVjIC1PxzPEcfB/2BmOqVut45ABFyUCmZX4RG0D\nMppNDl6UAwmpLcl78GVprjmrMvHEiY5B6Ke/PkQ3nd33ARbs2bWkOIj+D8Bp\nhF/Eb6GnGjf9LAbzZe0zJuZbYb++Yc/lZLIqVZSk11o13qCtxo5kemdjmeKl\neL+sepdKOEYztNOQ5IJvD3xlM9fwOJ+S1sCV8gzfVksblVDFpoE5GGXhLEW1\nqhB6AWd0NA9X2jrSH52CZJjBotvjrT2uum1gsh2XrVyZ5QEGSRAtRJo1Y8oG\n3uVHCXRW2lMnIExEmQdQfXmZ5xadAyRia6LxXDj7gUPEWS0ZYvhIr7SUV6Q9\nST/q4FjEh9+fVQFD4JWpEr8pXR9JHwK3wsNL8rTsKRwiQraYjynZbxdsYnCY\nqw5lz/AMhM1BqSvxPk7NXRH3LZpEuYYKa4kR+MVJF1u8LQJCcJK+A9vhBNOa\n2bHg\r\n=HRY7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAxAyit2UuFiCdld6x4nvyBOPVpzF3TZ1tAbpJEK2FVlAiEAjqC6gJQnBphULxwUrvwdvhRIeMY6YNqC3aR/S2XegME="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-4211.1.8_1552506036813_0.7138088722051965"},"_hasShrinkwrap":false},"3.3.5-alpha.9":{"name":"@crave/farmblocks-search-field","version":"3.3.5-alpha.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3-alpha.9+7ab5e1ac","@crave/farmblocks-hoc-input":"^5.3.3-alpha.9+7ab5e1ac","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-alpha.9+7ab5e1ac","@crave/farmblocks-input-text":"^3.6.3-alpha.9+7ab5e1ac","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-alpha.9","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-knAXYU4rchn/B7SxEpPdVFiDz74iC3sB1UMBm4QBN/8FuS3sEH3dXu8uHu2e2+UU58aEputivNnzrVyeEJjK+g==","shasum":"63899ccdee62983d5d36888584b7714270375b79","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-alpha.9.tgz","fileCount":11,"unpackedSize":63331,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJci5t3CRA9TVsSAnZWagAAfaoP/33blBRzwznNQzrHf8uQ\ntiQwMeWBFyn3PdsK+f6415L6+GShiUc+POwlgPtd1SjZQn+qlRLt3rkEPV4l\nH3Y3ewMWfrElY9kKdScNrFkaja6438EzTtN4StfwIxjOJbvJ3ej8lBGBCXYO\nMBUwGNhbnVZ4Qr8keB5zJ3F/fgLt2sYAB/62Aswelu+a/yfyq6203dyup/PT\nYG37u+L4nPtfAigTxCKqdjNpcpAcYkYVTtvuRs80pKGfDo/GsSqKaoJ5oyiB\nnPYViHO2pxZbNclatlOqf4Qizp3IIeHCebgsFhG1qxjW/WDz0W2QjK+GCO6F\nbDUsGSugbSY7dM04T1APuEzTGWUoZarwz1q8BdZHZ31MjYOC+NG84UJa++dU\n6LpzjpRBjDIbE+troWCJSzb8IK4XUinl7BPVvUo5wfna2qS5ysqqnG5jbn5c\n+D2DH/aUW42rxsWtYyM31F0A5ZTTzCZb5VU6kgZfZ72kA/uCiUDCzhWa7S45\n7M28tPd6TEbxGc8Pb3b4jr3WGfEr2EQdcgyW98AQiU7h5p7X5DH0uN6Q56Yu\ntlgXDeAAlXzF+AEZStlaoZLhQ4s4lkuv7S1XinwobCxC8VZ5v41GEDJ6beMp\nA81gfp7SRq3lCEOAvCpoJ4qi1vvZXgesIM0+BtBemB2MMyLpdo9nkp0bj2jm\nskzr\r\n=BfWi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0B1xA3/zUrzj585Ky5et9G85BTIKiqBOdOWxKTW+2qAIgSx+8e5Q263XICrk5xvGHhIJr419Xq7eQ5h/0vwNR9v8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-alpha.9_1552653174413_0.30897615338422035"},"_hasShrinkwrap":false},"3.3.5-alpha.11":{"name":"@crave/farmblocks-search-field","version":"3.3.5-alpha.11","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.2","@crave/farmblocks-hoc-input":"^5.3.2","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-alpha.11+3c2dd35b","@crave/farmblocks-input-text":"^3.6.2","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"3c2dd35b47a97a95cf30489444705917ac2efa4f","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-alpha.11","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-9wegsRe7wmM+hZNrLfbp1TxeVlPUS66/uTIK3coO2nJ0kL7tT5J8Yz4cCPK4LJDVLJRra+r5i6f9P/pR0jUC0A==","shasum":"371cdd82a99ba0804c47fdc86838a00d0f9880d4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-alpha.11.tgz","fileCount":11,"unpackedSize":63282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcjBtzCRA9TVsSAnZWagAALFoP/0nRT0qAhp9yLGM5cy9X\nc5Ri0mSM/WX9UJbnHFRQ1KP8dZ0dCkQW/tKscveAMd+Wsq0Mll5FSNTS5Dfe\nyDjptEFnTTietqJtFvskk0M1Gf3+uSkmdZqoeowlF7Q8CgjkiwvkkFtrPomi\njRIGQIRMULuwa06T8TCnAv+R8H7NEs5bOOElQ1Ci0jJOyvR3xcMDfMVWZeUv\nkLUfz6mbZWjfiiHwCi3Wtn9vEwe6r3KPrDpXlySxxvDMMA+lBkev59Ie6+Gd\nb0qgYXJ3XVDEBbRAdQYocP5r3QCkKcZuzf5cE4wRGxQppec+TfvI29NHuMpN\n6OO2wG5rXzWKt20Vl7moWbFas5f6rAPccwwOUjClVexq4domPVLx/p0OpOEW\nAaU2KrSPOtc8OjNDq/XQg8UG+dEkAFlJGmCbGWnoFk/bI475KV/k6PV/MTZQ\nTeXzssojSuirRCu8QOLbKE8Soi/Akv4iszjCMP+h5qKy/pjc1N9eRmtj+eRI\ngILDoRDzsgLXn6dP5ig4mt/KyeHoENcBY9PZMy7cZOsbFldFSNk7BYqUq8xW\n+pwXO4RVND6rCB46SfeYP5rpmIU25CQpdVF+ypTCwCO5TByQIIS/SZ6+bDPf\n/1ZGpGQmZalm71tS7KytzvCX17WjSzJz8r8ZUVGLxh27I6w+bB+Q4hD9WOqu\nYdID\r\n=vHGa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHWJ8rDYB0kHgYDVw5a5z4WHUzGN8/ENaBjlLTL2ry4nAiAP0zl937E7MIKXHlUw6XmJatBgJy2d8t/gpu0JnuGJlA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-alpha.11_1552685939040_0.07385708746221042"},"_hasShrinkwrap":false},"3.3.5-alpha.15":{"name":"@crave/farmblocks-search-field","version":"3.3.5-alpha.15","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.2","@crave/farmblocks-hoc-input":"^5.3.2","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-alpha.15+a0897ac6","@crave/farmblocks-input-text":"^3.6.2","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"a0897ac6e5714f31f363afb842c7dbdd0561860d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-alpha.15","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-W9bCPSU833Sp9yReIP/SZJ5KL9kHShL5xR9WiCslWibZ10dy/s7fKWI8pbWVbbNehGHvN0XCApJT2trK/m29Tg==","shasum":"ce767912302980d0aa084313f9c849d3ef59764e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-alpha.15.tgz","fileCount":11,"unpackedSize":63282,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcj6WWCRA9TVsSAnZWagAA2kkQAI+K3nqsV8XPbZPNQwFw\nVq2i51Iaqxhty/qJNjqVhoUMaNwgJHhO/wTJo3f13Up019cz4sfUghmruv6+\nXoBFJg22KqNbp7I/Q+JDlIX28edbzqrk98ZfLKtVEawQkjGqujRLS66qKum4\nYnOOr2PqR7xkUcaIUPal/ROBu1u7bD872rbftgIuzhk7kpS8IxTCur7smzHm\ntu1jXXGZbwQssDbft9GYDjhOIMOlUVR1XiY16mn5uqH0zgFr9+zjrCsjy3mn\nzmN45BcepSlS+zf9XDscozqs5Ls1BlsrN/En+y8k9lO/wXh/YA12YXDYv2Nu\nqWtRWBawRZJvTlRSStPNkuYSe31YBEtjmYQshP4GlBrLm6gIfu8XkaqXUfKR\n6rxRuljiCQKAfj53Rq7udYSirFT5cVpkWAUNsH/2jBsKJORZaLx08bxSlfzy\n9zwaM992Bv7Py6yXRijyOApm6CLpYY+dDzQyyhGM//1Fm5xDbOSU/Zcj2o0j\n0PxsqMTaZm1QlzbdZui8446FFmUt64eXHgCzo2mRU4rYOtOlFSFkRjHOspfq\nBj9KgvZh8dmzfETGbcCpT9r331Mg3XihZC+tXJ5+CPtyIJnp1a+Da0Ci3Ino\n5Vy+qts7JhCxxoM/zEvtlUWs3FHDmUfcNXs7T8ZYqfTnTOgLm4weTvTaooi9\nZlZH\r\n=R+wc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH8xskOozPoWjcQ9IeJkPOWQvsq6CJu1k+QBFHzvHHHgAiEA48kuq/s7tZ853PhWDEsmG/+0y8ty7oFgH0IJrPXfFAM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-alpha.15_1552917909495_0.5933506710951835"},"_hasShrinkwrap":false},"3.3.5-alpha-percy-andre.13":{"name":"@crave/farmblocks-search-field","version":"3.3.5-alpha-percy-andre.13","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3-alpha-percy-andre.13+978112b0","@crave/farmblocks-hoc-input":"^5.3.3-alpha-percy-andre.13+978112b0","@crave/farmblocks-hoc-validation-messages":"^2.2.3-alpha-percy-andre.13+978112b0","@crave/farmblocks-input-select":"^3.4.3-alpha-percy-andre.13+978112b0","@crave/farmblocks-input-text":"^3.6.3-alpha-percy-andre.13+978112b0","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.3-alpha-percy-andre.13+978112b0"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-alpha-percy-andre.13","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-+3JEVXFPNf7DP6t+7mwmu2P6uFbxh7Y2eFZd6aOrg7kNBtBkRFpx0ZTQnKLmveUKAPwQBkUbp5NspaDJ0ni5BA==","shasum":"b571ac3919ee888a7c7f30290186fe30045cb113","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-alpha-percy-andre.13.tgz","fileCount":11,"unpackedSize":63456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckAlSCRA9TVsSAnZWagAAkuAP/jD1EOP3i4ok9+t2LYyF\nqv0PXmfM4h94KGo4Wtt/gtGTbrS+aebOltGSQGl2liycQ/P56hcwNtSKq8Ca\nwXy+HE+XUhL8tyDmwAs+ZeAlK/bAxK6pO8KxQIIhkNg0niHRaPxBvF77gxiM\nCUzR68wk5MvypmFDrLJLe/8c5R5NVbdB1wqx70RTzI923kYaN03yAkHTTblt\nATqrMEZnW3KaVZxDM2A1haZbFkJxSRbQILNDPQcpmzeyhuGTQAwkqLRWFx39\nY0Eynutvzb+ltCyHzrC6RjtA2dTbe90wvPmdM4pAwJsS9q55mIkQhknHDnLg\nzRKKHrMP0DyjmK7IDgD6qAHmch86xID5HNrRpr0EsMen6KoFdjovC2IpfC5+\nQUDv+qwOWzS7tCYqQlp4BqIcTuwDLNVDzrtUKLxrtT+6dK2Avt9VdjyXSx0N\nNgNqY4wtSNzLZHXxqX88h/PpUuWLWNYbt61L5+T4LhWkcQADRyGYdOc7cxOC\nkdaKiDtmDcHJT+KNqntyGD08/taUeXIqK7Bp1cPDMl71CDhOf9e6LqQFfNdP\n3xnZV9pCH67nXf4fvfCe+hE9jcZLD6jBte33lEL3Hy8hIMpdVwJB0CoBJ/rz\nZEQWHoHM8uzVqBlqvsd/Or+7v06fhXzoRfkzZ98ycxUg4m8b97zaJRTHOCZ4\n/3Qg\r\n=30AG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH9bm3u79Dld6HwU/nIQRukrbeCH9EfP7iILb4vy/R69AiAgcSGSI/cFuFBPvvq2NxyL1+sLpNUfTpr9sMRFSHQeDw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-alpha-percy-andre.13_1552943441803_0.17508767309303686"},"_hasShrinkwrap":false},"3.3.5-alpha-percy-andre.14":{"name":"@crave/farmblocks-search-field","version":"3.3.5-alpha-percy-andre.14","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3-alpha-percy-andre.14+c37a3600","@crave/farmblocks-hoc-input":"^5.3.3-alpha-percy-andre.14+c37a3600","@crave/farmblocks-hoc-validation-messages":"^2.2.3-alpha-percy-andre.14+c37a3600","@crave/farmblocks-input-select":"^3.4.3-alpha-percy-andre.14+c37a3600","@crave/farmblocks-input-text":"^3.6.3-alpha-percy-andre.14+c37a3600","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.3-alpha-percy-andre.14+c37a3600"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-alpha-percy-andre.14","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-SjfIxnBuC+vZ5Nh/9JEMXuyugddjARFvHdnDMUolv462sb0YEeY+7252jLsQka2Jr2otrlVnqz6pszzYxPfuhg==","shasum":"3bffa92861a131f794144fdbe7544596d401dfac","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-alpha-percy-andre.14.tgz","fileCount":11,"unpackedSize":63456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckN70CRA9TVsSAnZWagAA9cAQAKN3CEQiqsLhNGu8dPA0\nqG6SIaQOnrJzWwz8/yl6av9hVezz8vhdyY5uhIjiGm3YJSBo6SCheV7OMUjV\n7PfoRiPbhfCpqgFbUW2zfqI15JT/m9VlwiTpfI6jHR+gm/mTWWakJl8/hTY1\nkJIxSGn89WSDKg8auEwQI2thai6BGiY9z1NxGZ6hOPdfBkW5Fki6f9cQHVrL\nMUyqitZWLrXmZdNXM6EOjmuS4jyyhDgr6mecsjIYAafHulXl8q27AA0QO9k2\ne7LQ5YIUCzUtyirQ0GaydtE/BmxTJ61mQ3o2B30t8kDCrF6DosrQ7s1gUoDy\ngZyCNJdggN5/1b4AH+2k9vPybCiIT+Cr0c9dFN7PC/9O2KISbZ4+H/DQXo8e\n/BKJmKTSq6BtueJXxk8P/V4toNPlC2z0wMbUKamurvL5p5W224zORSdS3fsm\nq1+LDx7C6lH39VodVUa8C9cLuzL2JvuDCZvkYXKeav5Q2VFKh0mfGAT5Rjbt\nyBe2Lh0Eif9ZYIxNORNmQFFBJYatuHofoBaL2Cv6lhz0+EwiUOOKJCGXRmNS\ndvYIXBv/bUQac6lfqWXgN+bfyTjKb8mkplWHaVtfD7wAgDwtUItThXAUnlrg\n/tq5sQxbTk0u6ciGc/cqZGmbe61ByXiv+fzG5TYQarAwfDxgOE9xS96MJkYZ\n7/DS\r\n=92SW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCv5G5xgrBvTkZ2zlcfCKueO8qNDcpMDrCgJ4Y4SsXx+gIgaLpFa1XJdPGvDhA8vCx/sWQr1PFZaReyOZn5ULAbqm4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-alpha-percy-andre.14_1552998132142_0.1805122647730102"},"_hasShrinkwrap":false},"3.3.5-alpha-multi-select.19":{"name":"@crave/farmblocks-search-field","version":"3.3.5-alpha-multi-select.19","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3-alpha-multi-select.19+e3c075b3","@crave/farmblocks-hoc-input":"^5.3.3-alpha-multi-select.19+e3c075b3","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-alpha-multi-select.19+e3c075b3","@crave/farmblocks-input-text":"^3.6.3-alpha-multi-select.19+e3c075b3","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-alpha-multi-select.19","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-YOn+/6fCEYYHETwgCJhOHqM+56uSMtaaDGg8eUo6bNlOOeLue9+Hja/jS3IkeD0FTQvKmkwYtnFv0iIS6bb7OA==","shasum":"f58320cc53dd8db6d69905c3e8277d099317728d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-alpha-multi-select.19.tgz","fileCount":11,"unpackedSize":63401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckUFPCRA9TVsSAnZWagAAgF8QAInTkgpDzbn2i8aVjn1+\n3ahhZOl3GwaDZzaSV1M5UHoZVUTyDWqADU2NsFOu+AvB949IF79AMFnHrJBH\nu0uLxiF/4AGU954BiORu2wG286qDp8Tvxc6oCswU0KefleH05XHtBQrrkZ54\n7sH78J/obRmXWjTY50tCWzjoIYQLXaQOaqDIPaGWgoQOPRF8XfL4A+B46d13\nI3obnKA8CZ5pH0oyXVaew8M7ZYFKKrJJVTTk0t8L/SgyshT6IEL1GIIzSjhc\nCPSnMWX9C+CE7GDcHVVqHab3zwaUzDNKNFlKbbxF1uFV+4rRLwgtnxkqiNj1\nIqiQVZwjJ2D92Kzwkfz7RLjQTffzmZQ6wudNOempIruBNPeFS5yLpxUwvU2Y\nnhZvSld0pho9RffjVJeufeI+QNdMZ3KYapdE++e7wiwhogusDMJSSOUfV3q8\nq27beOmSRaBJLJn8Byq1Q0cwKiQXG0Jb6d/zyGYsyNgTebuBED44AQ8ru4j1\nHBFZjlib9jqc5ANTcvxmviQDWVg8o0yPqrLDoJRCWZ5Cw/qywMVodq5asPLd\nqYDLLpqbtywyddjPF/jWzSc2Q8e8ui6TEoK6F6syZVcnefh1q6QN6LyaWC59\nSKs0R+o7mde4nISu8sVz7gbSuxsGkGI7qz3QQFFdItJm+BloJ2e/lKECdvh7\nMACS\r\n=iJi/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBmVx3dmrlrhuNK/6dMSHW4UlGgFt8wn2mUarvJQL8qaAiAvzSUZUHn0gpAMGGTEWQP++KkFtncp7nPb+fJKP3VXcg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-alpha-multi-select.19_1553023311232_0.9409488620616655"},"_hasShrinkwrap":false},"3.3.5-alpha-multi-select.20":{"name":"@crave/farmblocks-search-field","version":"3.3.5-alpha-multi-select.20","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.2","@crave/farmblocks-hoc-input":"^5.3.2","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-alpha-multi-select.20+586a0191","@crave/farmblocks-input-text":"^3.6.2","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"586a0191a126ee4f2e112f59c128b67cddc7a3c3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-alpha-multi-select.20","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-Q/QzAJyOMePXPsDX46teknpqEczfcN7ywzcngYlKWQJ2f7tf+PLmyJd4PG3qRx4hvhxXr4jrp2AWOpU1eOjaew==","shasum":"2ec2e96c1ff60400fc58e880bcbdb9043305b032","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-alpha-multi-select.20.tgz","fileCount":11,"unpackedSize":63308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckUFiCRA9TVsSAnZWagAAPeAP/2PYv1XukzmeN4LBqTFi\nlhd300oVb4mCTSdbDK1LvrCACZgjpd01cL2OZlmjuDAlP8WUu7gb2dbTRMqo\n2cMxgyafrQkfqUG1Zse5KaS28pK/7mfO7zZMEnb6r4q4OmRn35ETi3mtj8e4\n0izGIz1LzQClyCei5d5SH1nA2S4rbjl2vWrQsKmh0h9U/RwsG1T202oGC2wh\n8veIfzgCI1lh2J2UwLEx33qsWjzkhZ6+l/lD9+nbjKuPfbL8zxO8vc51Reio\nbpaTCskpLQ+lCaMxwk4U6uu/4BsCb58DqEva3igprWugYrQ1S0WOOerK6lQk\nM/rBv33K/n8C7EuO0QaY/BqAe+GO8I1X/Q62SW3Zn6b3iue4qOgeg6d9VzYH\nutr0bh0zrHIeeiI5nhEgPYlZRUmD43KqjnYXxHqSLSSN/yKdLnjuqziTQwH1\nF1xEnQQNdtCY2YNsmiv13FDyB7QiemD3G6hgHfUSRx6jKtzcbRRFhyeScQzD\nrqBOb4iXfalmsZtxWT0L9F0QBfOhD8zVNgHhTZrrUgv3F/Ff67YibNR61MVr\njviO6vbUonur/vqiYm1ZsTafl7ny61s4u97qT9H36zuzf7gAr9L4s4MghxDY\nzdlUE2L9NqSrr4cPw4TiV4XJf1Rpfp3bS0qtMkGGNgaljPMUHEsu/LtJB4Ih\nzXJw\r\n=FCtp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZFFXSmOXIPYOyryvvzwuoLHhUpbUIwInwVKeBjvRAbgIhAJ8w/bsXF+WAkOoQEU02f/Le7qdKm8S/OjprHUo8eBiN"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-alpha-multi-select.20_1553023330081_0.19828038702591644"},"_hasShrinkwrap":false},"3.3.5-alpha-multi-select.22":{"name":"@crave/farmblocks-search-field","version":"3.3.5-alpha-multi-select.22","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.2","@crave/farmblocks-hoc-input":"^5.3.2","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-alpha-multi-select.22+8424a899","@crave/farmblocks-input-text":"^3.6.2","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"8424a899ae8c83fb279421b979942c783b85e4a1","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-alpha-multi-select.22","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-8z2lbpvaEtsjYDuoxhkDueg6UVayylMkaqJmQ5FMZiJGxLhpLjUPlHdksDV47S70syEcBJNuv759h6VuBQs0Zg==","shasum":"59fb05aace9c72f45519f69f1ac7388395bc6a50","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-alpha-multi-select.22.tgz","fileCount":11,"unpackedSize":63308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJckpuaCRA9TVsSAnZWagAAhKcP/RwVSqDlRSlcnnRdkAmP\npC4/uE7H5gBfKUqyhIkO7PZ8a9qk26lJ0aQxSTVehoPsV5rQrPFJkzqGaEbc\n1jO6AXAgquPquda7zCEtgHm2gKHsCgYML+RdDKCL0en/piN+PbW3CnWTyK1q\n4a5R7d363anna9ZLHsoan4ds8b3OGhLnCDOtXl50iGkfAiyJOYF38h13/lss\n7qa+7IVbJma+iMR1IaNveM7eHvG/zS4ZGbkBavxuEbeW8rH3q6UsCXeLkCkq\n1HfFJUhrACxLRPZLNALAqO4Qt9aIlGGxyLmFX5tmrGhCk+milypbc+cEz/Vl\nuh3KkTqsvOiizZbBg7dillB73V1o1fjg1fa4T1JKuwK8fUAS8ZjcZAwIrD0f\nS+ojx4pbcc72EbXkZyz8S8+uuDqvaF8ZyyNkLah5MGPKKJOwEsheRinHxFHG\nUKJ1FN1Jp8VYab8A3+pPtoIAfxKAEkBd/V/0USMPxtakfOE4lFgShHkNkm3l\nmRyl85potz8PSJ3fqKPrv4rLw7xyYQ/6YRRtuPXXjAHbQcXj3nI/4XrFziYs\nDBs2WZ5pE9hcJz/wFtISDCdx8RPjbPUg5HRZ8/UCoLVO6SfpNGQiE0+meT6j\nwICOJDxBIhIwlwySjCTAxpBqlJsORQJK8QBkYAu0bGLkvir9zuuBNvMIJQek\nzFJm\r\n=eIjU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICk3yaeMrJ5WtR2N+KTOGwt+huts8OFg1u7BEOeXJ9P4AiAUUV97bT76QnfdiRzklHhtY+m47oYwWpKmdcKJJ3M3DQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-alpha-multi-select.22_1553111962046_0.8899431557792097"},"_hasShrinkwrap":false},"3.3.5-alpha-multi-select.25":{"name":"@crave/farmblocks-search-field","version":"3.3.5-alpha-multi-select.25","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3-alpha-multi-select.25+4519a5d2","@crave/farmblocks-hoc-input":"^5.3.3-alpha-multi-select.25+4519a5d2","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.4.3-alpha-multi-select.25+4519a5d2","@crave/farmblocks-input-text":"^3.6.3-alpha-multi-select.25+4519a5d2","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.5-alpha-multi-select.25","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-kZn/3Z3+uNk/YTl/e9Sm10SIbc3tDsZr+GLC8iMLurpRD/5LTCXFMW8xMYtIympteZ5OJGe7DxDtymauVGBAbw==","shasum":"a74da6d2cca142439bf35c134fd751a76ab8f6a7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5-alpha-multi-select.25.tgz","fileCount":11,"unpackedSize":63401,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck8i3CRA9TVsSAnZWagAAZBcP/2qq1Z5MSis+WBL0bIsb\nRErH2WFrWHytu4InLzq8d/3S+C9KVfWsWEPK7qMPoQrT7kzj71bduHR8J83c\ns03acs+g8wnekO2doF+09wJMHYmeofDRhPwheV9yTMkTzHFHfusUUhtH9oIP\nW9q5zQqK5VrsMRoRVKdzXguYDITIDtkixCvFltxqRApZb08k76Gp2yTNQUv/\nsVoJZPwlC9xvh1l+jXUuTBF9gbum4s7C+gU4sT7IcjWb1vAdNMe71NvdQDUF\nRwQO2jqnSe9vmWI8RJDp9I7bW/XTt1HSYszv5XHEf+P/2Hit06TnC13rPw8O\nn49K1R4RsXtJTvcIZkWuwLe6djuX1K82X4VNcvBQS988HlDZga89nB4nB8gt\np+fm/1EYDojhKAQUxhBgeEXbn1qUIIgGA5bGseqrmj/FWtjx4BtUw0dvOoXW\nn1rZqCIDCadNVv7KdztPBfwZktLziNvIL66Zgt1afKfWlGME/dZGKnEiKyg6\nUNfnPiK/p8AvqtduCjy0USssZNYD3xlQ7D3p5pU2MQnuM6m+KtR/CYn6EPQT\nObWoOr5X62qh762rjw88VEbJo011GhxL7PSRoTXzw1OK0Tkx1oTYrnhADClH\n+Xm42X4m6eJTdosaqd5XRavGqkGD5q7+IKS6rC+/ip+5S4ypsWB+1cv7iiLL\nRtMG\r\n=eL7r\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDjurRsobke20UKcApgt/0DDVcMC6lL/L2qbATLe6Ew2QIgCfGxfrkfAZ9uXKyYGUPhEnkTPSsDbkxUYofpcDXJxHA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5-alpha-multi-select.25_1553189046092_0.6833801884622184"},"_hasShrinkwrap":false},"3.3.5":{"name":"@crave/farmblocks-search-field","version":"3.3.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3","@crave/farmblocks-hoc-input":"^5.3.3","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.5.0","@crave/farmblocks-input-text":"^3.6.3","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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-search-field@3.3.5","_nodeVersion":"10.15.3","_npmVersion":"lerna/3.13.1/node@v10.15.3+x64 (linux)","dist":{"integrity":"sha512-oeTYqtp5V4QDjtHYIDbQh9K1ecCoMOQvh0dX/4hcZFOPxw0oo+FcYsiZbku84in8W1Qq8VvC3FdCGa45F4Gfrg==","shasum":"8019f843958c9ba9a41f4c35cc0c39153aa5335f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.5.tgz","fileCount":11,"unpackedSize":63472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJck8veCRA9TVsSAnZWagAA/nUP/A9NIeXMO3PyJ5TI3Vhr\nMp6t/ehVQ1iIowxALjctTHJQUyWiBRZESvN0mHhwFsWimUye9RIE4KrH1W04\ngPiMKwjS1IYNGIdNN3QL8L8j8Os4su/YGupmTQGw4yf7awTqCLtUIl0ReVlc\n8KVJPvFe5MagnwmFvPNIbNhXRR+0rrTddfix5yjBX88b7exTOfcm5ajJymLH\nwNAsMZgpXAGN/2MtygP3+/4YUqDIGBab5pBHxWfA7W7aVHs9LOAfFVIuai/W\nj4L4C+cgWe7xrnMMrrxJX1lGExoZWbAxIl+PkSIICD+rG6RcMkXYEtclDD9t\nJGPpu99+ervmJmB6jnmut6k370cOctsYH/heWEtXSqD6ynIsP4s3cDCw9Eev\nJDkN5ZgJNveEHzPoOLBFybDkdULgEIstUHwr6+xgNv0Pxv3CVKD4ZOAZchox\nRDTPPAc0Sz5sdS6SOgo5tb3dSqAQBPrIOnGF0EOWkDr5vx08vTjUusTS4yg5\n0vP2T1ukzRVzYBxNY6OhSPPXPP/hBxMgXcAkHcHa974/yFHOI1MvkUdhRGB4\nalBjVvfNbcWasLVL2kP4ddPJadpc80z5fNy3uzErZWCyke251yOYDXK14PCZ\nMxywbMuMNhr2B+VOXoTrPB2gnGxl01WN2ke/EQ+oEwrSmLY+BG3FcEiv8EjD\n+Yhk\r\n=voUr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDPs5K/viDFMXE3pwIKTMJsKkWHErSs2gnaj54Lqx48/AIgOeAj95NQfDNXaHaYVpPB/tSG+OFlS3esyUopGjOksRo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.5_1553189853509_0.5213449959966203"},"_hasShrinkwrap":false},"3.3.6":{"name":"@crave/farmblocks-search-field","version":"3.3.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3","@crave/farmblocks-hoc-input":"^5.3.3","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.5.1","@crave/farmblocks-input-text":"^3.6.3","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"f608d23e495fd48162ea5ae00662164d588b1c86","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.3.6","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-nlHYFdDMxnJMe3qOq29KDhX2ZX1QhGxRsv2yY8tJxiRbmgyk7t+hAjx/PbC058YZ189+XXi97JqfM6whJEIeAg==","shasum":"509a271e9e4e022cdfa7a498a25182b9352fcb23","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.6.tgz","fileCount":11,"unpackedSize":63698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcmRfuCRA9TVsSAnZWagAA1OgP/1XuaLLhAhFzMCRrkasQ\nIG7ejCRD8unFlEHudH/y0WPiRq+wZ3xwsIq+Vbg6K+Qka9aCL4cimXQ3yba1\ni4ALlETUNPQoFozKmwVhvjNN8KRYZK+p3d2HJeOrbGUJ9I25qwOj4CkFKo3I\npQ6pSDzHZvM6/9b/0Y37bSpKWts1NraqnyzrN06FsmfKXBUNoSLQhTste82I\nKCbT/qX8xIVnyNJCd1tKzZlak0zxTgWSoMDNYoF1xbw5/eNmXBOBvUA9nNAC\nMPQZQGTn0jUIIvk036RWebzzaXnB60bW6h2k98EIxslmNCTkTEKL0vmUhzic\nu8/GcvGzXZYRw38NJTVcTKzQ3IuVfrpGaZdNfjsdC7FlKYZ9MoBXZFwReXCz\nIhVGuWsG+mDkwiUGlw6SKm6QPO77pGfirE2C3X9EDF602Rahv9erq/XHhkg0\nsYC8SXdt+zprIyVv/5csK9k/M6aN8vXk0ghRV6L3Wrsxy+yoI4PiQ1dw/lky\nNJoB2TSdFskzj9YGcRk/iaR7r3QEFWovqUNT6JjblCBlkHtxkHbqWkmIAQW9\n/lMXnNK5+rLqAhGnBL52nVRL48JRiubn+xU7bXxtNiMVrQm8qUNBtSAu42ll\nIVNKomEgsXLAKU8DOcwT6GxI9K+RA0W+voLheyvf/uQPf+72nt6R+oefLJJa\n0C5e\r\n=hnEr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGaD608Gv8vR3U06RO4Fmcud1Vfwz0TdsJFpi2EaB+gVAiBjfmJ5tzYOIFaHhPMPESd69FhcsJKqOb3uFk6WpPDEgg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.6_1553537005583_0.25021301223031833"},"_hasShrinkwrap":false},"3.3.7-alpha-fix-select-placeholder.6":{"name":"@crave/farmblocks-search-field","version":"3.3.7-alpha-fix-select-placeholder.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3","@crave/farmblocks-hoc-input":"^5.3.3","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.5.2-alpha-fix-select-placeholder.6+fc2ed740","@crave/farmblocks-input-text":"^3.6.3","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"fc2ed740d103df568fbedd37864944aa921ba187","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.7-alpha-fix-select-placeholder.6","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-Fzq7MLmBF0a417+lQcc+XR1zvAfF2JITV2r/fK/yOzmC/CDKPALpshW5JgZwgcdpRRnLaMXZtD1J8ds46BxJxw==","shasum":"26112f15883e453f6716d929ba851cadc444dc80","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.7-alpha-fix-select-placeholder.6.tgz","fileCount":11,"unpackedSize":63778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnNyACRA9TVsSAnZWagAAK0MP/16vWlyFvPs9hsmXz+l0\ndMCSgJ/XL3IL+gjpQGR1Qo1w1OhzYF5twc5CfR5qnib3mdt18Obh/4+9QrZW\npWpeIsj+dEil4uFGorz6Fmrdsyj3sOC5iEUD1gnAdkRFy9CZ6J5rCqfBrrkw\nDHwVhA2Ly3IiZLoMVu7bMEQpawt87jY/oxLxfmYLMbb53BRH4pIC0UO4Usw3\nsLRUdxswMgUsn7e04mKIP5r2+LmeCsfbmgeTkcIqrcbkEiUiwl+eMpu8rJvW\n9xg/hyncpthzc9Xef9vqSCxybzvMwxRh/sWty0LCGyu7sDEa3N+uGbWSb0Ce\numE2nujpV5+RPSTb/Cv215qYDxt/vsP29JHwvyHwoVinxWdpFEWc54gLPFz4\nPLuC6DOu3dM/kkA0DaFGlWKADopXhQd6RFtk25DvYC5/dfE/EQJ0NwM2eD51\n1N6N4TGYE/67tL8BV7qDu5YchUOb2BUKB03iAq3VMjw1ZgjnJxVkhdr8dT80\nbtxDsVTxqhNfXFjb4xtXmnPGIpyzw76wFcpMfTy8HyaJLroDL8vinYiu+k5i\n6zPLRSSgsZbfM+S55jxgthW2wqLMTxKMpH3XE9718wa8VXYHyMi784XgXgVU\nH23cVNgflhO3Zp7uVy9uUxo3jHC+zsvQcnWC/NZBDNATxBbf3WCr0pUGfH9o\nigbR\r\n=Rf5z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHf66Suufaz2J8sXYmkAs4NrtXQSZ69H6hZGmWEkul3MAiBG5wOU7GZ/lQGoxn5rW2VG1q+7bE1AgdukRwpQmXSk9Q=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.7-alpha-fix-select-placeholder.6_1553783935338_0.618807856987807"},"_hasShrinkwrap":false},"3.3.7":{"name":"@crave/farmblocks-search-field","version":"3.3.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.3","@crave/farmblocks-hoc-input":"^5.3.3","@crave/farmblocks-hoc-validation-messages":"^2.2.2","@crave/farmblocks-input-select":"^3.5.2","@crave/farmblocks-input-text":"^3.6.3","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"ff33f6785c84ea2b28b3e9a7957eb4fd0b06eff8","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.3.7","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-t1Dmmubl3TVGG6a3chFPcPw6et+8he4sazOWkYU8VsAbYbdS1hMwNnXI7xtBLQQ3O/qdL0SLFFAzwAm5DPx7mw==","shasum":"3054604cd404bf865c60bb322797233a2b6b226f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.7.tgz","fileCount":11,"unpackedSize":63924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcnQm5CRA9TVsSAnZWagAA3n8P/1M2QHUDVY94neMtsQsz\nGjfXH1EhRJNmijSs3EMRIEFHpAq6bb6Iqlo9LMLAR6Ug9SWMFnvAcqQAmEAV\nC7F89BiRWEPTn/GMXQiq15xhtHMb1GpzqbnYVDkD8sFakXUJokoadBPuJEtZ\ntUbbciAekOQwtYtykgtVLGSuC5mDbz4GhbmuXeEmV2YejjllfSnmOcw6Gr2s\nI0dSy7h2/y3CmFxFn2c8lfLJWWIgipXvN0p2IwdDoGmWO/L0rqt3PEr+DNMP\nfju61sJEXngYq/xSrywU02j9oEPdiicCfXW1Ul8eNyZwnusXsZ088BJKzMub\nCMjAbr1gvSV2dDpg152xS3A9v7DkjEqce86eKxNhckDw5QRl/44HN3ueHzsU\nQX97HpvLqXd/U2N7pJA/0uIYDRn5Z6HawMch1KaHCMvlajK7OChZHCe8P6vs\nhe27vGdqImaQLlb/hbu1dB7WluzNh8aTrkoAH5VO0o6pHTqOXXaqu0hPGMZq\njw2tg2Jdd9aNlt1uiAvnu/EC8KkQ0I7W59LwidekZOS3jvwXJ0rPLC4kOEhl\nUIofph+7Az/hf7wkwfVlQdOWKRU+VxYrTTMu8MtlBKRldRhiiSX4AYYMeD2w\nMZXGaQyVlauLhAuAh+9ImrNfpzQQ6dqjc/hQXYq+b2UhnpLgrsqqvzKI35vu\nE6QJ\r\n=tHvZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgYNkHpcJfBRYabo2EJzLTlKFxlbYFEU34AuLMjudtTAIgPmKORRwdhyLxtoqERKlN9WMsQrN6GGeu8TunMn5FrOc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.7_1553795511229_0.7589859399864467"},"_hasShrinkwrap":false},"3.3.8-alpha-storybook-images.2":{"name":"@crave/farmblocks-search-field","version":"3.3.8-alpha-storybook-images.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.4-alpha-storybook-images.12+887a0405","@crave/farmblocks-hoc-input":"^5.3.4-alpha-storybook-images.12+887a0405","@crave/farmblocks-hoc-validation-messages":"^2.2.3-alpha-storybook-images.21+887a0405","@crave/farmblocks-input-select":"^3.5.3-alpha-storybook-images.2+887a0405","@crave/farmblocks-input-text":"^3.6.4-alpha-storybook-images.12+887a0405","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.8-alpha-storybook-images.2","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-xqbCyPuzDIwUjmdjgpDKOioFXSut6xpUTbNlZonfbnyy8qDtfAM9UN0wa7xGD9kY4yFzXm77R3qwSqCMAgr36g==","shasum":"9394afeac09bbeebf08b93dae90ea7e248c3fd15","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.8-alpha-storybook-images.2.tgz","fileCount":11,"unpackedSize":64132,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcolfFCRA9TVsSAnZWagAAKe8P+wUn2pzetNmx35A+mfst\nVy3p4qPcD+LEbCRVxZvHAR26dbCXDDIiz9aXcJ7/EqqhFi7oPENhigZZkxH+\n0cjaIh1oj7lC81tx/CHjM/lh97sKmo9V9Fe3+kmnihLC20v6mHZooA9y/xdh\noHiX7neVYvr5NRaA0EWKivDkpw8dTWvjYkc9aoIE5tqcHGYClJJXHuuR17qf\nAWpU5iQJozf+05iDBXp02TdbrSgY6gfZpnx+EenbQqyoG1jgxIPI/a7Ua4Ro\nhg44FaPiwVUWU4EUbXC02KjnfKFkZY/l9AFSAoLmjaxnMxu8NLbNMM7IzTBz\nNLhCZ3ytjetT+0k8ObjZOJHd/5vz7lnR8rx3g8jau+srzBBiTJBt3BqzRGJ1\nikF1oDLgQ8D++BR/q+aDR7qkzi6Vfxdst/0+lIgTFfTLc+XlfVVGuHzLfDXx\njzR+EVs+a2tWjXq7T26l/EyL9S2PQYW4BRwt1ghtkILoFrcKDlew3Tta+sF6\nyFKkmiWrEqqyLANx6X2E1w3V+jjkcbGPNxKCpQkqWM/ahaWhoz91obH5a1kp\nnqNM+AHqqDssqOUFp3O0RGMR8L+wk9Q8ObPHEAL+N3pTMsNs+C5VEET5TeNq\nKKTzuufnYe4cJmes0BT1f6xYD7WHz2og+nEC1Ca5ZR/sQjWn3enddLaEm0GD\n2g9Q\r\n=yjgJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCo7uNUs6spCoBPpodZNkaz9mSbxQhcAjit+dlrakfX/QIgXPHOI/ZNVtDGTFAxPSL3YIRINaiZIpXln2BgIqUnhGE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.8-alpha-storybook-images.2_1554143172354_0.3236221359853493"},"_hasShrinkwrap":false},"3.3.8":{"name":"@crave/farmblocks-search-field","version":"3.3.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.4","@crave/farmblocks-hoc-input":"^5.3.4","@crave/farmblocks-hoc-validation-messages":"^2.2.3","@crave/farmblocks-input-select":"^3.5.3","@crave/farmblocks-input-text":"^3.6.4","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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-search-field@3.3.8","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-8W2ukDp0tFAfEWvmcdK+YY109ROgdgM8nwoZT3y0oltVxgcTPFaVNIg8VBIGzJJM2XLrKz/AtOhMD6pjtw13LA==","shasum":"2c6e57adf60fd0bfd5e8543baf93d5d3e7b7526b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.8.tgz","fileCount":11,"unpackedSize":64150,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcpLqqCRA9TVsSAnZWagAAd9QP/R50jekRLbBZy0JfOklL\nHsHsT9qWC5foDOXLijF/TKALZlCon6tT4uWoxzROxzCPUc2V9Da2B5xEU9w+\ngdAZ06LpWhmKu15m4DwVWujgbVD84f8gxsw2Zw+fy9dNy3zVzJhb9OOBH2JX\nVUq2PvVh6XCo0VD4C7esn3hvC3Ae8I1zw5ZCPSV5J3E9CXHaXUiHr0t60BJ5\nw9vk9OiDg5b+enwdPx/oQCFfGwY5yitjmCts45AbpCT0pWrMS7Yenb68kVbI\n1shFbr5aOPmxvChzyXpEDEho9v0gjgZHCZpatxQ8+Jn4GhMuL/DJaEVfBkH4\nC+tKCWc4efNrU493J44Y59ivRdiWKbeBpAQZG59vQNhqnZ12Y5wS4TrO+1w8\naBYxAjLD5qiKVSUPw1++Yh8hGghdGczKS1XMuVpINb3OwDbJ7WHdHX2MyXbQ\nZSJQXEGoybKz3pfTkLm5MHAC7JLwfuDA/B31/8nFKWfh8pEHiyRlgcDRavb3\n51JdJqeza5AnaO3r/m0EFay25+pyQ9acWzJk/zQR0XjTPK3813XgYaJqwfQy\nObdnwSGvMGzKxz8JTDk2HONuzUcQpkgKQoYKbVzRGRrRSJg/QnM3RuCvI32h\nz22iUU9FZbsZWwEJqDlOyLWVKQubsIUYmTM2KQLdB0qKyBKsEG5ULUmwkRyh\nfCpd\r\n=UkQo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlAImhBpsItBlPe4+gmFQ3G/yn6gtPl34Zv7KyLsU+4AIgCWRt418FlABVw9IhHcl9oURj7Qx6TYO03aee/zf0kIM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.8_1554299561469_0.7438659659014761"},"_hasShrinkwrap":false},"3.3.9-alpha-form-wrapper-ids.7":{"name":"@crave/farmblocks-search-field","version":"3.3.9-alpha-form-wrapper-ids.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.4","@crave/farmblocks-hoc-input":"^5.3.4","@crave/farmblocks-hoc-validation-messages":"^2.2.3","@crave/farmblocks-input-select":"^3.5.3","@crave/farmblocks-input-text":"^3.6.5-alpha-form-wrapper-ids.7+b7e2aa19","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"b7e2aa1932f12c8bc063afc60f3245a25a3c5cc4","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.9-alpha-form-wrapper-ids.7","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-y8Uq0Vwyf2ZxwosZXP4Nv7mcjGaOerz2x+C20RtvCg5G75ZO+o9mnAIjrVkq41OarGZqEvCy6OkVMoP9DS4jYw==","shasum":"be1a49e58171143d1f61b402892afb18b09ab09f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.9-alpha-form-wrapper-ids.7.tgz","fileCount":11,"unpackedSize":64218,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq6fUCRA9TVsSAnZWagAAh+gP/j0ghQeaHMF3swDsKzZe\nn3k12hOZCxJAm36mMhm3iyZG1/VQG6Kn9UY/LgwFqB9+o64WRQlxTk0vOSRG\nH9cU9aa1vX/171Af/hupvD421JlibpBQkwRWsRjRoGebb4SRIk6xOA9bzePT\ny2bXUGu0y4wYzR9pUD3NxxLsC/sJcvqxRgLiQFZMbi8GARRtx6EnGo/V20y4\nHlsDrKuW5CXET2edgfcnVA7gBKQJpQjB2l0Nm8RJmUc6dAudf0Dy8mJBLLJr\nzMIgi1WSdlb35aizkBEAtgurPZWs5fQnYVqDA9MPKHF7iFFZfdRKjtwgBtAX\nWFlHEZ7nCdWKGXAmaFHxcKGHWlef5C8JVWQ9JAd8C2OgrsNw5MyDLuriNlko\njZbMf1TLCLEi3BGFKQmlBpgjer5fRmlioYf7DfSKOImGqyV0Y+fw6JtHjes1\nG5lXyJGVwvyJb0ngSbBWbfUkJm4aU0ParZt58hVbgBPnh5L3fPr8jEM7ao4V\nWMvbrq2jMDXNQA9RNtdzhnGYwBP854LidyqpQOXvK8j+gA81ZTiFFYkT6E38\nmExASI6+vsyZuPuicIOeZJdxNQsoBdtuo/kaA3VhcxnPrunJY6C3+HP4WWeH\nEG4hUuoUFTg2ej3j7XtzUA+DZZFR97+0h9YLYuFYLnGUCp3XmEdkhf3jiYoa\nwHDX\r\n=tBlU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVTE4CcdooFin2l7K/bdaTPRpWWGQMvW2bvCP/+/swCgIhAKVZiizdE2VhpTMKoNvioLyAFP6ya2j1XqxSHbWkF2pK"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.9-alpha-form-wrapper-ids.7_1554753491481_0.2678309638031884"},"_hasShrinkwrap":false},"3.3.9-alpha-invalid-prop.7":{"name":"@crave/farmblocks-search-field","version":"3.3.9-alpha-invalid-prop.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.4","@crave/farmblocks-hoc-input":"^5.3.4","@crave/farmblocks-hoc-validation-messages":"^2.2.3","@crave/farmblocks-input-select":"^3.5.3","@crave/farmblocks-input-text":"^3.6.5-alpha-invalid-prop.7+af742702","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"af742702ebdda4ef093acdaf8d979a655912809e","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.9-alpha-invalid-prop.7","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-02TWSmPTZCHJm8lBWAQ32BEFftILRPErldo/HdMbjxACnq+LdwuXyQ52nX4JeLEdpPt6FSlIFsopyT2chBdxUA==","shasum":"a6f75bd97778ba1757f88c53d4772290a2b94297","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.9-alpha-invalid-prop.7.tgz","fileCount":11,"unpackedSize":64210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcq6g0CRA9TVsSAnZWagAAIbMP/Rsi6qNKOzqDAEa26xcl\ni0/SoSmuAF38irv0dwNPxyerwtpmp1M/tYiHhyVvhjSHRXVjARF5KIj1j9JB\n+9zjdeQFvVPZqDpCdIWKTBCA9AYZHq4fKK54hF03FE4acJ3ufjzm01Bquw1n\nbF4JKjFxeUXTxTRbFir41x64VcGDU60wnGLBc8k1FoltffrKycRfYZEpB8LV\nmf7FwTpyod5t+5CdDFyVHVyULRpUO5d4fv19KGVvMy+vWWXTSf6AR3DgulDw\nUsZ0cOsUmG+/1x1O7V/s4dzzdyn72AGvRbCuk5f2Yugq7iMrzCUutoPioddK\nxU1O1UVHE1rFOGlVmFewoM3b69AziLtyi208AoFXjqTvQ1AsRLrASrn+guR3\nJlAm/NqWVL2v20r3g91XTdu8TbH6R8XXvsPiBJ/Dv8sJAI4Of9kIGsZmn6Cn\nFQz51Pkgfub72UhmQmbmCW6aFmeqEU+/rRzrHrlrvKEXK+wlecQuoXPjtavG\nzK2gqDImfhUhU9qyqvqkL8ly5ORefSrhLGSeVOPjeqFZcFKOCUNXc/6AEJBH\nlSON8tn44NTByLDpc04xh6YWpMOIREr2usiEuJwYovJANcMp+Q5moau2gy0I\nb1kwVrY6MaOFvECdUY9TmbkbQ5fTMCY9v+LTqqZxzM7UAFpJwnpaFT07Kx+H\nHIhR\r\n=RFto\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCgKad2GsaL9+EeId4DQS9kJKwA6XUc/IijqhnYIRn4lgIhALJ4TvlagFwzFJSmYZt9zPueXmZVzrRXfHgOILx6XynR"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.9-alpha-invalid-prop.7_1554753587951_0.21653285387881338"},"_hasShrinkwrap":false},"3.3.9-alpha-invalid-prop.9":{"name":"@crave/farmblocks-search-field","version":"3.3.9-alpha-invalid-prop.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.4","@crave/farmblocks-hoc-input":"^5.3.4","@crave/farmblocks-hoc-validation-messages":"^2.2.4-alpha-invalid-prop.9+4285876c","@crave/farmblocks-input-select":"^3.5.4-alpha-invalid-prop.9+4285876c","@crave/farmblocks-input-text":"^3.6.5-alpha-invalid-prop.9+4285876c","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"4285876c74a558f6a5d7e79ff3d0d062263439e8","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.9-alpha-invalid-prop.9","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-+flw9GOXkyhFWBWaHhdrp8nl2tr/Y/gwjgs/rTH5S7F/sNMArso1bG25JZ16rrGMdngmP+RnxJNwgTWX5oqnSA==","shasum":"eeafdb9deead21e68f2adefa08cd9e6c055a563d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.9-alpha-invalid-prop.9.tgz","fileCount":11,"unpackedSize":64270,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrKCeCRA9TVsSAnZWagAA8MAP+QGnVnnwU6GJxZ+Ko6rU\nqQRitebTc8fIjq0Jr8xEXEUXDLUuAOEKbMAe6bJ4X6TM24ZABgkBeklxs2wg\nAJE5OYVnNlbV3moweleiNmwlk7eAMhZSiNTXa1NInm+7vZwzlrI69MJCpV1w\n9+75xrniOh3CdmbXxqvK+dgXyurLuzHJp7Ty61BCi7FqJVNzS+u/DP6La+Oj\nC9Q7pmXmMpgnLC7X4enALm/bZLqxDZ91NItx5pmvkDlAA+0udbHWOjNsioge\nQE+e98vVw1kQjAlrltZykSdygIKCsZqEqixZtl2PtveHUjo+N93S2p6s8gFT\nh6LxCL1fjcT82U10QTD3bOpOuJU1ySdyN4/mYtOYUVweWeuyAxtQ1/gte6QG\n6nqpCHT2X+lu9nMDNp8R3CHnJ+96D4pJuPkkliDjncl6/LdroF5J+YPunIwM\nwYyKPo91r+su7oMToVW0GqEbaFE8yf6FprdDCIpT111Q0kc9pgujWvzcwKfe\nPOH1tghXdl9PbmmwQdjXwrZqcGj0qKnJ0JuzgWAVcAoEsGI8Fz5zQOBSpnIv\nelIdvWS5mXWG4szxlt6AQ6izLpGTAtSVweB0V2fwSRistOiRjdwl1FXapvZd\nRbyhkRwY/PjbNxwapnxgAXeU5TVJmBftSXXdKWQyof4FFauXhGwdGhcCY8OL\n72QV\r\n=5MwN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDWGbCF2mF+32TDZ6JU6jP+9TWZpd46qfQ4k1gCcolsdAiASCDxRQ4A9TBFn3fwj4ACbTsno2Uu7S+qNEgh7v+HRRA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.9-alpha-invalid-prop.9_1554817181469_0.07414709288024124"},"_hasShrinkwrap":false},"3.3.9-alpha-invalid-prop.8":{"name":"@crave/farmblocks-search-field","version":"3.3.9-alpha-invalid-prop.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.4","@crave/farmblocks-hoc-input":"^5.3.5-alpha-invalid-prop.8+1ab0a24f","@crave/farmblocks-hoc-validation-messages":"^2.2.4-alpha-invalid-prop.8+1ab0a24f","@crave/farmblocks-input-select":"^3.5.4-alpha-invalid-prop.8+1ab0a24f","@crave/farmblocks-input-text":"^3.6.5-alpha-invalid-prop.8+1ab0a24f","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"1ab0a24f0b9e4c9422e72c3bcda1683157bb6573","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.9-alpha-invalid-prop.8","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-+Kq685kNOejaFBhJDX9cEaRHL7eXUzGNFngi3XI4SDZzMj/BtMgj7d0CXmiQsyIGzJLKmIX77iwzG5Ey59PgZg==","shasum":"233046c6c27e7fdf58debfdb2f082c524e7f79ed","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.9-alpha-invalid-prop.8.tgz","fileCount":11,"unpackedSize":64300,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcreMkCRA9TVsSAnZWagAA6y8QAJEEwwuR1bectE5uWt7h\niUjNoTVPuLbH7RGxyNPerzcdG8VT/+V7xECN1h0V259f/vqneTQbElCSVf5f\nlVD/RoYsdNASYnMtgFVPyIsq9RrS9ckT3R4krW0x1SsR8iKO5A0jO7p8CwwA\nIOcPAgTLosFbyhCNCRNJeoiQpamZrNBme7fYMgp0g8vcdZGilYMh6AXHaPol\nFpTb+eOJFe7EkOrCixAWNiSTs9VeQyr3XeCdlH2LeoEm5c877zzDet5Vikbj\npjTBI5xbxRB73QYY4BbLd0QrBaLmpa15W5XPtFAGseLHoRPLbWYbXasUucnr\nyVfDfcgxQCQk0BtwkERKmNSFppP2METv+YN/Lh7OADh/IizKUqFKR67pTND7\nRSfZvf53g3LB+tQc6E4L23oTEJlSaKpvBBDOrivO5+MShGnr3eW9HpL//LC0\nTy3vLXrBsBSe7Y+UM/bjm+M+lAeUdkfR5esxyMnSXKi+8B9ntMUEUPCXVuqi\ngsP8DHrRmecD9g/izFUdg++7bf6u/6xb9kykb/tlvME4XM3cVdjaJ6SxTSGU\nnkqyuBQmkAi7iyvcpi4ZHf8LlY/pBH7aHVzc/wEgaUypJLUxpdqKpPChblj7\nIdnSAm3lhKD6jvIfAzae2KLJjCEgMb9grKn9c8Sn7tdKpJopXLk3iRFIErMV\nHsdw\r\n=xflN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDm1c9NF3C4USqSRywMXNFZm55j2tEjfjHDEFDHfnjZDAIhAL64TulMFofUJTs38oYKKfEHXoLX/e52lxkCK16R54UI"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.9-alpha-invalid-prop.8_1554899748306_0.024806872121620582"},"_hasShrinkwrap":false},"3.3.9":{"name":"@crave/farmblocks-search-field","version":"3.3.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.4","@crave/farmblocks-hoc-input":"^5.3.5","@crave/farmblocks-hoc-validation-messages":"^2.2.4","@crave/farmblocks-input-select":"^3.5.4","@crave/farmblocks-input-text":"^3.6.5","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"d73c719404c93eed9dc7ad287e51767702b345eb","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.3.9","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-cGcUgGBoIkTxoqt/INgZdXzi+o/fj+S1iktA3WSjlDnYax5HK72H0tQh9Tctypq95uet4sXs+8oTcCb7GElc9A==","shasum":"d4f2fd1250d934a2b127185e07533b8a28c0be61","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.9.tgz","fileCount":11,"unpackedSize":64376,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcrem+CRA9TVsSAnZWagAAWfYP/jivMe57F3TpMLt5p08v\nuPgU343PWniURuTWczIIHwkUhtUMc9eTh4cQ1JyEy+W5Fi3RtkLa/SCT1I+n\n4qgY17UVdFaF44ZMWHfrg/AaREWwy57Ays5xaKxUx3ZZewsrRV6rpqIAcp3i\nrXBMY30adUf70AmVCh3qjf7U150iqYMIXNWTDLf8s4IzL5SLrmA/D96yTWDW\naxN6DfracIm4Bc6p3jMsZ8q+koJpDRn+kTB1ey/n66ztXVUYXxoQwpokGC/8\nMiS684ABZdbD41Rn5wNQIOHWcwZR3WuknaglTl2kcoJd9aCt3pL6u2QWwyOR\nf/dT05WNO7hhkdlmRFeQ7xRzkqkFDi/j39My9amg0CJ2BNpU70zI4+SZ7lwN\nL4XpiCgVChRAZAzM1zWRJzem5pvJrGN7dqddu4XaaoNJsPSqcCxipdOhWNtA\n06Pm3HjZV3D+hgvKFI2QrtzDZY7gey05psrVC3KZagvRU8BhUoJl2g/F4iSH\n0DWxqyqAf7DJIIdWRJ+8i7cgDehmlxhicfzf8XEt+YHTSIGNOkKaVmJgZ8gJ\nasQY998yagDAP6SmfKZF7YqczQcMsC5W7HwDopLX2PkAHbnsUfMFUsotsE5o\nkBb+vr+bD3cOxfB5ef0owmW9K+UQIr5lkKr6RnhmzultHunb1hg+I4HA9RT7\nDHlZ\r\n=psHT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG+2IH18s5NW6ngZaL2lrEpX8fNAt58PfSEFH65FW5BrAiEA47Txk1bu+DE9wJTEZRx520jXul89L3Weevk+1KG4kOQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.9_1554901437331_0.5154677050020695"},"_hasShrinkwrap":false},"3.3.10-alpha-extendable.28":{"name":"@crave/farmblocks-search-field","version":"3.3.10-alpha-extendable.28","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.5-alpha-extendable.34+a9405fdd","@crave/farmblocks-hoc-input":"^5.3.6-alpha-extendable.28+a9405fdd","@crave/farmblocks-hoc-validation-messages":"^2.2.5-alpha-extendable.28+a9405fdd","@crave/farmblocks-input-select":"^3.5.5-alpha-extendable.28+a9405fdd","@crave/farmblocks-input-text":"^3.6.6-alpha-extendable.28+a9405fdd","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.3-alpha-extendable.70+a9405fdd"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.10-alpha-extendable.28","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-nnYRTwumq/IqGLNJyITWjY5S8o92/7Zyhj05sZGqm9ke6/UWPO4HnSlQrAMFlbsHorHKVSxjD5lyU+gCrf24wg==","shasum":"c62c7d58603ac014b7b8b358708a2df5ef73e300","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.10-alpha-extendable.28.tgz","fileCount":11,"unpackedSize":65637,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJct4QLCRA9TVsSAnZWagAAJXUP/2KBj+7sFfkqk/qYLf/g\nc5038EmBh7CBaeHs0fxLHDwLW0UpouqGfQUgQJufG/FX0U22Rx4sA6CdKdAh\ni0rRFcFMAI3YZMV2G2Q9WqJarySqGUtM0FeP5NEcjEtt0gnGjeeSP8SJtAVY\nbW3KqkM1WVZFql+Hlao/p3nQK7TgeqSbx6E8fD/naJJcm2/u/2gEsJoEVxSp\nPRu+kVg1kuhqJvf4GuLzXVjL1hyUyg68/jHXWdBmrKHddewJVI0sCwzDzWmQ\nLxlcZV0MSwKC/tWyRkS3PAHr9OCC2EYqkbQbz/RM20EW6tAGAsVrrgS2O2ec\nN45d2YvE6AMzL6cLCqo2GQwgDpBGifT2glNBvSxup8rA2NnS6Fa8nnr+iGvf\n6FHa+ceMIwegKkrM6e62CnXh4Ko+wbLic1Z9k/hDWae0IOMJvhXAm7AtLIgb\n5cgktMUPtrFXQ5nweRrz/LkXcIIKmxGOa4n8OvZ6f5WKTHy8ZvI0wZWeiASz\nQngTBw52dCPNnroBtq68dUxgQVDzLN4FGlHTPUBfzVAHqdJYI4JNAxRLV9td\nHqcJ0h5thF4VWz1bxVStbx3iX+gAAF8IyuRYA12Wnk4bM9nCLfn+dwWFCpLc\namjj+F4viwq+1qkct/NTX2nfv7TIgMWmS0TbZFDoYmQUl9yzNzcOYQEV4QNv\n4fcd\r\n=pz5w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBe2t5+GCUhGfarzEYcEXzdIyPwsNUaitzResw/2jT3tAiEA488rwATJr0tgul52+Xduof8T0Ft/pESmyvi8STynUNY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.10-alpha-extendable.28_1555530762901_0.8122403400902669"},"_hasShrinkwrap":false},"3.3.10-alpha-extendable.33":{"name":"@crave/farmblocks-search-field","version":"3.3.10-alpha-extendable.33","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.5-alpha-extendable.39+557a9bc6","@crave/farmblocks-hoc-input":"^5.3.6-alpha-extendable.33+557a9bc6","@crave/farmblocks-hoc-validation-messages":"^2.2.4","@crave/farmblocks-input-select":"^3.5.5-alpha-extendable.33+557a9bc6","@crave/farmblocks-input-text":"^3.6.6-alpha-extendable.33+557a9bc6","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.10-alpha-extendable.33","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-JvO+FAmOBeVrfGIyMmecpJc0l0noGWz/KY2zzEnOEGII1+bTlISepTdM3G0PkvxrVovTB7qDIL6xaxzoR9SUpg==","shasum":"643885560d704e0cb7da3934011622a4b27e3c9f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.10-alpha-extendable.33.tgz","fileCount":11,"unpackedSize":65579,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvwqYCRA9TVsSAnZWagAAGaUQAJZOt+pBUUg9Bp3R2/zB\noomlywaapqoyGHYsAZwVyCC8fjOadF4rhdqiVSf10LWL1/U3WHBa71T5zcid\nNJuqJuIGAkfue6vK7PhZwMO77SdPKINrVtO3uFzWhzE0KDwkF/SJ9E9BLYII\ncWqpBHGCCWUjlHlBtXgf+IdP2vyu7XpXyao7PWSeWO3fbSYPsBbhRLyAB0XP\nj61N2HwVzqKkmhZwHsiYm0qI2wO0tK2OMEVWkeLUlAL83fLEAZKcht7EMgqH\n0U1SOHRtAzPIraQJKIMDzdf8iAfuUhV7+35lDnI43m5Vorc9QqrJhA4HLn5W\n8sgH5UGlwDcju+5t72dUAJfX6UsgINWMKKBXlsbNwz6H31Xfl9nkKBlAj70Z\ncKKIYMhpyQoZppr4kSlzGCAdF21nTpYcoL44Ga8nyti1Bwexc9xmKFhhXKXU\nAukruL0X/tyH9KvUtBuBFU5yM8nD4UOHKXqK91fy/yB1FEa687LXAtPq7P04\nVlcRjnu/lGCJ2hcASOZeGn4J4wxxv/s0eLlaUrJ7FpgRH7VakowuXX+0b0pO\nS/nKKrD+HESgQHR/iFVAKJVK/HUWkSDBbhrZMHQMi5rF4zsgPVQyrE1mxSQY\n3YR0S0GrQSQzgRnpO/r4KkJeKbRJQr2TjBaylgN5e4XNkhaErLKC59zucn8K\nGpZg\r\n=vqxj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB0RMwj9me28RtI4sQlsjkqDxWXXK67mu1iehT/niZsyAiEArvCUSfDPTF7bWMNlypihzhU1THghvxHaFRCg5TzLg3M="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.10-alpha-extendable.33_1556023959328_0.7229704406883375"},"_hasShrinkwrap":false},"3.3.10-alpha-input-focus.2":{"name":"@crave/farmblocks-search-field","version":"3.3.10-alpha-input-focus.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.4","@crave/farmblocks-hoc-input":"^5.3.6-alpha-input-focus.2+d2730101","@crave/farmblocks-hoc-validation-messages":"^2.2.4","@crave/farmblocks-input-select":"^3.5.5-alpha-input-focus.2+d2730101","@crave/farmblocks-input-text":"^3.6.6-alpha-input-focus.2+d2730101","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"d27301011e445caebe14fc30acc27c039545af44","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.10-alpha-input-focus.2","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-XI76lbUadxullxS9vUDH4Dcpa+LaBkHYcbvRsx9QuPPp1LDarX1BbfarDl9ON9aMkiMK5suwLtvjGjB0em7GXg==","shasum":"022f4370a302a5ef779141abe050e61b9707bc7c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.10-alpha-input-focus.2.tgz","fileCount":11,"unpackedSize":64493,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcvx5lCRA9TVsSAnZWagAA7WgP/j/GoPQklZ9+hO1dK6zW\nwgkGl6DA+AzSwjpdKZX29wkd/5FGP785By80jGmBsa8nqCGTtathyH8DqhYT\nNygIwkLyGyToctu5pND2jiP/d5VjReeskDv3XESlA4JfoNeQ8/BAvA/n2val\nYSvfe7gTbMDkG8ae4KEmjadFlgHwLPwtMr5R5R7xtaqYsGiw/eX+uh1GxsSE\nQK+lHFDPR6fUOAvew9Pz2GVuRAnL7gPujS6oX5wzdPook1FHqjFB6VfKT/y0\nsF9p613v87IIdjarLOF3OLePpgaaq/FZDQYp58M4qPI3RYb5LlIUoa70ADpw\n+wHJmfBUQtvzZUnBjEYuUwurbKfOqz9dedHuusA5AF2o1l2rZXfcDvcf3y4c\nVpP2um/FUvK2zCMwXWYw6gN3ECsgWeKfMKH4CuU9B2Yq2rIwUliQondm+z+T\ne2BV1TTYRgw2ynJ+LCU6ORXqBz7eZ24WFeEtv9Hqjwwiht/NZB4DUGlWSCyZ\nLViO70VGc3/9VVSA8FlohONp/KZDc0hZFLIXMXEWAD5274tnHRinZaai4Vu/\nUHnbm8kOon9atILB7V5MRmj4PtA72754VYpb1/NYr7ffllQraF/ZAtE395WN\ndu3EWG5RZce+PmbG3wzPHFphqZQZDIZdezGk+SmZGuZB4LiNJ6rufnp7wGbi\nx9uL\r\n=LmmS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH3rRyXmTP1hEVUOiHSMzzZ/uWHsSTQPpSGMtJh8cdMgAiEAx9mxCTvrpruuAtHHMjiFo4hrKQ1gMIBzAomjkwT2USc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.10-alpha-input-focus.2_1556029028872_0.8191418676222952"},"_hasShrinkwrap":false},"3.3.10":{"name":"@crave/farmblocks-search-field","version":"3.3.10","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.4","@crave/farmblocks-hoc-input":"^5.3.6","@crave/farmblocks-hoc-validation-messages":"^2.2.4","@crave/farmblocks-input-select":"^3.5.5","@crave/farmblocks-input-text":"^3.6.6","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.2"},"gitHead":"ec82766ca4036b5bee3ac89ab9ac115057521f99","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.3.10","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-voq2ps6BzXYw1V0yoe+OCLsCnLWtuxhi5YGIrkTdbpf2VcJOUovTWA3CZFFb1rQ882Tx5JhXombp1kQyRWrhPw==","shasum":"c70ba5044bb040cec6c3e61af5ce4619a65feda7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.10.tgz","fileCount":11,"unpackedSize":64605,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwFSvCRA9TVsSAnZWagAAulIP+gMI71VOSLnpQlihw6cX\nvyBbtUx1JyfWQVMy3A6uvcRyDJ0E9981eX5azb+DlL92G41q7T7RWx6hC/I8\nYrI/jNPYlOXsxqS5GHLpQRLEQhQz2OarYtOid1gP3RcawWr441+3Qd5eBA/o\n30rSKsI8Vl741m6NZzdzINgERuJmWLni5cN15E7vetG0TxgJxeHGpSVQdLOS\nl94QRLtVNbUEaSmUu716K225MgFnPAjYGnRY99uVJ1ivIzEV1svxvuQ5Gy0z\nCiCyNYDP999u7LVFXbXy6LJkWJXrFxM0gV00teJUHvUXf3Tlmu1JRnJ/5ll0\nMYxcD5FRItLdSs65ZlhapCHAFj3oZVf4t7r830ai5oNZH8PGK7mZiOmIwIrD\n5RaG0n8yRD+Vf78gU+TlHKFtizwUnn3nmwKvO4Oe97Pt1UjyaiCK/C2uJ+a3\nYwg6m2N501y5YlXsBJXHgJSHdzbgx22Sy0qfBTrzD4KlIfKM96WamqxoCdrF\npvRVUbZqKrYq7DMj26Dlwm2OjP7ZorxO9orrwc8H62PsxzI8kXQ5hIJI8KjA\ncQqyw7FQYmKn6Ve/48sVaPQwE9ARV44tHRnauMHSc3SNjSRkb7UhBxLLaMWp\nRYPbZzhJzIqBJ313udPjgF1xsWR59FrSP9B0/WIO1azKOeHVXCgMP2iTMfJ6\ny9P1\r\n=YlMY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhd06gH4jIimu5qQiN8NqA8WwKvZ8BjVas1LhmP1I/9AIgbOhNMsJDcbc0YKO1Oli2+UZVWmzA65dFUm15X2w0rUE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.10_1556108462203_0.46010590942304774"},"_hasShrinkwrap":false},"3.3.11-alpha-extendable.28":{"name":"@crave/farmblocks-search-field","version":"3.3.11-alpha-extendable.28","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.3.5-alpha-extendable.37+708e641f","@crave/farmblocks-hoc-input":"^5.3.7-alpha-extendable.28+708e641f","@crave/farmblocks-hoc-validation-messages":"^2.2.5-alpha-extendable.31+708e641f","@crave/farmblocks-input-select":"^3.5.6-alpha-extendable.28+708e641f","@crave/farmblocks-input-text":"^3.6.7-alpha-extendable.28+708e641f","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.3-alpha-extendable.67+708e641f"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.3.11-alpha-extendable.28","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-HUnPuUfJ9zFJp9IHEuuf9zP2rmJoorFaGx42I710HNR0XDJYeDdjYEVXj8O29hwJXEqZFXTFrlDdZoPOoQgqQg==","shasum":"c9b7a68633ae91c8bb17a53f19b8f7a1896d8702","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.3.11-alpha-extendable.28.tgz","fileCount":11,"unpackedSize":65865,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwa7HCRA9TVsSAnZWagAA4qIP/iQPhzNpTsi59fEi+fyt\nx7XvyaogtxB/FXaqlZQ45Js7s8lb0iS+8rFDR6djnPgAdHJ2FqknaAlC9rjG\noAtn40z+OTBzHxpIuOlpgDiCPBsqTMUdm6M/mxW4L7v2tIjI2WH07OfaJ04M\nXP69R9/H+dGHjPaI7nH8heUpJL6VIe2+ggfRLyI97jJhVSMdQXGA7G4khUnz\n7GnE5by8cUAReooILMjhNMFjIAfgaTJP7vfWA8BZxx/9GCyD23ta0tmOQtQw\nrwxc4gdDGyMxRVa1mgQVrK9n2gmWqikLYUh5tpwXDPt4u7Qt5pUw4mzLP3Lp\nW+LUCfKDDVivw6dxYbB7kMSV0vXU3Oq/vxwXXJfR12cDvJNYmP0kE1QHIPcx\nOt+EccVzfgp2sHMcY+ac11KyaWPIpHtFniSm2eCk7oucqi1hiwKSV9HQg+mh\ndLQcDGkTVnsONRYT4GTllsqTqMdXTxVe0x5fa1SioljGVcWhg40YzvucpPKB\nwNu56Hs+gfzab2pq5hX2lUrK3QwBx12iQgG4DDtpO95r60RyX4XMHJ6OPXy6\nJlNzBT8W5yn+C3MXJB1Bjk761pVDdG4hkVfqx81LvaPpFsOR3NHm50HVeeGq\nzVCjWkE5QAAOOIvnKLLXRRnKxhQKugmWuh1VEP0uQuVeUenXG2CvowmrS06m\na38g\r\n=1q+J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC1u383syZb26N+AV25kvMOYdAg2Yv982R/jv66fnQeigIgXXYmpe71jqAyjN+u9RyyLCRzACq5Wo2h9biJ1wPpkfA="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.3.11-alpha-extendable.28_1556197062126_0.49110103328701005"},"_hasShrinkwrap":false},"3.4.0":{"name":"@crave/farmblocks-search-field","version":"3.4.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.0","@crave/farmblocks-hoc-input":"^5.4.0","@crave/farmblocks-hoc-validation-messages":"^2.3.0","@crave/farmblocks-input-select":"^3.6.0","@crave/farmblocks-input-text":"^3.6.7","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.2","@crave/farmblocks-text":"^3.3.3"},"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-search-field@3.4.0","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-Zb4Kd72nuq7CU9L9PifRv3VVf++RnMQtK8jZyAoDOVrykrB7+wZuitSZuA6U1tli/iD217VUNGsfEJ7UXCvwKA==","shasum":"0189e9974fd1ab05ab74184507f7d4e37af0fcf5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.0.tgz","fileCount":11,"unpackedSize":65950,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcwbOBCRA9TVsSAnZWagAApeUQAJQ+/c19iyawz/99/V2p\nJ5rJgK0v6INTovcQIJNR5cgKiDXvmbw3WDYOr8ytbTdkZzJI15JrqaKnOZRa\nc2mOKSKptK0vYurRzZBsZtbTQGeta/Ml9J6sWozxuyP17tglUYatg43bj0ME\n42mgjyrkkcAPNFzVMry7m36JIF0jLAhRFFS8WvIt9riKoKz7iwYXcH/1NNCG\nkrbdFtqXZLn2ID6qURS9BNxUlUDPgCCpVPAVlJ4DstKfCxRHKjMwtdOr/qBl\nmZ9VoP/RbuitsOfFQUhVwzqIRs5TwNZM6/H+QAhPgWQYxLXhgCWyCVfEpurd\nKA0xL6NVAsd3ziNXqpf6dN9il+3q5utGEChERfVtsEz0ser0Wl5efrgvFM8T\nibNjaC/Mo7WFOx2XEF0eicQVCqZI0Se2mBIAgBdky2NrsLuv9t9NoU6HEpcU\nfY20NPQD2rGJeIF2FDNveY9iI+Pol/QIQ8ZvoQHgBS/glSFLwl5UFs4bLaI0\nkhHOv709srhnnZFiNwi0K2L1o3P2cTZaht2SS8R3R5BM0FXja0Z2f3frUUnI\nm49qP0nl/njXuki7ut/xsIlRPhYbfP4qlQEI6Pn6ZzR1d2T1cVJPMJ2/ItaG\nWahL/fQVEAzYNF4O7CT/mOKAvyDCb5DPEHdgKUu49khftL4qeGQX4+IV9IKQ\nRh/d\r\n=TGDO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtp/iBub2aUOowUmhwPkXWJr3d8VCd3RTOlzS2VFzXUAIgPabML0DF/O+CuxbLT7Ul0VsIsHbLvITeHdL3K2Ua9mQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.0_1556198272612_0.572238650366893"},"_hasShrinkwrap":false},"3.4.1-alpha-modal-4596.1.25":{"name":"@crave/farmblocks-search-field","version":"3.4.1-alpha-modal-4596.1.25","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.0","@crave/farmblocks-hoc-input":"^5.4.1-alpha-modal-4596.1.25+2777f90b","@crave/farmblocks-hoc-validation-messages":"^2.3.0","@crave/farmblocks-input-select":"^3.6.1-alpha-modal-4596.1.25+2777f90b","@crave/farmblocks-input-text":"^3.6.8-alpha-modal-4596.1.25+2777f90b","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3-alpha-modal-4596.1.92+2777f90b","@crave/farmblocks-text":"^3.3.3"},"gitHead":"2777f90b6ef71a83e6a426b6adccae7819148ac9","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.1-alpha-modal-4596.1.25","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-Pk3gthTl8J6GlbfET4gT4rBGNifY4zT3J1gEJeh7KT1eVey8ZQe7CCT+4Q5J/pF0gVf0cRpfVz5GNhUMQYndfg==","shasum":"7a77c445a2b451c24410126f18c82049bbb519ac","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.1-alpha-modal-4596.1.25.tgz","fileCount":11,"unpackedSize":66105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7ZTxCRA9TVsSAnZWagAAxxYQAJ5jPOr/vk8hYIaBDr6a\nA9BKjQkz9y5eJdukn3ZJjjrRDaocNwnqP4r6OPRqNUNO/0ARrINsE0abXH3F\n5S80+6evCf8I3hd4RzjAf2jMmm1kM1ytaXD23o801TQEUj9MELTHFm/64sQd\n0ZmEYGp0+fNCwte/zh7qYflz1fIOMxvB/B3AhmLRCkGeK52dTdYSCy1lBSFC\n2/GeE/7cpaHa9+/T25jPz14DG5rmO45gva+XRNXWZQj4/5P9U5BNyVAN/tge\nqmATEWeweoeljPgNlcoI5ha701RbtnO4C8utc8Vhq1SAAhF8bmF3LymYglNW\nCz/ZcubqTqcyFrjj0p1RDB7gzs2fiGhfjkfMqXJo0K0wx0WyYuh3aOHNSEQS\n+7VgVd+tUiNhv/vqony0LKJdmR2tIvCxNnZc8lnHojkL4E5zRzDriMNR3trT\n6Au7upzI/Yim9tdfkTatu6lwXHKSWJPNczbmDU0z9C0BJsb6KOXLX3BrKy6/\ntTrl4f/vagPVYFxyWePrFBd0tIY6xDwqXzohOX211aiebnLk9iiETLvpZJXL\nHzAsCcVrIPJR6xPWJ3fclbCoTYwkrQ3Sy2uYkzeeepIvLExmP2ztUMPqwjW2\n+QRHV4aO1P9XQw82phdFXp3vm5D1bBQQ7tMeI9prq34IcDHcKauJMUrGiA4O\nvkuH\r\n=FrLw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCb0Akea5jOfuG0Dgy5uQ74tdEmxrb1T41ihWXMkeRjfgIhAITvYokKfiUdh02Dm+7SFGBL7k0YwplQNwweuSU8oMRA"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.1-alpha-modal-4596.1.25_1559074032232_0.8427903676824844"},"_hasShrinkwrap":false},"3.4.1":{"name":"@crave/farmblocks-search-field","version":"3.4.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.0","@crave/farmblocks-hoc-input":"^5.4.1","@crave/farmblocks-hoc-validation-messages":"^2.3.0","@crave/farmblocks-input-select":"^3.6.1","@crave/farmblocks-input-text":"^3.6.8","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3","@crave/farmblocks-text":"^3.3.3"},"gitHead":"1998fbc0e41c0802783bdb74b7bb6f6cd9af76f5","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.4.1","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-wVNw6IsaxDnFduSuhTWOfnz9PU0oG5gfsVgZjxqCRZQgQyq7abi/yxHkJQlE/+zrXlw69/b+xe/B9SWwnD+FpA==","shasum":"99596da0bff5bf2ae73ac34587972659359737e3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.1.tgz","fileCount":11,"unpackedSize":66176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8TAtCRA9TVsSAnZWagAAiasP/3fzSqLyG6TaoJGlkXSu\nM+8e14/K+myU24yt0jM1Q22ogoV3cWKAF8dQ1xbrqp53Rz15VE67xgjNbeGG\n+fsOgbZogWyHr2q3hQozleSps1Gt24oS9NCXTCLC0m7NJsVGwZwR65+jyEYu\niMa05Gi4zQiupaZjem9C5+3tvoon6i/0tn9AVPCV70rM5Icpd94lEk8elvzZ\nHffihTzsZo73GYuB1xVwMhsRqsBl8fLGhwBhSEGkYIllXytnTjsulqSiIvyu\nLMR0DrT9BVOvKhiHHpC0D7ysJtLBWSlgHibkuePLtrBTLuJtatNeKAq+2ZG0\nhdYmxFhgZnTNrAufCBxyYliFpLsR65XOMkbFAzNhXWOSpFxymZPOtdVawp3S\nEwroGRsRLU46JSJoAyviDLvZDnbWkfa+3JHjKwBNt+sFBzIFwTbkb3B20fH+\n7o/lYLHCG3B3QOUW4WQzxpXqfcrXk/yl1SeQK/vMDrN+Id5+xqQSOhCnSXJ5\nyGjEw3iGZJjlQ3XM//e4UDx08jHIl7ZJzpjIQb2qvqyfGwtTdF+xVnz4zzNo\nmiZZMLNrxY5dVnnuetzvo8x7Y8VhWgiemYZpSOk/OFc6hmEWc3fo9YpMOd1U\nTFlEaeAxHVN2TWpMjZBgK8OKLqk7lDYF71LOJBbBOSZASSA+gfwXSID/80pW\nVEGE\r\n=s6hu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE0m3EPEXZQ7u6iugz8F+ZHy6BYjIW0dXUKZ3O0/qpwWAiB/UO2zuFgBDGeG566vko8gnDJyygDCFkS1rb52CCwDXw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.1_1559310380966_0.5014481816900158"},"_hasShrinkwrap":false},"3.4.2-alpha-modal-tweaks-4662.1.6":{"name":"@crave/farmblocks-search-field","version":"3.4.2-alpha-modal-tweaks-4662.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.1-alpha-modal-tweaks-4662.1.12+cd48bb4f","@crave/farmblocks-hoc-input":"^5.4.2-alpha-modal-tweaks-4662.1.6+cd48bb4f","@crave/farmblocks-hoc-validation-messages":"^2.3.0","@crave/farmblocks-input-select":"^3.6.2-alpha-modal-tweaks-4662.1.6+cd48bb4f","@crave/farmblocks-input-text":"^3.6.9-alpha-modal-tweaks-4662.1.6+cd48bb4f","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3","@crave/farmblocks-text":"^3.3.3"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.2-alpha-modal-tweaks-4662.1.6","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-94fi5g2jce1HhbKOXI1gL/mBBhNQTEiXACvLQooHVpWIjgVoz7KHkBcKI++axuxCCY5WtmZOz8uft3gbCvT4Iw==","shasum":"58051425a33501ecf1848eec8feefa3786ecda8c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.2-alpha-modal-tweaks-4662.1.6.tgz","fileCount":11,"unpackedSize":66362,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+qHeCRA9TVsSAnZWagAAD2QQAJvBSsYgA4ysqZzk91/4\n88Z2QYUWYGv91dO1FpwijrkvoyisG5A6z5WPmT1pz+II+CbVkA7jLEpPQScL\nD1xbAS6/B3PqXb3WoOoTb2TDsE9bzjVcXoi+pyAp1cRfe64dEjvCCEpGxEIc\n6CEYZxGqHLdjTHyBioufra0G+FFlwkHDvB0GUeANYjL+mM0QblpB6wjrweK1\nvVXQQsDnv3CsGq3KspxquG215ssX2ObMkNWByC9o3j2uq0tW3i9S/9cQAyaH\nnHkvDOCZwviN0m+lrURP9S4jt2uOgr/Ntiw9jUhl9RLoTQ0tkBH1vZ4SxUgj\nuUKfcHswQDLs+02OO7XJccp4krojrt9IgIVLDAw2pfYnycnWRBAwbWqB8iye\nJlbI0pkEUtAPI+jZ/t9AarkxAW3m5aV/Q8QAjIVYbM3zjLdqnbW16p7MQ5bf\n61BkPPmvGeqwlX/IF/JE6plUvzwcGkI90Bpcy4obiVC2YbEXdu6uFsQI8PIx\nn1gyXLH+zf6OKAD2YDIO9tAviy91/RvY0EUtnduavd+k/BHjbxitNB1rL2hv\nHmxT01b2E6FCDJUh07NTQIf2OQAVrfTWuXrEsPvuaLeKrGOZ/Y9nicgKxOP5\n8gWQKMqTQ0sJaBu2c1MRwI4YtYruX5hGmPT8C6LPIvYZ+td4uniTpSctItq7\nUsfG\r\n=xNZY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA5UCxHiiptn4xrNwFyD2RMd4aCDGZbrvk8nUtZXP8SnAiEAg1uIShMXi5NlPWZQgFLaw0oXYQ0DVHC8iavWIa5oJ+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-search-field_3.4.2-alpha-modal-tweaks-4662.1.6_1559929309684_0.4293545839338597"},"_hasShrinkwrap":false},"3.4.2":{"name":"@crave/farmblocks-search-field","version":"3.4.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.1","@crave/farmblocks-hoc-input":"^5.4.2","@crave/farmblocks-hoc-validation-messages":"^2.3.0","@crave/farmblocks-input-select":"^3.6.2","@crave/farmblocks-input-text":"^3.6.9","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3","@crave/farmblocks-text":"^3.3.3"},"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-search-field@3.4.2","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-ecR1e+azlOAoLYXQqiCFYaaWKdGrimAJAyegvzx1aJf4cWzy9ZbTRelJIhZX6lAneg9ZLSMholW3jwt8EJjpqw==","shasum":"21c676ba19233cadc9c9658b2091c884f5bdc14d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.2.tgz","fileCount":11,"unpackedSize":66402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdAAUyCRA9TVsSAnZWagAAK1QP/AkDw2b2kQeXM0kG6A75\nPWplQY6w9B10EousmcI8lvJx6+f82xaRJFDqOTs+TFPI9ynWESe5n0QghHm5\nqyQK1jH+4DKtBO9E+Iotr8GSKciY+lJ678DYzAJU49twZ+WD+iU5gkuCIC84\n+HbVe0UQlKfHdaaOrzGAsZxRyyIHH3IqEF+/iNAcC1ajhna5FKtyNypv5NJQ\n7WKeQJ12KLDoH9aTViE4snPlkncpOT4dnoRomKSAOzcFJUiXr0sqQynHGNT+\nwFy/aMMCH9TXW+Pow2RRpwY5OKtdAWPUSEj630alQIprpfNMazAk59NMT8F2\nTi1zP1ntJQA/7HDASRPjxn51vat6nN8eJ6Rz609M6QhpEZANnqMHoh29BpVZ\nVHqcJKwH8VZFUcrVUH7gui9kbOmUTEYXa6uRzOAwi5Pw0dQi24Iu4omufMeJ\n1SKgXhtNejgFDxcvODsxS05MfSVJPZQDLzkbDEhmX1b5JYLg2ljE3Z9UdwLv\ny0+CnJRn3fYPBAqzWpkX4KM1hPW9g5tkb+mHEu8obLDm/00VX9KAhcRDHL5B\ne2A3ejc2RyHzHiyZ71nIo6CEB/1LIQ/1/S6RSNX9nizbty3B7xLN39tQWIBp\nHGToSgmCvH6xUkUvH9A0B/kZl2efeDtPFBmg6Q/3K7jF4RLfZrHEVlxWKISq\nlPlS\r\n=D5fI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKpQS5LGaeHl67zkKGJhUiS2PbNSaNLFdUO56MP0A+vQIhAMFyrnVFeUVeDoyNZUahcHrxqWt3csI3vQcnXIQt9nfj"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.2_1560282417412_0.10853915470044218"},"_hasShrinkwrap":false},"3.4.3-alpha-text-truncate-4709.1.4":{"name":"@crave/farmblocks-search-field","version":"3.4.3-alpha-text-truncate-4709.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.2-alpha-text-truncate-4709.1.4+6ff71573","@crave/farmblocks-hoc-input":"^5.4.3-alpha-text-truncate-4709.1.4+6ff71573","@crave/farmblocks-hoc-validation-messages":"^2.3.1-alpha-text-truncate-4709.1.13+6ff71573","@crave/farmblocks-input-select":"^3.6.3-alpha-text-truncate-4709.1.4+6ff71573","@crave/farmblocks-input-text":"^3.6.10-alpha-text-truncate-4709.1.4+6ff71573","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3","@crave/farmblocks-text":"^3.3.4-alpha-text-truncate-4709.1.13+6ff71573"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.3-alpha-text-truncate-4709.1.4","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-SPdDtHXqew3c5rLltn8AM9Rx0w9UeevwbVzTrpolRSa2YyaBCrwSmNXBIuwGWuEZrDV7fp+HLfxaGrlK3RQl8Q==","shasum":"306ea10a4248e7dc953aa67eceff13c4d67104f7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.3-alpha-text-truncate-4709.1.4.tgz","fileCount":11,"unpackedSize":66671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCjn1CRA9TVsSAnZWagAAngQP/RS+heV3SnBRfkSToCcW\nV94iPFAqeUQnt+YUv9L6xsyiL67KsvO+jAEApZ8Hc8EZ/R6ExQXxpG86oupH\nau/yJ1OENUnn+2ExjnFaiOpW+NdU9MMN2qjl+T2lUQ4eI264rHENypziZckS\n/aFp9KFMjctjcy7LF2QefyJHKSubZc1skeVm6vp9VVuLIHr2lodIVSGt9LRV\nMAoUai4LbeTKIZSU9h/zbvCncSMwuD6Rn1WYmy3xWn/W4NCWjDWRipnjFe3l\nZw+mKB0dvyMkOwEYNV2kP8A2/CR0ijvmkLN4E/Vw7Mzl9ZEaKQSJxWNx3wvC\n26ai59mgmOOHxRiDP7e+ueZ2ND4Adb7XWZLuKHgu/yLa4dBjY13Ds5/LgB+m\nTxLftxrtYn2G3zLKqx6UrX7kdQf+aYb2uRFnhtEhYTWtOBQFjSKA/sqI23rG\n1f5+cxJmcjRnZCYv8HpOhTQTwJQNN/k3aGQWJBDkSHYk8L+XFfGhqTieRcd/\nUi0B1XUqwfxG691nxuQEdxYzEA0ziav3ZIxIxeT+Cd3yf2WK1LQsEzRMEiTX\nnYqVEj1Fax6KbOJO6WY1eqcfaSGR8UElde5oSDGErwPmqHWicaJ5xDlEi8qP\na8kR7pepjZVAjKTdFypSgGo6uQibEn/B+0Cj12dbnUaR7ytljotiLV2x6Sf3\nl2NH\r\n=vw+g\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICkUHHWFfyEYIMji5dZ+NGbyBYnxhbTq5DoktAPFUiceAiEAiK0NqdYoNGqtS1H4brMnQ1Is2PnoNIggH57s5yhYmoQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.3-alpha-text-truncate-4709.1.4_1560951285314_0.9627493887986174"},"_hasShrinkwrap":false},"3.4.3-alpha-text-truncate-4713.1.6":{"name":"@crave/farmblocks-search-field","version":"3.4.3-alpha-text-truncate-4713.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.2-alpha-text-truncate-4713.1.6+e6782892","@crave/farmblocks-hoc-input":"^5.4.3-alpha-text-truncate-4713.1.6+e6782892","@crave/farmblocks-hoc-validation-messages":"^2.3.1-alpha-text-truncate-4713.1.15+e6782892","@crave/farmblocks-input-select":"^3.6.3-alpha-text-truncate-4713.1.6+e6782892","@crave/farmblocks-input-text":"^3.6.10-alpha-text-truncate-4713.1.6+e6782892","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3","@crave/farmblocks-text":"^3.3.4-alpha-text-truncate-4713.1.15+e6782892"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.3-alpha-text-truncate-4713.1.6","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-qInY9iNb92f9mXwkdsvu7xbXzbSLaLsVgFzf295dqz5WDGBjLRsoiTONk1ddagoJtIAeon9WtLR2mNDQ+RTkKw==","shasum":"c1cbaf5bb43931b7b0674e6c5b7dd941354ffc96","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.3-alpha-text-truncate-4713.1.6.tgz","fileCount":11,"unpackedSize":66671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCm1qCRA9TVsSAnZWagAAzKcQAJ7FGl1lxbkuYZgUWS5E\n11U81gGOSJ/d3YEGHgAj6YpobKiViUW4Qzt+03NW1Va9ki1DKl1peoZzfD0J\n1NoktFE34LIWH9Sz2M5eU4MPoHf22b8As49hfTprT0IDeH2BtM1ZtRksccMr\n1ZZ42FQMvN7NgQ+XAiimGjVXSIYrAA5IJX66wbDGhVQUeDkXx9uSsrRZLyFF\nqd3BbKlGofn2aajWTovNURNWhuXZBN72sdGqihP+cSOmpJHr9XFJheAUApWl\nB3tc1YeJw517CBHW8vu24ospdxdxBV+y3TxasA6QrC8RAHgFh0UBAomVu7Sj\n1hluSAX+K9n/OjXFcaweym8OGzhJz2GW6QnZrQthajhAFDB/QF4Va8MBf1j2\nnmhAx+Dx71IupMy4lRl16mqs6JY3D6AX+Fhgqy4cgwvAM1R1/vsT7svmVR8a\n3NOSzeoJXHnFuirZkuj+i11X71ZHKE7AULHapBK0z5+DcEat158RbKxE8Hlp\nDbLKlzaKp0F/czPC3XwAgq7TYO1i11gqrmN0z/yoy6vhBaMyKjAi+OEbPV80\ndnMgLwy8KCmEQwLZrACf+jKi5zYrREA1umkJ/ryavqw1qZsRkUq2D3sVTwTk\ntaWtM8M9bmysYVtyOcHlQumYfczrCyuS4L54Bn6KHD7yziklJqpNudSfDQsf\noqHE\r\n=OsuB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFZpVfdo+V6y58HE1OQabjAjc1n9eY6Z1gcZLztyJBdlAiEA94Z1LK0TrvFfKC6DSd6TEtaGe4CuBT86vU+oWnpPNrc="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.3-alpha-text-truncate-4713.1.6_1560964458018_0.04125869987377295"},"_hasShrinkwrap":false},"3.4.3-alpha-text-truncate-4715.1.6":{"name":"@crave/farmblocks-search-field","version":"3.4.3-alpha-text-truncate-4715.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.2-alpha-text-truncate-4715.1.6+3c69ac72","@crave/farmblocks-hoc-input":"^5.4.3-alpha-text-truncate-4715.1.6+3c69ac72","@crave/farmblocks-hoc-validation-messages":"^2.3.1-alpha-text-truncate-4715.1.15+3c69ac72","@crave/farmblocks-input-select":"^3.6.3-alpha-text-truncate-4715.1.6+3c69ac72","@crave/farmblocks-input-text":"^3.6.10-alpha-text-truncate-4715.1.6+3c69ac72","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3","@crave/farmblocks-text":"^3.3.4-alpha-text-truncate-4715.1.15+3c69ac72"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.3-alpha-text-truncate-4715.1.6","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-fR70OdxBVr+91umx9QtGkPfMZUiBYXz5xQvqXxOGGuHwAJnibIBM7okG5PnfAN5opD6nKTKL/PgHZbMNucsUkA==","shasum":"225e1e5186396704c99dbdbe57407eb8781121f1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.3-alpha-text-truncate-4715.1.6.tgz","fileCount":11,"unpackedSize":66671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCnGeCRA9TVsSAnZWagAALF8QAIQfkiaEhc0UDGZUfgjb\nntYEwV6mgMmRP33KYPcWUh9wEHvC1V+WJh4qd2trpFqXTli9wHOc8nAS9g+6\nIenO3aNfjNDFJwov7ke5QqjqNUlmLXmXA3r6G2KFvqe49slbbA1avcHDdhrs\nMUMIOJrVhpveOZISzeQnWvY99fA6Y61KsjtMZ79p2qUyp9Hs23e3iyGLAKAr\nipYwcufEk952Sqarj+VZxrw4RQuZa56Z1gfXgbrR2zcYtUpuQEfVpTpB8Dwc\n030XRpN+V3s9PEwIeip8rIXtUPhdvFux7EQUqKrv/ynPAjwT3RQhnmvA2H26\nJHmR3ZBvWms/BWb0ftgH98TntTSACBisM1myiybGhh1IML9GCgACP3n/IE1E\nUnGUlqO/Ub79lauHJ/6a3XgzmctFvnbuFFntVoboDqr0oeLsPFtIvj8RIyJ/\n/r1KLS/xjP299QsGLnKq30/sdlI00RbZUJMTlo1cgQ2PAtvz6y8nHFuzisv4\nqkbPDvSCwJmZTR0MSFTl7k3jQ0CQOXa1A9ZKjMtVtmLWIN7Tyq4TId103CT8\np7sisyGFHJbok4x2fw56PnJR2DJG6awVbXX9Vtonf/IAMGudU4hFdVnIuhTp\nKuGN7rFE8/U/MjaYresh+3oXNkO4ub7DoFTfxmQAY2TLqLWrrs3nNWn1eHnq\nS7qt\r\n=GeKv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFOJ/wLJINiUXoj978gqJkpx8IQ4MVsJXJENJFnCWO/BAiAZTG/ZHv+bQRY/dMmMMGAAhxC9xdt3ydnZWs9SXhoFvQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.3-alpha-text-truncate-4715.1.6_1560965533635_0.8353886056442505"},"_hasShrinkwrap":false},"3.4.3-alpha-text-truncate-4717.1.7":{"name":"@crave/farmblocks-search-field","version":"3.4.3-alpha-text-truncate-4717.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.2-alpha-text-truncate-4717.1.7+e21d850d","@crave/farmblocks-hoc-input":"^5.4.3-alpha-text-truncate-4717.1.7+e21d850d","@crave/farmblocks-hoc-validation-messages":"^2.3.1-alpha-text-truncate-4717.1.16+e21d850d","@crave/farmblocks-input-select":"^3.6.3-alpha-text-truncate-4717.1.7+e21d850d","@crave/farmblocks-input-text":"^3.6.10-alpha-text-truncate-4717.1.7+e21d850d","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3","@crave/farmblocks-text":"^3.3.4-alpha-text-truncate-4717.1.16+e21d850d"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.3-alpha-text-truncate-4717.1.7","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-sHn8TBqXaijsgrPLOBBtDZ7Gc1rKwrF3Z3bs5JVTzzG4uV98wB+FvhNhmU13Ec1+PdTQ2btk9lF6x4bzpdQ2VA==","shasum":"f39ad0b67481b9ed3fd8b90322db3977cc2feaf1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.3-alpha-text-truncate-4717.1.7.tgz","fileCount":11,"unpackedSize":66671,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdCoVhCRA9TVsSAnZWagAARD8P+QHnRBj/pVRptH52U9vx\nR5wA7k9fgqu1yzJ+sfA9cWsWbXJXaED1lne5ovU0vOGUk3QfAs89kMAY+iFV\nFW6sc6BA8ra6lYByq5hoXN2rZsEU2cjb1MQ6/eIxSSL8R5JFsu9lOkQkHFZD\n5Y4nCZuLud+fZf0aALcnYh/q8VDz3fzJDcaRf376s3whWOtvLsv1fLnmwBw2\n1BlI5lfKqPNn6VL39xczC8pxIIV7PBMim+vZkvarbjrKFmZlfPMd6gmpzkle\nAi8VJolwKFAjtqjdcPNZPsqBZ6DFb7hQekMLR6IZY7xoEZlV085mZdaSF5mX\nOTM9ak8IhkqVGp4mCOtSRP9sCCRrq4MJqNdCx4InZb2CGGP7F/o409Xus4bJ\nDn2FNx/kgUVrL/eF5oJO3C63hVEZxPpoLOote2OyMgVz0UIYTRrE9wnexvTd\nLClvxEWO9aMZ97V1HDG3YT5YDXPRpIHK5mBLWecByiNWJlN4OWphHVsuQQ0L\nX5ISi80GhzmRl+YuwqxYTv5y/d3n2FKFkrokR/axwAJjheV8TE29kOUtTWvt\ntvD5IcVgdtDCb/KXPUtNBWiITMRwnEgQ2GL/xo8kNlT8AmTaED272TctKvwY\nlY0g6CUHN/zLUSpFSJW3qjjUFq+vrYSzr7A7y3y3M/uF1LiNurW/edUJIMNm\n00wN\r\n=qmp6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3fNI6gc4TCQvrkkxVFS0BZpeeQ0G6zmvhMFJIXPIhEAIhAI870Y4AulpoFZ3vkabyVnRG+fhy47IEOqrN/UY9wZ7/"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.3-alpha-text-truncate-4717.1.7_1560970592123_0.6564639038323643"},"_hasShrinkwrap":false},"3.4.3":{"name":"@crave/farmblocks-search-field","version":"3.4.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.4","styled-components":"^4.1.3"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.2","@crave/farmblocks-hoc-input":"^5.4.3","@crave/farmblocks-hoc-validation-messages":"^2.3.1","@crave/farmblocks-input-select":"^3.6.3","@crave/farmblocks-input-text":"^3.6.10","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3","@crave/farmblocks-text":"^3.4.0"},"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-search-field@3.4.3","_nodeVersion":"10.7.0","_npmVersion":"lerna/3.13.1/node@v10.7.0+x64 (linux)","dist":{"integrity":"sha512-VUZ/c8DG60iM1AiKeYga++zlU/1+dlFzJTPKFfYLxlHkRwMT53ft/M8cEpDE9ISACd7LPRimhFKPV4ZGy+Se2w==","shasum":"961f85dd27fb8b073649c3e0c4fea6cbfc22cf28","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.3.tgz","fileCount":11,"unpackedSize":66629,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdEi5PCRA9TVsSAnZWagAArxwP/jwA47MSdHoEL+Ypk9Lz\nDlDo3yO39tCne1/zqwJHNsKS90M+N3mQ9pLjlj1Q+bYASWHU6oSZ2c2ufwkq\nb/TQTF3Ufov2esMVwqQsuWjmIG9Xbh1+7X+iWuBEkByhPBG7iczjMh4UcD7j\nRSObeDwDSaYQmVJi9hCTv/ea4YaBCcEEi9dCrpLHF29nkiwMFzlmmYNiyjrn\n7xdiTK922cAVUB77VBLVuBdOQ+rdzdxGJ765dY3beW3i0G8nBFCGvVHxDbmN\n/1M+u5L/pMORE3rpW1vHPLJ5mOTB6sXksLTQAQAPPcaNFG9z1JPn0IFi2Bt8\nLdecZKI6wkKd1vxe/fHG2eif9DMZ1QhvJ4pqNE5gqoMCdoaC8P2m5ImjVDld\nQS66wp8O/QEIrThe9IrTysdJ3ztbjABeJG8Ax7XmOV14OWASiiFBRuMo20vF\nRCHeeFOAnR9SF1uO09H4hxzpU+GefT1qI/6I3SCZr8YdGTSFo4m6a3EXZNxf\n2t0XAXmrsYu8Yd274GTROfsoZ+2ICnDuxHJ4fQj38JwIOCBTerfzjgbTw6Kq\njSCe/3iECbXhqKMaI4s7mGCZdJU9+BXUuPyH7eSKTwFruiODMliBNmCiQIvs\n8WKWVzOcsl4cSdF621lYjl1v7G1qcp38KkfPs91er+pcgk/ml5yInpVExVhd\nXVGq\r\n=J9bv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClHtDDMPmNJpXeBud09G8GMbjXSmqrdpu+mL7TFu56UgIhAOnScZuSWwmk+OXHiBfZ2ysjo0ndjxM0X+7QQz02419+"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.3_1561472590355_0.873887904049993"},"_hasShrinkwrap":false},"3.4.4-alpha-upd-deps-4809.1.19":{"name":"@crave/farmblocks-search-field","version":"3.4.4-alpha-upd-deps-4809.1.19","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.3-alpha-upd-deps-4809.1.19+0e9e5304","@crave/farmblocks-hoc-input":"^5.4.4-alpha-upd-deps-4809.1.19+0e9e5304","@crave/farmblocks-hoc-validation-messages":"^2.3.1","@crave/farmblocks-input-select":"^3.6.4-alpha-upd-deps-4809.1.19+0e9e5304","@crave/farmblocks-input-text":"^3.6.11-alpha-upd-deps-4809.1.19+0e9e5304","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3","@crave/farmblocks-text":"^3.4.0"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.4-alpha-upd-deps-4809.1.19","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-odezIT2XOcLkeRPfKyJxvssSf5BoQZFDgtc0OJdQ3QtVgCzuZ+cySfY1i4iC8YHcbgxU4Tn8qeCqKqqg2PPUog==","shasum":"3ab10d30fb0d526d87cb9a91ca1c7cc5438586f8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.4-alpha-upd-deps-4809.1.19.tgz","fileCount":11,"unpackedSize":67017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdH5JyCRA9TVsSAnZWagAAGxsP/iLXlCUJCml3XfP1Wv4L\no9dFoDJdeZX9SxvmzmiDhyE6ppFMwoK2yxMtuvX/3whZN8XxtDtZBiDkJCcs\nMIYN6OtT8UHU78tfNdP9stVRT1vnxFqHFrn3eJP3jCq4rJobu8iZ9vPExGjE\ng4Tk2NFxPPR1vSk76S6H+oV3iNoVwSU5P+EcKt7zlXqFDvXUIKGcH7fZCC98\ngj9VTPsstkCHVBV5xjr4LOVKLyyrepjZuvCmdb7AjzEBxPPvpgCv0uphY+bV\nbyG7LA+mmdH15VmIpKmzz5mI1dtCRgDZtI1tCUjHcOCgMs9Bct1PQqbzdo1F\nh/tDkPjLg1A1KP5atAE7h/XYW3idcpj8FKJZ8FNqwNGQJ4mofiP07ycwxH+3\nMxTh4ukbo0R1N9Pc71llz5KXYNwCLUxPp07KwmlnAUKVUuLUI64682dafbOQ\nsym4PjkijoCZxToEUm8UjS8hArEgH9eno1AdTr/gXAWyq1d43ITzGOMslAXq\nwoRwIoSAaowigJvgM2aUCJt0dkkU5TZkMFIzRFJjZMZHHra1qy6v9wuNXBf0\n1zC4av7IoPfK+5iEVDPsD4UKmNr1IehVFTNSOULlJIPDs83sTUR0KYeWeueP\nJEuGULMUCL0/fIRzw6BMCWvz03xej+Cp0DRN2ieP6GNRz1FUNCsplCAT2Mpm\nbY/c\r\n=sEeW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGjkAhk62PlGJyzEG2HRZ31s0f0Jk/mWLZ8nctveVEbWAiEA4zgKPE5teGYZcThLP4uTu1DgIYY8yB4wv+eXmU6nAN4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.4-alpha-upd-deps-4809.1.19_1562350191794_0.16845672512042276"},"_hasShrinkwrap":false},"3.4.4-alpha-upd-deps-4825.1.23":{"name":"@crave/farmblocks-search-field","version":"3.4.4-alpha-upd-deps-4825.1.23","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.2","@crave/farmblocks-hoc-input":"^5.4.4-alpha-upd-deps-4825.1.23+4c613c34","@crave/farmblocks-hoc-validation-messages":"^2.3.1","@crave/farmblocks-input-select":"^3.6.4-alpha-upd-deps-4825.1.23+4c613c34","@crave/farmblocks-input-text":"^3.6.10","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3","@crave/farmblocks-text":"^3.4.0"},"gitHead":"4c613c348c4a6c3b99f0793660b9a22d361ff343","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.4-alpha-upd-deps-4825.1.23","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-MTBo4pqmmYf4pQIzPoKITaQC3WdPnILf/hQ0leOHO0yOwXXM91+kKAAH1jtp3r3sMZYxd2NgEJ3quzjVzeg58Q==","shasum":"cdf4b422b2b378ddb8e48d145bf8a545e61714e9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.4-alpha-upd-deps-4825.1.23.tgz","fileCount":11,"unpackedSize":66949,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJKJRCRA9TVsSAnZWagAA3eEP/igIqmxy4VhdaxTtp9XA\nNgtNYva+lQscJiCYD9MvhU9+6eFlpjLRdXCIypDj+jW40WmSpQnqcayrnGjm\nXe/+FlER57uoBYXZuZpJcW/57CP3ZAtJcEt9RajiPK3NOIDjBMBSecNwbQPs\npsmGidGKgKZaVlsifgaKnXUWJwC3hSolk+gkK6z9nxmQ2rkJjEhtdkIgJ2UP\nvs9/id0/JaF95JuIy5/28JSyFWI43M8c8McoDCx+l5XVB9MY4M/cvYUeyruB\nbWLZyQJZfoENtZdk8zd/ooYqyMNBpXo/CC09p+8bxHAF/cZ0qKD47aumHe98\nSLELt1UKqjwY9UKdZpTKXFNFCZEJYDiF7uUylhQzaLXmiZBxWSv5bepzcwoO\nWjqEAaPYep2H/K8xqekCmCHtJN/Axrl9GB+zjwxUzurJXQpXi2bDYRexVENw\nfb5kHgRd1/rTVmiAYBYo8GifmEU5i4ghsI0kpKqWPQnbHJDjMnjQVLIx67m3\nPST308r/KvGPlo3sY/YqNy6dNmxN3vr22dirP7wzsEM70jvuFY6JXVyiGBRF\nndZ1WViosJKoEuymPBJ5U3cYzoLAww2LtkKyWJi5RCn/yAwNRL9SinfcpEYa\n+WVygnlaLLKybsxpyn+FptaUm9Dr6vP5YoL8xYW/7fh7uBGWIrGWs3Sm09sD\nfWxM\r\n=9S/Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuM+7ky0b6Uz+7gmbU6H/9YjO0DsDbxMc8JLf1JE2bYgIgdQ6EFp06L9BHO3+ccN9CILeeaXoAPLn3OVPzBGxnoGY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.4-alpha-upd-deps-4825.1.23_1562681936897_0.909788607175452"},"_hasShrinkwrap":false},"3.4.4-alpha-upd-deps-4827.1.21":{"name":"@crave/farmblocks-search-field","version":"3.4.4-alpha-upd-deps-4827.1.21","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.3-alpha-upd-deps-4827.1.21+5b8822b3","@crave/farmblocks-hoc-input":"^5.4.4-alpha-upd-deps-4827.1.21+5b8822b3","@crave/farmblocks-hoc-validation-messages":"^2.3.1","@crave/farmblocks-input-select":"^3.6.4-alpha-upd-deps-4827.1.21+5b8822b3","@crave/farmblocks-input-text":"^3.6.11-alpha-upd-deps-4827.1.21+5b8822b3","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.3","@crave/farmblocks-text":"^3.4.0"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.4-alpha-upd-deps-4827.1.21","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-AnI9CSXcYK2ZAAh8yDBtE4gjkZSkzAjCjrqAfTvuOYc5dTVY0KgXcF4ADmwCRRhOLtQ1SnF/GxPXWVbMQnnhpA==","shasum":"74dadb870df4154778f203bdb8d20960080c7ff9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.4-alpha-upd-deps-4827.1.21.tgz","fileCount":11,"unpackedSize":67017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJMULCRA9TVsSAnZWagAAnOsP/3LWb1pOY3bT8ogNwxwd\nljWy7mh2SAobNSadIuX7/iAo/+2nkaWOrdIDiu0rd1Xeskm7CTmsIwZzYtxt\nTud2uRDVKKKfF52vpJt0DqTgjH4h5jQTilcInNaO2Z0zWHjonEiyo+gg1V1P\nm0T2BcgU5XfyjDz7m0E2bNBGW2kpGhon0XmmHPFQ/7mnwxx6hJI/6nySZal8\nrhv9uH5fWrCgv8QWyO9SaWBNAFRQxBu6Pk+Id/bwSmUcF5hgkaeM7uC9pRjQ\ntRdpZo5q7hr0wCJWf8RcXJr6jycB0LeeW935rs5X8mjxHmbyTNXgZJ5bZ4Ft\niRbsg6OmeyVbqFOg7ywAcyJ3WG/odxCBco65OF0a+6lzbY784miXm2iMPx5b\nhYW+IPptlezgYFZ+gtBgpuaDgkUyRFUswuQxeLcWyv9bsukkPZcSfjz7/Bp6\n47E1UYbgBFxkseGVOffHrBfUrk8d9VoYtevK64pF9mTcbbEkcpvvIZu7m4SV\nEPje+6Qq4zwROUN1U4tHaGR2ERnF9wmsKgC8MDZu9TnU76cVhMXhpn9ecqzW\nhQ1d7AMBsCh9KP0/hEJhOxE7qS4Jkah5vU91QGjjJQNMqepXu7EQCcMZzlm3\nTK3m55ZF7DbGwhTh6ATeyzpbFaXZZy8eJo3P/swdSYWVC/ingSB2YyIoHpAT\nHecU\r\n=5wxN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICLuatDtRJnrIF6EFu5ZIaKU6zUuJdh+Ejyk9/hBRR+QAiAWbaqR1cNrzZmiIGk73G59oUt1FNDhdBIh5R15xWJpyg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.4-alpha-upd-deps-4827.1.21_1562690826346_0.05139540006105303"},"_hasShrinkwrap":false},"3.4.4":{"name":"@crave/farmblocks-search-field","version":"3.4.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.3","@crave/farmblocks-hoc-input":"^5.4.4","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.4","@crave/farmblocks-input-text":"^3.6.11","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.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-search-field@3.4.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-rj31BQEJfMXQtX+F24kLW5u+K6LPIgHXbY2j2w+l5MVDbb5XUdVX99fKMQSB9ZHQmXBaYPJeXf0Cqm6Uhf51Rw==","shasum":"3ba79cc828977273535bdfe95f6c22acf13b234a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.4.tgz","fileCount":11,"unpackedSize":67073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdJOpkCRA9TVsSAnZWagAA1YEQAI6PiqyUHYQir0l1B0Mh\nq6HjrodbPOv6+IXxPKLKjKOE5YXB8vdJcbsXibycU0TjlJaRDNk4sOcb8Lrl\n/oRhPQNC7LWsONi0N3xdGhwoF0iBAJO4zy7bBrAgUC+Gxto8ei649cTHR47y\nqePabPGBhDuNGT/MzRuwXf/v5wQe2dw1L0HhttJs8/ILz5gp78udbuEmudLj\n2QJUwSwk0CtN57IDYrMh9I2qq+/b7tQ3GczLpeTTNr32s44p+clwRQnLybo7\niL2HGt7DKyqUGi/bXNjMKZtfLO0Q2VfYemhk3C0TtTLvGgtNngwWDOMRwz9p\nMcl1UOvr3xSkh09w5KHU33Br0ZcaDFBkduW5AuVrUlIInMomGl++HYZINQlj\nlmcg7Lpov7W9uQJvAJZ1JluWH0HR3A+GabN8hc5Db71eXxE3mgQMaVDBqseJ\ni5b87ZQfhOFhgQL3JvghWqRtfNfMVXR58YhLmYKevC6O4A+wtDsVXgOhAnL9\nS9fObr7xn2Xr2N+sn/aEwjGI/pmSk3jcEFb3dDY0P0FpXTCsVzLpHSxILTGB\n1vUIqJyIBh2WNanJygSnpLeeUedUgr+kZPjoX0FduyFBxDxgr50IMoyMSoxa\n9WwC+XUlEQODTCZ5dlofJWh5F+b5gWX/wPJbvHLEerWGYkDG5cj7/5SIDF4h\nFUe8\r\n=a/Zu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBMtFdgn8MiM2BYlXvaj3d+/hZQRHTCK/4DBC1L75UcwIgZ51pPYliVifS9RxgsgDwBVZalNKLrvIHLzrh0DlqMWE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.4_1562700387706_0.9308945132097239"},"_hasShrinkwrap":false},"3.4.5-alpha-tooltip-position-4885.1.21":{"name":"@crave/farmblocks-search-field","version":"3.4.5-alpha-tooltip-position-4885.1.21","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4-alpha-tooltip-position-4885.1.21+65282d83","@crave/farmblocks-hoc-input":"^5.4.5-alpha-tooltip-position-4885.1.21+65282d83","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.5-alpha-tooltip-position-4885.1.21+65282d83","@crave/farmblocks-input-text":"^3.6.12-alpha-tooltip-position-4885.1.21+65282d83","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.5-alpha-tooltip-position-4885.1.21","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-i185Hl213xp2RqvyA4YcWfiDCwOCGRPbiblTIwOVSvkKZWRsg1my7hnlOfbhPD1KjzKmnDoq0zRwHdCfyWOkxg==","shasum":"e8c47fa59c52bb14da928d6fcb8481b8e59dee6a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.5-alpha-tooltip-position-4885.1.21.tgz","fileCount":11,"unpackedSize":67775,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLI42CRA9TVsSAnZWagAAZMoP/39rhcQ83ZbWwf3ddG0i\n2qvvujDekZxYD6NfcBGU959FiquZ+zvlyvVu6fGjbzdIU3VhrxZJEd+uCncB\nOeIz1yVfuUQq/gfrixXLb8705SpRVVVVTEfwqVzw7wF5nMQ/ufJMb9FJsgdi\nxxjyXm5H15fBT2KfeNEdGqf2KKspyVkr0w8HVJJRwh+BvGywhdSOnAPZ68kU\nPG8sqxYkbohzPpukCp3QxJiti5lgWG42hXLcDQ77UBeD/vRiWG1gn88vuyJZ\nIY/09+if6F5XXPTjPJ2JbbQBhy1sgcbvHBipSUBh8VUr3CAd3ovf3RSifijE\nM7JJdhLqxRckjHJrdV2UHV5RUW5700IEqwu5F6nnitgf25a6plqGlpyopSHB\nxKtI3iVCqMoM/MM9vpbPey0qfXXNmArrFESe1GTf4nJdhTPsrlC0Zj5Ykro/\nbG3OGCeFtzLFCUiPewj+z6EoSvPbO/pxQ5PwR0+0gQj3Q4rDcbdIr486UEBu\nTajnBeo67a7htmmohdGDAmPvCfJdysneThsBWfVnrJwUhskR2iy+RqD+J2RZ\noEL8iBI6HdeX2/Q0VNDb/db8jnB6gUM8kxKahiJvi4rtz93T3AjO6LPPnBRO\nE+JpTzo9LQ/wm6mR6qlE3jQFopdrY80NcNtq+k8LLQjQ2oGdavx1Ij7XvBPM\n+v5u\r\n=pyQI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDFefo133pVTMxnH11RVM9u40GPdPdaX24Z3lFTUMYsPwIgMOU6POXXwjy4B6CpS1n1GdR/FKkai2bDeSnm42CHKhk="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.5-alpha-tooltip-position-4885.1.21_1563201077891_0.47308261510405547"},"_hasShrinkwrap":false},"3.4.5-alpha-tooltip-position-4886.1.19":{"name":"@crave/farmblocks-search-field","version":"3.4.5-alpha-tooltip-position-4886.1.19","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4-alpha-tooltip-position-4886.1.19+5e47c95f","@crave/farmblocks-hoc-input":"^5.4.5-alpha-tooltip-position-4886.1.19+5e47c95f","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.5-alpha-tooltip-position-4886.1.19+5e47c95f","@crave/farmblocks-input-text":"^3.6.12-alpha-tooltip-position-4886.1.19+5e47c95f","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.5-alpha-tooltip-position-4886.1.19","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-GA2YrSyKof+dx1j/tfISfGvN8verWA2P013tcnthdSgUI11BiS6VOgQ7YBKA7EUGtruly8CkPvtlaavgJ9LlOA==","shasum":"ec2d192dc6f46a3eed24444eb797ac1d95adc5c6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.5-alpha-tooltip-position-4886.1.19.tgz","fileCount":11,"unpackedSize":67775,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLI6XCRA9TVsSAnZWagAA2fMP/2hXNm/37uTz8c+5gZt2\nWq+oSa8nQAqtKokH4mdA1NngubcBiuMms9Ib25UTwKxyabux7v9+nWHuWUdz\naHx+fUVWX/Ok+AKGZnwl+69GILeDXaaVJk/X8FWOv+SvmqtMtptB133n68HR\nZlB1xNzWvyXn+PbABoKtjG3OA1IiqkbvX4aqVWgNG/grOLE9fRdo4wjzkWok\nBW4kk0VrBf9TzfHNS5G/dPfNDtprgUipViHXBvXcHy7mpQeWfSYg4YTmg6Ck\nuxno1qzYyFkLKj+5KLEqQZDS4a7fT3Lj1Eav+jiBAhORl8f/1bpDixY2HKGh\nwIv6VtYQF84agAfIl5/wYfX5Uh3X3JUPuBrdnN32pKSLbR8I/i6KhoLJVSIM\noJOuZ7mT0wx3bnqu1OWdRJav9B1AQ1epmC7be03l6Gz2Zcj6Qq8JrWXG8jgU\nm9eMlO+e7y1afYLLg4q5j+oKn2TTj9hiua9GK9CDL5uU5+fsM2L7/w77llte\nXtb11ILSwcj3vslyEd1sTpM9W7Cv8sZTAkFVNC4k1rz/UPftub8PjvqL99Ic\nWCwuCmbpk+5djgjS8IO7kGGUEUwZhS28dyvjTbuVGelQvzogrsCl4+Kw+sbP\nXP/BFRkmBO/vXmYLa03n4igy5rhBSetVdSe/dXmzI0hrgxg2orreUwXt/119\n5tBy\r\n=EU0j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2AhGoAznnRMTwOqVyiKuCilbT6/IKqCvN7wqLwih8OQIhANpHUkmO9gIXHAkTJrEEvyPqJkzrc8eu9gDRcsRfNwdU"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.5-alpha-tooltip-position-4886.1.19_1563201175020_0.38958110280027713"},"_hasShrinkwrap":false},"3.4.5-alpha-tooltip-position-4915.1.30":{"name":"@crave/farmblocks-search-field","version":"3.4.5-alpha-tooltip-position-4915.1.30","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.3","@crave/farmblocks-hoc-input":"^5.4.5-alpha-tooltip-position-4915.1.30+64490db3","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.5-alpha-tooltip-position-4915.1.30+64490db3","@crave/farmblocks-input-text":"^3.6.12-alpha-tooltip-position-4915.1.30+64490db3","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"64490db3b4e7b3d6f996df6f3978b1bdcb839fc6","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.5-alpha-tooltip-position-4915.1.30","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-BSEDkYrWIKxd0L3qENV4aQX9YcBQncW5ACgmr24c8i9i9qHKeZxEj/Lbhvg3M/2DjVNOfsGUZxpOx2TQLz+eDw==","shasum":"fe2d3cf857e0cc5c2f9f1f09b5ad610406a56267","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.5-alpha-tooltip-position-4915.1.30.tgz","fileCount":11,"unpackedSize":67733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdLhnvCRA9TVsSAnZWagAAzAQP/jv0o+9V6Ul59hYiYQ1h\niWixalpV04mf4Ucwtmr32OstFtxssNqkicMUQXZzik5w++uzA3qGEfPp0uvn\nn3frQBtNnDNCs6+INcNjFClnpNvImbGTnW5xRd0Yba9lPYpoO5hzbXYIGswE\nRQGSgO79w1nODnP2yVCeNGqC1LH2fddFgE3RsBmAUSRn2AupVGDq2o9WJzHY\nH1bfToKLsJ/rgNUdxSEidkoE0PnImfLYH/LA6GF0FHEI2zmxOYp9nMY9q2p3\nbb+vLfReW8n7RSf75fQV3u319sunsstgd6+ptEOpRpd+F1K5pod3OVExeCnW\nSczk/PsTL78eETNxIA5QnorbAw4gY0PwB0cmj7Py8BW239BsSPZbxWIBCCrb\n5G7657mc8hMVQvj+xGMBUPxdTtgBRjXUILT4Zlh8BYJK6FBMiT9BNPEo/I1c\nu/mjOpsO6z7ZKk0FA4vAKXHAgYce4MvTQCzJMl0eVgCt41/nXSML36JfEjLW\nfq81+EoeUNXLc1f+STn5/YI2VOk+uepya9ls+oTVFh+iUjSVx0i5XObTX5IQ\nqhSsSWEEMVgm4uu9fud2NfbUBa2tXQ9xS/R0eMi3UYPnExpdh8BPdxgnXVBK\nueVkuhSlNWSJf+XB7AsNJM4MOZocLMPWiwgP0ECqwuhqVcXDxLAkueQ8kdel\nCUHo\r\n=PNcE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC/mlh0ZrOi+zZ0K9rA+WjeZNO2G+Gv5zeaQIG57tJSVAiEA8MUVPu0DqKF6s8YGd378SDZc6ZbilrDPCt9vFgcZxVg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.5-alpha-tooltip-position-4915.1.30_1563302382534_0.3564210430031136"},"_hasShrinkwrap":false},"3.4.5-alpha-tooltip-position-4957.1.32":{"name":"@crave/farmblocks-search-field","version":"3.4.5-alpha-tooltip-position-4957.1.32","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4-alpha-tooltip-position-4957.1.32+0eabd216","@crave/farmblocks-hoc-input":"^5.4.5-alpha-tooltip-position-4957.1.32+0eabd216","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.5-alpha-tooltip-position-4957.1.32+0eabd216","@crave/farmblocks-input-text":"^3.6.12-alpha-tooltip-position-4957.1.32+0eabd216","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.5-alpha-tooltip-position-4957.1.32","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-COKgBnvI+ZS6mcDImwqLA6ssY3oep9jYs2AC5rlulRIX1LlUHrEjvB9knOBlrMVna9Y2eD+Ts54ibzNTYuSlXQ==","shasum":"2895009594f90bd635cf2573092ec80e93b2fef8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.5-alpha-tooltip-position-4957.1.32.tgz","fileCount":11,"unpackedSize":67775,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMMYgCRA9TVsSAnZWagAAxbsQAJx/NgipwUbCblvvl3ON\nqz4spio5JsPps7FI9ynXVDLhPaO7s3YJnnJ9h8Du2vDqCoamTiD3dR23hIi0\n4lFiNgBTcyVYuI+dcpI64XQM6m4sdxTWEeYhMllegrUSvnUU8dRMGjAMdd5C\n9S6sNaDFIBiU4lTsSHTfe15DxBlCAJJdv4R4l2oI02Wyx7TpN+15Zo0xxJzI\nX99TerfH+U5DUgtS4VkaWoN43vFdxGLV7W6Srd31jwOn8ACU+dE0pfk+DMP1\nEC4mXhkDOyDg10iNLPUa3FzI8kGgbE9mVHw0Ws+UnepdETVNoieJbD+Ib7oD\npXbHkN2W/lFsLevHFOs2lw0osSswJMJAuBAupgW304/Pyrh4kw7BIzzbRPVx\n57rPeOKmdo6K89GFcsFxWmEH5fJcm1khSQRF8d/Oyzacl04UbY2Ry9ntRNvk\nqeun1bAJN3+K96k0qSH/m333T8XAGy8/x5/enkuMVblEOgMgg3OCS7nnAwlk\nfze3KEbMECkGC4Awp+8DmLrqZAh9Fy4nt73HbA9RlYWucHhJKoZ5Frp3Ib1S\n1X80gre29b0CEgfpYqi9/iRztmKhWjvilqu9rRukoQ9Gkid1qjp2jdAVswHF\n9NFjXoBH+rOPt4iaSL4YTxCF1kGtfpzfTXqFNRPQ8+gxrogNn1jRCZM9YAvf\nSzBA\r\n=IGOZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9NtSwEV3nwSqNij2CRYgClHAnouY4asXBu2irslbD9wIhALrvxyul/vvoRCKnGEeos/2Gw2Jehr2R1o+P98wme+hb"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.5-alpha-tooltip-position-4957.1.32_1563477536182_0.5875720703164924"},"_hasShrinkwrap":false},"3.4.5":{"name":"@crave/farmblocks-search-field","version":"3.4.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.0","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.5","@crave/farmblocks-input-text":"^3.6.12","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.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-search-field@3.4.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.13.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-BUfEDPvkj3/JIOW21TEAyidMP6FGN0mkwI7TFL2Ha/YldxoCwSHo1MLFpMiwm0CbYX3bcX49cLp7jJfMJlbZbQ==","shasum":"516459c31371a449a381fe2e2569ea67f268f70b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.5.tgz","fileCount":11,"unpackedSize":67791,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMMk/CRA9TVsSAnZWagAAfScP/Akn6gnPf9uO8AWEHKLV\n6V8oijtc6go9ukOiwSFTh8+f26QFrxKsApUmvYQ6BT3/1eADEVAtMznaUrES\nbACB0gwHyf/o6xxQVpM2KjXLX/O+QdwFXq5ITOTUIKL9mA8UlC45YbUukkjD\naue/7dy7mzWZa4uGC8+NOTNJ1Ma199LamVYwuSE1lyVgq4Ji+ODmVK+07uu7\n7AV5nkx7YBrLclWW1jRCb3G3cmDnt8SGbZe8zEZ57TG16NuFruZfZFfIAEbm\n1MYso1YuWvlidngF5e4bEj0ndd0OG2nfz+no12CPwRSmdhWx0exYRf+gyY8o\nppmRhbigW4ezbwOaEV3I4GbxFnoH6yKR77cdXWHHRuzEp/DfAjJOw9Wdscez\nHB2Bmv3JDsmdxjBeYFR0BXFsH1/9UnnJ3HMVL8wcnlHBNyXhnvI2LLUBG9iB\nVJJLYJoSTj1U/3r0ycZYZy60mOTS7yEmcF1HQDFgnm6MMKM3F/1UKSUEtPdG\n7Qa89ebubboGLD3FWkhZhUpvVew5ScNZuHWDsNo2qZUHsC9wU6ykEFKN4MH0\nWIeGfTr3ASfZqkimXpkQzMXwzU6Lnx013nqyVLhJdPMVf+3RVnnOQu80lcqY\nCAco6Yew6kby2/ptBCMmtDKLNHl+jofLBytkQVnL8S7aDhk769paJTnc1Hs3\nFiPx\r\n=bOBf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFcfQPJUhShAhPDryxzf1ceaVj7DCZ+oXJR+j7fE8wQGAiEA+NeJxYWPosPZrCmS5Zx9y4/Tr/P/I3JobZKFmzA7KNQ="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.5_1563478334702_0.7292666006031137"},"_hasShrinkwrap":false},"3.4.6-alpha-fix-empty-state-buttons-4980.1.4":{"name":"@crave/farmblocks-search-field","version":"3.4.6-alpha-fix-empty-state-buttons-4980.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.1-alpha-fix-empty-state-buttons-4980.1.4+f3304138","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.6-alpha-fix-empty-state-buttons-4980.1.4+f3304138","@crave/farmblocks-input-text":"^3.6.13-alpha-fix-empty-state-buttons-4980.1.4+f3304138","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"f3304138c5cd3bf7df2ddc9d7e7a66e50ad437da","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.6-alpha-fix-empty-state-buttons-4980.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-9xmJ19GHMf4JwNqwsPXm0Ag71O0tE1pIRS8DboVLyxLJsyyXMxt0Ca3+0UoEPuCU56E+sK4f+jV01EnsqlZsEA==","shasum":"74abf8febf3203a7b8a789f0637d850a579060b7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.6-alpha-fix-empty-state-buttons-4980.1.4.tgz","fileCount":11,"unpackedSize":67983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMglSCRA9TVsSAnZWagAAu7oP/1r/+R0Y+Cs/1B/07IBN\nZuW9/Oe0QEDdbSctKoFTpOsbBSYL6WBYkNzDhgwRMGcc3Db/sNAi/XOxLTSo\nnD6JvjigS+U9fS9Xh115uvkZxQrHpJAIxiXjsgGObbzVMoRrPMpbtJBxRzyi\nOz4mbVwszq7xgwNNFQxrRzYB3/USvGmvHjx4gC0Zq/s19DH8bhvj3WNKSkwE\nbW3V2sIjcnxZyuaJZyLgvIFOIp/O0j1MRY5alRQ9RQtRu8LbIhXHOas0YpWC\nNg6tQx0jD42dV+ybls+eDtzoN++bruXBAtA2A17a/Y2vwQBRR2RWnaXYrHRw\nMG8WYdzH3taoQeSBmKQ2XkNMtBQICE8rg291W+IDcDmW83zcfrIn8CpvZWpP\n37u80D9dMtlRv6p+eTomuNvVUSxK8qqYtjInnGNua69nx00LV19E2CmuOfVC\nJIeUdRzlNirZvxfPg2SpWfbMTigc80I8d6N8NPtWs6x4b88RlCvQMTfolXv5\nKcMctTP3UdX2paZxoxVF2a13SzElDmlxdfyRXQ1LuwWgRck1rnc4jS+0yzFc\nR1OkEZUZIqonHsNPvYCremSCMsUat6ZzIGJpxolpG0y/7QuXZyT25UiN9JM4\n4BhmF+yCpURo9PgeN/UM1bl6JhbCdAdn3ijNGHCbWyOAeuF656ZThZHKsTIm\nMxlI\r\n=iyfj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBw0BIohcZ2/UG8ttekGjsPp1wliOhAeVPmqzi7Nu8eOAiAkPxTkyw37TZ8GD7pgmJyJW8AiGacu8pqr7TDu1BppGg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.6-alpha-fix-empty-state-buttons-4980.1.4_1563560273965_0.7513033081092917"},"_hasShrinkwrap":false},"3.4.6-alpha-fix-empty-state-buttons-4986.1.5":{"name":"@crave/farmblocks-search-field","version":"3.4.6-alpha-fix-empty-state-buttons-4986.1.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.1-alpha-fix-empty-state-buttons-4986.1.5+eeab2bfc","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.6-alpha-fix-empty-state-buttons-4986.1.5+eeab2bfc","@crave/farmblocks-input-text":"^3.6.13-alpha-fix-empty-state-buttons-4986.1.5+eeab2bfc","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"eeab2bfc47b583aae02a18ae84412fc2a4cced4b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.6-alpha-fix-empty-state-buttons-4986.1.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-BeLBBP4+ReZH1gyZcu8SwnFfxEt09cqB5QNlVzUxmC/t3C8bmrtBtlWjx3a5YGwfXJAJ9stxJzRWq01MYfd3Lg==","shasum":"b27fcf8446140a8e799979497c9552e7f6f69bd5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.6-alpha-fix-empty-state-buttons-4986.1.5.tgz","fileCount":11,"unpackedSize":67983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMg27CRA9TVsSAnZWagAAVS8P/0uQ4DrBMtvzNiOjDS9F\nM3MHu+6XZg7KVJviFu1Izg1XHKcODkaFe+wFHC6eKP8E5t6I1u5lC97PBW/9\nO3dIUL0NT9M+FHBf1dAEL9m4sECqahXJWBIRPZ5J0K2QmO86I4/DGDGc0fUK\nUsAt6wdk7fFCrG40IIGgiuQ2cHPPi+Jv/WcOqSu8UUndDylnLIovb9SO0+UM\neU8f+gi88Hi28lAMyhvpqCg1/533JwJw/r6+DXdOT6TZWvdjDJvYG8ABhaf2\nYK7rpPRRUcEG8xkwDIGo5Yl1YeHNfmFAW9vWhtwe9NXlWxiDz7j66zKAPE30\nSGTIE+sAe+h0S0ratlLVK7LYE/Z3pNV2kTjNn6gUnSIzGsTt7giKSZY0lxo8\neWMDHBI2hZcaC/0NXxgQiugEurlBasXYxdB3OmDmEH8w5DsmmKUQKmPtwZmS\n5LfCAxbGguhdPY59iJ9b7a5sNDCQKNjpqEWtERxyANhD/jJVb6IXQU7DEa0P\nwrlitUdJs+n7KU6dxdmfwtlWyRgnDTIazvlJy63NafUjUrAy9a4WyUsmBI17\noGgGTi8MMAe3KtjexKSg8ff3fcYtGK4FsaG0uCkjTPz+UUzbG4Y+cXdmUQ1F\nEjV5n7wuaJdKP7dyEurxeWC+RYYpJBJmcismnRX6mF0J2yPSuMNWai02v4rP\nkgsD\r\n=/6HH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICY6nN+JeDibTTvv9zJ44h1EY7E2FRVME1GIx23JkvTkAiEA9IxzurBJAbOMWgP/2ZYTH2LhpC2OPYlk0apEBvDn2fg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.6-alpha-fix-empty-state-buttons-4986.1.5_1563561402578_0.5000068160881947"},"_hasShrinkwrap":false},"3.4.6":{"name":"@crave/farmblocks-search-field","version":"3.4.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.1","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.6","@crave/farmblocks-input-text":"^3.6.13","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"9d3b9b490f38b9330cf21d830ff859cf2c1e51c4","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.4.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-WZM/jBnHZgf3xLuHGDM+cVRBQEQ2ishUmijZDB0N9gcVU5B+LR3huG+PK9Kr1nw8rqDoYNe6nr7VO7KrT10LjQ==","shasum":"e91e731d24fc93dc094cb8f29b046fac62ab02a0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.6.tgz","fileCount":11,"unpackedSize":68017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdMhujCRA9TVsSAnZWagAAj14P/0N3dDkyRgQaB1Cn9e9b\nQg9nKURD83bpnf41zEUKOecEaAl9+50hnkkbX9XTWMMO7kQZhRodFdMiYzWP\nSPLwiNXwoUu49Yb5avYuIj39IsbfkLcJbVVFrsNEJoAPTSBBCpHiZDl9EWE5\nVHGba50M2kD4/7epXwhf2f+Z/qdMXohliBAkxhifYeqkl3N18TGc7SZACPTf\nzFUfih22gXFQNK88jRZCImwqxzAgapz1XbwaKze3oydkMOWKeKHPNZxjxd86\ne9HRKYeOXGGo07uvDYmd8otDD1VExoStXvEBe+51YFT+BaGjGVmaPwXNtx3Z\nJoqRtTMpbDFqcvl8MVgs77q1WicRtyj5qfOZsnAHUwMc36FL5FFm+OYzGj/C\n7JkesJBGsUhDYOGnsPh1qtsbKvbdfba8Y4hhgDGXkZxX/SCzYHAIfXSq8dUd\n3POAJEK47MmsbvPfLOWvPG9H4NpYLgFBjkPcq+Bd1juc/Cta2zc9UvnSX0U2\nXaqOjbCkvktJ77caOIkJngGoOBLbWaIb/iHFLtnyKYZd75Ok0IgYJiWM+Cdn\nVxaCV3Si2ANU72c+HdP+TO3onKC4OcFvr+FLvn1OFVJdOFcjapDcojE1Ra+G\nM7g58SGgSlf8sjBTFhlAuLYiYxZBIVrSDAf2AQnnF4fHQ+2Miw1D5tmrF9HT\nogeE\r\n=yf4p\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHICHmM9yyrRUBKD5ol0AS8IKLgAV9umTujregKM5o6CAiAQKslWBNOdI8LTjoEys0NmLbgI22nG/PtE+1ZLwJ9ykQ=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.6_1563564963157_0.11803235150208247"},"_hasShrinkwrap":false},"3.4.7-alpha-fix-protected-input-5017.1.3":{"name":"@crave/farmblocks-search-field","version":"3.4.7-alpha-fix-protected-input-5017.1.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.1","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.6","@crave/farmblocks-input-text":"^3.6.14-alpha-fix-protected-input-5017.1.3+cd177a31","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"cd177a316254b9320bfaae949612018acb32820d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.7-alpha-fix-protected-input-5017.1.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Y/hXt4YtmvG3oCGDRoglB3ZIlbEYm31fp6qjoDUAh5IR/0BUKklEgcuv6Aqm0bDEUtU9lMA/RcTctoGffhT5vQ==","shasum":"d4bfefd2034e9f5a00c0de4bf1076baa6e4f347f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.7-alpha-fix-protected-input-5017.1.3.tgz","fileCount":11,"unpackedSize":68105,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOIF9CRA9TVsSAnZWagAACDkP/1XDYtkEDRVTTYPd0FZX\nVJ/1DWbmXRb2YBNsl0bmcjvrHWf7ZCdA3Y8B7XAmXa/pvwTHujVZv09d/NCe\nJ2CZ/6D8MnuHXYU5uztuXFN1FpdmYhtOQUoSBswkGmWry4nTsaBn57aPqwG7\n/UH+Nuxg/+002ZJyrNEZvDRn1NyOex5cGexsrReamZ5IMrteiySBTNgqOhX2\nSAkts5yaod6vMQ2O7jBEzuZI6M4qBv52QvntSQsvpJJQK9JYY38dtDxCIzJm\nXUHQe6Cag5ANufEok8KdMO8Jxv9XmVfOWQwbxP0UZWCwmvMiGU4PCqNMey+R\nkHY0IqY8otPRxL93NYIVAKuZfl3G/g8+nFJk2QS5RH+/KLrR6dZZFuggzCsR\n3S4OuOR+cecLUgS7fNFWqpy3vPqJXO6QDukBHoEInXyXMxvvRMU2Fp/j/WXc\n3lHdEXSz21UOY6fJM0WJ33DaxehZnh4QjdwOZZMevGjLCbkKj2idjIloQHbA\nVzYJxDZf0Ei4YNud63jEXK/SuZ+8I71OnKglWYKIkQO+fmZKlnon9z5TZE0L\npUgHK4SZL80GRR6X+KU4ZNY9R29/x4vvVx8uF9pfgFUFe3ddyMcueKuH7YBE\nK7/6CAhjhRNfI1UeUqE8bVXVHvhjKXWNVDoGblM9qdpCak/udi5AMB69HuZz\nrYZE\r\n=s5hG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCzzuOMLgfsJP6/ZEAj2x3Fl3DJRxjAOKHWv3dVB1BvuwIgZ+gxQWyANwOROuyCt3sRSYajfhUlSr2t7/3qgHmIkKg="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.7-alpha-fix-protected-input-5017.1.3_1563984253080_0.49356410557319585"},"_hasShrinkwrap":false},"3.4.7":{"name":"@crave/farmblocks-search-field","version":"3.4.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.1","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.6","@crave/farmblocks-input-text":"^3.6.14","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"9f2e9e878c672261a7b0db0db4e87aa9ca72b670","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.4.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-WhiCvZ8axV6v95C0i0dreSQGBs/cBHcVr2Il0c3hw+OGoCtTFkxBvE+LDvMqZiPAYl74Qn5UEaPgtaeNOFPatQ==","shasum":"fc397262999bc2b42d832491f313d90a1c4a87e6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.7.tgz","fileCount":11,"unpackedSize":68243,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdOIvSCRA9TVsSAnZWagAAF48P/RjqgvaDF8W72fFnjkBh\ntr2UOha3ZzTFP1F+TA1EG1Chf7tgIQAbF12/3RA/xcgu0kKH4mHvU303CQyq\ninNE6VehBFVf+8KTjt/borsJsZ6yimdfdaIQUWRS7gikDXGPnj0nqJtFTZ63\nJraHPu2iETqL4PC6YeZ2OcdhyUVVQhjznh+dMs0G3yF6f27KWfhDlucrRLn/\n1YaMM3n4gXya1fciBM3QQXFpyIvXAvyGRPLzycEihCIf+09AYuDH1+QOoUQ/\nxuBm5Hemjhq/qwdSFVaZcZgDVscC7pR+PMr2wsy6tzAHOL2OG2+DPlIZXHdC\nbiBD9Bs7m4i0vq3oRaf6/9bdJ8U6dXN6Sd2axK2x8CbGzHWOSKcj0Lxm5YhW\nenGuKVYzgz9IjdjXj6XUNlP2qmddiK0khD6VMw6ehnhfxB+sVZMfSPJeuec6\nLcZRkW+G0Y8IRLQHdkZexzjF3GrLOwOzFv1/ZocFU7kuOPPm35DA8yLOjvmh\nBBdSeGTT8kdh6tNpX6X5LtrSkEG5JOLYZ2CJ33wUAPIbc5oyGGHhhM7Jsvvx\npq8LkXHf6anf7aU8Jj777PSu62UOQEAzabJ6GqvUvnQ83V29VctvrLlxvin8\n0K6BN0p1D9k15Ng7cj5oZ7CBawMvJgcsLqd6EiJpZCTOEzYF6OH5wPXQP9J6\nxrsl\r\n=qIGL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCxaBtVKYs5912nBFJ3shM8v287Vo9WJwuAnjdunu/oZAIgRatxZujv7BV8Bh1MRROEA2yoz9qd+pwQc9HDfYsn4DI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.7_1563986897801_0.48086455505935666"},"_hasShrinkwrap":false},"3.4.8-alpha-tooltip-auto-positioned-5024.1.2":{"name":"@crave/farmblocks-search-field","version":"3.4.8-alpha-tooltip-auto-positioned-5024.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.2-alpha-tooltip-auto-positioned-5024.1.5+e298b660","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.7-alpha-tooltip-auto-positioned-5024.1.5+e298b660","@crave/farmblocks-input-text":"^3.6.15-alpha-tooltip-auto-positioned-5024.1.2+e298b660","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"e298b660655da180676ce1187eb717b97f581c00","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.8-alpha-tooltip-auto-positioned-5024.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-goRH6eJSU7XNXzars3RT/yFWaGsL7r09w1jgk6ReiQqDdxCVT7Px94lrH4nV6R0yy8Q/Kb0pXC3IVRwXN8IxZg==","shasum":"1dda9e79593709a03f13ab4a25503b5bf36efe7f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.8-alpha-tooltip-auto-positioned-5024.1.2.tgz","fileCount":11,"unpackedSize":68435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQExlCRA9TVsSAnZWagAA4L4QAI3WH1N/iFFP56mWg1GO\nkZgSzSHo1d5qRRWBlP3UA/yMELCgukON8ey9nGtdh5lcD3sB44+j7NNreBs8\nK8021cwmXeQr3U6eXEykoh2hG+5xPDjghlw87U4qpPvOQLgugmQxzYlDivwf\nkNLXmKl6JscDp+CutzkfmePzODaYqmL3MQ5rU70tmR/Ffqhd5ior8O6TscyM\n8qycBRx/M9uve8cRq2gNTXGid3HNyzm3XRoLWDtjdJUGApN6CVolQgku/U/G\nM/JhQ19OZK6TVZP2kS+aoyozKstayXt0lC0n2C78s2WmXWv7Sk47Wg8ZADeC\nXJkCTP/Mi0Ndotu8TxN8y0P0Dw8I9idhXAzj9nN4Y6izSJ+FnPCH316tz5mi\njHd3QtfElYucDgZNH3QCCrsDSgw5Qa81YoZ6VMHtVw+J1UyFA1jge+vZKyEf\nt5MmIeogSgYBqy1vtzUQ5vWc0UDUV8Sh86rVrWvfr15ynL6gjub2vlbMiGMz\n/SgYNoQJTyldUL0IU1k/ibjX/VJ8lvKppO98+70sEVD1x/lVytr/ZZL0wa1b\nBsBQ30nHX0kM+k0F8x5X34TsdCSXmB6fZK2BRegGDaZ5MgAOU9M9j5BtVfUp\nVbopv42oNBWHrebMiepDsLTzd0oW8SMZlYZGqeNWfcCFIA5Ny3yn24W1DQ58\nGS3z\r\n=DDIA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2IMcnHx1i8eh38CdJl29hMKbldMmgKBEPF0KILuiIWAiEAsXvat5xYtdCAITSsswhTxVbSxrXzeX04GHbcSE7Aob8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.8-alpha-tooltip-auto-positioned-5024.1.2_1564494948415_0.2432634368843145"},"_hasShrinkwrap":false},"3.4.8-alpha-tooltip-auto-positioned-5028.1.2":{"name":"@crave/farmblocks-search-field","version":"3.4.8-alpha-tooltip-auto-positioned-5028.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.2-alpha-tooltip-auto-positioned-5028.1.5+88d864b6","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.7-alpha-tooltip-auto-positioned-5028.1.5+88d864b6","@crave/farmblocks-input-text":"^3.6.15-alpha-tooltip-auto-positioned-5028.1.2+88d864b6","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"88d864b65a744165b061e88eb51a27e74a8a4eae","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.8-alpha-tooltip-auto-positioned-5028.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-/mYZbqHEux/gLt1THcUYQJxER65PAH/5PoHurL5BWmvYZJEYeVxGDy1qcNFKVG1cel9UpKTXVR1qSZMbDixI/Q==","shasum":"7ffd5000a8ea5c3ea95c3e4c13e63cc8f5b2bbc2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.8-alpha-tooltip-auto-positioned-5028.1.2.tgz","fileCount":11,"unpackedSize":68435,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdQyG2CRA9TVsSAnZWagAAjN0QAIxvocjlp88cBBTYQFlz\ngji56jXeaBn4DeUvHj+PW8VjGXNLpzGyZeOv+n4OZaIUAkR5kN/CDPfh7ikE\nFkcfIrDK1Q2TinecCH/7gB/y0L21utZ4zRgPIJO0yoW7Sk0u5Np2Ug8G/o4U\nDn7/cooLpKBXkey5tQn/2OtLSL0ny41YvaePGIEJVKJ+sO0eH+KBmsoScD4Y\nbnFa/ZTmcGMQG0lC9u7A65YCkADBHMw4ha8N1d0G9OND25qe9trqHcQ/Rx4x\nbgriQ0nIw8rmAXvxTZ/u6VrfUR+vcI5U9Sra1ytmLQgIhjoZ8eugbx/OKVlo\ncU6xDRUY1SzY3hUCMqMBGTpClwQgbdQzd1XkTUEakdPan8AsJy8+kXYiG8tG\nSUSnL+VqhMWqntVCjQVd9/Np3eW/aQsuXh8UzVZUJZF97aJlbS1h7IG2Brcf\nF/qWGv/pmPQ6qBHtfcwqQOI9Ea3ER0hewHnkCJ6QkcCvQRmJUVFHoyrPPPKq\nUE4P+7MezyzGoA6+kduT/DjdNtEJgFUXeIGnU3YQn3Ez3NoqEsByvPBxiom0\naM6L50tFzKj6/nD30D1qdooRHtSx2yEjgUVOMBzA4EwJ0y564mJhtYPG1QgB\nAMpxoYbn8VTetqV8/Phh+l7wR+ti4kUO2CQtbegYqup7v7lJANEboxAzCdvw\ntGXo\r\n=PATc\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtpHYcjlQDhrmJWbV25PCDTcZSu82ojI0WarVYM0afLQIhAPgrD58yfqOcGEwdplOgJ/MSIl+Y3gWLIQKhvxYnomff"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.8-alpha-tooltip-auto-positioned-5028.1.2_1564680629356_0.06929097711528165"},"_hasShrinkwrap":false},"3.4.8":{"name":"@crave/farmblocks-search-field","version":"3.4.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.2","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.7","@crave/farmblocks-input-text":"^3.6.15","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"d0e3f65a49f059c435077ed83c4c8c36fc146e0f","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.4.8","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-vEsgoSiW8SL2eQw5XezTgav8Ifpku9qAWLoW+LsP1Amnkuc6QVtQZNjqFGWlgKW8sfcZxX3xaSvhCtnKhNGIcQ==","shasum":"8f84aac513b697a8c79bc26a5d867aac7900a5fb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.8.tgz","fileCount":11,"unpackedSize":68469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSD0MCRA9TVsSAnZWagAAnNQQAJpY6sChGxM1nL12QjTl\nsGt8fypx6x2dTIKiKG+hG7kAwFvxDDM6I88zABvoJYUBOj3bP7/mnC7R05BE\nGVXrZP6w9InITVtZB3enMXcBEvuuTdzGnOBqJAe/oHermZhka+IyAZUKLFbF\ns3QbKd9pxJBWnqu1qbrubZb6kKv/fN0epQLSczNHv7V+KKFQndL1udHRlffJ\n+N2/7HQgVRzcJUXIeJSPjVrcUnMEKF99k7KKggOFJEf4RWB0hiRPBV8bnaz5\nJ6fX1e48k5MbW5l8cTGpcK8cKmuOY4cpdIT3ZPh5wkdqHdoFFweBmgrWcZuc\nlQGbC46G2EEeGYqUiZumuaNEYsL3aK2IjCfCmY11WGAf+psmHAOc42i7NI0+\nRsL+QICj2f8xQHVeuq0QyzQTV6vNjaCXwQBUt2NRK6N1Iysv65J3fkfekaqP\nkUG92Ej70pslYx2lXnRJjGXtchDUL3eSWNLQvTYN0v1Mup+6AxYVRwjyXNmj\ndpQvt1LB5uM/TuK8qAKb+z8s4h3YeULiJeNPX6jalZ/9iBPW8FH+Bvn3jgG0\nG5uuwJ9ahEYtNqhZphEEHRb8NvA+Qzv7ypYQwP0kvd3p51BPaR94oHbVfYmX\nmT2IOrrfOQYehAtTM5NMaNDx9uiSLkewyRULEhXNtsqrmv0k1sxlXdIkMAF9\nKRrQ\r\n=M/wK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIErK6N44TIaVnSQEaSHKTVtt2Tko3jcKTgaLKXiAAUDwAiAA1peLgH8kvkevYGPQ7kx4/f6VShzThbsY3bGoNkqHkg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.8_1565015307948_0.1068494484893463"},"_hasShrinkwrap":false},"3.4.9-alpha-tooltip-z-fix-5043.1.2":{"name":"@crave/farmblocks-search-field","version":"3.4.9-alpha-tooltip-z-fix-5043.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.3-alpha-tooltip-z-fix-5043.1.2+1aa5cdcf","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.8-alpha-tooltip-z-fix-5043.1.2+1aa5cdcf","@crave/farmblocks-input-text":"^3.6.16-alpha-tooltip-z-fix-5043.1.2+1aa5cdcf","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"1aa5cdcf676c1b151ac9298c3c3e41d58fe349e1","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.9-alpha-tooltip-z-fix-5043.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-sLHemHjkhaRef2GIyv4VPVhd3Imy/ykl1MY0hq+d4xE9cLxXlXcO1kGpKzYd+IbuTR1I3BQ0hlexsYLzKtJl8Q==","shasum":"3c8258669b766af139f2847c3f72ae7185ba33ab","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.9-alpha-tooltip-z-fix-5043.1.2.tgz","fileCount":11,"unpackedSize":68621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdSz6/CRA9TVsSAnZWagAAK3IP/0v9gf3z+wHsKLZShEGT\nTZTUWqxat5LqdepGoweVQKc/kmn+6lY8HtSlQhEq2hibmqqpj0spLioSzJye\nVUkogDgvVK3QKGtSu43m4oa5aTQXcyBfB3BLUdOMkcaNQhw/0ljBZ/rAfZx7\nFbO+P0cgb+JrUibcbnb9UmJFKuO6lbOijV98DGT0V/KCnR3Bi27HMjuN8gaD\nRs9x1PqJvwdq2atNETdQuUf+jbjt05850e6097QfLCeyeUE5XRwGI0HpML+m\nno2EP8sps988ffT3dzwl/EKdy0LpgE3mCRfF8bRPWrfXxymLp7xAG6WKzvTQ\nexK8TlVxqG31svylKv1dwbiS7DKy430WBE2mPIlQGnEht+Q9Wo+fKP5LA3KP\nZ+1hX+9Wv3o8VFRVAP3hFRsi8yLUUgZ8IyJuPmC9rCbB+pKuIHdjmH/TPIMq\nxP+YGW2/v/V55XRoRrGnlvvNXUFYHE9cLatjmv7M9cjjCubMM3aRIkCl63JC\nWhDZnLOz/6SxkKz+K03Qyl65nKvD8CBq0x2pitmF6+6otUMF4p0fJQLmJPji\nZynCyUAD2POZsoc9osToiYdSfSnBGApf3lXhjqRHbp1iiQS4XtwtAYsbMBJl\nfviZRgsexWGqEJbr/KBzHqwBVmdyy0soZxb0gvW7YOpoyLpE06nUMS3O0Oeh\nYwYx\r\n=n0UR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/J/6tKPffJWHQB29ZFdWDlILD0rOxUYm+vtK55FZewAIgT+7JivSVzY/PojvE0ZHqgLi07mguWZDHwFDZDlffyIo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.9-alpha-tooltip-z-fix-5043.1.2_1565212350706_0.4774003039865038"},"_hasShrinkwrap":false},"3.4.9":{"name":"@crave/farmblocks-search-field","version":"3.4.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.3","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.8","@crave/farmblocks-input-text":"^3.6.16","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"6949a2294e2eaea0b9536b9b29f2f3d477dea504","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.4.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-5RSRfJpwL6gNH4FycZX5czyg4V1f/UHRFzmeuHyzCq2aV4UjoJuc1C3cRM3OSGkq5wmYZlqEp9BGZn6yLOtBtA==","shasum":"1483e0ca86cb670070085746fa04eed3f1016e86","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.9.tgz","fileCount":11,"unpackedSize":68695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdTWu2CRA9TVsSAnZWagAAAvUP/RMYwbS/rz3Iyk4PcBep\nw/PiKIwUINhTdW7meRpQvmFAQoKba1BYvhmnakJFqDBevZccZjnFZlJHuYbp\ntKcj3XQr1U4bhJexOXq7SlWMMbDtLPl/MFKe2jcXUz11WLbCHnX4pniT+H+Q\nVzllol7dIPTmER4g/H6bGhcCxXoMm1UOuC8WMLZnZraKABzG9p+1ZN0BT8CE\nJk1G6fme4yRDu+Z9mp5dUvsKrHra5NP7TwSNmMlnPF4g6ywDalcdh4MqATIX\nZbFFMJD07bH0XKNct9uhBsXGdqh2LPvZ1o45+SNIrj6oZIR26pjCRtCiD4OR\ngNQZm6r+aszUb4gSUJVEtnzHoSwsadQONJW1WwpgEQC0+FMLgNjDjsJq3nE4\ndP16gmfBhipCd/KhLAGog1yDvIvkFqQExKqI8jCFN1Cmx2mkA6HlfCqXlOB0\nAB6uKvhnt7v7lchpML0JLTzySEO8Hx1mnoal4Fm84Ig/dRJ8qtvFhSEbtkvo\nysrH+c4XK+F9u13R+zWUYFLHF6j1lk02JrF7Qr1MwqfbGY/uurTjBrqK/HYn\nMBji4yBaTaQolsUEK3sJKW9NhAbIcYLn8hyG8JHi0jyBCyZefToln9WMKwcF\ns1LAGc7vrxdfYXPS2CrGzgoW3e8GsRU5zIVJktlrB19aAsJXVCe69XGPHWmp\nPlCi\r\n=wGDT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSybCEA5XZ6E/qfv15Te2IYbLnUxs95zkldaHKnQnMWwIhAKnMZE9pLtuM0Ysv2+mRs5aV4Ssb3WYrcaUqjSQM1SEX"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.9_1565354933687_0.0719251633259883"},"_hasShrinkwrap":false},"3.4.10-alpha-loading-checkbox-5074.1.7":{"name":"@crave/farmblocks-search-field","version":"3.4.10-alpha-loading-checkbox-5074.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.3","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.9-alpha-loading-checkbox-5074.1.7+f2404768","@crave/farmblocks-input-text":"^3.6.16","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"f2404768046568ad6ed496ddd81c6fdaf0b0a8d1","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.10-alpha-loading-checkbox-5074.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-ioCmyCGlmtmAF1EmIfK2rkYzx3KuDfCalcSxwCpWZU9LqvDPm9cnobgkUS8GfwCuya/Ayg8Q11rxV4GcrCvRCg==","shasum":"74f2f6bcb072f4b2e39a726cd0e8c6800d90b36f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.10-alpha-loading-checkbox-5074.1.7.tgz","fileCount":11,"unpackedSize":68778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdVwUlCRA9TVsSAnZWagAAqHAP/1237Mgo9YpxIxyjcnM4\ni6p59MEB7yDk5ybJrzgy4szuwt7SuWvcyaBxp1V3aeR+JK0vX81Wuz6VbwG7\nfBC6Db1/TR4uCN4SruJ+9aajpyER9gFHopIWIZEVLZQ+vBtGEIbyGHwTN8t2\np1Q/OTM30nuZU/zQW1XWaih/0ksignqkGRRPWfUnx+4TdT9B0hTejq0MHhvW\n9ocQF3x5xXEptBPaxv8QOrIBr+4P/puVGlfcgfQVtP65pU2ciNDOaQJWFkL2\nNvnUVVTBlFYwdv6JXQVYBAQ3t+e6Mejy13GouhW9GFh7uxcxkZOArwRvsZFC\nxFITfOtzxnLeB6rEAlov7d3/TvPe7WU0uJkOCWaoPNwsMakCGE1jeKGP+2OY\nh5aQLILZykyjZPIB3IK2P+x6aD7Rhlrepb9++4I0+UV6Hn+Dtv1I2SXGSihJ\n99it7LkfiP6wECpZWrWLEOnFbyJVDj3KTWg6pvCiy4GetoyUZ6PkSbps5keO\nvMM62dxwkPrdiglaZNLmYyvvftoqvqMCbvVD1gc8Jt+uFG1p2ZEf7o4GeXGI\n4ert76hq1XuLlhX0ZrQfYwira4DGQ5eFgvBR07wZXCBP9gHf5Il7kH2luvfA\n2W63tosU7ipIpmwnrsABoTWYFbpnIK9FzXgmZwkhYyGyttkr7I1RlylnE7Jo\nk9zD\r\n=ywIk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwxfpGrJjdSPKS2qjJYG3T4TPq2fp8dLWI95vzyRZ6bwIhALXrIUp8FA3DxgT/YQzrN4RoT7hXCmbzv0H6jk2+Q0ay"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.10-alpha-loading-checkbox-5074.1.7_1565984036574_0.1432988653598266"},"_hasShrinkwrap":false},"3.4.10-alpha-loading-checkbox-5080.1.9":{"name":"@crave/farmblocks-search-field","version":"3.4.10-alpha-loading-checkbox-5080.1.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.3","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.9-alpha-loading-checkbox-5080.1.9+e61db20f","@crave/farmblocks-input-text":"^3.6.16","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"e61db20fe2ff4199fcc5a28eeefac8a5e04ff721","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.10-alpha-loading-checkbox-5080.1.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-hhOkow989Oua1Zj8DadjvxjoR1y9A0qhrELfbl3IgKee49hdvyR8WQdAhPgf3nlzwO44b2o412xDlCf3Rfy9+w==","shasum":"d397b18ad3a4b305dc8db46d5dd4ea73fb2bee8a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.10-alpha-loading-checkbox-5080.1.9.tgz","fileCount":11,"unpackedSize":68778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWtRDCRA9TVsSAnZWagAA+YsP/R4N/cbwn/AnAYrQYMhL\n2m7XdCuBe43bpUGbg79e1Wxfx/PU+jk/tw7l5wSQzKQgePv9A3DU7kbTvQj8\n7SWQCxTnXBSnxY1xmGw28KWqvvxYM3auF0OevEhzFhTvwupOJv+WSnhjL2tF\nP5BtNLlQua7Q7y4IQGjyC+/85a6A/C7rz+INCC+2WdlJwED0gR5lQK5/Rz4p\nYOjUCWPULog36oTA5lnkjWP/1VvReGSxvHfaPwM+cN1tGJf5jVEsnahiE7iE\nhWockKfllQY13NXN15v5VhoR5JqQp5g0qUTJmnQ5dk3dHZVAuYT9FDQsu9g+\nTN7bwPgFgjygkws6fwEnc+C8xRG0SqP9w6OZMSZPl5RBywsknJ0GffOaneIa\n/VTBqoS0DG1ZkmQYgrAJtqnKUL/clbrdVD67GA9kMJbCIOwg7NicsSgKgMTJ\nqDivInis+h2txiM5N7v9YM6B0unUzWJGTPN6QtAeI8yVrEsjQomBsJVcMfD9\n6R3g4D8TnNAQOAajWBhhV4/p2JuHbQzuprwIVSPifnZtqGDQ60tgP/e4xYLL\nn2+2I/9KDYosO9AdmymRDz3X/BSkQJk5Gw712jlUcRSpZiscnI9bJbr6f4FZ\nzakMkY4DO0XtNbX/Ba4pAjFvhEe4ouaJCKdqaMq/B1+GERARk1mFUwLTV4eC\nZ007\r\n=OjRH\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC6BRRGCvfURgJLVOkAzXnwN7QDl1erSyFlb+JBOjx0bAIhAK+6cFhZdUZCmVpUMbBpclWDL0+rWsP6IzejdKUtx2D9"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.10-alpha-loading-checkbox-5080.1.9_1566233666965_0.5895808731688617"},"_hasShrinkwrap":false},"3.4.10-alpha-loading-checkbox-5085.1.7":{"name":"@crave/farmblocks-search-field","version":"3.4.10-alpha-loading-checkbox-5085.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.3","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.9-alpha-loading-checkbox-5085.1.7+82496d59","@crave/farmblocks-input-text":"^3.6.16","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"82496d59879ed2329c046b541ff88bee481b1f4b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.10-alpha-loading-checkbox-5085.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-WVJNNCVG5q5DMDCliXJnwNvEXQvgPZOPPYqHZD4EDRQ7gHA0eOMz9dXYCmGgRTsrW4Mo773c/BCZmVeXBvGZUw==","shasum":"403e64c8514d601e5190e55bcf0bfe94dce6f03d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.10-alpha-loading-checkbox-5085.1.7.tgz","fileCount":11,"unpackedSize":68778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdWvdjCRA9TVsSAnZWagAA0M8P/3FckJqGsFF1RO1ugWww\n+o9Y+4e2hS+3ABwZZDb4uCBS3MPk0moWyYFxlfnimDcv4fIye8FCjSjbO6xy\n3IdLvTJXmkAu6gktRPvpCrhtj9u+dj9hb3+DZ4vO3cBCOCTgLHZydmXLi7Fc\nsDLZVilqm3N6ThjvRx0O4Z6B+VEAyRDKvaDLjcKVgzD3S43rlEeDy4qMm58f\nTtuHH0KJI9iBl32MrCbgBnW6Zj6nTuE0iYNFbHBCKfrSCtusae8i+IQX6tnR\nRLtS7wq/8ASLv5GVUXns88ZBiefCk7xmOIPnOpCCjHuJO6VueChUPqEMhWfX\nQEs1QSjCoauVSE5GQpRRQSmtSIRvILKR+uaH9ZVaen4Gt5/jV+fKxK8jaNXc\noaAF2S3ZeRO1YKYqCZ/p80AIXNWUW40uvF6XwD8hYackXvMaEkC3k5YvrAYZ\njz9rgSIRiIDu8rNP0kpj8ASoRaWX5nv4NKLTry9AgEaToZnueu/C5DAmaKH4\nnrRLwXG8bMDoCpQNAH4rFNj2+CXk85aHBVb9rZOkr+XZm33vAbP/6gcTLLf3\nqHfz2h2UXkkR0nOVwn6jaVtFHurBGrkztXQKRcKdK8xDjPBbACCf5tG9onlH\nuYxO1wiaEkft2xnHWlLqYU3u0hqz8TZL6O9GBBZ1vDqfQ/0+IV7miKWqrqG1\nfj4m\r\n=PKuO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDC9bp9rkrQ3ax7JpN6LDM47S1yfr+A8chMIOgCeFnlNwIgbJbMYcQrh66aq6EDVUiUvPwbotWQRlntcACVxJsbD8o="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.10-alpha-loading-checkbox-5085.1.7_1566242658507_0.897405693575299"},"_hasShrinkwrap":false},"3.4.10-alpha-loading-checkbox-5093.1.7":{"name":"@crave/farmblocks-search-field","version":"3.4.10-alpha-loading-checkbox-5093.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.3","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.9-alpha-loading-checkbox-5093.1.7+ab33d960","@crave/farmblocks-input-text":"^3.6.16","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"ab33d9607f35d3713f16c02fc7b8824592582177","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.10-alpha-loading-checkbox-5093.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-vHvclfsR5RcJMHUvKpAuMhDwYR/wSgTQBuWR3JUQvlKAQFANzAAH6d/u7IsNyIoMe3QSwII+ocf+OoNAyEGvhw==","shasum":"5965bd0d65d5259f482c6c33f39e049cba96c7c6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.10-alpha-loading-checkbox-5093.1.7.tgz","fileCount":11,"unpackedSize":68778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXTxiCRA9TVsSAnZWagAAWaQP/RD/iVOYRmczQCjldHe0\nEAm+IwSTd7wk9lKH4gCqXT7gGFhozH6Y2p01wXaxhSLMhsfk6RJqkfwRihL4\n8vlvBRlpIxsVRj4FQQsNrzHI3bVGuH+UzETccDpNuJ+B707suFcz9iO35u1X\ntWGrdlmqsNtoXmnhQ/674RRp/yUb9wqbJFRgWFanU4rWXXbtJiqZD6tDVG8w\ngqT42vc8WGfrQe3LeZ3yJN2//pPH9vfVAgZJVkNuL04UNXMVD7dt32dtqsU3\nsyCScXK3rfUJTzc2nFYFl122if9vQfvn2s/bs/1mWII15eB+XI1smYAdyarA\nJ262P26joNjvcWiJGygGhBroptaeZjgkNIM+PLz82nY2pgtFpnmzC0EHoMt4\nQw6dx4F18ViHaEvYrbAGo34FGLfxgPtKbM4zITilooY0hJgcZR47gnLx9ODB\n8ZlLIlUL7zXdAzD3WUIM1SzM5Bq+hjCs0bGfVtZso6R0BB0ZI2X5+maubCbl\nndLCfHw4nkaseKGw5EnQXbZupCiveXCR9w4OjHdUi2nzoq1+DHuzrzXL/4P+\nsFjdqCM59LM/yZh5blrnbQmtbeKzw4ntksYdjOAy5qUZs9eOVFpkxOtjY1lD\nn7FR2VA7C200VUONJwzCD0939S8MudL39kJaEKlozQ0lHdMLODxsiPZRyjot\nKplG\r\n=Li2H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICT+AWEU+N0DbT0JW0MERbUkOHR845xSwnWjMI8KdkR8AiB1fyuKta6EH3efe0oDRNGSegJhJ9G6bYudFmQJsbr4Tw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.10-alpha-loading-checkbox-5093.1.7_1566391393329_0.2966821901234342"},"_hasShrinkwrap":false},"3.4.10-alpha-loading-checkbox-5095.1.7":{"name":"@crave/farmblocks-search-field","version":"3.4.10-alpha-loading-checkbox-5095.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.3","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.9-alpha-loading-checkbox-5095.1.7+a19a71cc","@crave/farmblocks-input-text":"^3.6.16","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"a19a71cc7509e665f0486ee880215dc8c83931fd","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.10-alpha-loading-checkbox-5095.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-hMt79lSPzt4zylemN8xsAGpl0H6fVpsUqJ8GEF55I1aRqE63Xmgk3TM93V6cVp4uYd5Q0avEsylmcdAtE15ZSg==","shasum":"371846b9e0df210e31f96836538c563f026da992","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.10-alpha-loading-checkbox-5095.1.7.tgz","fileCount":11,"unpackedSize":68778,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXV7fCRA9TVsSAnZWagAAoswQAJHsyPf5DBcPKcOTsEQS\n1N2TSIV0NLCr4+yuW/+LDjtI9bIte7RawBkF9/3RtHfyf4kkTZ/MfDoiQlr1\n/jgnLq2A0Yf8323IAnwc8ko2qcsDDj69H8yuTdiRnFJLpnIQVRRfIOV65JBC\nlDUF/JyykoTG8soB9NTg/oSo6Vmfwg+MZ7W8sKbXfRcGZAh6YL2G5Rr24ojf\n5QZA4IW3rakEcdlp0TX2pSJwXQU6cnATX4nqgjGX7dbwJEp1UL2j+uiEgNgW\nreXyRRhdANDcvp+0qflsWKQxCGqfMGHops7/VpsnXy+0tXypFuT1JpRoVUfX\nnEDd0UBZqUpsVJY+Jl6WNEpMdKrvgIfySsg0bWpJXdOrdEFgRhWNDxNsoKii\nrkccPo4DgJi1oPFFQlxUgX63xcLoO1/ZO4NdER4QhYxXLjukp68hEeB7QGiO\n3ps4Zw7aC1hw78up6qmZt5ae7stEGX2tIKye11ONZ3iE4upDIS34S0hFG1dQ\ntVQKZbJrRX2nV35hi6R6DPXNmFPrF8jBys+As67h5kSgKh+zFGInHeM5d+lM\ntH/WUrrwzTgkawvjPw6jv1HScRGeGVUUwfYzV2wa42ED/zSSv4AxxdsAIqeq\nSeQ9lfDFVckrskkqY1ltVYVtfIVCVLkcCxX14aZDA5C6F8/Na8vk+JWh8mvn\nAsw5\r\n=R3ed\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDWwprxPinJmaRsSHGVu9YDwFdtCgtCiNH3p/8VO7y7ewIhAKYr/Ph7BPRwRtIHQDjUS1zZ76InTwwit4KO7DEEiHXR"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.10-alpha-loading-checkbox-5095.1.7_1566400222877_0.02007477922038281"},"_hasShrinkwrap":false},"3.4.10":{"name":"@crave/farmblocks-search-field","version":"3.4.10","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.3","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.9","@crave/farmblocks-input-text":"^3.6.16","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"b0008467fd1c605f0c24dd80ecdfbf10252b7721","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.4.10","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-J359rcNqNTYE8CCnsemCtG9yn3FRJj2imSJncNML62fQGdf2YaGS+VqKqK3mYwWpxND1POnAGBZJRVE1l2jEhA==","shasum":"1a002eddd3c163b23de401b060ea15f3edba9f8d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.10.tgz","fileCount":11,"unpackedSize":68924,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdXWvACRA9TVsSAnZWagAAvhkQAIDIHZY7CVvPIEpdc9se\nOrws6jiYjjdXsSq1YbSm1RYBPdlqCd3cxKBjECApMOAt/znKT/q/aSgUif/G\n2XO1E2EVmfJJi9Klo1oU3Vk19FRt31rYBDna1vIlfOlJ8kr39uyhOsqrb78U\nVFPsRqyxXil2YPub6TbNo/ZTaR3gsKtSrHKQbNCErMLBDahQpHS6zUnT4tjv\nwSe4TxjvcfGom6+pZRDIgyUvkr9vDJe+gBB/lXX3YT6IuiC1IcVaSUraD9uB\n4rnvkRGH5Mkk0ab3NKV6NDN7taYVXEny31NrLiJxcRYy47VjQlBBIbLyQvjw\nnLRh2C2E2G2iT97v9gfTnbrQBFv8Xd6wbw/+JWsoS/jpN2nPpb99dxEWwDTA\nNZLn3fRenPGVhmY7F/Yz85vTHT3YAolufN6QdPTxMti9foiMkvv5G0dx7nU4\n3XEhxiT0Sb+KVw8tTfmqid05VQGLqnOrC5UNrZiEiRZ0GWEtW8XQYrq8be6L\nc5NvFvuivGwFboWAMCnUnrPiM4Ujkic6SNUghymKDbNKtP2BLjrcuTdEWWuF\n+TALdxxrEEFRZBaQDKdDmwzAV+DlRkzBYTBkvkyxiCy5+mWmMGt9hu0zD1vK\nsPz7Rw8AGeE86zQUwX+kvj7ZjV5AKOBtmNw3yoqS/HoFdsjpdhxMtrtGaBFt\ncB/Q\r\n=vrXT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuSrzCk2yDKmPDt6b+ujaQZzqj7pUM/4gqrVsMty/74QIgah0LAbjUwVb0Xq/I/EMWJ1VCwE7mLvIZoFFl4LWLCXI="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.10_1566403519710_0.49990425503741664"},"_hasShrinkwrap":false},"3.4.11-alpha-disable-amount-selectors-5122.1.7":{"name":"@crave/farmblocks-search-field","version":"3.4.11-alpha-disable-amount-selectors-5122.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.4-alpha-disable-amount-selectors-5122.1.15+5bbd168a","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.10-alpha-disable-amount-selectors-5122.1.7+5bbd168a","@crave/farmblocks-input-text":"^3.6.17-alpha-disable-amount-selectors-5122.1.15+5bbd168a","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"5bbd168a110becec621e3a05c99575055760c78d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.11-alpha-disable-amount-selectors-5122.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-ysP0v92w9ES+ssI556iZWTd4mjKoVt4oitp6tV7t+cYVIobvJv76DGo5/5L2xlZvR9AbSzbJs3aDxlJR8xPQmw==","shasum":"b86b62c7bc3b5575db769b5bac54502540575f15","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.11-alpha-disable-amount-selectors-5122.1.7.tgz","fileCount":11,"unpackedSize":69123,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdb+lMCRA9TVsSAnZWagAAU8kQAJuhRS4ZSAs3TwX8eqYX\ntcaBh1F7dBEaZ+gQKhOHXbhDp2tWInTjY8gMAjzD8dtwaW/AYvFtR5AAsHFb\nz5VdTtfXNedlVLUKADaqif0Fo9AmrMUN339U1yOjIJdT77VurolxzCa22k/Z\nHgEq9ssbeBz2Y0kIMjz9XzPZ7exAe3XYmh7R2aTEgR31Am2RwE3CemPRa4Za\nG3qlQxfflMoyJcAwTh0QzccXk/4P8N8mOp5yhPlwsREKHE58aS+05OEBYvK7\npdoxre9TQHmlnL1iFwa4rdIPyYL+o1yKym3DIbnOPOJp9HOsJ1/ZEUcGlNPo\nOMvnn7R1s32FqU5t5AP3Snlj9drB7FGiTIxap4xbbFAEKDbZmYfXc8mFnH0M\nbaheQ0CgFiqYBKEXUjTAiyPUpvpfYcJ6N48R7Ckr/lRaCCrd8GWpLOiDhusK\naaKtL5QDieghcds0bxtj0H20Xg5hn7AxEMPQv/9f9yXflFcW+6gEPQz9IFHf\nAM5Yw/K77AcRPsiq0VlGg8CxPa8ci/jwbVaQ7olFoSabNhC8QwhzdaThanxr\njApW+u/c6UfO64d/L4Mv1WYDMYF7ygQLVqn146AEdUovGGtB/oWumQiksq+G\nNeWIQZxYT5oGW5oLcwCLy13GOGuhk6lUJaVncnOET+ibgwMAXKpFycJSX1xu\nYw+x\r\n=XOEy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDksKA9J/hjzaTHjEc4VVS8WIQ6gxbAeXOuRz5Ua7m15gIgC7RVZvK6MEZy4VJGdQql1qxWHtCmr/UrGJuKL7iDyVM="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.11-alpha-disable-amount-selectors-5122.1.7_1567615307704_0.8236440831929985"},"_hasShrinkwrap":false},"3.4.11":{"name":"@crave/farmblocks-search-field","version":"3.4.11","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.4","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.10","@crave/farmblocks-input-text":"^3.6.17","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"3b1029122e8a6beb04fd68bc32799ea820cd18eb","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.4.11","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-w552t//FUFafSK0aOEmh12JfVrWcKmc1j36mv7zh99GSubE8xJEs0QByaDh7yG4fuDReBSp1YOMSS/oOy9ZqYw==","shasum":"9cd055e516823fb5d158e77b759ac6fb653ee36d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.11.tgz","fileCount":11,"unpackedSize":69154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdcSDiCRA9TVsSAnZWagAA/nQP/jD3asK9X0cFZd2dPj7H\nCU/lErAYYohmqNHycO5NLgTi24CttNsQXdHJKFDovOYUdbjvHaxApWLw/iG5\nztzo0u7EHUCASRRRhaT8sAyE1h4P9OOFJ8FAL1ubbnb5S58jZQlOc52dsTrM\nN3C5ur9W4ULNoy9Sapzv7bm7D3SqpLp9atRFzH8zpmRBCrusiStPWSi3uKSe\nLO5gIA5Oo+jLrzLVTk5inlrMEA/0kLMewEClkmSAM/5e5gvixeByPxnh3jbj\n8ocA40kVJn/RR4KfTB9fjJ6gQEMcHgYun4Qpdersb3uaNqd6OG8pbutxpzn+\nNiqVYh3661gXUvCELsTVuRDPCaHIBCAdqThP6F4lA35nXSuvkIakaEzfLP7i\nYgGEv2w+Dkuls1qDZWbODPn/9d92xqPFwSvNsh904WJ3+DwB95Lj3KAbajHQ\n0v1mbrHcHnD3QvFaxugEL4dil4Tzo7Mv41Qr4oBlGY4aPi34VmUI9A9AnqDe\nMKVx8xpr0N1FNJfu5dxX+Z6DUGzJV/3D5ziCK+0e4sJXpy8+aniyNoslwQx4\nlcfHT/5tu9+Hhdlmtfu+6O0YXv0Jzprsa52C3sy1UdyMwfVSJIqXobOxqSw4\nJSXAAH6arqXjsYwwe9zMw7VmPZj5g5SZTa3vItjk3VOGMnACpBkpmFG0XBnz\nVWMT\r\n=VXdT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCKPWVTmpUTTXQVAsG0bRP/FSAsDTaI5NTPVdG8+z25iAIhALpp/zHPklhkcU2dvrGW2NHmDFmc0w8hT/RcO4Vb7F9h"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.11_1567695074243_0.17502248081709149"},"_hasShrinkwrap":false},"3.4.12-alpha-update-deps-5135.1.1":{"name":"@crave/farmblocks-search-field","version":"3.4.12-alpha-update-deps-5135.1.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.5-alpha-update-deps-5135.1.1+e677e333","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.11-alpha-update-deps-5135.1.1+e677e333","@crave/farmblocks-input-text":"^3.6.18-alpha-update-deps-5135.1.1+e677e333","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"e677e333405470b9af6c652e5d4b215d826f1a52","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.12-alpha-update-deps-5135.1.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Hgwdn5hU0ofbTG3UaQptVqVxHVru0u3Q7/uiNcou4+TRKGMhYlb7r20QQhPLkkDJvWalLo5vUbQlqofVfTHnEQ==","shasum":"c8c43d4eb6cd86a9d490eeaf8652cf7a6456948e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.12-alpha-update-deps-5135.1.1.tgz","fileCount":11,"unpackedSize":69733,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddoEWCRA9TVsSAnZWagAAJCcP/2Z5qoexr+i9tsOcC5AF\nQLXTc3MqgKBW0VvqTDr0DJamHeSvMkbtd93EduLWl8vFZ6l8aJblKYNf311i\n4iGW7ACWNS1lfUf7xmGHu6sP6Kb6RZY4VOukO8WBqZ0wRo6lmht6o/Q27NsS\n0OyDpcM6CnlqBvFOZI+Aqf42YGeOA/pOMFnWHa0R8WDT86fUWAoVCpm2G8+8\n70A8c2NFN1TN2bdOiTuv2NsBc26k0ht1q2PdWbjRewpGHl842Ck0brC27UeS\n3lWLXj/QUAfLt6bNHyhcHjjrmOU+5zdoNWoCsmomxYUfBq7XfHOAomoAWCER\nSW2t01XCSyT+gN0Lj9AZOfJb4p3Wzcz8CXkkAINRMeF9Y69jdMHteJyyCjnS\nqV/Z6ZJx9gapSwNbkg13WQEWxY9s6osmikVL5IWMRJ65sO76hsa9gC0n1Rwt\ntt3G4psMu/7LnFXyMeenH7eKBiBqC9FH4QNmXqcPOgA+fozaxFVdr552Zyqv\nlpDOBFqztgKRyWUecvCWgGXJjMjcOE7JI/2VW0XbnfOot6d8NJBxg+BOZ62B\nFx02kj30Z+vWykWaWZTDguBa6iMp6i1Yf3nGx8XmladtPkaKNYbIS3xXCIPB\nJXmtdZWjKHnb+CrqggW9+SxdLU2MphxwPMPDA4W7zxQr3qqgVTrIzoZL1oXU\nDG+O\r\n=quxR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICwPHcy4AKz17zVPlV9YW5sqJcXkdP9NRj+CY/dNV7kSAiEAkO9bQ5Os03BgIKVhofSYzrtxi6+4viYxzgAOvzge/as="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.12-alpha-update-deps-5135.1.1_1568047381811_0.2271175011263118"},"_hasShrinkwrap":false},"3.4.12-alpha-update-deps-5137.1.1":{"name":"@crave/farmblocks-search-field","version":"3.4.12-alpha-update-deps-5137.1.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5-alpha-update-deps-5137.1.29+2bfd3449","@crave/farmblocks-hoc-input":"^6.0.5-alpha-update-deps-5137.1.1+2bfd3449","@crave/farmblocks-hoc-validation-messages":"^2.3.3-alpha-update-deps-5137.1.39+2bfd3449","@crave/farmblocks-input-select":"^3.6.11-alpha-update-deps-5137.1.1+2bfd3449","@crave/farmblocks-input-text":"^3.6.18-alpha-update-deps-5137.1.1+2bfd3449","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5-alpha-update-deps-5137.1.39+2bfd3449","@crave/farmblocks-text":"^3.4.2-alpha-update-deps-5137.1.39+2bfd3449"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.12-alpha-update-deps-5137.1.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-8nAfLQgA3EdKQ6rQqXDg0Qzn7k5zzSo2qvOEoRNIQ3o71mzPOkbU5cElsWFq1L9eIPo3BDsR69er7zNjFol+xw==","shasum":"20701f3007ff3ddbec9f1abfa9d24c05e21e192a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.12-alpha-update-deps-5137.1.1.tgz","fileCount":11,"unpackedSize":69881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddoRdCRA9TVsSAnZWagAAklIP/0EGsLU7SBMJV1aNFxpn\nIGtQLnzN/ZNrbuZf2KLS8x70JQa5qP7iAI3p1lm66IoHG58H65eHi9eXVg5Q\nTIN4DoH7UfQZePIACyQS+KARaEYL/W4txC5YenWfb2SmTaU8QMUWVC7orS1h\nUvMDhW3pFl+twDX8MDP5+wyTKbRDzEBDK1kILBXEDin/LeGfnGPYX/KX5h9v\n3gor+fLXw1SPXZjJEEsvVqnx/ZrlQFvgWVq3X/LVZqW+k/FvmJmt+Iozvpr5\nTrEG5nNHTFAk0BUF5Y18w33QAxiZvze9tF3OxrD6nyyM8BGjue3Ylr+GoWoC\n8LQ4G5AhDp2yiP6/LD6JixQFYCsDTA5DWRUXLkJT7eYdEAVBtDvhgh1cGlHK\n+vZI2YrlreJIn8iFs32GwEXg7udkbsrGqj8GsJcFZA8zM4/+3wvIfXNAs0nv\niGYJW0lVKtElyvszHxaOPpa1ZTxYMBZl3eu9S8kkA5RfZS7c0HUEApLQwSP0\ngZLbuGQ/hbj1xFEUnZTXGBiXzCeyg3QIkvCuhtLIb7ImKgTZmHVowBw6RA5n\nFgqtR3QahsoZplwkRbFEJA2iWeDZGaCPlEXNH75Z4ywCHZ9gmgt6V5PAtmJS\nKoiYroikZOKn9g27NqqZ++WiNwHPfWywIRoUy5yHg3gwk3RJc6aWpqSckOYx\nNmye\r\n=D9W4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF0c7lb1nPu+XImj0ReUnE+u5PFUl0DX7tqsyxQr7ipDAiEA/kMB8GNQINITBUAqV7G+yp+J049xGUJJZoUsg2nsYns="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.12-alpha-update-deps-5137.1.1_1568048220348_0.34136697512936554"},"_hasShrinkwrap":false},"3.4.12-alpha-search-field-before-change-5140.1.7":{"name":"@crave/farmblocks-search-field","version":"3.4.12-alpha-search-field-before-change-5140.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.4","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.10","@crave/farmblocks-input-text":"^3.6.17","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"cd8d2ba16d46e56aaeba9d5b8549a88474150e49","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.12-alpha-search-field-before-change-5140.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-1Qm0X984tCPPgHilQvpIIsL/nwcrbesgzAQCaQ7VnTlQAAwaYab8dUU3iQaIHlugJ90w2ccA2tfc/VWBMZOQfg==","shasum":"4dd56e135433ecb9e74c565f926d1b15fb4033d7","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.12-alpha-search-field-before-change-5140.1.7.tgz","fileCount":11,"unpackedSize":72003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddqLuCRA9TVsSAnZWagAAdVwQAKDMzTeuwy7xtnUHuqWl\nCzfJ2WMf2T98jZjkmO1FOHxU30I0TRFXrYHLvWQ9Ywzktw17oCjtHGyZ5qU1\nALR77GAfLyjfnJeOsA10wOmDCkU2T9KiX/krkSplrd9JvTw8q68d0dFjYdht\n069FcvIx9xtdl4/EedUxlWZaJwi0YO+MziLf1Va2iwBahgc2c/kYuplt1OMw\niOwU4ZVo703unoHZ9QDk8P5PauWl6C5T0FJbBqH9SREJzJQxCcB83ACIAWx7\nlX4SA3HIQd8Hwi8iuyywXZv9RFszRu3lgBoHeVSwU0qmhxM4ErSrsR92YC1y\nMhymCu+foJ9LQ6XEnL4RH3ysmI8WdKjoM3//upEXL91hZGpsGL2xxvGJsQiY\nhIxJwwc61g6GRwm7GnIBX9l9Ml10yNVXJw6+6klwuucEcQ6qh1JqlGumTRxS\nIYW6jAdzoU0aVdOGNp95BcPFcZmULHdYFmzl4Heg4GTAsC+dJ8j5w9bQasnJ\nGPckz/uM5CnTemeDPF7VH/2OXhikrA7AkURXDowHPaZ2yS1CsnoUV6MhG6ez\nBQ3dGPNkHy6PuX/q/laesiCedrsbzurA1ZMVey9VV2H2bxxmynw9F/exJTqE\nQd1YbKFXOm1a5JJjQKX9+PqrBIR8ICkXnV9dYKNTdeyij18Ha60Rwp9HoX4Q\nt4xG\r\n=Ucdk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD004a5xyjrLJc0w0z9LJoUBoI7hZtQtgcreLoKjEBoSQIhAIQqc8J8gCz9/RiWfHpk94dpIAfnE4uccFeWipoboZqe"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.12-alpha-search-field-before-change-5140.1.7_1568056045606_0.6332601636969442"},"_hasShrinkwrap":false},"3.4.12-alpha-search-field-before-change-5142.1.8":{"name":"@crave/farmblocks-search-field","version":"3.4.12-alpha-search-field-before-change-5142.1.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.4","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.10","@crave/farmblocks-input-text":"^3.6.17","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"31d3b5086ebab23cbe59b76d882eadf60e9edb23","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.12-alpha-search-field-before-change-5142.1.8","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-XeLAEPFRVraVjoBrGwta/EWsf3IC1+7en9n6yfKF6hd+3gUvOx4T0+SvQPoUJmrOEiZUQTIai8WaOKv/GgvPPQ==","shasum":"41f583275054f5d403d2a6ad41e476be73c94943","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.12-alpha-search-field-before-change-5142.1.8.tgz","fileCount":11,"unpackedSize":72008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJddq4RCRA9TVsSAnZWagAAspgQAINSZr+PnR4Riomk3t7/\nTRt536crnASsCfXc6J4WSb4DMrZeAuU8LIwbNyju2iWMk/dCD0zxBI7Jk0Ri\nY/rffZ0kjImUNrOy3Oq3xdBl3z9NToUzta7Th/67sC2pf3lpB7QUTWEigg+G\newaTBtP0FzvtNgQzl5uCv7Va2POIreKhx1+YiQoPD0T4Lm0HHewtlEj32p/v\nGWQ5Fd/N4CT9/K2s5+fir1kKvzM0p5cBcboQGo+TqkIevCT5zc5locaBYxNu\nvJaa2aNNGkFJxRHVu+J/DjmxUiuMCcQ5WY7ENeizri8XzRnzHldCUArPX4KT\n5OnG9xaFhJ875uxzMIHu4HiyZlDeq1y9HStYc1lfjqZtgQs2fqy6t2xh3Mkg\nP1hsWWR6KuQq+x6V9SOHtaI28AyHIhqRTGux4yeFZ/K8TQbZostCSwz+xvcQ\nDWam4rkSIhtOAKpfzpIMjh7NV77Iv/UkBG69qZxOX4DqeSkDtCPi2oDzr4e3\nCMz84E2rKLUBCLg5A/rFThsSLyFQA0a+pWdybEXIEBlZ/UhTSsjvWOc0P7UH\ndCOobT0RBEfeCwi+bYY75XMIKg4mxhdlS+QNf56OTw3ZHKwG9rvOBmhGI/Eh\nMkczxiyJI1PA8RUYa67hngd1LneZDtX5B8yOx+lWJTb3PUpVza73FfPaHPWl\nZ9o1\r\n=Zl/2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE+ZMdk6/TMYJyHCfXX3hcryH+tbwE+/Au8fXPNuUjWfAiAR35LCYmb567rf0cEQyL288O0QLAaxosW2C0e4Z1kxJA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.12-alpha-search-field-before-change-5142.1.8_1568058896670_0.02308795026417898"},"_hasShrinkwrap":false},"3.4.12-alpha-search-field-before-change-5145.1.6":{"name":"@crave/farmblocks-search-field","version":"3.4.12-alpha-search-field-before-change-5145.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.4","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.10","@crave/farmblocks-input-text":"^3.6.17","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"15f5adc140c1cfe6316c2577bd8dd44e358c94e6","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.12-alpha-search-field-before-change-5145.1.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-7FoLFxDKgEJrWRQBoS4nZFmflHvOU1jfS+IKjEv6XeTygDoCV5dSQL3rM0Bg2e7RSjyrtboDSpV30XBnykT0hg==","shasum":"83fae876c5fdc83ac8d1c0f24eae4e510aec0988","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.12-alpha-search-field-before-change-5145.1.6.tgz","fileCount":11,"unpackedSize":70344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdd/HxCRA9TVsSAnZWagAAaA8P/2c0R5nnuDETAHcOwQ1O\nd6tOR6Fm6ldgAckvCowC6K8i35DT8s2XxVjjZh4lub7b32oGubJFknURUNd5\nn8e+Xyuuj8ELHL3HDznbs+h3k3XlSKIh0uzQNANX5KsV3gCxryMnRWS26D6z\n9kbm2qRNX79gI7YdC+YEP/Nu30HauoeXZm67YNujnWP3HXQZAXe2VIC+BujY\n8ETzy3Eamf8RynVa3DfCvH74oTwuErTaMfsx9wCX7b8zR37Wl6yN7yAb3qQq\nUV/hU4K18B/l2BRcfOf49Mr1Sl9KtAUikp/ILtghPlEtq8wDM8BHxPwqB6YI\ns8fItonXSvgKyA1i+e9DpA6sAbjQ5atMkqn/M76ANBBKx3WGNlAsXTrYZOiY\nLt+BKIfzWi453StUhq+ZnRD+W1nxPfRayhB98QOu5PYSU1MpsK57/r3a/ACe\neMWFkyZ0mru0JvMcdExr0FiaJOOkTX98Md2nxDfuIBixF+PrMVrfwPZwJmtm\nai6pVS93Rca8SyseE64uVL+M39yCRZYKnbhnTO3E6hgbsZ41MqwG+rQQTnev\nkXyTMEoRKctz8ardDe6UyKOnJTCN9T+vUevJ4F0MBDZOuCEqmy9khy6n0gaO\ntIFPae9zzT5LNWjwUffe2NGTMKQ54ESeiE1naF1bsTv36LzYfm3hmg7fPCxZ\n4NQ+\r\n=NeOk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSz2BUOqMVCK8UZIaFPT8vei+TGOzMC7r2pmini1cPMAIhAOU+JXkrIi4jSCd1ECeGyg8ARIlCjicbXil3ePN+V8mg"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.12-alpha-search-field-before-change-5145.1.6_1568141808929_0.5871729004013857"},"_hasShrinkwrap":false},"3.4.12":{"name":"@crave/farmblocks-search-field","version":"3.4.12","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.5","@crave/farmblocks-hoc-validation-messages":"^2.3.3","@crave/farmblocks-input-select":"^3.6.11","@crave/farmblocks-input-text":"^3.6.18","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"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-search-field@3.4.12","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-eUq1Sb1bu7fHDq8ukrovqpzS8jXiEEz2h3dhAgw9nxzvn+AaHBMA1a1C0QgdVU9fDRohahCNOCDIAMDhxu3G8A==","shasum":"d0bcbe865a9e8b4e0896e35f8d37c3718c6af184","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.12.tgz","fileCount":11,"unpackedSize":69818,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdd/maCRA9TVsSAnZWagAAwWAQAIkxlia0y/WGoRe1cyA1\nsEBmpgS0VvGC8fruj6sHJPYtVv/ebnCuN/dIlXbHQoMB+j5gyLBpLpBSqM2h\n9Fu4a+tcMJgdRIPi4bvhVfUWD0bw/wJO1gfyT5YdGTgbb0sfnE83f7aWS6QJ\n1hvk/6R3qd15o4SrL0JjbXfud+oadns5jwGJU4n/ynfBoJbkUIx+uzLDty93\nZRgIP6YTYK0U8mP5d0BAnIlJEWV1QNgJmGvAdcm5uIQH5zuOHauRX3YGsJxy\nKq+N4xqNwge2UG+I1ctQPXWDaJ53QHdMj3tLnYGCmF8CqQXKLt5igVPHIrrr\njpED1cv/DD0CPl+USnJ0XuSYOIb30HyGCSVAVEElfJAg6Vo/6w09Mib6QOxf\ns2mKQSM4qPeP+Df7U9EfPlhLziwJ2oEkTyjMY9Lr4Ldqlas9vU1pD3wfQajh\nX71IAk0B+OmZAjp9iRg009TGxc14/9/D/9AvKv1UFVnWTCEHOJbFuzLrdgKb\ndMyzkOa0cGf182VtrlNQp8G4oPZMDW+Onn2oRkrOP2zbe0+SReJ9R6XU81ED\nfW4YSXJBAdmBhwFYrelV+cNY6V4/MK2uAnsleoszjbDwrh484xFVMnlkabaP\ni59aadBAmMkGPuPGepDuR8a9Phn8M7Cj58n29ahqSOtlp5kfj7Fjtjej3ZYZ\nXbdX\r\n=mIxo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSfoozQCiLesQMN/CRG9umHQeUCgiftT2dO3ftQhxjHAIhAOZIb7Jc2NWqhMcf88WLWT4XFozbh8MJrc1HpQtTqGjk"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.12_1568143770086_0.5382193091093932"},"_hasShrinkwrap":false},"3.4.12-alpha-search-field-before-change-5157.1.7":{"name":"@crave/farmblocks-search-field","version":"3.4.12-alpha-search-field-before-change-5157.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.4","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.10","@crave/farmblocks-input-text":"^3.6.17","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"5c871d1135dc08f33a2f8f9e962dcbf21bba729a","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.12-alpha-search-field-before-change-5157.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-2RgUsN1FTNFSnF2kkXmEce8jRB4VzqbmEntYwyhGiBq1aSN4rpDtQYWMh5gKV87kjWXejHVUN/125Dyvyot56w==","shasum":"da39eb769478ce52d37e8ab77b0baa6239907883","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.12-alpha-search-field-before-change-5157.1.7.tgz","fileCount":11,"unpackedSize":70320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeVwNCRA9TVsSAnZWagAAqe8P/1hkKSuIezaZNeaz4NtY\naf7bk2cO6WiUEqfkfLtGAGkWuAEthwbHtPCYTN3ltcueDqv43nPNxNWJTrB9\nM0DDxjq/V3rIKToLXORrzrxRn2MYVU6xz8Hon5IYk81zH4UwJYP6uQwhogo5\nFnlIBIkegsKANDg8dINGqih5W4u9mfLVkPeZE6+RMQYpLsh8ohpz98n9KC/R\n6bpfcxafnzioPqapIE1tKAsgn9FkkGJVR/MGkqyA/BSMNaY7JIPS13I/66g1\n4PuAE31wozeDHAMFUhXw+sfcxGzLMBVe1GPBN3lAqvyfDQ2Dmsc+MUyn8iLR\nyi6Fc+CEv65jEB7Jr7ZWvQyxZ6TOqM8epakYmjZE4eqrx+Hxfc+EIzHm+TP1\n2RYq1piiu84NFiQx7qq+jRI8N0WR+0YJuyqIs7ATzOfvIVn2b2m8ZL1+aUuB\npwWUOgzlZAe8dTF4tEvfAgooxoe/LmByoC7aEZhyFZiP5nep4ladNRquxN4R\nIq52yRZzzauEqPRpgteR+aE848QgWYbfHPU60EpWp1rt62uWwMS+m1BTuqu4\nkSID0E6lpgWPS3YG+hNTHAdWS7WQOIHsydozOhY3sdZV+SQIpLUl9d8MkPya\ndCYoqTYAOboIa9eM1tWrVopib/1EQgWzM1G9EsDUEZjxxdsVb6r6a7pQwZL4\nNZcs\r\n=D63V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHkgjVAiWQn5CG/WQAl8ZHhK1HVn1YqFL5Tx3CsMK/03AiEAyYkFEzIMt5Rz09g0MJ5aJeBNQmUiihcTW/w2TTwvEeY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.12-alpha-search-field-before-change-5157.1.7_1568234508741_0.7651145861791406"},"_hasShrinkwrap":false},"3.4.12-alpha-image-use-img-5159.1.7":{"name":"@crave/farmblocks-search-field","version":"3.4.12-alpha-image-use-img-5159.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.5-alpha-image-use-img-5159.1.7+fa4cec42","@crave/farmblocks-hoc-validation-messages":"^2.3.3-alpha-image-use-img-5159.1.45+fa4cec42","@crave/farmblocks-input-select":"^3.6.11-alpha-image-use-img-5159.1.7+fa4cec42","@crave/farmblocks-input-text":"^3.6.18-alpha-image-use-img-5159.1.7+fa4cec42","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"fa4cec42b914552aca39a55fcc60137e83c0575b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.12-alpha-image-use-img-5159.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-3Rs1pDGMblM/yLSUkyibZOH7ZqbbfjhnsXy5CC/Ok3XXqsx1t5HUySw1Cle1jAjlXv7oCvuWJZnsix+lRKsiZw==","shasum":"2c5cf33f1c519c4d43b47bcbf93a082bb64ca21b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.12-alpha-image-use-img-5159.1.7.tgz","fileCount":11,"unpackedSize":69345,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeWMGCRA9TVsSAnZWagAAAaUP/iYZsRawuOTlejanBIVq\ndy7lGdoURSTJQCHPmYGRZOhbfjrWhl/FHTdlN0Bz6pq0ZiDKisrvlNd8ZEEc\n/df9z41Ykgq9Pm8E3T80bOAkR+bK9EerQ2CStNdP8QFV73xFw+zx35Ns0URW\nxpi84gceFcYMBLD6hqSB/Gp0wSSUYdeKzIGfldH3dG4x40MlfsTpPNp9l+wf\ngJ12SlWy6azsAIDm+UFZ3IQjX5ZCmcEOlKS3UNi+gFvKReD2t9ongwrBhDgW\ns82XIPTzu53t5gH2dkBb97zWtBD405yRijz02woWlfda3xpBUhXNMvcGbPzc\nNGky43367CVaWETEebOFiCewjVyKRck5+n9+BsrecB7L5oQJyvAuZAcuvN+b\nJKGodZkqcE59dolZZBn8XeCvuGQ79FE02MwZWXdu2bxoFvBQact4RN5hTcr+\n/s682RH3p4gjkAflppYBBbN8GAB3Wcm3QBjhoxFRrddLiGAX2SY/2To8QYu+\ngvpDEo5BmFfNXUs/sS3JXkrXdPhHIkKO7eTc6Lh0vffsa1NaQoWy0rcR5N4d\nspJA/hJFlNPN3JVn6lovSnVaKmw7Y0uKUh3Japt0gqzqUZoCBaO0Hmhvcftp\nT04EhCbOfTFzq9tZip9MJ3EBE/lWaa4EAa+jzHunjepg3J0ZFg0LreWJTAoP\nF1J5\r\n=hY1J\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/zssXzDs6DD4DS5wNZidlQyv9NRXYi4+NJCV3hhVKbAiEAg07t7RGzpwWwca6rVw/Oq63N9CgJ/Dd0HSASOvpOCSE="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.12-alpha-image-use-img-5159.1.7_1568236293599_0.5700110882606886"},"_hasShrinkwrap":false},"3.4.13-alpha-image-use-img-5161.1.4":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-image-use-img-5161.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6-alpha-image-use-img-5161.1.4+22b08dde","@crave/farmblocks-hoc-validation-messages":"^2.3.4-alpha-image-use-img-5161.1.4+22b08dde","@crave/farmblocks-input-select":"^3.6.12-alpha-image-use-img-5161.1.4+22b08dde","@crave/farmblocks-input-text":"^3.6.19-alpha-image-use-img-5161.1.4+22b08dde","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"22b08dde5696fa24066fa97dd1a5a7217963a907","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-image-use-img-5161.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-mvN1a00WBcIZVi5ciVjuqx82SEInWyxMiH1XcJSrlPl5wKKMsi2mlU28X6cdpiblIEN4pBI3C4gXyBH5NWmRJQ==","shasum":"02897ec0b859b7905b6d1e4a0f6002a0f2e7d1bc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-image-use-img-5161.1.4.tgz","fileCount":11,"unpackedSize":70008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeWQuCRA9TVsSAnZWagAAlfsP/jlZOySqpiiEV4tAyWCi\ndQfvP8ZlY8hs/lIQAVZ+gRJSfY7RV0XOz70oLBXuEnYA38nOpIlTFwCUH4G2\nEirLZphxULwOMkRstjmDB/8p3zF54pbrkfGa7134Xg98GQxGTiSLlFp0Mzok\nLxwOD7DDItfzKtLo5RfU1L0mvygycxrleQYyUFCWvsQ6998onxJnFsSTxBJ3\nSq6G+38KWb7kAb1N3NxIzgq0+/oibuUaN/Rdiywpgso0WoBivD0OrPPE1163\n1sbMbj85r5EkNuGVR2pqSicAdgrmHpmiqnU59zc4TGSmw/CVK9cWRSCVpgj8\nd69mTgAc9BcHT9DUmUpkFeh/vp2cb54bJFREHpr+VJaOf0SMLK0ahy3NGsZ1\nwE4VOAT1u3XspLOBRb0deRpuze9nKsiruZx6Gxu0IhsNSZKBRfn9BM1bIP5G\nYD1Q50A6XkGMlJZl1wFNc5XnIAGmmWfjwohNhOEjCQChTS7TuLP/HXF2ZGs0\nDB+L/+nsAFX4M21bzmE93RIJdIsetkl/6zOIPIQAMsEUzGJ0w+Z3G+UwXded\nh2Vlj0wtwL5Fng8gx/t3GIE4xlv+hwfPC3KWPxeAonX/4GuGMXBnnHiH4csT\n/DBlrqckX+JNrEmZ/hXnKQvT9TAQ4yTaAAzM6IrfwBf2iw4Ebx99+J2X0TU8\n/8k1\r\n=epUg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDB6JWmulOyhIpb9qcwAblS7jogP/mNQ4CsF05t0Ni4YAiEA/AXs6ElmMX7MDW/6xG0mIpEEZzgRcTMMvmQlLFV+WR4="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-image-use-img-5161.1.4_1568236589720_0.9609122549945925"},"_hasShrinkwrap":false},"3.4.12-alpha-search-field-before-change-5163.1.8":{"name":"@crave/farmblocks-search-field","version":"3.4.12-alpha-search-field-before-change-5163.1.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.8.6","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.4","@crave/farmblocks-hoc-input":"^6.0.4","@crave/farmblocks-hoc-validation-messages":"^2.3.2","@crave/farmblocks-input-select":"^3.6.10","@crave/farmblocks-input-text":"^3.6.17","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.4","@crave/farmblocks-text":"^3.4.1"},"gitHead":"16c55a04f4d421d473b13cfd30e8309e02863d99","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.12-alpha-search-field-before-change-5163.1.8","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-djWE1GMPsVEEUuRXWeBOE2/jFcaTIHh92S1tDKiLOD2AGJe/Uqkjs74anF69D7iHqknuDmnOhDaiU2giemsmbA==","shasum":"b364b15fd70aa9dcb9d4eef13f08c8669998e8d9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.12-alpha-search-field-before-change-5163.1.8.tgz","fileCount":11,"unpackedSize":70355,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdelESCRA9TVsSAnZWagAAL+0P/0rcL4V0xIY0zm3UQW7S\n6GA33PvYRkQTTU+GyDPU6q7/GKv3jkuKNA8kYwpyGJDly7wd6onKa5S4vC5w\noXJCArrmIyua6ZnLudbITJ2iOyhRVzQmvyQtc/AlXL40/64iSmV5eDoPFd+G\n9dP7JwaTCLBc7UOkO4qUO5Be0Dth7FX5IJlywRNOTT9I5EiLcp979TBo/Vet\n+Ppq6ZoL9XlxDE6J7xGTTVXCHWtzoWF/SrmYL4wdIoQV2idNmpHYnYyBWl8L\nYD0ehNi5rCTrc/zaHUHklZW969LF2qhcCZwmGy8Ce1Pj2fjrFriJHPO20VSy\nha1sMAGnnwxP9qlNiQilgZjkbtyDLrYxrIcYh8a2sflc2jubDLJlv7+npbgQ\ngmGC1uX3YCdX5lKEkHBAHhQgdaKHI85qimsh0HFSD4y/cpOQjm7poD4cEJxa\nMPnir6dmry3Xe4+19GdXgvrALGcTFH6kp7FIv06c3PXMTCJI3dxhXglYuDa+\ncuNEFZZMycU6nzq2ieM1JdrOGxs/POI+Mu1tPFDQan2i0UCHtKrngHlXXblh\nNDDl59iEJvoWpVKHel46a7mb2cbn1tDrfEQ1WQw5kUlNnHl7aYXSQIekHe1G\nSHxONFQVX49sK02CUmnYPZO/+jUCuy1jEbxbQlXNlM//zyJoxQaWgK+JBOOJ\nYz+C\r\n=8mZf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCekTQiWuHfVutAtHjsY6Njqpf7uqFQb9liLj1kyFBIqgIhAOQLiYnqY5THim24a/QrfKvjbXBcNF0QyOH3Io4a60VV"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.12-alpha-search-field-before-change-5163.1.8_1568297233679_0.9083146408770513"},"_hasShrinkwrap":false},"3.4.13-alpha-search-field-before-change-5167.1.8":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-search-field-before-change-5167.1.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.5","@crave/farmblocks-hoc-validation-messages":"^2.3.3","@crave/farmblocks-input-select":"^3.6.11","@crave/farmblocks-input-text":"^3.6.19-alpha-search-field-before-change-5167.1.8+f32a6ba1","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"f32a6ba1594b30cb1189c07970b15a2da001ede0","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-search-field-before-change-5167.1.8","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-r1MesJka6v5BNkm1Id9PyGLEXgl7Vrs1R/0Hntt7sV57rfq0hHntk7xX6AR0/vt8Fpv9LoU6OLX4Qly2iQ62cA==","shasum":"89b64f5955b4ffa4a6d36467e7f7aa4fdc1537b8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-search-field-before-change-5167.1.8.tgz","fileCount":11,"unpackedSize":71135,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdeo4rCRA9TVsSAnZWagAAvf8QAJtdwWhzIye4VzGNVaZG\njku5lbFNxOLvekmohVIfjBI645yof7/LfJtjpYaecdrPPHZjpsbqKmo9I9Il\naGAYmT5RaWgFBy0hYd4efHphC5Eu0rmWurpHVnzd2JT1qIT3FC2XC9lYr60k\nbRrvLfsEevnvQ8jaQuBZYNqI410SKsUk5Sqk9Jp+6omtMNfQHB3pLKLOCnyp\nofu67pzOvBKs5oLe6l9+vt2EfweJyav+JL1hy2GCkKJ9+sk7MbUlqeTI6pvA\njnkcg55kSnrJYHHVNCSCCPHNNivyjw+aQrHukYgWucwf//Hp1V3KNoWph6+Z\nNieG/4LXZhqUBzxkZTlKSLaKpXS529qlYExDQDSKieIiDhmLrz7xsOMg3Wv0\nU8CjKzLw6eunSX2ZWU8A1vdiuBLXZThOa57J1+kuE7DR7svKwnb9+IJPSSph\nLcKJ8BCZg6kkSDOGdnDKXPFurFB2tpSvLKXdt0UbsNyg2v9BsZrsCaGW8J8T\nK3j0qEZY5PY8YURxdEAzAG6MxBVdJgdBqsZ2pFJibEG+1vL8HX6opwswmskx\nWVPpbQjt4Yca1QpEFuGM9aO0Ohd84xK1aEp3zRHDQ/PQXZOR9LiiuNLGAnhc\nrY4DVjfRpRLIytgMR3B9Z6fx0hSCvAJXZPO/1Cg8wUYmHn5NSyKbWYaMRvpD\nwOzj\r\n=j17S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDn3BsnxIPm0nCvSM5Uh+PBHjtFC29ZUIqRRGQUSKIgvwIgMdAHMXmkKVkI+5rnX+knTbgmF2YT/WMS7KC/D3hLRgU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-search-field-before-change-5167.1.8_1568312873317_0.9585792278355738"},"_hasShrinkwrap":false},"3.4.13-alpha-image-use-img-5173.1.4":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-image-use-img-5173.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6-alpha-image-use-img-5173.1.4+a0cc5b4f","@crave/farmblocks-hoc-validation-messages":"^2.3.4-alpha-image-use-img-5173.1.4+a0cc5b4f","@crave/farmblocks-input-select":"^3.6.12-alpha-image-use-img-5173.1.4+a0cc5b4f","@crave/farmblocks-input-text":"^3.6.19-alpha-image-use-img-5173.1.4+a0cc5b4f","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"a0cc5b4fa2860d07a1add8a6597166010dcb4be9","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-image-use-img-5173.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Dcdy7GodFKWxaBbcN2DYsCFr3O93abl3c2YPC57mGbyyJoNvWepDXnUGQeXBNOOdntYzZMdd8NB91npyq1b07A==","shasum":"af4936a9aa9d335c2bfceb3c9ad525bc921caebc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-image-use-img-5173.1.4.tgz","fileCount":11,"unpackedSize":70008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJderVTCRA9TVsSAnZWagAAca4P/0mY+H1MT2QqfoX7Xtme\nqNuCwos065bm+P1zAFey3P8P2j5NDrbuV/wgH7kAgNuTI8iN4Lsc8ZpUJ9DI\nyZvGHEc1E84Jo7fXZQF8+VXzDY1x8dnaGE8XF83TnEW5VjZuFzsKeXvsfayb\nV16lVSFtSWoG0CIBuRyIaZJKa0h6ry3mvylsD644ocKpV90Wh/jgezAla+1S\ndqP2DYgrEpWeo6+vD2UUsyVRvg7HKVlI/rEqjdIhISBRMzflHiuITZhP6r+o\nyPHcngU74ZeoqMPxfrQ/SPlkO3CWZTpczGiKlFvhECDkq+7kOtKF3iz3Mr9q\nfq7if1vz61euP3CHn1DCIjhu3NDg008RQiP+jeHbDGzJ/Y5QnrWYSU6yFp8n\nBsgfywWHa8Nxq/gG+EQDezHfdRS+cugNmG+uEtxRIXdLp69iVOsG+Vp3aDo7\nkOvJu2niqdaazxuXe+pFJb0GS8a/UwEpwGY201hYlm3FFZ+6hm/M8uSszQIM\nNbTReAz0h70gsBzpAi/b093F4bH6ozMOJpl0Hg/rVggIropt+0YjbJW5YZT9\n4JqcAUTo1cblSdaMbMl6R2t/ylffc26rTA+jUixMDbjKXDFw7a8yZP91pQme\nGKcSTooB9K9gGRRxUKpyeVlrNNAgpbKxf0ulORd6li5SRdI+nnlbQSNKepat\nEUn9\r\n=9PB3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGP7XaEU1erO/CVIqq4M6jb1e3zjPmiU+pzeglvLJOSnAiB6/5tMGSKNr01JB5/0bQWczfzSDWcsV9c5zWfZUAw/bw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-image-use-img-5173.1.4_1568322898441_0.4063945047462303"},"_hasShrinkwrap":false},"3.4.13-alpha-image-use-img-5177.1.5":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-image-use-img-5177.1.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6-alpha-image-use-img-5177.1.5+765efb22","@crave/farmblocks-hoc-validation-messages":"^2.3.4-alpha-image-use-img-5177.1.5+765efb22","@crave/farmblocks-input-select":"^3.6.12-alpha-image-use-img-5177.1.5+765efb22","@crave/farmblocks-input-text":"^3.6.19-alpha-image-use-img-5177.1.5+765efb22","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"765efb22946bba3526bddde948b9e1f078070483","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-image-use-img-5177.1.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-1uInY07mjm6um/MtsUoSlfJA0giY34Oxdx2NKUV+3P1y9i7hn+aVhuZHelC3rD45z+5clSDy2y/zeMZWMoPC5A==","shasum":"8d77ac0170efcea93b599180003aea3718c311aa","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-image-use-img-5177.1.5.tgz","fileCount":11,"unpackedSize":70008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJde5OYCRA9TVsSAnZWagAApiYP/ArCYAXDH8UvNC71XmYJ\nRzKMQFL76uyNtLSYSOa5whfiY8U9fPQfZlxE3NG7M4HU1m2+/WqdCMsZogPy\n2MbArGFQcwQ+wYCV0hVTvzMF+oAXGGxIHIUhHJhoeVrZkMvYgzYwHSlUF471\nFFqUn0iiCRbB8Zdecq5ysCbEnFhiQ9iGwJN3aHaMVGIlT9D4SZCmFxJQcmGn\nd9FwR8iFVrXxbZUwiX1KlGmArr9bcp3WeIXqFX16VdspBukXWfjfaWUsB6KF\nwA25nRXWeKKhy08AahrH7oAr3VHqvWFQmduDgawZblA9whxW18rgJu/nCBFi\nUCsl8yhvgCT9tnnHEMVKAQvDjBfSkz42AFArZ5dTZu4OtYfNeDyRaxCbwM8y\nDijoQ668AAd01rC7X5izK47r0svvh6CqIGFOoHjcbA4EOX5/vbELFDZ8rSjP\nKvxbLIENveM6AgMtjtf4W+m1UDiYOEhnQHjbLpgwSTReL3b+XomBsIjPzk8Y\n4jyQxyzRGqNc0x5sje1+Kqp+mPw5s7n/Pnv4lE7OQw1ScT+8LBN3bv5EJ/NC\nchJaW9rzv8Plo30MbTUOtNtev6vgbLCFTBbHIjtbdBROjLxiincwswCfUDps\n5UPOsRK3zKOkFTJ9icxy1+Enyu+4lWVALMa46pt3rYiMUZMTX79yaJnhzPlf\nNn0N\r\n=USGJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMaicTm3GLIAdkUZ2mgiLOXNBaUY6tCcgK6+af1FP9WwIhAMHZdfnVN6q634+UoD2aPGI7SICOYYfLhq3h90OVchm7"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-image-use-img-5177.1.5_1568379799588_0.6152399673815909"},"_hasShrinkwrap":false},"3.4.13-alpha-fix-tooltip-auto-position-5179.1.1":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-fix-tooltip-auto-position-5179.1.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6-alpha-fix-tooltip-auto-position-5179.1.1+63808cf1","@crave/farmblocks-hoc-validation-messages":"^2.3.3","@crave/farmblocks-input-select":"^3.6.12-alpha-fix-tooltip-auto-position-5179.1.1+63808cf1","@crave/farmblocks-input-text":"^3.6.19-alpha-fix-tooltip-auto-position-5179.1.1+63808cf1","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"63808cf17c46960b00bf1e2807f5ed0410c18888","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-fix-tooltip-auto-position-5179.1.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-P56HWpQaq4tMT6fKfFTfNBEJnETf2c0hInc1HSl94sYDed6ry2lKvPq74UAAc936Myq4eYJnADMiniDSOEl5GQ==","shasum":"b736cdaabbd7e47b1df8f53c5b8df6194631d93b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-fix-tooltip-auto-position-5179.1.1.tgz","fileCount":11,"unpackedSize":70018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJde98PCRA9TVsSAnZWagAAs4UP/3px9rDAYRUfBPgQaMBr\n8Cn0In/1Vw/zYU1wlVc6BS+lrNBTuFNSUQ6Uyf2xaor5iV50eSrM7DsmSp7e\n2rdoLQUOyfIrYb7Sei+L2qMmxOCc5s4lAn7TQK+f9iMaheQynuEzZ0JKzAw7\nczLdC5P07PrQqWrZt3FjIwXOiSXv//fN0SflB+w8F1y11Z4Pvoowcs3KQeWM\n3jCiied4KGdnSfpbxxceNqguQsqVuhHUZ2BddREHB9CryG7Tcky3++Cii+ii\nGlym9c4hQ22D3JzkNa5N0+13bCCpKX68ZgdI1dWr2ekFCrlnU+407vjgK8F7\nOdY57gBYjQoln7NJR8i7s+vdOADurx+vF7V/RWpiVaDgeap68/Q90YT6rgWZ\n1fd84osuwJFIofTgDMtdfh9+wQoCGiBERxkdoes6MR3GbGbmqXkfOiDMUkYN\n6b6d5UPPGJvOAJjFtuSN/n9JPMmXg+0apPdv/pcgTAE9BR7wLfH/4duDThDI\nhlCj3iYE76bOOemXErV4OolfbLUMGfpI6d92qY6Lf2IKx/sS3o6n1qrCsdFp\nkHiRjInFqP4L9Ffk07JSm6atXB7bXbyQfVguvAtgMSirJQ6geUcV7OjzU2X0\njW8hA6BUmslUADTm4Ir7RFAt3AlsRmK2i0Rc7iDHcr7WVfPKvxlWptrTMP6Q\nzwSm\r\n=xrwv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBIgigjFTYNOI9ufeKkKbLQN+DwuyuaB8gxPxyJV2XkaAiBlS52YutJ1+iPze4I4O7s40KzGtBYy0eo/GxtjAKzLQg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-fix-tooltip-auto-position-5179.1.1_1568399118428_0.7691523741623614"},"_hasShrinkwrap":false},"3.4.13-alpha-search-field-before-change-5181.1.9":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-search-field-before-change-5181.1.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.5","@crave/farmblocks-hoc-validation-messages":"^2.3.3","@crave/farmblocks-input-select":"^3.6.11","@crave/farmblocks-input-text":"^3.6.18","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"1fddcd685836296ed66d3a929e6241b596931be5","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-search-field-before-change-5181.1.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-XPsQ7r2o/kWQAVL/2/7OLIWfH0dHn6nAWviabYygFwAH9jB8PSid2V0WVjr+Rc2YdGCI9Go6zNHsiTthvA9LUw==","shasum":"47655290d62e20e99ad46713d07ffaa2d6228bc3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-search-field-before-change-5181.1.9.tgz","fileCount":11,"unpackedSize":71179,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJde+NxCRA9TVsSAnZWagAASpQP/2vpzoJ6Vg6mOf/FR/tk\nlydkJjoV2vL7al0ZSDZ8cDtPi67UxEqIFgcqfmDCZ1WWkyYPURZ3WZHn/3ZG\n99Pv2hQ0sZrzmFzBNcNAZuhXkTLZfjml2thQ7mfjp4DBjCMU6hxmOLGhutzN\nrzyfWbng03zGBF7q8EdNbthbMxSHUfOg7FemXQXOcz6FmooexFErt3D3aicv\nB+3ssMRNPIkS84zkFc096uEYsPaap5Xv/okhyBt7/WRSPrcFTacg6uAtSSE5\nUZNyrltZwppKZ9UcskRj+GvxZQO+CT/8CIGSuL4TOOEtgX0OiNyvzlN+dV6A\nAFH3z0CLvmPNb8tbx0Co3IUo03/1YRBt4+pDbjNDUuzwE4maHt1guIFHwKLs\nfi//Qxe+xy6kw1gH5o/WrNXFdtkc9ET6BTila1z2CBmsi2lPmhgzAgHIZLJP\nCWDECYQMsdb5UQxup9zJz7up8I8ugOKl4v4Fw81sjfJh+u64Hi0vignBxoHZ\nCm+TFyf/2GgCM9H06QplV0ZX8HCi1VBhDNteBvcjUqKDPhGgABxrYjTCwrsJ\n6PChCp6UWyNOUnGE9Ly8gDbcnlHS5Vwi3zJj3GgEh2BiKVFSIR9dKOr6iF4P\nGdnr51Zmzcg3Y6kZWd66LuLWpM37Gsxd5HVQN7ELeEm/EFkfyg3y/IDwos5K\n3PKk\r\n=+3Rd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGoPclSp1heIPP3tyeHIZoUBtwVUx3Vp0Px60LWEzpLgAiA4nxZ6kzx7okHZLL3rSBVnbUp9n3FbNwWnVOenszlnZw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-search-field-before-change-5181.1.9_1568400240696_0.637766784813953"},"_hasShrinkwrap":false},"3.4.13-alpha-image-use-img-5185.1.8":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-image-use-img-5185.1.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6-alpha-image-use-img-5185.1.8+9120ed6a","@crave/farmblocks-hoc-validation-messages":"^2.3.4-alpha-image-use-img-5185.1.8+9120ed6a","@crave/farmblocks-input-select":"^3.6.12-alpha-image-use-img-5185.1.8+9120ed6a","@crave/farmblocks-input-text":"^3.6.19-alpha-image-use-img-5185.1.8+9120ed6a","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"9120ed6a9f639f1de6148c0fa3d06d98c2d2f350","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-image-use-img-5185.1.8","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-nPaseVsTt6CBfjQO5elfbDDmm2pNEw9r40Q/+sPmLf2owwzdWT2xWEmTOu0wyNS257YpzgPx+cbxuUnmWVYGiA==","shasum":"c39cc6593900eb167f6c4a143949648e70482b7a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-image-use-img-5185.1.8.tgz","fileCount":11,"unpackedSize":70008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJde/JDCRA9TVsSAnZWagAA0NoP/1AdCNG+pXCjYNVtRBgf\nx0kJ8q7tX999b7wejHzqLy0mC1m9iS+h1FKQ0aLdJFfGrMhTPFM0jXvwbbds\n6Xr/qM9boVZy+Gd/VA0JkIOxRH4SwdwH1zkdZn7ALxdjAB64iPxeRNvKylnn\nZzZfUAmODhnUGvIcZDPLmeicCzp/qZqSoV3UqKsueyUrFLoEt/dwJy13KmDp\npYQQ8iR5T/GRUSSejlD+kaixiJ7aIJB+err8+3NqK5ISslPl+hA73fMq8/XH\ngVYQJ8SWCAHXv3CaM6nycTe1RXeUpgUE0ll85Ig3URCHahavU61g+yu9Z/1i\n23hnF2BxaCHePP7NadWVcCaoM0U/3YA+YXUAbDxNdUv7KO/PO90kwSsnZtWk\nYJ3Bg8J49Ssv69fvEnLpkjkajAuSD9FjN4E1S69MZcQed4lWDbVYYYyyi3zf\nHlm1dHlmwZzJLzkEVu3UbLCibJH33eluIVgEE8Ky3tT2v5s/Y7SVUbY83Foq\nJ10C6kLXenRXDYth2K/F8IsYHIAMDnLI49cVaBxr+7AsquxGJgtfcP7Wchqu\n6P8CnePvU9L4RC1CQfTYX8E3KA9Ot5Sk6bpuCmaIkeY90s68Z2UYFldK/Uwl\ne0CPs9V6VaWiQffLUi/yhnxD8O0jY6Y6GsvPplDEPh13EO7RMWXy1uzvhsbv\nmI+K\r\n=p0vk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQClcKtCF66q0JYIgYfS82qX9EVDu+3gw/VjJqkWc0aBrwIhAKTZD2ifF0UKR4BKpsywp8R74cqZdW5r8vvJFqPE7lPc"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-image-use-img-5185.1.8_1568404034951_0.022074509725867664"},"_hasShrinkwrap":false},"3.4.13-alpha-image-use-img-5193.1.17":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-image-use-img-5193.1.17","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6-alpha-image-use-img-5193.1.17+4f1beec3","@crave/farmblocks-hoc-validation-messages":"^2.3.4-alpha-image-use-img-5193.1.17+4f1beec3","@crave/farmblocks-input-select":"^3.6.12-alpha-image-use-img-5193.1.17+4f1beec3","@crave/farmblocks-input-text":"^3.6.19-alpha-image-use-img-5193.1.17+4f1beec3","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"4f1beec3f3b1f12c4d44dd3aded0713523bfe828","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-image-use-img-5193.1.17","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-IPMVPpj1CCC1PXJiKPN878boOar/di2mvePqlf/mY+TmZb8iH23MpWfBthXDtMNjAxLy48bYvjAj+SeRmrNpJw==","shasum":"a03d071b84c94fe289acf7323a0b9940d2d3e8fc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-image-use-img-5193.1.17.tgz","fileCount":11,"unpackedSize":70013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdf5zRCRA9TVsSAnZWagAAkq4P/2ed/SYFEYv0vGPjqq/L\nexEzUBsuHpgLK5JoK7s02fegeqflfbK/39LRoyFdeqkvdjBwZEy3ZGWhNcXv\nyK6oautFGaKZpu+3bazFIhAmUiqT9h5NGGx1VcmOrH2u3r3j3v2F8mTz1Fs1\nW9KNJufd1biEWnSAzQnFA/lGrJCGRXxEQhjb/FRn5z9jFuE7tK2SfI5nmixA\nTxSPMFBWSIfdzx0hA/jFU3VMYErbhit+CBkJ3VcpnynBBQtewTrr045nfF4R\n0iVqXITHQfoMQpAkEbH5W6U+l9uG67zhgj289cQaSY/tzrsu7c9KK1sEPRL7\nQS0/th/72RXVt/KOZs7Qp7+YuKBdrOM4zBD0lgFEzn3SiR57kL4w3lEMn+q1\nRLlO+OuV+zsKv4tFIbfdWhuVuIUiHidDBwRDNT2SLMscSY4Hhyk2dMW69Zuh\nG42MLtpWK7iAAekMiyMacHFWl3X3fCEyDBqyodEWIN11jsDV262qt7rQD7FJ\n9yOg2kcRKOr9s/y3LiTqIU1CS+WEmn3NUc4VygAwihWwnrU98t2t65PSyxHS\nclpwKyfUBSHNvsgTmdUe323kyrgq9af2J3pOwAJyhU2f2Dw8nXxkm+JxbQYO\ndZ6OEY58Mqt6FmAKDxQzClCRSwkduO0yyY9OiNBzTILRL4zBwQGY85xRqgcD\nNhQG\r\n=aeoY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHXESe824X0Ir16FHfVW7m5DP0cbbxTapjqdnAz8SECkAiBQhj9exNQpbiZW1Z3+s0m9c1+Jf8yg/lW2znyY9WiCXA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-image-use-img-5193.1.17_1568644304737_0.45743839586527835"},"_hasShrinkwrap":false},"3.4.13-alpha-search-field-before-change-5195.1.9":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-search-field-before-change-5195.1.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.5","@crave/farmblocks-hoc-validation-messages":"^2.3.3","@crave/farmblocks-input-select":"^3.6.11","@crave/farmblocks-input-text":"^3.6.19-alpha-search-field-before-change-5195.1.9+5861e155","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"5861e155144aa34930a6c27422473ff303471419","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-search-field-before-change-5195.1.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-31/s2kyxrGGkiRUSmjxD3YToU+/ON//YloODWxIRvwff0FUudjoOl3IigSau4EQ7TqTBKOVZv1fngGIxHcF0BA==","shasum":"6bc862c40849f9bd9f7968b5a860a0034a09ae3a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-search-field-before-change-5195.1.9.tgz","fileCount":11,"unpackedSize":71214,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdf7aTCRA9TVsSAnZWagAAeS4P/ilpKMRNpq2fespi20gt\niVT+QJs2rCK0fDj4YvzQm+o1Lx7o3aPcsxcnmSZWf3k4PHI67d7+NQBGPxEG\nDnYXT+Tp87Gh2891FtZXJxcTB1NSex6UvIucWww6e++ZoKaXDXNluaURt3x9\nvh4h4RutD4DDUMTgpLvJRNJqf5QFARS6Ylege9YpJZs0dd9KVbg7lL7/7uZ5\n0xmxnfGzgrXZ+QuXXg7phMD2Phe4pVmGxM0KTpbvF4IWjXE1dsIVHI/8RK1f\nyC9wp1TDRfCgljyT9VvUPhpaImL9igBl7RONWJc48eD4/TUVIlIeXZIIYkMY\npReepMK7lyRBcJZy+3kVz1CDdCSNA5T1XuPMJxFJMZRtBvbOUTSXBidFz2dL\nFP6tCQVH4q/9GBWx07C3q6hYvDfWT/vT2fCLXiGzsm7AjJZ2eVhyljc+/EBK\nD8r0pEfF9seJfWRTwZuN9BArOrq2dKqscv7z5LWRKedK+9oP/Ea2oLjsGoID\n6Ti56AAyUqSgZoNjwAioYGhjOenNJhA86O+/HZLnSZVI5GLSCBAc435/gpq+\nVbinAORW9SYN/45C/I/Wy07UBcEMzlSKaA8UdVTuDHeisWFq55xZ6BoA+KDb\nwPSCuLjmVEDMcQ51XUA4pQj/DTFCkwKd8YrvaQADZHphXJu5LfkLUzZz53OF\nCnbm\r\n=Vjju\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICXSPIc7oz++Q9H/MW/Azz1gfSRsfYT7XvbhxIvuGORgAiEA75qXwYcjworUofxezyXIOogpWbqRePM6dQohmZKtw5s="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-search-field-before-change-5195.1.9_1568650898373_0.8656106485649395"},"_hasShrinkwrap":false},"3.4.13-alpha-fix-tooltip-auto-position-5197.1.3":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-fix-tooltip-auto-position-5197.1.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6-alpha-fix-tooltip-auto-position-5197.1.3+6e655a8e","@crave/farmblocks-hoc-validation-messages":"^2.3.3","@crave/farmblocks-input-select":"^3.6.12-alpha-fix-tooltip-auto-position-5197.1.3+6e655a8e","@crave/farmblocks-input-text":"^3.6.19-alpha-fix-tooltip-auto-position-5197.1.3+6e655a8e","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"6e655a8eec93140abdc5074ceb92ec54c57700ee","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-fix-tooltip-auto-position-5197.1.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Ms9LpKpXwn+3wSrtpqlKhfRRzHp6+DNCPCRjnqx0gQjmtvMFhxxg5KLwx6sUTm0qOxYTsCNwnS0q3YqAQycSdA==","shasum":"6c4794b65133bd99ab8393f904e9c5b91fd4f911","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-fix-tooltip-auto-position-5197.1.3.tgz","fileCount":11,"unpackedSize":70018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdf7foCRA9TVsSAnZWagAA7wEP/3hFmSiNrSZyORhf2lhM\no6MCuXGZaYUZh0uisqi93iIjNVdwQ7ievyPj8qt2mBzqq09wh/Xt+GlgR1FK\nU+V4F3S5GV0CfpBja+dYpKs4gtCAmui9uiSiavt0z7CikP0dxLYx+nMP8/D6\n7K6HWouMQLynP0DvsUPwl699OsjtRgC5iDvg/6p9GMyvy8D0Dsl/ag1N836P\nHHo5gT7ynDNb/3gMznBm/gEkgaWHkRlghBSO7vaYIFGYMb2UP20aCn+L0zle\nJUamf5ru5Lzh1wE2Ub14u6iAZtOMN79W8jM9NIx4qslu3lcZRQil0aahfpNM\nkaEJBIKj967Quy1LhRcK/6DFxWToPcE9U7FEkoWe4SVF4d+6lJHpHrP++9JF\nfx4BfBq6RZS/yOeywtyG5q0OMAT47jr16V3XdYJ5l7PeNL/RlHesgJvkmjuu\nnPXzOxpVmOw9//2QppwBluz0JyaIcY0OSUxwo1aLT5GZ8Kz0K+cciBYMFX6w\nGqGnRsvAqSfLk8k5KNsBWbJ/6UMcO32SWiJxP4a6qrEWljukeKnHh7wiH3nn\nAQtdDXJlakno8SZD3Dzq+2aOs+MqJA8KEBkjVMfaMvufEAU+nltI5LsedDZM\nMpyGcvjebVvRqHvaZ0kl9VbREaWuryHbTnM23EDFItT9WeChyc9TLZpARTUd\nnYak\r\n=1dOV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEZssfegXA2AOjjtgArUoVMtLxcuPa36EiYV+4cfp7kpAiAl/ob2B1Z8RN15mjVhlJWL2R7x5UBTc+996upTOhZJEw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-fix-tooltip-auto-position-5197.1.3_1568651239512_0.7658611011797984"},"_hasShrinkwrap":false},"3.4.13-alpha-fix-tooltip-auto-position-5199.1.4":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-fix-tooltip-auto-position-5199.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.5","@crave/farmblocks-hoc-validation-messages":"^2.3.3","@crave/farmblocks-input-select":"^3.6.12-alpha-fix-tooltip-auto-position-5199.1.4+85042792","@crave/farmblocks-input-text":"^3.6.18","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"850427927276de3a90b7e0fdb706ee4741c3f170","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-fix-tooltip-auto-position-5199.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-x0tLVZ/42wCa6/hChR5hv3UJNXmV+qjtpq1CRPcpFXAxYWO4KHSFIWx1nj42IaRVd4C70wLW4/Xv1eKWLNNoOQ==","shasum":"2e9b5d8e9657a1fcfefcacf561a5d176405b7224","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-fix-tooltip-auto-position-5199.1.4.tgz","fileCount":11,"unpackedSize":69918,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdf8LtCRA9TVsSAnZWagAAlswP/1otD9SrRAuL5WILw+HG\nn9AXLr6BscyOJhc0Vn4cizgEDnLGrcjNUb14r4CP2EKFShv+lOVay48ZBLtS\nxkQhnqRjxHEaUAQs4vhyl0/Q2l2WBypOkQ35Zz8e0cWZyl6HS9GXhgaG1z53\nQluUtRS1oWderF3tLem3MBZiIunhI9WRZe7hopTCE5eB2IkRAdWei8AfntUh\nWa3Vr+t8alRMZ+SKjtYHpX0vU+GIdayj+wU7syKTGJvyCUy3e8r3zEX7C/+j\nVNqcEZqGEhbYDHZ6DHdSPoc77DjM4BQ8Ml2SflBs/ZjML7M8Vp43fmFpGkka\nCwjPapkErSQ4bADZwqcFJzHlZrKNCoSwcNgmZW9rIEQWX9Yhxbc3maGVdySW\nvzWUIggQvq8W1ZTA85n/+ZkVBWOiAsjIkgVwc0idmUlvncW/UP5OXd6p4cZK\nre63QiqcC8BbHMZEHtfLtzqS9C0TYBuO2IHiCT4cgdHS8Agl3m4RzoOnURgb\no4YXFEA/eT52Cj/wEA7sQPit0WuRJ964NQrhVKBDcUhH8lRor4pxAUZoH9HZ\n2Vxs1n3N2zFeEqwjsFkIVSMscYYet+NFaBd7DXTGposBxxKXFlHnpsspBst7\n1R1a6EavPo5GxbFuY0tytie2bDatLI64gzFKV+YbNGv5G/uAHajaboUB7KLd\nYVxo\r\n=qoFW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDfojtIxZ6VGhm1VszZUQ923UN3/Q5tPTUQdBb7E25fGgIgKpb4grVQivWfUb9xUVfJiBuoDnli6/cnJ/J97Wh9KfU="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-fix-tooltip-auto-position-5199.1.4_1568654060879_0.9578949529243066"},"_hasShrinkwrap":false},"3.4.13-alpha-search-field-before-change-5204.1.10":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-search-field-before-change-5204.1.10","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.5","@crave/farmblocks-hoc-validation-messages":"^2.3.3","@crave/farmblocks-input-select":"^3.6.11","@crave/farmblocks-input-text":"^3.6.18","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"f5ff055d4affc3a6bdf97cbf8476f1d8fec5918c","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-search-field-before-change-5204.1.10","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-UDbBP3RKGdYiiaknSykql17PYhuVk55L+DIVGVohgzHeov82WsWxBOcMDy+iCBDUhdO4POu04gx06WUx8wXc0g==","shasum":"c9cf48b68fd04d812286783aa64b49b922c87f34","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-search-field-before-change-5204.1.10.tgz","fileCount":11,"unpackedSize":70788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdf8bjCRA9TVsSAnZWagAAjYEP/imKHkyZKxUqjIbwmjHK\ngLaI02DWN9JCjeAVcJ+RC05tFci0GqC2D9JROXYjD7GEzZNtypOnuUwMB30J\nAeVvp4+mC16eFg5Rg6nvGAwn00j4XSDQwTkRIjbEEgwHK0vM8ylbS8Ec5tlO\nS1E1UWYMzUDEEcY3ep5gAEgV6wPxa3f9xl6A1f+1azqVB9SDcWeXBuVtcp+P\ngi0HuH21RQgAl0hNo56216D1cU5mFc0eOjsLwpVOOJ+43JxIsgBq9G/He7lk\nQQMB+GepfHFyy/xqvzXfvUThE0EgDlpCW+PzkAXLuEmjqSPjTWZBtCbm0p2i\nmr+SlKZaVHjxOTEyMi4c+uSGOQ4NXmvgZu2K6nxHjiYB9QkEchh6z5dgKSC3\nenDZMwtOY/lDi/45bKcxp97NSEPKIDLQF1fh5AMBXBvhGDpjYSXWfZkBDudk\nSbPmJPl1H3g8uKIwOXhpGsQKi0lJnyTVrGSf189mjxwNdVVarBPZ8GycgD/h\n3Y4J2a/laXr0+Ty9UaazR5alCN/I6yPQXyO6D+ivjKnoS/Lg6l/CbppXKIkL\nPCsJDhrmyYbL/w7WlCn+Q/KDOv7BrM8IRYQcNWeIFbZXMIy+gV6KT55/e8YJ\nNwUr9r2D+xFhvl02vdmNvfiYCumD0YYTIxAGiyiIUmEthPy84n51PjLwDyMH\n/daQ\r\n=05TZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCkRlEP5sxlInKcKkFnJmZ0F1gUP/h08CcVWI3q/FdhwwIhANsP/ZhHltTr+ADtwxD00d40Jz/8Da7BKsaLVuQtaFia"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-search-field-before-change-5204.1.10_1568655074571_0.3973398389375673"},"_hasShrinkwrap":false},"3.4.13-alpha-image-use-img-5211.1.20":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-image-use-img-5211.1.20","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6-alpha-image-use-img-5211.1.20+fdd1276f","@crave/farmblocks-hoc-validation-messages":"^2.3.4-alpha-image-use-img-5211.1.20+fdd1276f","@crave/farmblocks-input-select":"^3.6.12-alpha-image-use-img-5211.1.20+fdd1276f","@crave/farmblocks-input-text":"^3.6.19-alpha-image-use-img-5211.1.20+fdd1276f","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"fdd1276f9235075cc5efd74605c6abfeaed108ee","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-image-use-img-5211.1.20","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-GXARsK6sV/+VXyCVdUmoDCK0k2hc6Vf0BD0/E878HAo5UCImvP6Td3rurzscY/ALjmfkIoFiLJwDjijdUCdadw==","shasum":"3de08e72efdba432d65340b9ebb04f6a832ec1fc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-image-use-img-5211.1.20.tgz","fileCount":11,"unpackedSize":70013,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdf9rlCRA9TVsSAnZWagAA+VMP/jCMFskyy0Qf7g2UroFT\nDXXO+XdzpIyrNfRZZjR39cYtPBQXtBVNl1ah/hJPITfCjz2eZ3CaYPvhw7FK\n2pjV2QhXMYWFCWyAldeMC8zU1ZccWyGq8uAfTvin6xquHhprTOpCsNHyqZHO\nQn1cgqWdX8XDazWbdInulkuV6tDmRWOHnsDOZtbCAqGqvD+c4rKsMyTHIz61\nG7Qvgz7/JawhpJXMpOM7WX2S5ii23AqiyG+zORxZc1QW6sZlLYVT02ugi3IV\n+qWw+tSJH1inKz+UoOYVZ6ClPNYtXydR5C+xaILGItGxtrqfugQov3A8X3AS\nuh3y3+TOB1vFZ7OnXIWUUZqFL2LcZSRhCzt2u4hCWMgrRtveRTnGlzYKojyl\nMZ76s+ibZcyGADsqzR+zczKd2J3w0pmI8HJbaGT/Q8kUBd7tg6KO6iiK+IWT\nA/hdkDRt1m3sI9IZ0uXx31WpxOSlWR63wzKMRx0Yb3nOY9Z+jPh5qx+ls+YY\nWJdBFPZyRq0UGEMRTcrK8VFE+zNzaN2Fy5KfvxtVSmZiWcqpTc/mp6dWmRYC\nKw0PSzxPW9OEpskm561f/UzjIMfML2kVcRE20qty4vij2ceCd860HDsbtAlX\n1K+E2mjbnWXt2ZbSz/miP11vAiw0YAdRSaYtK/VAKT9d+62XtTXcPx7/dJd7\noJ8b\r\n=6QwM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCDLYaIplZwPIEsSti00OXIPM5I6ofyxdXify3rLVisbgIgTy4mOh+LSTu60mZV8ZGBw44ftUe61BNe14/ARZBOkT0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-image-use-img-5211.1.20_1568660196377_0.8681590727171817"},"_hasShrinkwrap":false},"3.4.13-alpha-image-use-img-5213.1.7":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-image-use-img-5213.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6-alpha-image-use-img-5213.1.7+dcfe131d","@crave/farmblocks-hoc-validation-messages":"^2.3.4-alpha-image-use-img-5213.1.7+dcfe131d","@crave/farmblocks-input-select":"^3.6.12-alpha-image-use-img-5213.1.7+dcfe131d","@crave/farmblocks-input-text":"^3.6.19-alpha-image-use-img-5213.1.7+dcfe131d","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"dcfe131d618a509651a111dc7cf8f4b89139925c","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-image-use-img-5213.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-5LFJsL4zY7I3zQ6h1LU9q015WC6RZEZOsKBFLyOoarPP1+TsmrmR8DWqEfpvaUPM3B9ynCPJbwAVb8C9aYenzw==","shasum":"8be255f837499738fdd1be58dc22b236c792cdbf","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-image-use-img-5213.1.7.tgz","fileCount":11,"unpackedSize":70008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdf+XyCRA9TVsSAnZWagAAY7wP/0m5y6aqTfNq5cOEeDUO\nqHhFPXJHCS2mFtBebfUZFjTgORL0RT9MaOzDMSzwKeC+5r9DdFkSKD2sqomh\nbUmX2N/wgSTbYS8ehUIGguv0OwXscK8olaDc93vJaZJiqBXXqVZrzROp4hpo\nBUa1vxf/0een7pB6LkjOKs1/+TGvRgwEq7UiuXbjsNHisjw0F0XKhkGDygzF\nkhSjFtCGly4V49iHKy8ADU01HsY4QMrCd5QkcLQb0vh/qvnuXmoKpPjPDqaL\nLaperhOOy1rr8WrzuMm5vYD7Qx962bxp85f4cj/ItQlQXGzxDaE349FUIxqr\n9UlMuSYnEPVjCQfTHp6EdZNXXtKlqs0Dd3Kp3fKI1S+5n17ZePXhlbYNZI9O\no/PPOYwrvxkXK/r66NitW2yVspoAhtQDOdEDbqOwjmpt1VGb4hBFkY6IvwmU\no9PHRIHbi0xe4T7eFZ7mJppwi+bxIg6ei4BvUGDICy/SaMuHtReqXOGgpAgL\nERsvU+M2kza8YySy0Sn5cHn95imbqbUkXTX+pxUAPsRYl2/MJ4dGJhQUOeKe\npGa8Y0DQz1R/lK3Peq3D1VR4nRQrVFpat/DSUbvdMxTeASG3eauNWWeoZsEh\nU3pnFsr0wxLIFsBPKZxT1E1rHN722n1GsYEguj/hLVBxhpPmBIL71QoUK6Pd\np4YC\r\n=QwCQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCL7KqW3sAU8pptfiFkHgxTxAJ7OdEal9IAevz0BonXRQIgbS9PmR9bygzP04WPwd35Bn9g1tZ9M+mapJ68b1WZUA0="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-image-use-img-5213.1.7_1568663025638_0.568635557569658"},"_hasShrinkwrap":false},"3.4.13":{"name":"@crave/farmblocks-search-field","version":"3.4.13","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6","@crave/farmblocks-hoc-validation-messages":"^2.3.4","@crave/farmblocks-input-select":"^3.6.12","@crave/farmblocks-input-text":"^3.6.19","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"4b9e012d9111e113d33d6ea8feae9e1ff04dd948","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.4.13","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-+JcMFzTc+ectOoEro9Jm93Ft4vqHDJ0CcCM1HuaAmb/Am1iJBxIR4d3bTsHVgNZHbCVE4ifVvxmMwrSRCVIivQ==","shasum":"82c92ee967a11a775de343e5a7ba5ea31f2ff0cb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13.tgz","fileCount":11,"unpackedSize":70047,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdf+2uCRA9TVsSAnZWagAADlsP/3xjo7ZHbkpulZpjjnYz\nR8yQuVmfEgeinuVZFNjdgBjkJyeHU2viA1s9MUO2ujqRfjQSdt9eI2nDKWQ0\nffGNO56Q4mPdUzMtBNpAVlZ0344fkN30SCPwbG+j0lRYMrF/94JMSXjXBBAW\ngEWzciXJwNCa4lNep74FR7dbjIcI3gfOhoMc+gUde8pwMB1V6k5xBquk71TC\n53lXzfOZzyws8lygWB3U0gDUA2SLq1qe3S3c+2WMt29IKo4ARfQwCHyAUFW2\nAUE2ACGJhsHfh4jy7Q2tCUuteZEul92T725gO0ww0Dkz+bxixi4lx9Ht9QQb\nMwOjUQlHIFDf01gZXENmVAAcAkjHFlEBFc3zD7PfgvXYwbyXOl+vrg8B1JLv\nT/EVyh9FfHIPHMe9SpcXVNKZtN2rHwcEzZ9fD7GVjeZBkt3CpHDEmnO9xYic\nJ+c8qDNI7OL3uUNVDlHxYHvjt32MfPbC6JeGqmNLBzaadxoa5kV2CnmqyCN1\nHAzG5ApJvdUlJw9ggqC7phPlNAQBydrf4XZ10HwkvIgLhxG6YsoIMtgOsG0c\n0oiWZDpAViZha+17ntfn3djJybszTkl1Xsx1NIqY5kLvarLn+uVKT0Y6N9Oh\n49Ig2+jNWV7trEXs2xXHjzBGxLCZI/EBHBGoDDlbW5kIgI/ZO9sHkB13fWfB\nnT27\r\n=27bx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFOVazleoNh+KOSh5COIC+kgirbD+fciFVcPn8q5zDvAIhANrcnnxM+5evOCfy9upUXEfBvMmM1JtxYYGdqJlz2noJ"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13_1568665004135_0.133301861712817"},"_hasShrinkwrap":false},"3.4.13-alpha-search-field-before-change-5216.1.11":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-search-field-before-change-5216.1.11","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.5","@crave/farmblocks-hoc-validation-messages":"^2.3.3","@crave/farmblocks-input-select":"^3.6.11","@crave/farmblocks-input-text":"^3.6.18","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"50eceda3935a58a203890cc8b0cc5a76252b429b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-search-field-before-change-5216.1.11","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-/uwCI/2viXDJZ0FJFHSMCD8YEi6pDvxCSrn9x/l11IDmBnJOvolfPMLf0RNahGP9ObXhImzwESB5bdOxcEVllQ==","shasum":"1dcb24de8b0a8339babd31b011eb500f19d18353","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-search-field-before-change-5216.1.11.tgz","fileCount":11,"unpackedSize":70788,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgNdcCRA9TVsSAnZWagAAwdkQAIXwzB+we9cvCmkqM9el\nI2gqwf/JWIy9P1czeiQGI1TzQIzRp9wgwxWnNsTs4z/x8e04mYibWMBS/7gM\nHbb7BQYlhJW82bDuGvpgayIax+dobcOvbJzKqDmOOruSEwiedWfKlVuesHTd\nWsDnsrIRdL4LY1JDCEazMdRdVKw4XkEbc/Dv2eBCCsqbgZfVMno9b5gabIrg\nhMNPhZOjyZ9ijlbiK6SXeyL7fG4bv3gtNUQqcLL1n3X6ib8baCSDgBPB+JC/\n8M9419CopeYk0ydX5OLeSn+KqUpV/ra1600PVvpDI2XvpFWBMfDA7Vq0ihbi\nTQVBzZte1BqKt1Ls5OczGsyRTTopVmYJXiBJVEzPOvCgdYExXkS/zB75Xk3r\n/cFrNEP767CTRltjyW5kwP6qdYLmYXvTFiLSbOPqlPVfeR0iL0u/J7ZdZsI5\nkqduy5ziN9TPXJbwG+MTehduZri7STPICS8r7ZdB8Nug2icacEiZpaFLqAC+\nmEN+OZV5RJv2b+RhmZ8+Ry98GkyJtee0cRFb9dxQb1Pw7QluK+QNJ+fsSxTg\nrR77Jx1sGwcyLynfqgWB9LxfT32O1MUm0DaoSrwjFi3cJhto8TPFId1QYioF\npyv2OhgzoyTJ665ovM40xDf37K14DkElM8EDdDxUV02T5zVmN+4rjvteLjkl\nlt+e\r\n=yck+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYAOSFQOAcXwX9QjQkTLGHKYwIWHDO7t/odgROah9UhQIgRb37dormY0/i0aN0MnyWw2uqUVIVC7HLK81Pv9L5tV8="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-search-field-before-change-5216.1.11_1568724828031_0.2785535621638584"},"_hasShrinkwrap":false},"3.4.14-alpha-search-field-before-change-5218.1.10":{"name":"@crave/farmblocks-search-field","version":"3.4.14-alpha-search-field-before-change-5218.1.10","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6","@crave/farmblocks-hoc-validation-messages":"^2.3.4","@crave/farmblocks-input-select":"^3.6.12","@crave/farmblocks-input-text":"^3.6.20-alpha-search-field-before-change-5218.1.10+6edf55f3","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"6edf55f34f988ec6f853e3f2a909cb071a350d5d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.14-alpha-search-field-before-change-5218.1.10","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-1S1IofUqq5yrE+I18EXhenl3SrjhJ3xAC2HR5riFtJGXbh0zdQ7FmWVv8kk2ESEflgmWlM8MjdSFuvp+3dnS5w==","shasum":"acedf69e5c8aabad0985087a1e374acbf35f6320","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.14-alpha-search-field-before-change-5218.1.10.tgz","fileCount":11,"unpackedSize":71073,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgSj4CRA9TVsSAnZWagAACFsP/3Q1b9sAE+e4OqN6gHPU\n4qj2Ngli7vG6ikCqSk4CQJH5lDynt+C4ZJ1SPjcHIPHuHriv57FAF1CfSwNe\nyM0lcHTFYwTXommGayuBgs1tAw/yRmNvvoypHDRtBOoXiKIiavv045mH3qxj\n4AH4xtaTcL3xt6lWz/ny/tO4z83BSEiHci+YR/DUeg5Eos3OMvkG8qk0dvWt\n1cKpuyJN6N0f1OLMYoV4SDvXCsJ9JGIheYfFhazCNkSwWqFp+7sDsbUED/KI\neVf5CiRn4Hu5qU9iINv6GHM2TWbb/JDcarB+zdfc/kLqStVibKIJhghKakzI\nsV5HN+Gp/TmGuZInm4uYhXxBr02mGeZDYwxRQD3IvIUFamz2J7fGKZa1LZj8\n9VFH2GsnLOAfiyesJkVU0egNlaFqE/GcMPrw6wZicpZ2PPThbMIsKKdUsXKp\nidQoXGz0QbJxCHIx6FG1T65p4ywAOH9dyVYTMKjX3maqFikwp+S7KrrdWVhY\nLBMnrc35IaZIXzhycDHtYXoQx96jj8ggJed+JdF6Zqx9IGXHiq6dHJIgQCxy\n08Hr2j3acH00mlcRrcQpeuNZgp83eouuxmiQvuzlTBG5WIEoEboG0NGrcVnQ\n57RP3+cSKZmayOlkx6riaKACuLIIv5A4az8xilBQP0g+V2vQsbZLQx5cbJA0\n+wMI\r\n=ipm/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZukQ28smcChnJu3+NZcMHgnTQfUynVK6yW0T3535xPwIgTd4n0i8R/MSYFNqUvZXB0JaZ15eaD5R/D4qsLrTT/Aw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.14-alpha-search-field-before-change-5218.1.10_1568745720282_0.7167722010811768"},"_hasShrinkwrap":false},"3.5.0":{"name":"@crave/farmblocks-search-field","version":"3.5.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.7","@crave/farmblocks-hoc-validation-messages":"^2.3.4","@crave/farmblocks-input-select":"^3.6.13","@crave/farmblocks-input-text":"^3.6.20","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"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-search-field@3.5.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-7NKfqDVdh36KHgIsIJveoC9jL3SXhxYoLKLu/QrclpTMk/8Cwih3bFG7ru2OnbbpEivCAz4dJt9jmB7UByW/yQ==","shasum":"d5e693ebadce20bae1990f9cf0998ccdcb027229","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.0.tgz","fileCount":11,"unpackedSize":71630,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgS70CRA9TVsSAnZWagAA48gP/1AuNFTNHM7nf/Ak8Tsm\nwyNYbkzkUeY8ycvqSAIZN0DBDGKHtq5gf5OADOnNBswwLQzXH15QTKb0StTh\n5D9b5B1tIpab258Ql31ZnKElDEvkmgbpXPssYURUBgHj+y+vTedXRl1JMNBF\nCOFmaP/S1zSZEWxeVaKN8oD0L2ZzStkWCtMm86at3yeMULpHpXxCap0xXKb/\n7AANep/engupDZXUKsI6cPgvO/GiqvveLGBEFTBacEkT2KVWGfCDUSyCuBpi\nrqAAzYezp0PUiza89jgQG/xg3X5YTTc+R21zRH3EB11ELU3IgmLGM/mchGA7\nFFesK8wkXLEu0Kv135aPuKOsCqscz8+dFA4FaRlSJ4UkN2p0L/eKROPmBqHL\nm931z2wvvKyESRrIFYH4y7mFCEQn3gQlZrzbxLuU+fskYKpYOIEFS2jm2p3N\nEoMYPgop6jiCsJmiuRqFHBt2kL0KTv3eI/pa1Hs/Lv2plRZ3Ib4YFV9Pki6r\nze90R3XCkn3on/x1S/pdCYLCH9z4ovEPc8uF5RE2d3giPGUYu7/RfckFZWzm\nnrxyDdlTZ01YgTzkK/dVGgQP9aCXrqmdHS+GEai7EH2oQCGYtPsMbpXuBL4k\nQHlyOoaLDfVHLNV01h8ayGOTosLmkQ5nFAJ5LQ2kin7Sam00Sc+57jJ5Vk/O\nejSF\r\n=/90k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDX78o1ntjiphPQ4WyXPA7TkBJ7N6FInQjuauZ0+AI+QAiA4XqvParUh7iyMcF9ii8YxMFXTvOZvP0bPV8WpHRZ9xg=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.5.0_1568747251636_0.4829124416425017"},"_hasShrinkwrap":false},"3.4.13-alpha-fix-tooltip-auto-position-5221.1.7":{"name":"@crave/farmblocks-search-field","version":"3.4.13-alpha-fix-tooltip-auto-position-5221.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.5","@crave/farmblocks-hoc-input":"^6.0.6-alpha-fix-tooltip-auto-position-5221.1.7+931f9894","@crave/farmblocks-hoc-validation-messages":"^2.3.3","@crave/farmblocks-input-select":"^3.6.12-alpha-fix-tooltip-auto-position-5221.1.7+931f9894","@crave/farmblocks-input-text":"^3.6.19-alpha-fix-tooltip-auto-position-5221.1.7+931f9894","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"931f9894410be9fa281cc4b4070e5c710571e23c","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" }\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n| Property         | Description                                                                         | Type                                                               | Required | Default     |\n| ---------------- | ----------------------------------------------------------------------------------- | ------------------------------------------------------------------ | -------- | ----------- |\n| items            | Items to be rendered as options                                                     | ArrayOf({ value: string, label: string, image: (optional)string }) |          |             |\n| value            | Selected option. It's expected that `items` have an element with the same value     | string                                                             |          |             |\n| footer           | Component to render at the menu bottom                                              | node                                                               |          |             |\n| width            | Width of the component                                                              | number or string                                                   |          | 200         |\n| maxMenuHeight    | Maximum height of the menu. After that, the menu will have a scroll                 | number or string                                                   |          | 353         |\n| debounceDelay    | Time in miliseconds to wait for new key presses before dispatching `onSearchChange` | number                                                             |          | 500         |\n| onSearchChange   | Function to handle changes in the search term                                       | onSearchChange(value: string)                                      |          | () => false |\n| onScrollReachEnd | Function to handle the end of the scroll. Usefull for pagination                    | onScrollReachEnd()                                                 |          | () => false |\n| onChange         | Function to handle selection of an item                                             | onChange(value: string, item: object)                              |          | () => false |\n| valueKey         | Custom key to be used as the item value key                                         | string                                                             |          | value       |\n| labelKey         | Custom key to be used as the item label key                                         | string                                                             |          | label       |\n| imageKey         | Custom key to be used as the item image key                                         | string                                                             |          | image       |\n\nNote: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.4.13-alpha-fix-tooltip-auto-position-5221.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-QhMcgHBTjL+3RMmpEbxDszp4lDBXTeieGklfuK9kvx5YGhUJR0nUmy1pRbN6uVb2jn5lsOidf4CsKFxVxoqbyQ==","shasum":"5584ec071b5476cbe90e81604864975e8cac3816","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.4.13-alpha-fix-tooltip-auto-position-5221.1.7.tgz","fileCount":11,"unpackedSize":70018,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgmLrCRA9TVsSAnZWagAApXIP/i9vRH5y3m80QaSPnuGO\nxO+VWxCUlJ2vB8LQhHXMYZKN11o70qr/2HWdWVn/G6ZNKYVytcKh5aiO32FM\n9CrF1n1jgb87Hwwno/yuqhUr+K+eRcLeIcWHXPsWtjgZ44exnm3FTxad108l\nE8EwXh0EiTae6Xfz93rVFX3S75pq4kBaSdxpEliD5FkEIlKZfxmG9aWY0jq7\nQCusPfWMtzUg5dmpAkBSyqQu06UsgKNl9eXSAsI89f/v87V87l0AH2Lom/il\nZT8ZPeMaCwZMywQZfL4gINwckC7SXXBzZyyA4obxMWQXneYQE2bIeoB+bo7E\ni6QzGfia5elP0J3ZAOHb2EOjI6vMoOsFHPQIaSOXmrWCR7BPyBm3NAhgzpyL\n5VDZY5rfdC9Gwe03jG9MVNLI+/8wXyBfMdndfK75i6k80ANHQ7PYfz4+uYTW\n5gTb/uzrl/DgrvxySR7QMs1D8Ku6M7pBvwrkL0WqwmH0g3UksVh3ff5SThd2\nvgzd3JLrO/U1IPgwbH7u/DuaCQl3ZsG48L6VIov/VNWXft/Q3riGCFK+LeQE\nQFmodYnyBSY01s6ySk+FcJ1eSOj83Y4BDOsOftzARuu/lpryPIltxDbsxkhx\nxui9ECuaiS/bed/0x7iQUKW6DEB/kw8zZXnCkSsmpeVJwWYleKiUfbRht800\ndH5O\r\n=UcAr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB9j9ZmwubWxYJYECoW948Mat8A/ETtoniZ0qNdOl3WiAiEAxb6yjLTB9mbaC/QqR87yxQrXcA0VDdfHkOTSM8WlIxY="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.4.13-alpha-fix-tooltip-auto-position-5221.1.7_1568826090481_0.3649258914081639"},"_hasShrinkwrap":false},"3.5.1":{"name":"@crave/farmblocks-search-field","version":"3.5.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.8","@crave/farmblocks-hoc-validation-messages":"^2.3.4","@crave/farmblocks-input-select":"^3.6.14","@crave/farmblocks-input-text":"^3.6.21","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"b1fe3a0283a30a9373d093701ec755bcb2ec1f32","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.5.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-DJsa1n8vm/vB4/wqbTWkUkDEcDzCRBEnq3s0HjcFH4/KPa2QRfPk9AcwxaEfoM/hWGF/mMYcHoy82a/qPqvhLQ==","shasum":"e3bd79372b73f6514637c1407b8cac0e54ff7b6c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.1.tgz","fileCount":11,"unpackedSize":71856,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdgpOJCRA9TVsSAnZWagAA90cP/1+qJQEkZLQC3RXM8/hu\nBI+272SgnAlg3bcCo9ceFSCot/M95su1BqE1W0vfErlo99PxnPXoZzLoJh4Y\n9dM714QDqynQxDhHOpnhKip3Hs/zSPVBlzqtuyqfc8wAI2nknKTicrzzdW0Y\ngqh0+sXlOi0crW4kCooRrPQS0Y1VShLO9fLRhIyLUBoGucE1UlBB9bQCOeEZ\npKQShRkmq2DB2WD7gUbc2Rdg3fO4SCR13hwMPKukwN87CWtKF+ShD3m84PaS\npdG5RwnaKyzLNKA7fGgzvLQsyHVOI0Hbym8XPSglLJr2YfJWpbrJwPs1S0qR\nGjkn0z1/fTXN2asu5fFz1LziYLHyNey98MYl27qcjDTFk6JVVebFxIjx/ruN\n0XoD03B1BEkkDEdmbPXsgRHkS/tfk/NQ7kUXSVnYFCIbq5vuVExCXxoN1dTh\nA4h/rFXmY1YWcPaOHNjetdbVA4sf0rwnOp8QQpiyK3YulJEX/s5nyK6bYZR3\nqZu2aiMdyd/L17E5zkdlbhMQclCJGJMdH6Ygup9Jc77w/nQGYP13gnuGTeVO\n4hDbjrDRgZ5gSwXIRJtTCfQIodGrqD/FxlY9mxoKQBJ0oEZB8d3Q/B/Mbg3d\nM1oI3wtQlUvPIH/PX3pZovFDNuEay0ckMlTJ9TOLDjcEny9uJkakhkJnKnyL\nbFj6\r\n=+ReC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8LJNEyyNvrNyp0tpSskRb9A7FNmsiqmUgBg0o69/hxQIhANjIRkpmLgt4mskuI5l5NPn0P3bX0HOFTLFzO0YC/XYv"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.5.1_1568838536529_0.6071804364886753"},"_hasShrinkwrap":false},"3.5.2-alpha-selected-image-class-5232.1.3":{"name":"@crave/farmblocks-search-field","version":"3.5.2-alpha-selected-image-class-5232.1.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.8","@crave/farmblocks-hoc-validation-messages":"^2.3.4","@crave/farmblocks-input-select":"^3.6.15-alpha-selected-image-class-5232.1.3+0b08115f","@crave/farmblocks-input-text":"^3.6.21","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"0b08115f9e6d791bf1336bf56802eb4df58bf2bb","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.2-alpha-selected-image-class-5232.1.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Q+DBT1g/c/JpoY+Rzsdp+827+mcmuI9JDQi0uoxwCmDkmPH4bqwpN3UzYw5iTfu8BQAkEHzykTQB+bVtr/iIuw==","shasum":"b75fbb739672c7aa6f81f6a48a30c7d76ed68df8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.2-alpha-selected-image-class-5232.1.3.tgz","fileCount":11,"unpackedSize":71946,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjNXwCRA9TVsSAnZWagAA0e4P+wVyMr01/4mKAp6mL9Jc\nMsD731XSwURqf7Yeeb34oqZ+F4M7fIvGNYmcIOKAaCSyz128pgoGHj/9n00m\nKSr5OfOwJwZIjQVbozGENWa294d90QaepHZ5Nv5j+LmcHPi+EL8wClqhQdmD\nMMRN8FOa0g3KPJ6q8NlgIMNhePLdJqgvpsYJkX9rcML8FTs2ZsVQFqAXmgOB\nziWEMNy7VztXfAK6cjPPpNqhCmj70DgRV2DAyu9SVOXV4rGWiuT7trvm+J5h\nOdGWo+vR0QLBXkSXrfAD3yrU0UzymNhvROkyaBVFU8KzLBJRPyBGuszsETIW\n/Ac9RHXyXjZ2bqcdJNNu/lmvP9HbzUxxTUPvvblZBfypW3gTu01DkV+wfMXz\njiStTRZ8fQMssifFcc/F5Fl/5sefpke9OShMjLIP+njkBmlrjhzau/c6klAN\nLdXojposZzU9IY/BKvvG18RyApTM6LBSgupshVjOA21bQOQOi7gb+IXFQBgC\npC41yV9ivG/0yMObMLl3MJEK2+mUDCUHlW+994cqGZHBXSgKFFcoCi+ZaOUM\n/b6l+Bn+NtWF4ulc56LsH51eoS4zjjmzb5GQDlc9vC9DD6o8bXC5pQ5eWhjM\n2axYyNNPP0DEC4G98HwJpM89tIJmkVmB1cX4m6l2LRhaRgLjD1g5dLFXL6F/\nZwPy\r\n=eSOW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAkr3eKQ573dB9kIXLXMDCSzHi9umand8gvTFcMIDH3hAiAUrsHc7EymZdo1c32UMeH8ydxFrNOqAo8cNMS8Z7clCw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.5.2-alpha-selected-image-class-5232.1.3_1569510896253_0.41006601724048286"},"_hasShrinkwrap":false},"3.5.2":{"name":"@crave/farmblocks-search-field","version":"3.5.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.8","@crave/farmblocks-hoc-validation-messages":"^2.3.4","@crave/farmblocks-input-select":"^3.7.0","@crave/farmblocks-input-text":"^3.6.21","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"47046f8791541054703e65d13f03631171e66168","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.5.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-UpSmfEnHWaPOo5jH8mVYf208B9YmbB9BFGqKrijpIew8akIW5ULyTQgZnRILaquAHxU8iiAg1Cmszdxvu03edw==","shasum":"3f9da837160fd0279862da95739ad3f62ecc1891","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.2.tgz","fileCount":11,"unpackedSize":72081,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdjQkpCRA9TVsSAnZWagAApPwQAIdUWpwvwAsxLg9COpes\nB847CDPEgN3fIBEi++SUnNFWWc/QP/R8UZbLYuM9V3zTgIAZRfQg9H5+EBId\nNIjAsaNP7p7VWYoDD++RxmKB2WAUe+tCs5lXxP45FQ1rnoeJmOkMYYm+ahFV\ncvbbhNvBcoea6Fvs/cwB+oNBTbCUJvCHsen5DOs02EYelmvCCpqhhWkpSinK\n+ZIAfLZER9cPeXvMZ04ktq7WWrDvUoSM7sIPqXQri17U1vcw/s0+sG/iXr+l\nI/iz/ToopYCoV9GtJpoOOanKzsgseDmE7N14zqLtdCrvrBBcQLX6rgf5ZH9n\nqzoS8v6cFUdXCXh6xC9AFkDVRYH9BDp086j+xKxNE9nF2MNreSclOmdduc0Q\nLKMVrjd2BSJS5RHaB0YfUWnmXwy91Q0hFkdoJRcv15x2ND4Jc5wOJabHPT3Z\n/A1XaaCboX2Fba6YX9iX6MVOsxOaJvCPT6nFFxxADz8QkJUIwdLcT7dCfLea\nNUrh7Geq3WaSg7di7/3YgxUypto7fGIAa5tjqyWc8IG4Enru0oDSNXZLrnTh\nwM1xc71WMCKbek1OEUWc84WKA/03jM6DI/ld3Bq6FUlLUdXiKqPewSaWondG\nSXEK0sgTNp2hsvWErJLch+c91DjFuk1MVkrQkhrt6tYZqh6hjUGvOUdJmwsj\nKvVV\r\n=j63b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCYIdWmY5FMrpSXtLeqlLP1zL35nIINTtHG8HBhPAioSwIgDSj7/9PFU3vgE/imptsqs5nbD/wVXK3MinzXxx5lzgw="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.5.2_1569524009234_0.7172875548289193"},"_hasShrinkwrap":false},"3.5.3-alpha-fix-image-overflow-5243.1.5":{"name":"@crave/farmblocks-search-field","version":"3.5.3-alpha-fix-image-overflow-5243.1.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.9-alpha-fix-image-overflow-5243.1.8+ed25da34","@crave/farmblocks-hoc-validation-messages":"^2.3.5-alpha-fix-image-overflow-5243.1.14+ed25da34","@crave/farmblocks-input-select":"^3.7.1-alpha-fix-image-overflow-5243.1.5+ed25da34","@crave/farmblocks-input-text":"^3.6.22-alpha-fix-image-overflow-5243.1.8+ed25da34","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"ed25da349f0361eead7dc02289b196bd1914b37b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.3-alpha-fix-image-overflow-5243.1.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-nn5WK0JpkKXndok4JpHQYjmgaG30a/LyJNDSjCEHhMUpr136U881kDhDhBadS7wIuSc6FI8MgJWHvo13Q3g7bg==","shasum":"fec0dd3ef0864e9b53d10e99d1115a3afedf8779","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.3-alpha-fix-image-overflow-5243.1.5.tgz","fileCount":11,"unpackedSize":72297,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk5hjCRA9TVsSAnZWagAA8YAQAI1cX9Se2WNgNSFX66gX\ny4+Eg2dh//SyqDAkpRxbYiVB2a/4GGmxFkLg87nlZb/zo7pMsazATTmqf19M\nCHXGsqTf1ouDjFVRoAv/0LgkYeJGEypGqbzsdFbxg3FYzM5e4ORPPTHyeQuf\nx6uyuLd39EedYovhx97bGYtafUNeF8NkL7O0J36+EOD5YCs50LvqPfX+1h1r\nd38cOXHGUu0ymZ+0p19emqGQPmd+rGA6DDc3S9uDJVOm07ErixHkqXVTZXUx\nT5ZQ/8zFf4rBxv5RXxL676pNanHeDupuiImvJmsU8lgd7qRPb3XGoxzGJVhN\n7++Tei0BpKNSLNL9/4V2n8wBFrDWKGQHeQYp7uGQlZN/GwFm+rGarqqri3F0\nS9zTm9KX9xD852dPigdDI6wEKo5fXVe1566ocbjFuQysUEj2Dt88I1j13jQD\ndM3y8vYz8t8EbASXP/IgQpRuu4vhuMwRvSZKY3LozwP9TzUai6c5kZiWtZ37\nhwQmkfMEHCkW7HIz3PTx1C1ZNQQ3y1OzjAlhuwnVAwzEbYd0jLtOiltNyYm+\nf1z7UapWAUw2GqHzvOnZczDLaBVpu79OKy48TDt1oEDbYjzB8dhnF190RyL1\nquXp7lbF/pjSgSc4N1R9R/ZYISojvrBRAU/Vhuih9UD6X9aK6ezsrRZvUsfU\nzwMD\r\n=TxPQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKTVmTJB66bwaHvV8WjjXanb9LvTYFObkdg68XVmnfHwIhAJWXKMmffuPJ7eLA5JJba1mDszXLcc/UvjieWn0Q55CO"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.5.3-alpha-fix-image-overflow-5243.1.5_1569953890427_0.5828415796432385"},"_hasShrinkwrap":false},"3.5.3":{"name":"@crave/farmblocks-search-field","version":"3.5.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.9","@crave/farmblocks-hoc-validation-messages":"^2.3.5","@crave/farmblocks-input-select":"^3.7.1","@crave/farmblocks-input-text":"^3.6.22","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"0927d4676f8a9107294b906d32af1b898c123839","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.5.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-oYKhZ0mnUCF4Nx0jVC9ZHyfEfHMjvvpTSnaIpNqZfXXklSFSApcviYqojV2gLThHK4CrJhoKS9vChwUYaWOf3g==","shasum":"815b47d79feb671f3a5749928b8e8d3d6905c132","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.3.tgz","fileCount":11,"unpackedSize":72307,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdk5yNCRA9TVsSAnZWagAAXFYP/3ZuKGcOLCShKJHWOn+S\naTmwjHMHu4h79Ovcf58iMibR77eFVLL6oDzwVLBYrbRpFb84LJILEecKjCwn\n8Tx8j2qM4kB8aBmgCVoHPkeW86PYEttGl5+apVX1ZHnkqByvdzP3I/vFA8UC\n7YW8yk2E1ToWjuFgwJ7LktDmEfn74rMhdal8LD7JamqD8kf+lXifZb95JqVZ\njHFPLje11wApp8hchD8LmxS8z/RDFM8bHhcTwgfBC6Q52PeqG84ntISWhwY9\nn49DKK5/Ubfd/6hOGoLea0kHlPHURCexeBs5sKEGFl4OoFDGOKGNlFrtndUd\ncjIw6Lkh2H3upczRHbbW9+rSfRV7zvylhW8ptn4Bz/xSW5tXIJgK/iHWqbhy\nEt68y5PluzRZ4ni50Ayi59FZsPWrLEeuviQCnWi8Lb39MmMnaqr0IU8OFrCK\nHXbVtmCFaqdwIKZsiRlzxfjFFojqVVHzccTd0m+kRgKniurhnSYRblGVxBFF\nuhhriho4idvDHwHJtmpCdgJN/xLEfaWAvoNainDDcb//TolXN0HeZaO9EiGS\n9HVB26kK19QYzA/imIrWwZak/dGP/pjVcQbIvzIHY0a7/ESfNUjkCDHoPUK6\nJmN5XE4IUOG1J1izQlNxio3ya2jL9ODZPTWSpEmnTlWOl+xRhR+LT40cPtQb\nDDds\r\n=uc+z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHkHS9YNZThAoc4KbWgUbgYigRUdG0mT8iBEVhesrolJAiA7dpZX61B96S9DQJTraJ7/r5/XzGGYaJnFcgR7Kxss6A=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.5.3_1569954956815_0.09841325880517937"},"_hasShrinkwrap":false},"3.5.4-alpha-input-phone-5286.1.19":{"name":"@crave/farmblocks-search-field","version":"3.5.4-alpha-input-phone-5286.1.19","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.10-alpha-input-phone-5286.1.19+f7e3bdbc","@crave/farmblocks-hoc-validation-messages":"^2.3.5","@crave/farmblocks-input-select":"^3.7.2-alpha-input-phone-5286.1.19+f7e3bdbc","@crave/farmblocks-input-text":"^3.6.23-alpha-input-phone-5286.1.19+f7e3bdbc","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"f7e3bdbc843e978da836e66dad8a7a6a04fe1555","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.4-alpha-input-phone-5286.1.19","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-l6T8Uu2qu1QS7gIydnVziCDZT78KC88/CBmqyNYiN8GECLbxWUOcMaXJlkIjOjF8PrVXpXbSekXQpsHfs22IVQ==","shasum":"27e3038bff72e24f4c442130761726ead3b87703","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.4-alpha-input-phone-5286.1.19.tgz","fileCount":11,"unpackedSize":72456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdnLYaCRA9TVsSAnZWagAAxjkQAJwngUonOOAlgWe3DbBq\n1FEE4iBHvWndy+l5OpdtWtpcFsl4lwsQYJD78HQV+eRZkdLw2PHi8MwtpZkX\nnZHW06jIrZAnjuOr3Dhrr7jrpglP4jKuawP1wqRTLfL59RPLZwndLKPXBIu7\nNeApsh0UT9DuW1F2/64+/9yYsytRePxSzQ8I0z0zMhwJ/VbjpYJBaMxX9i+I\nfL8rR/NaMC8/0lJ9ZaXtBYsj1nUGNG2wFsEqY1m9XvDBlBY97oA8cIvV8PjJ\neqgfSDn7DqbneU46HGbTb8BJ2BVqUBFuxcNXmi/k5cD5yJ1e5LkBOzqA79Xj\nUyjhruSNenoV1Wr3pmML2Z+78nViC7/UQfdUoqtS2/IUynzIofrqeT8PPIxF\nGfF+bywcLAXRZxJChlvDmSHg/L0f7t45YWtkSlJJRQSPynHz/5n+XU9hsl3X\n8zKMQhu0OVLc2w0+SlCSTNBQ9piBGOE6aZpwwwkLiEatwwkxh+Cd5LI7j2YY\nPHE3Q08lMtYur41hrXs96rx6n1z1cMrexWkqjkAS8muaOJtI6bRP/y75Q5wT\nPSQpBUToXvdONdXzc2Z1PMLFSsbh254XaR6dZdGUBVpMuaHr6p81KfqoNumH\n+FAEI3xVBOuGfONbY6P5pu58Ku/WiYcTV4rx91kwX+uTSfoztG/uj8+tGMd1\nuukm\r\n=bJM+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCHzhG4NQcP/ytnzZTecDjta/OuZxyHmXs3s2jw0WqoNECIDcCWncVlSRMEHLIwovHBioG4nxF3ro+DFag5xlFiiTq"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.5.4-alpha-input-phone-5286.1.19_1570551321522_0.4531697854924561"},"_hasShrinkwrap":false},"3.5.4-alpha-fix-image-proptype-5327.1.12":{"name":"@crave/farmblocks-search-field","version":"3.5.4-alpha-fix-image-proptype-5327.1.12","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.10-alpha-fix-image-proptype-5327.1.12+4f04a7a7","@crave/farmblocks-hoc-validation-messages":"^2.3.6-alpha-fix-image-proptype-5327.1.12+4f04a7a7","@crave/farmblocks-input-select":"^3.7.2-alpha-fix-image-proptype-5327.1.12+4f04a7a7","@crave/farmblocks-input-text":"^3.6.23-alpha-fix-image-proptype-5327.1.12+4f04a7a7","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"4f04a7a7fd6f6a0f1537b0a3f319008983fffcac","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.4-alpha-fix-image-proptype-5327.1.12","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-s5HZq1UBACETMGL7l93vyah9N3SnQVbMzX7uHoODtUG+4djd7xxvjOI0xdBkQH5TotmG7Q+8jSB7BndR2c+Dlg==","shasum":"735e6d0c0f0cc2feed4dee8bce89bc3c2ade5fa0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.4-alpha-fix-image-proptype-5327.1.12.tgz","fileCount":11,"unpackedSize":72528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpH9aCRA9TVsSAnZWagAA5HkP/jydiFj474nArmwr0Asd\na7eRXueCJc3WU0bBOi8a/ZDpy/25RVVsXfU25DmcKOpFmOWNiMvOfDuDBWI3\n3f+HEH1ZB+QwwFBT4iVRujodVm3FYVpxKQq+DcZIDujx9O+wo6pIm+ywez8a\n33JNRPbPHae+hvNgvaSOiDZqSvMRPB0F57SZ4AZ9itpinOTI2t1mwWjK0XKj\ngqLOo+0RIbUfkZb572Le0qMUKXF6KmJZ17tR+UYvIHh2znSu5QKeDPWTxD7h\nmSIPvdyYU1Ve2mnf+kgMKQnkCkhIuSG5UDePbyMB4eILncWKHfR1upQhg/XA\nnvaP1j0rtRWNtBZSmqLieIviieCEO+X7xiWCluszYX2sfEdoAGmMvchgHcr8\niEcUbyuoFlgJE9O/td778xe7kf16Xw8VaT6CeJ+d2M+HrTRLA6OHffDa1uEv\nmIRL6sveYOZ7uNICW2PeDzpm0Bm4p6Y5ty7KRSNLdSswgMo6WVgOS+RwvB5y\n2bOIsbqw6rP/htq4rRaKDNt/hrHLefGAfFzaAWeidQEyk1W7KfPKUDj0BXkr\nwKH8g8XsepZDGmNod990boQGim3V4FzccMjOHa1LEyhMUtHO6JjTvZlCC/ks\nd67/nnAniXisxeWqXA1jtDx6kvXUSfa1Un3CDdglNTM37jdVcvgxA+CHtoAH\nHYwl\r\n=LpMv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBlcowGODdr78XhtQ7D0OVenvH1Mmfy/bV/qvvs1mT73AiAuVVmZ2DLThw5teTW7HvYCE+EQ+cvvWHNOUfilxXB/mA=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.5.4-alpha-fix-image-proptype-5327.1.12_1571061593933_0.5586517517306056"},"_hasShrinkwrap":false},"3.5.4-alpha-input-phone-5347.1.32":{"name":"@crave/farmblocks-search-field","version":"3.5.4-alpha-input-phone-5347.1.32","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.10-alpha-input-phone-5347.1.32+2f36a555","@crave/farmblocks-hoc-validation-messages":"^2.3.5","@crave/farmblocks-input-select":"^3.7.2-alpha-input-phone-5347.1.32+2f36a555","@crave/farmblocks-input-text":"^3.6.23-alpha-input-phone-5347.1.32+2f36a555","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"2f36a555ab3cf71509d609dfaad7c75512a78b68","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.4-alpha-input-phone-5347.1.32","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-v8R6GpNeFNvIlfSGTKCAcAZcXWOWjBTTRbrEwViHAbU7+9pR5CjhOozH47BepWMpjmg4GwwUR0iS38cXmO0qlg==","shasum":"22d5d2d803564b636742992c674a4a7aee16409d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.4-alpha-input-phone-5347.1.32.tgz","fileCount":11,"unpackedSize":72456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpiN/CRA9TVsSAnZWagAAcKQQAJYfu5S3oQI0iF3am3QX\nk/OIeTFxlejq/DLVYoQftmei9NcrgXUyLFVl620awiiMFU5R694XXGOpn7mZ\nxc2bLGBu5pFpAiduBqoX4QTXxhJ/EeVO453Epkg4y4Q0fc6ADMqU6GlhaH6E\nL2YyCJC8KNjBzxfJeH3DSAfU5Oq5GXbv8CtQ15LgBg1csR6xbZHVEIt94hU9\n0JwX04BakFtJoUc4JWoyZek+EGNU1mJ1SwQH3NnKkUNHj2Q7ASizjzwEiiSi\najdXPmP+h8SjfJZQ5GI5GG4dWQuMjX5PvYmxYCGPnu5N0/mvpQGqlmj5eN6E\nS0GU6Gfg4IpuYhoo2h/re4WqpN9BfETqa0s6sQ8e+v04EINd3fUSdO5k5fuw\nW7Qo7hBiidRXV6JP+82Q8XJfAEAXF3kyPaUYXMlFEOa3u6M0CxP+fglx/Qcd\nwgyI5O3P8aGbVX3M9cItc0eL6oUSLRJU+bDyIrReiAlbjUgjVMMjT3PReb8o\nUfSZp0oOgLuJar+377TkDK8LSj55OqTMIJVXIVHYHc1EPO5LU6v4B5+Mlw2O\nqhQpyKHynJ5LMhv2Ejt9gyWkN61NMfxt6ps33VsUKRtj4ep3XEJtlQ7abGFM\nRRrnxvcqLops6PqN4HnHcJ9ZSSzcektl7O1RYrW9z80Mb0thGcXyQqng0bGv\ny+A7\r\n=uOEq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBsEJ1+qivkjkOEZFg6gjVZczXRT0SpoIJJa7ESqlawHAiBhKM/lBIOtY554S08YGIEfpXKFmLvqOk+NxsAEv5R7Jw=="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.5.4-alpha-input-phone-5347.1.32_1571169151052_0.8517985704182112"},"_hasShrinkwrap":false},"3.5.4-alpha-input-phone-5351.1.35":{"name":"@crave/farmblocks-search-field","version":"3.5.4-alpha-input-phone-5351.1.35","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.10-alpha-input-phone-5351.1.35+f7c57fcf","@crave/farmblocks-hoc-validation-messages":"^2.3.5","@crave/farmblocks-input-select":"^3.7.2-alpha-input-phone-5351.1.35+f7c57fcf","@crave/farmblocks-input-text":"^3.6.23-alpha-input-phone-5351.1.35+f7c57fcf","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"f7c57fcf83ac3c855943ca8a59fd7110efd7b4ea","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.4-alpha-input-phone-5351.1.35","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-ZMmPybdlqRPw/PtVrQzD8S6Ux1wizh86o9PYvgkT40M0hgvVM/fpyKzxUDLOOUGeKGF30074t1hoYsGuzB5YfQ==","shasum":"c14b62bcd7ab3b81d75df71e5015ce7546890f38","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.4-alpha-input-phone-5351.1.35.tgz","fileCount":11,"unpackedSize":72456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpwKwCRA9TVsSAnZWagAAWBIP/3SyWlpmWlZNmUsqyzjV\n2N9+lHuAaEv+LsWENOahCQZvogFvDbreQzaiDqt3c2h7YQVXqdYUNXTUfp3O\nyavCAzS9llEr0ph5XVQnV3BZaeEVn/vzsvBItFGFrSz/+BwCg856bM7umFhg\n6RoiS962v3odmhUwohuaMRgES7RxfQdHcJixH+SXk9wXjJG0tax+1IMswjv0\nfUQ66WpyLTJOwrIKPVHEmoaGMubIrPkkxMU6bdl1sa2zDL+uvyOXkQbL/hIJ\n3wpbJqZXs//YQne3/IVJt+lkFl33Muz/Pg7z88dzLRA1flNv0LsFObVF27j4\nn1ZCz2J2fskKqtDMM/G1ijz5unQ+dcQVPn1gX2INoQ088AW09X6SfYdeg4SD\ng1L+++6G1Zvh9eNZQlOJ+2VZBxEMZtGERSZnRIRxSjI09K8KjNKm55wnL2Fr\nWkTKBo/1YC1YIFl2CFphbVP3UYIBQrQVvn6mRqjq/S3plBKFRLPCb8sPXP2Q\nRbkc+JsR0bWNj8Plou/bQgz25ZL5owx7s3InFJ7tkcgOBChW/S6rJ0I3xAmX\nm7p3k9Rg8rPjl9bklPbfTUN7kexe0oa9LPxAjq2GBJQnnTAaMZhkW1R5sdIg\nlCk5+RP3sVDJw1NZkLbaedfQhZ9ULdrY25dR9j6yISQ1uAmSLkkaIiWOwiRE\nPEsb\r\n=BfSu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDXrE0hr0Jwd42WAYc4y4WD8TP2ONreAiDZQW9E0S2iRAIgUN0Dzcp0F4U9I6ocLKzlbZxIZAnddvrWWVfMcRMHkvo="}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.5.4-alpha-input-phone-5351.1.35_1571226287353_0.6056115971645435"},"_hasShrinkwrap":false},"3.5.4-alpha-fix-image-proptype-5356.1.12":{"name":"@crave/farmblocks-search-field","version":"3.5.4-alpha-fix-image-proptype-5356.1.12","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.10-alpha-fix-image-proptype-5356.1.12+95b873bd","@crave/farmblocks-hoc-validation-messages":"^2.3.6-alpha-fix-image-proptype-5356.1.12+95b873bd","@crave/farmblocks-input-select":"^3.7.2-alpha-fix-image-proptype-5356.1.12+95b873bd","@crave/farmblocks-input-text":"^3.6.23-alpha-fix-image-proptype-5356.1.12+95b873bd","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"95b873bd9f223fbc473075ea0945416fbfd3577a","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.4-alpha-fix-image-proptype-5356.1.12","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-0HJ0Ku5KYQUHbgjbEp2Ul5hgVwpXAUanDLpyybNlNGx1tcR9Q209z4tH9jQlYvp6vNEC+Yxi1kRNxtwhHQBexA==","shasum":"472ea2c9c863642f9517fbd926340c6150dfe356","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.4-alpha-fix-image-proptype-5356.1.12.tgz","fileCount":11,"unpackedSize":72528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdpw+CCRA9TVsSAnZWagAArS4P/1SgsNR1orD1S1x8Cjje\n3bHA9I3nYzjxLhDdCWXgY9ebQrC9AWkCx02Z493qBWphJQLFb/nrP+NGWYDQ\nePeTY8qS0ezjsueYdO9O/Vq/iu5UXERuua91v1NxN4TJRE9ih8bLZ3sPrlyE\nOILNtB7r8A0XIWAWQfkWZ2fGlRWVT52ngpcvginI7TuY7MXunkX71gzIeZL8\nORrVM4upt4+JMemZYTsZVkI1LEd8fk0i0BggKKp4ta6wDdnc1oI3Aa3U7vsr\nYsdLhsURjEYgr/hcTkEbDmUf15PAgqB1LUSjIIQPJC/3qmks6uWGYRgUazzI\nUov+2WxwbHGqdxD1c23EaQ1fbt+2IOEbfHITtSuS/uxiqiFLwoTo4Ei9juC+\nYXTB9t7zGld1P6VC2tbSdAY83yE+aBOZTjfOIuHhMbYBhrqnZVxDV0L+nDCX\n0ISBo+iTS1lDTzqy7UPwtongL3gm4LZYO+kOjouxOiijVTb9nb3AahQsYq9A\nzxfFDnzPksE7P2hyM2g3PFdozn5F2umjnOSvLaEDqyo5aj/CvhQCP00srZLL\nl35VEerS3oN0F3EreP5r4WKpjlFwe32unYn8W4uIOz3adI42+0w+UyFZ01TT\n/yQAA/lp8VeBPWLjR40Sx6joTMJCPFvQEQKpTGOyCKciqh7hxAEaPOYB97Uo\ntRUO\r\n=0Ore\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDy8WkBBoYDYqyTuYTddZdmmhUkDB0phZFGiAylMzHHBAIhAJzb7KpNqV3reOEEnyVymUYqQEMlosymoJ7Fu7moNcO2"}]},"maintainers":[{"email":"alcf.2099@gmail.com","name":"alcferreira"},{"email":"fabricio@fabricio.org","name":"fczuardi"},{"email":"felipegameiro@gmail.com","name":"felipegameiro"},{"email":"will@sourcewhatsgood.com","name":"imwra"},{"email":"seocam@seocam.com","name":"seocam"},{"email":"hello@vnakamura.com","name":"vnakamura"}],"_npmUser":{"name":"alcferreira","email":"alcf.2099@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/farmblocks-search-field_3.5.4-alpha-fix-image-proptype-5356.1.12_1571229569933_0.9150828014565242"},"_hasShrinkwrap":false},"3.5.4-alpha-input-phone-5384.1.46":{"name":"@crave/farmblocks-search-field","version":"3.5.4-alpha-input-phone-5384.1.46","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.10-alpha-input-phone-5384.1.46+51f87e94","@crave/farmblocks-hoc-validation-messages":"^2.3.5","@crave/farmblocks-input-select":"^3.7.2-alpha-input-phone-5384.1.46+51f87e94","@crave/farmblocks-input-text":"^3.6.23-alpha-input-phone-5384.1.46+51f87e94","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"51f87e945fd4674699a0fe6f88375868654b2d18","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.4-alpha-input-phone-5384.1.46","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-qYP2LwjCmcSFutjngJK7vEC1e5EYJPOkITcXMe3vy08BDhBrFsLvI1Ry1xR2AEDwYj8GhhDM0xO+ynbPYa/UOw==","shasum":"824e1bf0314da66ceab2fe97259157c1ef51805e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.4-alpha-input-phone-5384.1.46.tgz","fileCount":11,"unpackedSize":72456,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqf4pCRA9TVsSAnZWagAAhDwP/2zguOiYuR8GucBKgxmX\npPMIwOiHKZNWLyY5wSrmM4bdLn08XxXQ54TfnXlI9/aMDuKZBVpVBalZNTcC\nu4G3sO7ujDitUNfF2aMjiXjGGnwdbQDAc6smROGakgXPRE/mwKedFwnvpyFv\nqA+iuD5VF2hbvJRwo66pPvZOd/xmUJGgWIf/WAQ+govOdZdihFbcLSY8RCy/\nsEWbLttPzbSH2hebF9ZaqCFoS8iRrDuMWImB0ipKa/NuEEXJCYrg8tJL7VhP\nr39ifORmDJmA5YAqgWy0JU+EKwpdzrgRwV208LgJQj6/MBAo9y3wYfDBvZpr\nfSMRwCNBXJEcPPLF5FJCZJBEqK7gZ+JAIAmRd3J113Go3iNvXr3i46XFRBiA\nrJHuCrlqVK7teXDSfsTeMXN3brxvRKEzjJT/xIhnTSG/e7lOfOAO8wybV6Xq\nBgW3DW1r7iDAkRhm4KUoFfaItK5TbznDhTgPMlVkIb0m9moNZmSNju5/L4sn\nxAJVlcHdLGwr3qmM55j+Zm+3vgIvyw7FMp1biYD2vatBvvgU3x+2JzDbJQ5s\nN360YPRpc6e3n4TYgEaPHjt9nVCpYz7ZAkXc5LUO3ZLv8IoC51qk7M8DyuKg\nBDghy4yfteoIjmsUB/+/1djV+TVxNCUPqdVKj7RUvvfbmsWJUuaXYFMB2l6S\nGSS0\r\n=cEor\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGcR7O/rxFsBk1Oj+ESagRoaJ8J1IBfR5DZ0UhXlijlKAiAFGcwfrdhe1y9bQUUbt/rsRKJXCiMv1Mb97xEj6EJRqg=="}]},"maintainers":[{"email":"alcf.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-search-field_3.5.4-alpha-input-phone-5384.1.46_1571421737159_0.9430361102967297"},"_hasShrinkwrap":false},"3.5.4-alpha-fix-image-proptype-5388.1.14":{"name":"@crave/farmblocks-search-field","version":"3.5.4-alpha-fix-image-proptype-5388.1.14","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.10-alpha-fix-image-proptype-5388.1.14+81ca6e65","@crave/farmblocks-hoc-validation-messages":"^2.3.6-alpha-fix-image-proptype-5388.1.14+81ca6e65","@crave/farmblocks-input-select":"^3.7.2-alpha-fix-image-proptype-5388.1.14+81ca6e65","@crave/farmblocks-input-text":"^3.6.23-alpha-fix-image-proptype-5388.1.14+81ca6e65","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"81ca6e65aaeaedb130e2a07110ea8f0f5069b43c","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.4-alpha-fix-image-proptype-5388.1.14","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-4oeKHS44040S11nWmxWe6m+cAyJtD6U7+pM9zM7ipUrgNxRnKttWk4aqzE5d0NAu/OilsWu9GREC6fFZCuRrtA==","shasum":"5237531e78ef7e68147ca6130f94fab1ef92cf3a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.4-alpha-fix-image-proptype-5388.1.14.tgz","fileCount":11,"unpackedSize":72528,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqf7VCRA9TVsSAnZWagAATsIQAIWCkb+jx8Dn9RcD9hih\nG2INOnpUHEIQSbdzvtMvqI53jFQqnbQA3iJlou+xzMgjvGnDHsDYAkdsd6za\n8QAYmGKZFl7mjRG+9zZ6H/DB8f/uiBTCMh1OJmWDrBJ8vNNAbS7RL8S1DkGr\nmTVPITDRWB9TAnjSbW+GqIIxBGDpkf1S87/xj9iS29R+qW+36kHHqYyNgAZW\nH9wV1oSgxn3iJnw9/Uchl0u+3peRM4tCY26jF7GgZ/CfXJg5zS2boBKg3TpA\ntE8ABHpe011oGourFGDZCoGKMmp1gOgYdqUc3XH+AlfWREgkLHCEppPp+V/I\n5FxJCz3i7afFwa1sBP7RK9Yu86DBoGqwhrM4jRg6c4ag4eWc76Rkei6wduJl\nVmt/Wa+abeEO76X3rfi8ODZjEPiO5Oc0Uiykh1KZN45DK/hS+FVFeW5Km6Pi\namK8UngtDWzLhO8FQjdX0TqADj0t+ZI3goqPx7wrsYFNaDt9cioaYV267L4E\nFyfaxslBITDrT+e1tPCd/3fE7lWOc2VD9eXUh9uSNroCzMlordqVsnTq3/l6\nhEe5n7GcmOrRKXGyGyt2DByNBuj2xDGk+1wGcrol3KyBUQaHsl8UlB4lC6mq\nomHoshWE4yA6EmHQXDjy4dZuFjkJXsgBi5vxgSR4zs8bW7YJDqoYZJMsySmT\nO7Tr\r\n=6g1n\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHEZyHCK0gKtrmXykPfrgZdIfI8iS+ehmsTcMc0p0PADAiEA2+rTnS2bqMYOCTZRCmvNngvsFlAUKB0asI0F/O3sTF8="}]},"maintainers":[{"email":"alcf.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-search-field_3.5.4-alpha-fix-image-proptype-5388.1.14_1571421908521_0.859102741956675"},"_hasShrinkwrap":false},"3.5.4":{"name":"@crave/farmblocks-search-field","version":"3.5.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.10","@crave/farmblocks-hoc-validation-messages":"^2.3.6","@crave/farmblocks-input-select":"^3.7.2","@crave/farmblocks-input-text":"^3.6.23","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"191bf757fa58ea9d9a420b2a510463642aab0b04","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.5.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-9EAHLAesab74Y0MILBG5lqwoULKkwKKhFlslad0Gr3mdIRHhoQmduWWsmTy9QSwoqUft6M5Tjub8sz3dRm3RiQ==","shasum":"8eb02cdda2fbe184d951b0c8d0da604956721459","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.4.tgz","fileCount":11,"unpackedSize":72534,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdqhe1CRA9TVsSAnZWagAAEKMQAIeoU1uxXNFXglmupW9x\ndGqxuexUOqehrXng1T+TwgEGwTr0c3SAvUsrnoaGSWDDYT9I1qzJGa/z7Xq5\nTMpWzED7ujaFhC41V5IOuB0zFHtKFnk+uXlFCpZK4gIqpWaOCDkprASDpJjF\nGSipLXWInST2CJG1VhEleypnLNjBflQNg0iSn1xQQZghZ8Jmy7zxEYFKgwOz\nanX0xgkfMLyAX5h/9P5vxk3V8A9209sG6zbdpGTiQ8MUe+/TWjNvr3Zo1fYp\nRlsohyrLw8eGPH+NAN9ia24iUqJQ15GfqHiNFlaaGECGMMg8wncXOYTL41Md\niSqsSlHiBix+I0634rwqRZIrVwqnmI0+oR5HJTRXfoi/NioAdp8yunqGcU+A\nFuFZw9Vr1Rq7PMCMgWc9ppjKaCF4iOlfiGrt2kGfxH7MEI19rjiELR0d0q/M\n1ubuq/ISBMnm2RWuI8/HbvMVLFE3LwDlLD3iLUDFMHD235Hgwrk3ePNyrEGu\nuk8jXuDnCSsoow0lG9BSgwRQjDmVZCO46RncIXSgqXSiBFKqnLlPZ9RVLmDE\n9VyOK+gEq58JGRZ+vnuWUVEBOnHXv8kGgDPQlDqfVQvCCkbSubF620bOdRmO\nh1dE4fyEaCt5XLet0TamMcbGZGKxXDQn80AWPnRduv3HW+q8ZN8NCHjeJUHL\nBbdH\r\n=nqNo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICv/kjPzOf1QWp1xUnWUTBJc7cEQXyHaOWaB8lKgr9sjAiEAk5FMlCsabrPdmeAxtA9Z/mvhLz1pacZAtXkUENOgFSU="}]},"maintainers":[{"email":"alcf.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-search-field_3.5.4_1571428277215_0.9308863896738113"},"_hasShrinkwrap":false},"3.5.5-alpha-input-phone-5418.1.33":{"name":"@crave/farmblocks-search-field","version":"3.5.5-alpha-input-phone-5418.1.33","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.0.11-alpha-input-phone-5418.1.33+766fbaaa","@crave/farmblocks-hoc-validation-messages":"^2.3.6","@crave/farmblocks-input-select":"^3.7.3-alpha-input-phone-5418.1.33+766fbaaa","@crave/farmblocks-input-text":"^3.6.24-alpha-input-phone-5418.1.33+766fbaaa","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"766fbaaa552f50a2dcaa78cc7f3889a544e40ed1","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.5-alpha-input-phone-5418.1.33","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-/Hr4wYDdLoYY4+ie0IDt8EmZjOeYfBS1yq7qUADmnX7nEKToArls4HiByNDuxn0g6eDQ+jdNO/7ioNc4uIEJBg==","shasum":"f57f8ace5999700781af421ea091ea591c79c60d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.5-alpha-input-phone-5418.1.33.tgz","fileCount":11,"unpackedSize":72682,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsIArCRA9TVsSAnZWagAAp54P/3dSo/wHh5Hw9XQMcXrj\nWt2cW+zJnyCXW6/57Ci06BnatmMkbIaRsnzqrvMnIPg4zCPPkXrNZcyi8L7F\nqpetAfnk6XEEXcG+fb2zev5C9ar+eo9jVFOyv2zWJo0b5f2Lgmmoo3b6ADbU\naNvAZc8wPPJLHwW0JbE6tsN13wxfUoiy9FEh+CNcP26MOR/VR259ZacxqDtr\nqp0b7AjIZDu00YS7TbIYEZrVdkpFlAnFKjOmZonaRF6lsueJTKQXxnmcjTuR\nDyvR+0LyRFIAjojOYFSzy7j+W96SB6DhvrBZ2qPKUUt+/XnT2PXG+6rlf/Dq\n9vVQKjEISVEg2cETGck6FAchQ9ZR4ZGNwvjy1NzgwNzMLgxXEcd1fu8dYK2D\ngucypaaELtT9vAOH298HCMFr7TFHIsRHRopRFAqIzHp37Ej5YOIMc1H8ePyz\nC1c/k01RKOG3ne7qYUqTiVuKf6K9e2oM4vmlcyys6TyAp9RNJnOZb8edmSfN\npqGbRwpYpAgLWppg27M7yCvCBB53TQ20lsBTceD+SaD38RnLdjXq/p41hd1A\nctidC3rnKPvEppR4Fy1fQqKr6WZzl3DYLcZqVVOCEs49z/493H7vtLzTgYPc\n+AmUW0Ka6MjtshkadtIGUPS746Mme/8RE2Hw6B1CrZJGlXFsVEyZf/SWjgeV\n9O+v\r\n=N8zL\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDznSrgL9VBbDT5LcPsFlFx0x1PNMpvwcaWMWwl+Z/lCwIhAKKnA1XHcWJUeWmArEBsJ/fa5AFTcch+GeqE1ZuhdPRD"}]},"maintainers":[{"email":"alcf.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-search-field_3.5.5-alpha-input-phone-5418.1.33_1571848234843_0.5501033316666235"},"_hasShrinkwrap":false},"3.5.5":{"name":"@crave/farmblocks-search-field","version":"3.5.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.1.0","@crave/farmblocks-hoc-validation-messages":"^2.3.6","@crave/farmblocks-input-select":"^3.8.0","@crave/farmblocks-input-text":"^3.6.24","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"a2f5a20affe9ce4a0170ed09277f9ae69781506e","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.5.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-HdtrKHpD04idd/foA60IAlKCfIZrEe2ULpU046Dzp/AFLd+ohnGNm2nggCgrQ69jrgXQ9n6qAsxi2442xuQZTA==","shasum":"944a6d6e07718f67934de051f20e223d4f1fd58d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.5.tgz","fileCount":11,"unpackedSize":72759,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdsIPGCRA9TVsSAnZWagAAAuYQAKE+IKEkp1GUUnj2vtR6\nsRbT05DUzNBhLAJeahatjhg6K9pfB/1xclqNMYBx7Udc0LZASpsKZpS2Laqm\nUbNLL3S6XSaNl5LvZ6zFPoOZlPoc7XK1yny7G3ktliVUKujfk1mGMOJan1SM\nU5jRysMHQ6PJiZLVcgb+MLNUYhBUpR67UC9lFVnMoCtCylsf/E2Iv4MURSR8\ndvM9Zh7nxSoanF3boPCILSdsMPjh4dZBT/56O3ymm0m6U+K8bD+aw4/R8lsU\ncLEg12s5nVrVJF02dxlTfE317x8FehiGfCQXR0P6BgWdxQybPq1F/RYQ7SUL\nYqYKXsx9Sz88PjfXb4azejK1CMcKncSIlsos8hB3KO3g8uU1fPzBsFUMvnrj\nh0RsIS0OdZGRpEOJw4mulyvT4vMz/DQnsBJ+EoM34VZA33iSeBXcdop8slRO\n7aLgs16UOJxlM8UQSJWM9pmRwPhh+ahMXWl3EPxkstV5xg41TbCllXfQsWa7\n56Ue2jh7TTxtWuVfyJhP/cm6lg9aNBZVf2QvrlbPYtQxPT+eRyjEtfVeMFB/\nsGrHjmPr/3vXmwvXeAIjcG/pmJ0HwNldFQZz7+mqZH1ICwLNadfQPjPaAkrE\nSmyiNAB8nn9Pk4CDoLhdUOP/qS+9qz+zyzPghn7BiwleDe10+9Kzl83o+Y7B\n3fFH\r\n=60sK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGWjNWAkDBo3vLxS6R3Bx0qkDxEaAy0NL/jPLx3vUWsLAiEAgnJi8zdYMIBD5Jbs8cnWQfsF0qv4C0nDRcShr6p+jGM="}]},"maintainers":[{"email":"alcf.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-search-field_3.5.5_1571849157779_0.06890015832917507"},"_hasShrinkwrap":false},"3.5.6-alpha-side-nav-js-5441.1.47":{"name":"@crave/farmblocks-search-field","version":"3.5.6-alpha-side-nav-js-5441.1.47","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.7-alpha-side-nav-js-5441.1.50+4fc1e7b1","@crave/farmblocks-hoc-input":"^6.1.1-alpha-side-nav-js-5441.1.47+4fc1e7b1","@crave/farmblocks-hoc-validation-messages":"^2.3.7-alpha-side-nav-js-5441.1.50+4fc1e7b1","@crave/farmblocks-input-select":"^3.8.1-alpha-side-nav-js-5441.1.47+4fc1e7b1","@crave/farmblocks-input-text":"^3.6.25-alpha-side-nav-js-5441.1.47+4fc1e7b1","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.6-alpha-side-nav-js-5441.1.47","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-LycyewD8XnoX/M/XX0Wtxs5aGzeJmQ4oIkvKzPlr0oFvpwTijXk6Xf5OQ6IS+0Y98JnZe+/7umEh8/4bsFlyfw==","shasum":"e6121f8c2093e69553612f2de2bcf3aa03f40ff3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.6-alpha-side-nav-js-5441.1.47.tgz","fileCount":11,"unpackedSize":72901,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdty5kCRA9TVsSAnZWagAADGYP/AhUUFzYacG768RPrlND\n0TNSAPxhiQC47SZvGV0D79gIdAVkzhE55xFQTnz/jCeubVYef5pSGLPm6XDt\nerI0d9r/e01A6+El5/qrb0Y7MnqZBC5HhNER8YucctNA0D14m6kK1DYnpZP5\n8B5EK83ikfPhV4W9+Kpjyq33uiNIhRBScRctehd75x8q5SrxZMj7Kat2wUI+\nD9dlUtKm7aKbMSc+SzP4C8yParks7jyBQ9X7NX4XCu1WT6SDBfakl4z7D9A+\nPcHQsDXFzFW+JUnvK5UwCMv6A3l/KbUQHUpqLU27t8nnhHiJNYDXqvAHMXIc\nHCkxYChUoFaC5DUdS1UM3L/STMXROJI7ijyMgZgFiVzBVOk9iRykW8yrmma/\nLzoxlkLQDRVHIT3FuEffsbKSfSzN1/raq/HK39QhlsrVW9oBIr/mxrFmfJFG\nXHuNzXd/sTcvSjAAQRf86PMWZ5BxRffoWdRyk1hwKBAqeznyVXdJoIxQuydT\n09TxrSF4g0VeqXRuLNuMmc/hesJChcqxAwhRK5br+Uz9egaf8NimMVBs1fjx\ncWy0nhxJUR9Tx/DuVoNjMo5/AoRD9bNQujAT4LcTD6fmtBIgfi5KeDk/9mLD\n8LNsqmQMqjWWKZammZglTA95TvH4WSXq7I6srnsOj8z1n1k/Uf6/N4nWNAv6\nDCT0\r\n=ZGB/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHE7UXSbbtlEo8ZYYQHZKlzPRY53amjGMh9hstd2DhQaAiEA55K9UM/ZiKl8243pNnnGp4uPgBLwoC0akeuhUp/KSJQ="}]},"maintainers":[{"email":"alcf.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-search-field_3.5.6-alpha-side-nav-js-5441.1.47_1572286051921_0.5906184377110455"},"_hasShrinkwrap":false},"3.5.6-alpha-fix-css-input-5445.1.4":{"name":"@crave/farmblocks-search-field","version":"3.5.6-alpha-fix-css-input-5445.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.1.0","@crave/farmblocks-hoc-validation-messages":"^2.3.6","@crave/farmblocks-input-select":"^3.8.1-alpha-fix-css-input-5445.1.4+3d7b8a3f","@crave/farmblocks-input-text":"^3.6.24","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"3d7b8a3fcaaad767bcf3a8a75684aef3d7d2fa16","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.6-alpha-fix-css-input-5445.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-BLfdygwSXg7cUlbK5Cy0GjTz9ijv/tiCGf2YEvDJSqS56mnBqvxpaV6Wv6+h9zS37Ovbe7tHLMegbU5BMv4F5Q==","shasum":"2f72207b21b6b416b0e29186cc3fef16e1141ab6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.6-alpha-fix-css-input-5445.1.4.tgz","fileCount":11,"unpackedSize":72835,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdtzM/CRA9TVsSAnZWagAACx4P/3mVM8QsKog422n0F42R\n/PknAeddj9JQsnuqmodT45I8upPyY43k0+mKfeqJto+XGvEWSeYcR7XdFtyl\n090Fu6uy9hnYesq+eWaldCnO2/RbXdRWX9WW43FQ7uk3BSUHVUMvJ10Qjf7l\nO+H2K92C5wTorq9ukpt6Rn4RtogcsVKgI9avB4FWwWaHc6dZxy7DJuYjPgR8\nkXU2S7GQ2+1ut6/50WC4wy4F/5evUP5C/wJOtA4ZvFgab+KzV3itqJCpZUlm\np1bbbJwCYk1NGaj1z6VNMkz+MWDb9b+4GwQE3hUL7U1SyDhGX2UqA2EDXY9N\nR2I7rkIpSr0Ts1kG1L14cgF48DMfHhsq5KjhmfKgqC5HHRddLJJfCUb0Bse3\nDqWE+Cm9DjlZraznH1a6bH+Ujcp8iUEDj9I+uWV5eucTvMt1VtgSUD+cGp9K\ndOJoLcHMrA1/zNrm04/ATnE1YJI3A9EBIPI4lRa8+cwt6ExXZMrXh5JDWWev\nk0L0I0+4LLBaYrf0nSx7lcRZk5TdA9+0akKs42ji1aMhtP6PNMtVwKQ+3enE\nKc01elizwZZHJDCEx+6OIMWns2SLGZLg8BKPCHrxvA1t+v3JsaVzODTK161j\noafXXNQJWYl+uYdwr3itzvk4lxS4iv+UaL7hNz1AJ+f1iNdRlgB+sPHEd+NQ\nzUWx\r\n=R0if\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDWv9/SpiROcbvm4Wfcmu0d9QYikfifxvVe+CQlFsC9hwIgCQd++MZ8JNWoIsp8/w+0R0EIiSS7e9xdoGyn0jcUk/I="}]},"maintainers":[{"email":"alcf.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-search-field_3.5.6-alpha-fix-css-input-5445.1.4_1572287294740_0.3476246695652232"},"_hasShrinkwrap":false},"3.5.6":{"name":"@crave/farmblocks-search-field","version":"3.5.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.1.0","@crave/farmblocks-hoc-validation-messages":"^2.3.6","@crave/farmblocks-input-select":"^3.8.1","@crave/farmblocks-input-text":"^3.6.24","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"f68aee497d87de1a689c10331932d9f36bc3373d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.5.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-snpMBGa47TF6GQl4kmZaElqO6WnbwtnHTh2WtROAdySvL+YXu3X0LX3TAx7bJoe2C7A7Aiu/LQJCK6pVJKlBXg==","shasum":"ce9877d607786ba7018ddf7b2caab9d0be65ecb0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.6.tgz","fileCount":11,"unpackedSize":72985,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdub+/CRA9TVsSAnZWagAA39UP/1DgY5Fer6dLEGPorNHH\nPSkkKa0zu4o3t4SS7eZd+ILCC37wQUcYPLB3rBGS8pCXjJkrTYjKqEPp4e6w\n0le1TiSqG43qt/cE/bdhPeds//e5WevCsR1y8xCmct7XHSahDB0tTj4Df37v\n+QhRUwa2hTMvn+EFjxgeKBN7giWX/MZgF+3V7duXoUSUTjB2HU09rbTzyFtv\nhxzFazh6jOmEuH0AzFDcFC7eFo6yl4NNt074QDqJfvggW/p8uXjNbdhe4lIe\nnl43rTHq2EAW3/H1/hJJl2VVGVGg0qQlwa3jZUf0Z2Tw0VnArAW237XmBRUZ\nYV3Fb7LiZpLstuy7yZIsrnvz8PPcwoi8OE7PJsemVs214j+wOdjuZ3sGYqAx\ny/0RMY1kXVK9Q9hHZKrx0ZDDVRkjXLdkFYOs1le7VMy0UwNWv83nSV+aOtSq\nnlcQG2iocdbo7agCxRFJLNkMT3x5H46SiGWot8RYCugxPEjsOMKTik8MqNkK\nfy4O2YlvBlYxBc2JGtpiZ6CkK2KaJc+B+y+k9Pdw25Tns5ZLm3Tjb8zHNidH\no/w3+uYIokCpGh9gYQIHjyFcTF+nnic0MMtbV8v0oT8wuN5c2rhOkqUdvj4M\nVDTxycFugMuA7G8ZRMfLWYs7sGRfuK/wD+LQzHhp7vU8QloXEAtjlG82miWv\nieoX\r\n=cGAU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCtfxksBdPkeLj50a6JP5Ic2pi1K0EzVDUbwBmwMIpKpgIhAObVTRlKmO7ty7cyxA0d8eTRXotM7UVyYwM1SyYwNS5M"}]},"maintainers":[{"email":"alcf.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-search-field_3.5.6_1572454334996_0.2975175003251185"},"_hasShrinkwrap":false},"3.5.6-alpha-icon-5469.1.23":{"name":"@crave/farmblocks-search-field","version":"3.5.6-alpha-icon-5469.1.23","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.1.0","@crave/farmblocks-hoc-validation-messages":"^2.3.6","@crave/farmblocks-input-select":"^3.8.1-alpha-icon-5469.1.23+f79116da","@crave/farmblocks-input-text":"^3.6.24","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"f79116da1032f90986b1a27e83a3ba7570fcf6ea","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.6-alpha-icon-5469.1.23","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-66h7al2sUEloPdaAJRD7vI7jb6n6goDccUECe9u2E1G9TPjSY6g18oRH25tjmzwRtQ42YeUSiSQ0GQsX2tZRgA==","shasum":"7f3b3b1717c2aeb3c614cf26d5238f8ead75d93d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.6-alpha-icon-5469.1.23.tgz","fileCount":11,"unpackedSize":73045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJduy4qCRA9TVsSAnZWagAAN94P/RXtj43Ic3OniDM3PvXy\nMIHgx2zy2sHR7OTK6sNt+JacqtmhOWsGIGd3GaUSL0iQYX2iS8hdmDQhqqp3\nj8qfUNs6CKC7QHzzqSjf7CSlTFZvjRaGV6UgliIZ8TrVvMKKX9reMmVLGE/I\ncbe0uuFnlXqdKtj1kpW3xmrm8tSfX0QMdsRgMrna1xhP0bwRksreb9oTitok\nZqgWAFNIuU+fEc+IINFp96aRGlu85n/emIfdTFNUwyfWw4tplNit0pngd3j2\njA3TE+oHc8kTglv3o6wrDVSmgvaSQzMirrZEBrqXGkWxKUPu7p+Ig0SQS2pS\nyz1QzIsy6Ebhz0rjtaLFasbCsr4j+hf6cLmTlLsmb/zf5J9bhE+2lh2pT+/q\n2gUwP0dv1TUZGhAIgIPuadP3c5ds6fHsCiHYhDzVf3q7c/WpQ8bmvWkymu6H\npdcZNdFbkDIGCj6Rp/IogRPZso90EokJCxWRd0sQJJuNTmiKDTe9cE0z1ERT\nq52s2iETO1H+UqL/edQHSV8/nIaO/x67EUHZ5mMyApJjnDgeAGlV2olirFXr\nZmXDZPCPOi8SbEib9D1RuXuBT/zTucC4BnGkgDdPEPbBiqFXS7Lxh8iHO3Lh\nCJPE4BNNbgkrOng2FGsXeOFyOpg9lrnC1wxBOqnAVbTfrJnloxD+DS+ds2Dl\nVvHz\r\n=w4Lp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCJBdpJlxfxbh6nL+q6FxOy/DW4I2vOjTLAvBRGnYtyRAIhAJKNS8i8Nj6eOUvIgfXvFX3479Y4n3wdeVr21PkOE8Y4"}]},"maintainers":[{"email":"alcf.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-search-field_3.5.6-alpha-icon-5469.1.23_1572548138124_0.11652288949792178"},"_hasShrinkwrap":false},"3.5.7-alpha-side-nav-js-5474.1.46":{"name":"@crave/farmblocks-search-field","version":"3.5.7-alpha-side-nav-js-5474.1.46","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.6","@crave/farmblocks-hoc-input":"^6.1.0","@crave/farmblocks-hoc-validation-messages":"^2.3.6","@crave/farmblocks-input-select":"^3.8.2-alpha-side-nav-js-5474.1.46+41d2e251","@crave/farmblocks-input-text":"^3.6.24","@crave/farmblocks-theme":"^1.6.2","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.5","@crave/farmblocks-text":"^3.4.2"},"gitHead":"41d2e251c65afa1f3d339710f1b530c929c3a3f6","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.7-alpha-side-nav-js-5474.1.46","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-x/UYKTjQYJgVvowwfxbTTpyB3zOx+BOmdpUb1wZ/z8a2hCYE26O1yGrAz4YF/45YUGL1GMFO8GBp34ytRqIIBQ==","shasum":"cd674a2652e6e5db752bfac49aa0099c0f0ce6cb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.7-alpha-side-nav-js-5474.1.46.tgz","fileCount":11,"unpackedSize":72979,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdu0AUCRA9TVsSAnZWagAAT00P/1A7mZoY7z+kdBlVf8cL\nAZYBoYWRGLGtYGDu8uNB02+Jszg2vUU1g1BliEVnWndxSXI3yXOXsImOkexV\nbNXvNiQ8S5XwDNOwLYieD3+O09fVARDA9s/eMg5QUisI6/lw++7Uq7GTmsv8\nf3rSDbT5wSZ2FIP+YNcLgXOXxLB7/LPEV216o3n5kSp2JD5VbQr9zntAIfGI\nu4gEtTc+p37pzljq464zzjIFSraINpC36io4sTjvelJkZzgqxOQJcBw98Iof\narV+PBtis/jAh3xtWchhEXmhaRz47rFSGOZA2Dg7eCUzJR2qypzq1jtjnXlN\nuFzORWI4jJioQ4y1DXj3UEDArQ9xUMudPJwpheTiY9H3D4zpyJprhUj0E6bQ\nKwmL6+vkM3gsNoxvBdBvXp5kPNfr5NLLHf8JkOISW9bPFo3vEoikPLRrRZMm\n79kzinLHE/5swvsWSsQqzJhcnGz+BXf15JIe6prQJniZFVpvG3jJIzmjSieb\nZw4ZQLfV8QOA1MLqkWc5ZalpnEjF0UOtcZtYe+Y0fiKaiDIAtwMHrfu06GWl\ndUayF8jV2iv8vYD2jgF2uTwa3QBJV7ZKQwCRjCtTpUbbp80LUla8XnPo7D3g\nMWUJpBpUmI9h5vBi+kF2PHeCM00oKm6MnzzimrcDZEXIQ7oMzWwDwByuFJZV\n+uT8\r\n=tnlG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDzRxmoI/weYD4RdtEHarFhUFi3m5P82D8p5LnYFktgKQIgI0haBdSdpzH2lipBwBYwKx3HzcXM/x3pA4hweXx/v+8="}]},"maintainers":[{"email":"alcf.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-search-field_3.5.7-alpha-side-nav-js-5474.1.46_1572552723668_0.7672326146966881"},"_hasShrinkwrap":false},"3.5.7":{"name":"@crave/farmblocks-search-field","version":"3.5.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.7","@crave/farmblocks-hoc-input":"^6.1.1","@crave/farmblocks-hoc-validation-messages":"^2.3.7","@crave/farmblocks-input-select":"^3.8.2","@crave/farmblocks-input-text":"^3.6.25","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.6","@crave/farmblocks-text":"^3.4.3"},"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-search-field@3.5.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-zv7Ypo2rn+nzY6uUdn5/H6mDE94GR8jSkpM3z0ayrBm7CoSk80LZPgSZqfeeLnyZAVFeiIzUJay3lU6IbpwPHg==","shasum":"58429eda9567490df31188dcc05a35504e85641c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.7.tgz","fileCount":11,"unpackedSize":73211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdu0kzCRA9TVsSAnZWagAA2EYP/jRQqPwJfY9/Vu1dePo5\nAi96UVkyzOenqaLbtXn8Wfaw66TkzRL+5vGfb5k/TN+kfyDahBBIJ+lywZsB\ngUzR0fufmZ6WF6mc0+PFhMR0ecEYDunCpsmyRfJnGSQnCWiRWQnKK9pULOaX\nnfvGlFUA+0Z0QA80PkalJZ1du5sqmFjAcEVbW5JLLDC76F1I2gsgRfNd7QyN\n07GJiaxXsGVDaQfOgwnBMHc/By/20gH38f6vAOLyrtkmkVRyn8HaNd6/h1mD\nAiUb95LevepUt8FqiSitCdZsrFH+4CwsqrF7jtA2ndrilh/8m9ay3o0BYes3\nNoq9/ZGFdkSdmNtYdokIxVSxHBsOwVfTZUmLFr79gKOBmyhwQRsyeEnOMqY3\n7MAEimOTxr2nehhOB1Uc0cEoNKE656uDLsaofV4px8bcFtniWoqcHmAVzIWB\ncuWaDbmSUf5xNBmD/Glyh68d9tyHD/w8IUDvQraPXAss+WdB8zxiv6Y0Sg7U\nvl7i8IOSIHWRpQ01pb3+aV4VKNt+AiZyxN8huHCXGbN/7oilhYQfFKL3kXTz\npDt+Hx7vzH7xqv6n0gC7PiI5LoF5jZ0SvRe3k/fPJ5q1xiEKKAj1c9yF81wP\nE28e+3oCR0Kz3oXMv8gkrCjuG0Nvtblw7UsjxBWTzUggT/Jiu0N9SE8bXrFb\n1pFM\r\n=PgYk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDnwO0ExsNaEI10+O8LwzkjzBcx/T3QTtfS3PEcl1e3lQIgPflLVqcQeB7swfAbsPtDzO2be/Zr0rx27jqudOZouOM="}]},"maintainers":[{"email":"alcf.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-search-field_3.5.7_1572555059206_0.15708790638130954"},"_hasShrinkwrap":false},"3.5.8-alpha-mobile-tooltip-5522.1.5":{"name":"@crave/farmblocks-search-field","version":"3.5.8-alpha-mobile-tooltip-5522.1.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.7","@crave/farmblocks-hoc-input":"^6.1.2-alpha-mobile-tooltip-5522.1.5+afe1f4b3","@crave/farmblocks-hoc-validation-messages":"^2.3.7","@crave/farmblocks-input-select":"^3.8.3-alpha-mobile-tooltip-5522.1.5+afe1f4b3","@crave/farmblocks-input-text":"^3.6.26-alpha-mobile-tooltip-5522.1.5+afe1f4b3","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.6","@crave/farmblocks-text":"^3.4.3"},"gitHead":"afe1f4b34df816ef08d0f1bb285decfa30918383","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.8-alpha-mobile-tooltip-5522.1.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-2a/Grho58eHCCv73QAFvg9ZnvC7SjNASixd5CTY/alY+VQXsxHZI1PNimtTW5yBCkj8wsPFaynAZUvql8kEdog==","shasum":"a7414040606d9988284887541e14d48168e52121","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.8-alpha-mobile-tooltip-5522.1.5.tgz","fileCount":11,"unpackedSize":73367,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdys7ICRA9TVsSAnZWagAANC4P/iG/Vry0hVCkg6q/mcoB\nw1k83a4w5kHPG7ciKy2milucBtIN52XWA3tyN3LDU/gU1OdZxp9LEnBJkRfM\nAwenKUCb/hzh9/nRKsBPFIksHJYnxw1d+M+qbyOa8wFK0xRIfGpGiiL8x6/h\nSzGLj3deFkNY4kgfGojKBPXHvGArrdj9qAYBq2OxLiRLznf295A24qRMwiRB\nZifYpIlUkalMgzkEiz+cMYJwst12OhckqJMm4aXZFSSIr7xIQQsHCIydZb38\nCA4lOAD4CrVU+CPVhSAr/fhOrTCQOIuzGyOlcejuamEIzKFqgeNf5t4yQYYx\nSHZw2Po6ukyuQ8yCa/qzrCQdAv9PZ8KHj5nr1rXEXFrq9TgQ61DWj3fgOxvs\ntl6U4IHC6mJlsZm0pI83LBkVP7JvzIYH3YGWvKGUMNeRwk4h3ilw4LuPBVc4\nm7sS2FeMmXTIveaNXu/XbTctJfDsxa4yWmn6uy843VCFBD6luWNKs0tK4Q3j\nNL+b0Nw0TiX3h+9hhWFBQvQ6NhyzEECswJMjVM/P4fQgv75OoInyJrTv9uXC\nD6EnDPV5ch6aVZCPBKh9y5Dqgm3rilcUXh9F84BV0HLHEubhnJQTqYBjRNTl\nwhIqfauJRmMVtiHRq/rEP7yU76q7C/Qgkb14DYUFb8FJTzMWRoaFNcFxaQq9\noA4C\r\n=+7Jm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC7uX0PEKoBeLaYnazBh4Q3kh3ngNU6uIqwb56E3R1WoQIgURZvPjgZOGvRvr5IKWOtPy50Fgxoepn6QeUA1V670j0="}]},"maintainers":[{"email":"alcf.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-search-field_3.5.8-alpha-mobile-tooltip-5522.1.5_1573572295595_0.39976516224534153"},"_hasShrinkwrap":false},"3.5.8-alpha-use-new-icons-5530.1.24":{"name":"@crave/farmblocks-search-field","version":"3.5.8-alpha-use-new-icons-5530.1.24","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.4.8-alpha-use-new-icons-5530.1.24+5e59f4bc","@crave/farmblocks-hoc-input":"^6.1.2-alpha-use-new-icons-5530.1.24+5e59f4bc","@crave/farmblocks-hoc-validation-messages":"^2.3.7","@crave/farmblocks-input-select":"^3.8.3-alpha-use-new-icons-5530.1.24+5e59f4bc","@crave/farmblocks-input-text":"^3.6.26-alpha-use-new-icons-5530.1.24+5e59f4bc","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.7-alpha-use-new-icons-5530.1.24+5e59f4bc","@crave/farmblocks-text":"^3.4.3"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.5.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-pa6jEzHY67A6ro3jn2R6aXmujJbPDi7luPJBIjRBPFkQSXB4S5PXCh48RPQnDgNwXcyQl5CRdbsjQLsNfLf8Bg==","shasum":"2ee7a6281679739d38f376db2ccd706108ca9ce3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.5.8-alpha-use-new-icons-5530.1.24.tgz","fileCount":11,"unpackedSize":73266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdyvOTCRA9TVsSAnZWagAAII8P/RT5J24qnl57SWAxABqe\nLAyHnxOlg4E/FedMfN5NlYZIY9TnvyoBVZCpZZyTP0zmQvdt5zuQCY+juVPm\n2dBJObly+o+dgVof7Mbb4pr0WVQ9D+jJiUE0/+kIg5ILnZvGo6BgbP0jRQGP\n3irgK86Nd41dLsGJ8U4qdgaQC0VCwfHaGU6xGHQwsL5f93KpzyWQh2r/hZkf\nN90bEcYLX8QZZlsrRSP35VAGp9QoDlBH2yUGvKZYvrJbv6Umql3EBlVu6KOQ\nfccTxmbqxFTA97I3dC4/mTWkOuD5ggXW9ZkvQg1fz7gyTavrKiadzLM0KyFJ\nACc4nzE03v+luC9bzTkzgpzcFTxolC29dauZliYslO/tcNIe7wm0whoZqlr7\nB19rWb0yyUKzU5BRI2CUsgnr8E9NzNQPm3SrAueuFMMuXnY+Bfx8Op3nwC3G\nfoP5jD3kG9XldpwFP+WvmyAuZLpKlB6RJjULPb0j3qPb2adn3S/UL1PbU6ku\nhGfrrG4RqRDs2LcvIYNarciO1pbSO+u12Ts97XqSB0EXPkhED3MJswz9GLSe\nqAlm87TO/IjYHtIXgO75WPy61M4x3uBu6McsJcVpdbH5bqIlWqKpnEDOa519\nWEei/4R5qj9fRvsV7m1MpYUwCfz9EQrNE0H1/+Wj/NY1iIFYKr6QdnLB+fs1\nnzlb\r\n=S8fz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQChO9F/H2EH/6+X54Vzs5n00ALGTpa3F0QdUbAgSnAq6gIhAKEkZSgzBCCk5kje1Sn2M14br6h4g32Q1cmp3UJYniu8"}]},"maintainers":[{"email":"alcf.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-search-field_3.5.8-alpha-use-new-icons-5530.1.24_1573581715085_0.17011021975581486"},"_hasShrinkwrap":false},"3.6.0":{"name":"@crave/farmblocks-search-field","version":"3.6.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.5.0","@crave/farmblocks-hoc-input":"^6.2.0","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.9.0","@crave/farmblocks-input-text":"^3.7.0","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.6","@crave/farmblocks-text":"^3.5.0"},"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-search-field@3.6.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-VqDhL/UIoG+Oq2VBolrdL7L53DpIHfxSkpz0CR4mxufNRXrR9b34SKfQW+/IhS9ksxtBw2fVPijpTFmIhjuY3g==","shasum":"25ab11d1bef7d40e3eb0420b7013a38600945164","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.6.0.tgz","fileCount":11,"unpackedSize":73441,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzD6yCRA9TVsSAnZWagAANTwQAJELm2jIGsx2i6o1bOrS\nv4fW6Ujv8vMu1ZJ82ehVTo9d8ZFoVRJn5/mrtwnKZHNEwrQURQHuPWVm1gq+\ncATiq93/LKJerwlvRETwXhDATUCJXxTxbXTQ5po3m9ScuQG86TN9YdEvyeY+\n7Jw6/AB43v+G+FrP3AmFEyH4PTn8ZcB3JDc9/thVr3FNxVyU+7AyaykNeJEb\nRAzvswsWFQ7BtW47BB9Yp/V81CbmnC0riv17Gxtft/3pCuNTA7hxAaBCPi29\nDRhXuD5l7INTlvCVOXBXxkIEBYOMSnEGshYQeH9fyqzdg6MkJOOf4UiXw5L8\ntpEo6Zo6N5ZtuHGiBf6tnpKqwMgLvgw4RXjIcHlyvZaPADHGqH0+xF0HS5q9\nGCPaLWs5cpvDPqMpdCkX5OCbs+E8YIYUnBLk5C9TMZvBbUWS+Afkg/1CaN3l\nif9bexZL0DsMFp2MjNWsXU53IV2KJU2q9M5XdoQ0IdWo5KrTh35h6KVkoTVJ\nMFp74/n6Lo3mr7RXB0fA1scqqWuIWd9slkVSVX9RnV9o2/IdLsEQQbx3Zvy3\npWyU8qTGo1AB5thjSJZEENjXTcRkl+B16xFmesg//pyfBuE6JgvRs4TVb6US\n+TTi2alsPsqOAVfPjLvhE0fVdunRznO6G9IIXtIuukibo9Sismk2jyzqOEXo\n+5fa\r\n=WWmJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVrXTtH9hOz0a/JLkzNcxN2COTqORzO6x30L/yAfgFCQIgWrEQBTyrlTwTUhJnku7SUOEq1cuoU2dDNjZH76qm10U="}]},"maintainers":[{"email":"alcf.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-search-field_3.6.0_1573666481527_0.12171094232888735"},"_hasShrinkwrap":false},"3.6.1-alpha-mobile-tooltip-5545.1.5":{"name":"@crave/farmblocks-search-field","version":"3.6.1-alpha-mobile-tooltip-5545.1.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.5.0","@crave/farmblocks-hoc-input":"^6.2.1-alpha-mobile-tooltip-5545.1.5+52685bb7","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.9.1-alpha-mobile-tooltip-5545.1.5+52685bb7","@crave/farmblocks-input-text":"^3.7.1-alpha-mobile-tooltip-5545.1.5+52685bb7","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.6","@crave/farmblocks-text":"^3.5.0"},"gitHead":"52685bb7d9fb513747202de0f208adeb6902755b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.6.1-alpha-mobile-tooltip-5545.1.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-6aQmILi+CCTjNJUpUxPMPd8kV95IJcf7oRNRQcq2kRg5+Bahuy++dzrKWgrfZ9S8hRcSOY6IylP0nnN8cIEoow==","shasum":"2969e265257e5329e53607565f695654632e4774","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.6.1-alpha-mobile-tooltip-5545.1.5.tgz","fileCount":11,"unpackedSize":73597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzFUuCRA9TVsSAnZWagAAVhYP/inPj72k05Zrjk71RsPt\nZ4EbYOqXizbfyXdh8/6BjQxYSXQS6p1C+OIVovhPqn27HG393XamEya57C1i\nzXEVDfjpfI169zWZZpgyxcP7N1zK4JfJHsuZqDqEx/k3J4cxPrMzSc5+KCXi\nXbPYUkunevdTVxPq7k7d4fyBp4eAqx0N1p4E8JzJ1JspvhjVLJ+hEsNV9CEQ\nIa2NIfLAX6Pm3Y6hnLa1fcPsFe6FvvcJPkZd7lugVexms54vJZ+3yRSxWfNv\nHWb1e4Utde87AJpDH2A6vZhNLkxprXhz9R00tij6EUCy4KYF3y287kwT/qFg\nvcKpAsb7wk9p9fsGFqU2WhQPxyFKxDI7SmxosIrtHhTNSHUJETaXo3Lt8AaP\nVDTb9y+j+H/oaFgQVQ8n3vZZGMzcSHQGl2o2k8YDCr5w8Za0hsrAmWqpaASP\njsDI3C9L/c2su1t2LRt9XAl2XLu0vsU5S+51xpI+mtwJPyPv4b9OmKxhNdCL\nHY5e8kvzjkR7BgX3sPwKWMPfdPf+OvYzW/YLrvvrTWmQoQQm0SxK0746ZhUu\n74YbdpGe7Lcdlzdnv+TPZS71VNrc0as1/w6ZsrT1aQZKb/vDkE47C0S49SXT\nYZU9NJhwcWW5riYFyPgFOR3PsLxAz6l1VY2pBNmCC2DbbZFH4bUiwC5igFn6\n+ifR\r\n=WFiP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICWmiAZ+HfKGPMi2TaIwNJOD/ycksSK+lYaZ4eFEbmY8AiEAvHRNU0YZ+kNcYfEV33YjeKEA33CQlldHfVMNIKZifdI="}]},"maintainers":[{"email":"alcf.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-search-field_3.6.1-alpha-mobile-tooltip-5545.1.5_1573672237627_0.7736777167291375"},"_hasShrinkwrap":false},"3.6.1-alpha-mobile-tooltip-5547.1.6":{"name":"@crave/farmblocks-search-field","version":"3.6.1-alpha-mobile-tooltip-5547.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.5.0","@crave/farmblocks-hoc-input":"^6.2.1-alpha-mobile-tooltip-5547.1.6+3630e8da","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.9.1-alpha-mobile-tooltip-5547.1.6+3630e8da","@crave/farmblocks-input-text":"^3.7.1-alpha-mobile-tooltip-5547.1.6+3630e8da","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.6","@crave/farmblocks-text":"^3.5.0"},"gitHead":"3630e8da99a0fecb9b7d9930763b24c9df1014a4","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.6.1-alpha-mobile-tooltip-5547.1.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-DxmLIW415KKsjFOGsB4zsxA92++E4Xs1v+Q2Pgf1C6JLCsbBETG0Vxt7ldreHQfjFPI2UKuVI32zD1hg+c5mYA==","shasum":"bd50ba4edef1cb961769001d0f6ca0fe78dca078","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.6.1-alpha-mobile-tooltip-5547.1.6.tgz","fileCount":11,"unpackedSize":73597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzFstCRA9TVsSAnZWagAAnzkP/RNv/1ipSBHc9hkpajOL\niYCd5YFqpQsoOB43AJDlG213crHQU2Z2v1wTDmN1HK9al1+0DNsY47m/G/sd\nUjtro5d8YhUY0DWfShv1zopm7e8XtZMtZMQA42RDzs1aw/VorU4npUbgrBlz\nbx3I0dDPmDhcCrijEVD9RtKzehOmfziSb4cJhym+mXvmy/5FFneoXTwUaxIy\nlyhWUSitNZwHnkiAtpRov3uO/YVRZpDbYKV3sG0YdSEbXGLCLp6fTiT0CszM\nVqXsCUCyuzQd0oWGwPdKpj3ic7/czQDhHjrQ+4Hc/FizzazrjufbODtfR0Ed\nXvs5KMm+6Up69nqkfFzPmtJ27qkt4gKRzKDsNFOcFRWwVdNRLIzQtqX0y8nf\nUQ0v+S8C5WPWWSpzzEf/tiotaPfY0zcbY+gOmDUo2wQzw3NbPPvNt23BWiri\nhQMOkcxXogVfF0dk0Na2b9SiHmlVJNuXf/SCCzYZs68cj43Gue/6VaWbO+1k\nUNPD8ZS5Tl4oQeVIXTDkqUuFu9nYYY0K1/9vVlVbgdfEnDYvOZP1iZSoTDt8\n/kszVOWsHtQ/MmvIuPx/xz5sbW3mMVyAnyhR0faIoJ636NT45Bifua5LeFXP\nQqueTtddlBVsSlEGDfPnR5LkvA8RrIWDyb7NmpIJE4WdsjMctPVHI1EaBG4J\nfz6Y\r\n=wWkS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDX8TidQUbHaOw0mGAnGQ/pjNh9J9c5bK98/SDrcLvoUQIgeL8eH3HFtDltQUfvj+67HD4dicp7nqjAsSVieWk673o="}]},"maintainers":[{"email":"alcf.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-search-field_3.6.1-alpha-mobile-tooltip-5547.1.6_1573673773257_0.7271237834409394"},"_hasShrinkwrap":false},"3.6.1-alpha-mobile-tooltip-5551.1.8":{"name":"@crave/farmblocks-search-field","version":"3.6.1-alpha-mobile-tooltip-5551.1.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.5.0","@crave/farmblocks-hoc-input":"^6.2.1-alpha-mobile-tooltip-5551.1.8+3df06109","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.9.1-alpha-mobile-tooltip-5551.1.8+3df06109","@crave/farmblocks-input-text":"^3.7.1-alpha-mobile-tooltip-5551.1.8+3df06109","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.6","@crave/farmblocks-text":"^3.5.0"},"gitHead":"3df06109334f7d43897b7cab53603ffdad0422f0","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.6.1-alpha-mobile-tooltip-5551.1.8","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-D7BmmfKYac5Qub/rye2j9OUdXEXCgnUFjY42VUzZkkc1pEayg7Ked4M4CPHKpbHfqjPYrnPVz9D6DSXqzSGDZw==","shasum":"ee2ca47b1ea00674ff89a97b40d1d6bcb4367034","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.6.1-alpha-mobile-tooltip-5551.1.8.tgz","fileCount":11,"unpackedSize":73597,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzU7XCRA9TVsSAnZWagAAZf4P/25RpViaQ7HvVERHRVC/\nP5sIoxnjc9J7tr4+ER4mIBzmit2UjoLg+uZrYziKS9g6DxwtceEkcIZuz5dw\nrRX04lcNxJl2FyJ/9GR3Xr3cW8DN+PCQO++VN60KQmeJLLb1dimX5KX0YboZ\n4X7+7mtehVDo3dl70DBRU1k65fKZxifLa8Ze0HVLcd82usHM+nUwvLVhdpLl\nF4flFzplXVVIAwrZSdzmVbO84tCVO/Wqx7MkM6McVHe561XLngD8cIME1vf9\nZDMcDJJI+JXZTT1Rh46l/cKzBOZYgODmpGrd9GypRA761JTf0fQyh7OT2GIJ\ndmq9zYHmnyuX7ikLqqo7BYkExLEF7fpzAT3iHa4onx5tJhpSczInNyAx4A0F\nBum+AQabmYHmHWtfB3B6+6xQdD04fuDTZziMOwJEnNxAxP3lU2mTqHwcr2dw\nDL26AMQ02UIon/aJ2oPUwCjaOOKo+WeYPLE9VUPRx7cxGad5oG/Fg+D+iNiv\nSr1evOP7chknpmlRCpfJnoX6f9LvVF8tzXY6WAzTozEqeEs3TSbWnJ11BAvG\nhAkWetDdloI7o0hZE6z9/WP4gjrMPHdt1A8ebQJnoAueTbhoXeyC9Xwrz7dx\ntkg2Cra+iAEBPdOtoRWlqHbLsMGT1AKJohyIFmLUta6LKAdKzB5Byp4m26CS\nEKGK\r\n=s6Ak\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBtUTHMmTG1JZBNE86G7eOLn/RpiKdKXkGBc2uWekZTYAiEAzSQ05HbWzFTzaaII4eD+AJJ4sjbc+dbwndtdSm6LxTg="}]},"maintainers":[{"email":"alcf.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-search-field_3.6.1-alpha-mobile-tooltip-5551.1.8_1573736150687_0.4007083338518391"},"_hasShrinkwrap":false},"3.6.1-alpha-use-new-icons-5553.1.26":{"name":"@crave/farmblocks-search-field","version":"3.6.1-alpha-use-new-icons-5553.1.26","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.5.1-alpha-use-new-icons-5553.1.26+03146354","@crave/farmblocks-hoc-input":"^6.2.1-alpha-use-new-icons-5553.1.26+03146354","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.9.1-alpha-use-new-icons-5553.1.26+03146354","@crave/farmblocks-input-text":"^3.7.1-alpha-use-new-icons-5553.1.26+03146354","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.7-alpha-use-new-icons-5553.1.29+03146354","@crave/farmblocks-text":"^3.5.0"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.6.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-ki2/DSBnpiU0LhZy/8gwrJri2oI87AoCbzDdUafJGjG0diChunjPIyS2XOEG3JUm8VvK/C7m+7OAHyI2y9tenQ==","shasum":"1ec52cc0372dd290ed5012ccde2167a1fe97f4bd","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.6.1-alpha-use-new-icons-5553.1.26.tgz","fileCount":11,"unpackedSize":73496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzXrVCRA9TVsSAnZWagAAGcYP/32jjLzqZKkXnc8AIPXn\nLELqD6DNHfigU1vH71eI8HLreKFiCjM9ihgZ8BnleWD0Y/ts+6j9pCvELGeo\nJZwvF2bkCqP8ORkyUsjaGNt0xRqxO9XRor7amPr+BRDTrbGsk4O276pvDGyS\n0yIzZUXHBYGnOPi3yVRM0pGOr5KfbVCxjpB53vnNxPUaQvFFfj8rI0cxdH+J\nRNkicOxrsgZzlUCK2YpcQd5t5G1ZSOehr7rJa5X/ZAPY/2Gzc4otyTKJOTi8\nnEnId7VjXoicHMIby24uHTljbcXergfTPgq9avFM9vwVcmFS6KCUfuw77TIc\nrMEjpDNTZsqejrYNvmyazZ3tZuTLopbG9u7vwVzCw1tZjdrcT+wdBbnYc26b\n+WzusuazkMHOBVC2n0kCQ5cf3BLBmoTqJi+9n3hFFr/o5tFweM+DOQeOUtdh\nYyRxohiGr2TyFL1A7PBbNBTI1PGIXRXCVe2bDgLXLgmes4wQCYHm+SM6L3Hh\nYcAMvlaNaxSLyOvGZ4fvEx+9sRDnfDbv0MbT09GCCDYV7gtZmc1LphUeQUm9\nK8bRtcYo9an30ZDgJPj1dDdpgGoqEVtdR5yQKig61ean8ut/keYT0EjLfMdW\nP68JxVAwMqysYj6VJLU5GUmb+PMr8nSATn0699rOiMeY4CBxlCyT3tb4b/DV\njEEq\r\n=RHYB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDAXliw86ViC/E24rMACmpzCmyitCVb5FcJYKGGj5L1uAiAiN+8303alwiIwmjhyB5nUtll/9VGFNePRCZIG3fEzNg=="}]},"maintainers":[{"email":"alcf.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-search-field_3.6.1-alpha-use-new-icons-5553.1.26_1573747413243_0.6131024767760722"},"_hasShrinkwrap":false},"3.6.1-alpha-mobile-tooltip-5557.1.10":{"name":"@crave/farmblocks-search-field","version":"3.6.1-alpha-mobile-tooltip-5557.1.10","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.5.0","@crave/farmblocks-hoc-input":"^6.2.1-alpha-mobile-tooltip-5557.1.10+19c4adde","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.9.1-alpha-mobile-tooltip-5557.1.10+19c4adde","@crave/farmblocks-input-text":"^3.7.1-alpha-mobile-tooltip-5557.1.10+19c4adde","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.6","@crave/farmblocks-text":"^3.5.0"},"gitHead":"19c4adde1a3741d51b539f1cd72da291276f337b","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.6.1-alpha-mobile-tooltip-5557.1.10","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Wg7fbEVFsHUildGxEnh2zBeo/NhtWwRwDVET/7ZNlO2wMaGhNmDpB5JoaEa7v/V7qAs4VDDJLgKq9v75lM9hoA==","shasum":"1fa89cd3940abd860b7b0ca3400beb1c35f2fc94","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.6.1-alpha-mobile-tooltip-5557.1.10.tgz","fileCount":11,"unpackedSize":73601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdzZp9CRA9TVsSAnZWagAAaQgQAJwLhYEIqff7On5C4AF7\niz7IXPhxOQEoTxyCmSxeYhDPP44Oo6u6yi5BARLoqGTHPHKWTs5Llt6aJLcE\neDuAev2mW6upSi7jfR5LSUQOuuxF402dFAv4Ndsd7RJCCicSX26VEPPWYyni\n7ftHC62i7n/NBSgS6Fn7SlbHR3BWJ9OQtx9PekGrrQG8VeM/1BS5H0E9OhBr\n2xkI6kYodclQG/B1PwKQbugKIGUJmskeonOAc9jixHhSMhj66xtktQ9INEpX\nHhfJUvTgwC1cdUuXIX3pZHmV+OwemI8OGQhPMhBgOZKKHA3/7UilwHj6KLen\nW6LhvDGVAq551H7GoVmKEC/kj0soRXlpt/GnhqA3kSJxMX4aN5jyLDSqWbBt\nTA8S+bGHXwqLcADiwY45IZmkWuywA+ZUgM75KrEBZ/ff9rycGOipabRLGDjF\n8HLyq7U9WZr3dGLKGk2D8X7eNbrHuhP631Eq58kuSE1QjMyfLcv5Qr6V/vgZ\nzhpqEDjkiUrrO0eNZeLjBBb3XdUq/xHl1n5sYV/SCdpmILbG7GH98IyVkLMF\nF2xW2ab3HJaDZCGQmsofmYytRKrrtNhJ43Z/OmzgeMTWfQrg2y6cf7sDewS4\ntjQFYrJXNr2p+7mmXYuG5OWf9jszMxr4j/iyDTT0oGt5X3Ar5yyOuQN6sPB4\nQi8o\r\n=sqIg\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBcb971Zvw2uCT4oEyaiJtQBU2sYGqWj3GgKWLkISUsVAiB76uFuwecV/rBusZt2zM15UiVZaAPOV1ei5syQZi7fdw=="}]},"maintainers":[{"email":"alcf.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-search-field_3.6.1-alpha-mobile-tooltip-5557.1.10_1573755516887_0.5412842729477285"},"_hasShrinkwrap":false},"3.6.1-alpha-mobile-tooltip-5561.1.12":{"name":"@crave/farmblocks-search-field","version":"3.6.1-alpha-mobile-tooltip-5561.1.12","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.5.0","@crave/farmblocks-hoc-input":"^6.2.1-alpha-mobile-tooltip-5561.1.12+b969ffd2","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.9.1-alpha-mobile-tooltip-5561.1.12+b969ffd2","@crave/farmblocks-input-text":"^3.7.1-alpha-mobile-tooltip-5561.1.12+b969ffd2","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.6","@crave/farmblocks-text":"^3.5.0"},"gitHead":"b969ffd2b56d5bad573d88ae9e2b7d7748119e37","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n### Required Font icon\n\nThis package assumes that the application using it uses a font icon that have an\nedit symbol, and that the class name to include that icon is `.wg-edit`.\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.6.1-alpha-mobile-tooltip-5561.1.12","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-NIJMAoMgi9OSKEmgzFxcchZWqx/wL4k3Y9vQ1L7RrZWnI4NQziTAV9Sl/BqeXyfmhiq8GkffE5VvNOWrulhLsg==","shasum":"c386be58aca0bf0f3463378d78307bff7c62f65e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.6.1-alpha-mobile-tooltip-5561.1.12.tgz","fileCount":11,"unpackedSize":73601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0qDFCRA9TVsSAnZWagAAy/EP/RZ5t503nA3RQvfE4fRe\nj2gPYxjETN4y9revxvupuQs6cUi35ZUaZ8cYEkoQ1xDHMe0GcqjgYoVPWj3t\nY8EdWW4HqyVDU1cR+aOWf+Jkq7JzYuv4Z98NBL9bN40/zSar1QKKwvsR64NY\nOxfvXAUmJHp6ljM4TdFy/40x5ex5RFAu4C2RxFCnuUsvwPWDrAIieCzBIL+Z\ngIy8kBHmT87fD2WUckkPbfwMAGY0t/l++Ib02+PlwaLzBg343T5urkC0N0e+\nE98zYTQs7LCzumLGdRe/AfmmhKDNStCzBZViLuYkrd+Yv+5u+QH3BqD6umeV\nxZkMLCgLd/v9ncOhjVKSRk92REWbX0T1Rk+hLtSIXVpRZ+jcD9tKiGVKgY99\nYHcGuBMY5UO0mT2gI0F3ivy3OTvyoAUyqUA2ssxbR/rqqL5dJs9yMFzHVxqo\nNqNbXN4EEjVsOCZVRfRZYJyKzB7YuWTWOvGuPRjRZs0AiJ1o8Y2BWZhE9rhl\nzK34QqHf3W1dxNYPVx78tpCD9IGpkJ9rD5c+oHNz619TiflpTfEZiOUnHx6g\nIaFj4C1vIHxlOAVHzN5Qcmb17DrovdazgLrE2nNblHHaPBvzchFwvK/scLhN\nEMO058VruOw0WoXnrjBWpQQPL6MpOi2xL1HiC1PLxrh/643NkeOKYFUoLTfz\n8P2n\r\n=zX+X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCamdRrV+w3Na6b0SyptZk3lUanPdVghfIgV7XmT9AdQQIhAPjIQ8mnPo6wqLi1x7spuh3/s3lTBZ9Qa/4PWOiKSZkc"}]},"maintainers":[{"email":"alcf.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-search-field_3.6.1-alpha-mobile-tooltip-5561.1.12_1574084805214_0.22891766126786717"},"_hasShrinkwrap":false},"3.6.1-alpha-use-new-icons-5568.1.29":{"name":"@crave/farmblocks-search-field","version":"3.6.1-alpha-use-new-icons-5568.1.29","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.5.1-alpha-use-new-icons-5568.1.29+87f08172","@crave/farmblocks-hoc-input":"^6.2.1-alpha-use-new-icons-5568.1.29+87f08172","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.9.1-alpha-use-new-icons-5568.1.29+87f08172","@crave/farmblocks-input-text":"^3.7.1-alpha-use-new-icons-5568.1.29+87f08172","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.7-alpha-use-new-icons-5568.1.32+87f08172","@crave/farmblocks-text":"^3.5.0"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.6.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-Ta5jTQrRKsNFkGJTOPP95pcNqnjwDNS5Y9WmBjbPcGVNEbFeMDrOApCIm0l3WMCIiwqz7QVt7bBGQyaRRQDNLQ==","shasum":"417b91113d1a3f77e39dc1ae966412a518d72167","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.6.1-alpha-use-new-icons-5568.1.29.tgz","fileCount":11,"unpackedSize":73496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd0wcRCRA9TVsSAnZWagAAr98P/iasEhFS6P+VQSP+wYdS\neVNuqGckhY6YmC4OWdsN01Q105T9UVGLuYYB94Hg25gjYpdqKObwCtSwtVzH\npWd2iYgMDEzg/mEzS09F9rWkBG+Nhr4gzN2agLjVIqk0imaQhK5HOJVSAjZS\nMQ/LU19HNVbqGTd834Xd2WTmBbm1Fg96/Yfwa9D27wTE71DAGL8pxx355qg9\nKlASbJiB7jaGSykBsfvODFxE8U9Q1dIKwZo+YEwYdEGef+qjggsp2uaIJsxS\n/uG93lBLxwsZp66lsJBFKEn3ixKqKyjGD/Vs3r3GGdd9VVQ6kEiQ8p2jnPyL\nOnrR86tEPhwgYL0SlscmcCxGcW4M3fGxwhttTnktxcwNXvHTJxMEns6M43Zo\n9Tbh7N9xjgEkjoNY1yb6m5Y4eEkaKD8epADyZZAnJ8ac2VHiQaxbYaSyE1xx\natmvhlj5xMM+WbBvm4aZCpyXjpeXPDix60dlf9+/caRI1p6bpfBZixuObHJg\nVmRRHaHul+O5mJbEO747R1eqSxsu47HYadJHST7FdvDObVsMjyFwDK94nylm\nISx2evgIiAvSOil2vVRnEl9e/mIlzZNh//I1LuGoyaVqA6vwILZ8xIzxI0fF\nJJKIT09+SLEfcfQpZv6NGe/Kjdx7rRCAhRYae4GYUzzKHn99+Q0BjH8aI+vA\nsKL1\r\n=5E3V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDK5QxFKYnBLzHUne7f3pVObWm+dgAV7Z9b+uo56/5nKAiEAjoXRYUGbyngof+2iOb00hiAO0LzboBmWYemY+Nhsowo="}]},"maintainers":[{"email":"alcf.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-search-field_3.6.1-alpha-use-new-icons-5568.1.29_1574110992319_0.0010387063009074105"},"_hasShrinkwrap":false},"3.6.1-alpha-use-new-icons-5574.1.34":{"name":"@crave/farmblocks-search-field","version":"3.6.1-alpha-use-new-icons-5574.1.34","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.5.1-alpha-use-new-icons-5574.1.34+786ed1af","@crave/farmblocks-hoc-input":"^6.2.1-alpha-use-new-icons-5574.1.34+786ed1af","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.9.1-alpha-use-new-icons-5574.1.34+786ed1af","@crave/farmblocks-input-text":"^3.7.1-alpha-use-new-icons-5574.1.34+786ed1af","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.7-alpha-use-new-icons-5574.1.37+786ed1af","@crave/farmblocks-text":"^3.5.0"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.6.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-Rp1556j474zyZFbyToKZj2LTFUgtkKkGL2dgcLDrN7BbGFWrQjvPNNgOs63YEuI5imhf+dF3Er6X/lAWGtDw/A==","shasum":"fb335d87aef83a537a2739fa4f78baae222c4143","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.6.1-alpha-use-new-icons-5574.1.34.tgz","fileCount":11,"unpackedSize":73496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1Cb2CRA9TVsSAnZWagAAAyAP/RdPFJCVAE6KHRGe5qos\nFpoE9B0yXrkuTGRsQHvTKrvube3BkwlHMwnbgkrTQM5Ekf/10SzKwrQq7DRe\nPajzRLstmDRqV3L0JvmoS4QjqhnZSKj2KA4OdOYtoPhIHVR1NgfpyO16SRZA\nOGRQNCBwGWIReXiFFguZJIJGBM6AlEJ4KQPgk1zttIiDCdq+RCiejnoIKhd5\ntMgOSwMWwKJIcIqkD89Lhe9rQ+7QsyR0slb7m1gKuK9oWnftzVTq9BnZVYuW\ngFe27rShuvgokh80eHk7oQV/FA58MgOD5508T3np48WxV5R2EtyaDXvyu52q\nP0rmHuRgXRzQSdnqOgEiM4QPOEznq1ngJSaW6rFpREPLUW2UyYrRuXqr4FJG\nwnm9uGrrWqEK773AcEjmifyBbOW/qTq+m1aKRH/aX/b7YTG6Ys82d5/9ZRq+\nqLuFtFxHmi/+vqp/7dFmtGv6AGOLhAW0rFWm4h6bevj788SPkgabSQHXWhqy\nCJzhYlvftgXZKmDAWAjstzoDYwLA52XVv9HY6+DBBMfDobBv7shaeq6YseXS\nPfaWn6tFgRH92xspnfX7df4h/khadPc2B5TZdlzrzYeIqnP1q51SGyakMbgG\nZVWZgm+pA50Wi1WDLeduBmGR3JfOJwGk1EOWm9N0ynyOmHfvFCK4ZXfmiP5o\nEVXx\r\n=z3et\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC7UJ97GaUj5iupZD7LylE0Za2IiK451kUtwfqmFoY3eAIhANdlorChrxFI2S5AEbTM0l7Y6mRysEW8uw/V764bl3rJ"}]},"maintainers":[{"email":"alcf.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-search-field_3.6.1-alpha-use-new-icons-5574.1.34_1574184693848_0.4350675990647279"},"_hasShrinkwrap":false},"3.6.1-alpha-use-new-icons-5576.1.28":{"name":"@crave/farmblocks-search-field","version":"3.6.1-alpha-use-new-icons-5576.1.28","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^1.5.1-alpha-use-new-icons-5576.1.28+44673423","@crave/farmblocks-hoc-input":"^6.2.1-alpha-use-new-icons-5576.1.28+44673423","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.9.1-alpha-use-new-icons-5576.1.28+44673423","@crave/farmblocks-input-text":"^3.7.1-alpha-use-new-icons-5576.1.28+44673423","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^4.2.7-alpha-use-new-icons-5576.1.31+44673423","@crave/farmblocks-text":"^3.5.0"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.6.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-0bpCDBHKnzDJIU0+CnYYvkC9V9IC6jw6CKWzX4H/kLpARtSAR0+wBJ+KBMKLLdop5ZKxzX0tf73TL6ScbpaT/A==","shasum":"645a734ee365ad5adbd201d9d73009bbe45e5469","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.6.1-alpha-use-new-icons-5576.1.28.tgz","fileCount":11,"unpackedSize":73496,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1Cr8CRA9TVsSAnZWagAA0LIP/iH6OqSVmcfGsg+MvNDW\ngLdWxKoAOv2Nbw3u7irQK2ssu+GEb6CIeDhfvUZIrZOI7CDqchwfwoH68XK1\n3eg71QUJVl9FDIOJJT7XHp6QHrfHeE87DIBfKEYFwZhyprzkNxkcXwfiCNhn\nMNiNRwBWCnHS2Wa8hiyLFa5IMvlP5h/My3fAmFmnXksay6DV8NAeAj+boQeF\nEU1KayG21uzYT81AE4LC9alrSE0JavOZTZIgtNLG/S3rYXXNQByejIWBlnxa\na62uLqBG4aPWf9ZVxNFcFdb8F/uloj1xAK9eK7uPznJIOdnIDm2wisKKoyIZ\n3M2ET+6cBvmlx9l2HA+2ToOngLOEJjpzRxSgeSExDb90+k8JrY16x35FIrB+\nja4A57kCbhVvFVXjE1HZMfBu8lj2+fejh8rl+W1Mt+W+p0DmkY0w45+z5rmC\ndllYupche4g+x4gbNzliIZJJEIkyw0NK8BS//iFEKuZHzfjWnsGSuUgLaPH6\nQd5FoHJAXEEx4AUkoBNJ9WTyGtzlAeAqGRV7Wa3snpz3neDCoMAHHYk1YzrD\nNa3oBDbL4dlVwGC7B4nAogD8ItTc67VetQEvZ8DBNYWsmDTTTmmWg1m3YoRa\nGiJpOXE3GQbnEKu4o5K2uBU+onFj11UhHk+PvR34yVow4mOelKo4ZyOIXqAj\nSzyN\r\n=weAE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGVAwpu/k6k5d0HCXCr0DeVqPM/wUYEenj9XfmGaIrx0AiBFYXCZqYa+EOQxw/vT6bDhxJivNh1KMJazF8fKLsf+Qg=="}]},"maintainers":[{"email":"alcf.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-search-field_3.6.1-alpha-use-new-icons-5576.1.28_1574185723827_0.5485762222405315"},"_hasShrinkwrap":false},"3.7.0":{"name":"@crave/farmblocks-search-field","version":"3.7.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.0","@crave/farmblocks-hoc-input":"^7.0.0","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.10.0","@crave/farmblocks-input-text":"^3.8.0","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.0","@crave/farmblocks-text":"^3.5.0"},"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-search-field@3.7.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-TrTPDU1Zh+v0j91okUUlmWFrzH0EHNY/aJijQviaSwXAw93h76Jwq3spb+uz7a3BLb3w3D75oWPfxsZP6yqWuQ==","shasum":"fd731975e3f2496b3459479f1deadc5c945a7ac1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.0.tgz","fileCount":11,"unpackedSize":73567,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1C5xCRA9TVsSAnZWagAAjEoP/1hy7LuZ9MZ+56XhDpqY\nIHNS5mljwb/39eATG+zywSBTdovh+f33bGj+oGXH22hqQjtmI89+tmmsdgwN\n/+90N1ZwDejD5lxKB/cTEWh2quPYbYCJhx4cXhXKFm75DD0SV4uRoxzo5SAR\nJSg9URQNCbqz9i4GhXuI74y3DS0dU3+XDkq3OeY/q8dlWN8s+1YRIRcb4PMR\nndLM0CNhk2xHKc+PK3Qre5WSqV1Y8vbkejiqL9eILNqLOeL4nW8OxQRjEkST\nmuLH6Lig8jvnAmDlRm5syP+5zPgu4n44XZ2KpDCFqR9xgQiDMzKobMhB4d4D\nKPgV4iKz2W/Y+Y+FCM3Opu1v/kHkbTTFi0ZKlnGchezMSMEroI3eaj4urIfW\nmUf1nfGI4+M5Y0qj7Tu4EbHc6gBdW9QZOrn3d0w2BOF7A7YZxfDUoHUoT4EO\nkelIyQkElgEM9O6f6vsdR2iWmkjmuTAfipsL2S/qvFpq3Sm5eC+n9YcEEm+m\noJZFLP1G/Uac83FbjsHxr0UPKJeu4BKPALd/Jy9RCudWX3M3hBJDa7YEgnl1\n4folVjWxljGyN+AHG52RnNF6O+dfNMYKVWq//+Wzgf8XuXfYAuR83UcuWfMt\nBLbOmtgNt2yOihNhQ6sv8kCsmMXUyyGe+QhZVq+C/I+GRDVZXayksk8II8VX\nwlsR\r\n=JZ6j\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDQonEDUb29JWYoTCKlsU4fkJVQMmWNtUnpEGaJC5t5BgIhAPrUxmuxtPJUJUCoriDUNeJyBnAGZahLedE2PE4baG5c"}]},"maintainers":[{"email":"alcf.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-search-field_3.7.0_1574186608697_0.7532139004453124"},"_hasShrinkwrap":false},"3.7.1-alpha-mobile-tooltip-5579.1.12":{"name":"@crave/farmblocks-search-field","version":"3.7.1-alpha-mobile-tooltip-5579.1.12","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.0","@crave/farmblocks-hoc-input":"^7.0.1-alpha-mobile-tooltip-5579.1.12+144ec5dc","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.10.1-alpha-mobile-tooltip-5579.1.12+144ec5dc","@crave/farmblocks-input-text":"^3.8.1-alpha-mobile-tooltip-5579.1.12+144ec5dc","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.0","@crave/farmblocks-text":"^3.5.0"},"gitHead":"144ec5dca3cfe8bf178077cc38374569e1a92b06","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.1-alpha-mobile-tooltip-5579.1.12","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-qyJrUlNH9SWH12IgrNLyBm6vNf2Fz+f1T+utJDK/w5V03Qec+/Ney841g3luH0PFjCQI+KqNylXxyaaOFfB1TQ==","shasum":"2477c60095aadc00a2ec372226325a4191c27cfb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.1-alpha-mobile-tooltip-5579.1.12.tgz","fileCount":11,"unpackedSize":73727,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd1E2ECRA9TVsSAnZWagAAlGIP/2qLaHuRfndGlCnAMnB+\ni/i1EblkhQq10RjvA9jySoFVaXCAITVk7q8lEViMGq1m+w2Uhuf/f7mjEXoN\nuDEvvd2UHJY+b9ush4SsC1FblBDmJ3dbV0BROQDjNewInt8DU5zop88wDHev\n9zq8JPEcO2p2LIQ2hlG6Vq4nZ4nlAVSpODUjbgeRcHdXtqobjWvJu7z0y5pS\nownfBFY4+zA+uNj6e7mAP8OTViI29LPfShvf/Z7MMjP/ysJCkL6RgbSDsJIN\nzqW4SX22jJAEkdthwZs4veMWyM5e1HXPTWZ74JZjRZcg8XclKSp6rQHwQej9\nbOP3NFAVtIcV7xHW009HBuSwbPpNpbFL5A7pHrnoBods2F4lBMAjNyZtmxl4\nLkg61/ZBoUbE/7cTrDjP5avmyqIRocJf8cGXYCN6aNcQjZEIH4u1EBgl2plG\nqEmx+F+NQZcOi6jgAT8eEjsOaK1KGiftUiZnQFOt5ojm9Vt0vhoP0JLcqKBw\nS9fdHKEuoyzaLC685saFndRY5Ad7U5xQBt7MrHYCpLfmazcLtCce5SgJzIvQ\niU4ENqVcVoVAn1sdQ2UTPPNcUYpOVwIgzREvaTujjGOtZGiZIC0IenhPNiMr\nrAsjeCRO/I55M2Zo1N4o855BE8+j9VryiJRnHHAX0nym0cCgX5+hqN69o74x\nxrsR\r\n=QZVE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGWj3orVf8I7cCBavotdmQ1/0jY9JhTI35YxC6L+LBglAiEAvIM1UqCK4gazJ1HRjgHAJT7MSY6rCIUNlZnEFN+NEEU="}]},"maintainers":[{"email":"alcf.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-search-field_3.7.1-alpha-mobile-tooltip-5579.1.12_1574194564270_0.28336446735373655"},"_hasShrinkwrap":false},"3.7.1-alpha-mobile-tooltip-5599.1.14":{"name":"@crave/farmblocks-search-field","version":"3.7.1-alpha-mobile-tooltip-5599.1.14","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.0","@crave/farmblocks-hoc-input":"^7.0.1-alpha-mobile-tooltip-5599.1.14+247e4101","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.10.1-alpha-mobile-tooltip-5599.1.14+247e4101","@crave/farmblocks-input-text":"^3.8.1-alpha-mobile-tooltip-5599.1.14+247e4101","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.0","@crave/farmblocks-text":"^3.5.0"},"gitHead":"247e410184c30a178598c873ebcc7f432fbbecb5","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.1-alpha-mobile-tooltip-5599.1.14","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-qgc1skNRQmgMEsFJBEVZESCUpnaEgzzJ6cPlS1vXHZRWIshyQ6jk8cIKBwuYqhegcvjPWk9K5StuDaw1mc7lwA==","shasum":"56b7b409afb0d7cdf376ffc60b31b072b8dc778a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.1-alpha-mobile-tooltip-5599.1.14.tgz","fileCount":11,"unpackedSize":73727,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3VUDCRA9TVsSAnZWagAApzoQAJ/aKh4NhR4eVOKYiVpx\nMbLls4g0deT+CZnc7KjP3xX902o6CIXn5PSCPLrWA5D9/px3moFeN9e0zy9H\nIrrL4BteZUODspGVoe3LQfKnuaAeQP8YlaGhBJRcde1aRk4vD7HJoJWWKSDI\nIwYS1tVZ58TDGlNFThsnj7yllehjtD4EUNdoEadBz6vn6LNHd82ZVPuJ4RLV\n6+gSwZO5wxE+oj/uaE+HjufoehnEcsm1bwOCHRqHMxTyjJeE+O/yXopi85S7\nI2wkMox25cQstNz543k1VqIls+mIcnzxJZsKkJkZha5oomnog+NAgcy6Ir+C\nsZUeDr8nzaGzpcPWEN9M8+xFEeQiOJRFCBEe+EEMnr7E5TLAKWZ/TxHBw/Pi\nvOxSMraeQUtENcfCTkqqZ3E4TyISZ6bPBA4NJkoU9jManHm8u/kQJmZc9Dt2\nJPsfmnx4hqTjmPSqWEQv/wm6ToAyFptHBrDdkua7HIJRTOCNpR3uVwKhQw9M\nuGkVYTHAuS95WMeuYnEDGzfhE1gYpd19rTLf1OJ1pm+WbR939JPWBVadMOwZ\npw0NSrHR81Ov87hsxfDjuFBPRrw/QfOl7JRMkkLHPBKOpZb1tTSJ8A5FEFi/\njy1eUeQKt6lj9+eFxtxtzpvDVJUB2TNA0SiS4jIPYI8pj0c2rRPnGHjeisy1\n4SJo\r\n=Sj1I\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHIunaKL5gFppaevaq3OeW6sx6fsOflkFbLkMyv2hs3iAiEA+LPwoL0/uVibogg4RAPYxXahdGfHjg6e61Cv9fBrmtE="}]},"maintainers":[{"email":"alcf.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-search-field_3.7.1-alpha-mobile-tooltip-5599.1.14_1574786306858_0.23074778637102966"},"_hasShrinkwrap":false},"3.7.1-alpha-mobile-tooltip-5602.1.9":{"name":"@crave/farmblocks-search-field","version":"3.7.1-alpha-mobile-tooltip-5602.1.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.0","@crave/farmblocks-hoc-input":"^7.0.1-alpha-mobile-tooltip-5602.1.9+8145c186","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.10.1-alpha-mobile-tooltip-5602.1.9+8145c186","@crave/farmblocks-input-text":"^3.8.1-alpha-mobile-tooltip-5602.1.9+8145c186","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.0","@crave/farmblocks-text":"^3.5.0"},"gitHead":"8145c186b4495f6873f557334de5e40786c2a251","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.1-alpha-mobile-tooltip-5602.1.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-g3dBou/gOet2YSIQsj/cGxG+WgTMFUSU6J+hmkhjVXpi+h2N9BPXLJMGF60CDUf/alIZhop1hLtZS95ZmlDfOw==","shasum":"957746313e54a4ae357ac9693e8108faa3db42eb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.1-alpha-mobile-tooltip-5602.1.9.tgz","fileCount":11,"unpackedSize":73723,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3VXxCRA9TVsSAnZWagAAKHgP/1obVk5h1GsvzGpPm7d3\nXjpUq32Hso5WJ8hSTbY0o0KLFyuTuYSZfVOtpo3jQFRBKycno/tGtuMeEiYC\noEOqVca1yBXkl36oFdEhJhfKRAATMdUVhmw7hz/Ctx/ttGFndTceaRvjpTT0\n0EvNibP/FkFvMH3ArUQxSCO6FfU50aORhMChQurt30Ql50cW8DEEdQVAW0lQ\nFY5QNC5v3NDL4ysRIY8eHrFYX+HwzAq9Oz3m1I0WrsCJtpgpbDE2hZzI5jht\nhcF63cfXBUuknOVqUUfkHmDDtpQMX1hcBo4gP3JZGmtbqIylQUpWmxMfHUE2\n7K+8wspz/jIwBd+lOdah3Ikq/JG/f+qzEqu4anBGp8tk7vpCRF7VxOzjMaOQ\nttk5KDzwJOEOtOuF6pKAIrIV+04TGqJKFP6UUqsQ7c09ZFHJkYWfKkusuItO\nZ929z/hhoU+fFASxBH7adNKr+LTPl2e5w3w6dC2Lx+qj0n/Ul/XluyedkO2O\nFCtGQ44ijcVHZWaxkjReqXxL7H1Yv4blg76OEC7IZIJXIvYiOtUu9Xb13IDK\nQoFHomp8Ad4T+ffMCXKf3Q+9c1sin4ri5ury0KxSFzhiyC1lKJeYbINWdP00\nvB4HlEqiVTFYKPH4i9J8kGEQdZbxzDF/kNf1FVXCBB5jRYF4tHARyQGsZht/\nrrfH\r\n=rsO8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID6JsvL/KCbFtu0BN2Wf3Dt+g8UxZ1kJphSPmeNOIbLnAiEA+e7fxVmZH+oao9JoN2yiEe9MGRWQDm12evfbDPxuc/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":"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-search-field_3.7.1-alpha-mobile-tooltip-5602.1.9_1574786545387_0.5453747984127608"},"_hasShrinkwrap":false},"3.7.1-alpha-responsive-modal-5603.1.10":{"name":"@crave/farmblocks-search-field","version":"3.7.1-alpha-responsive-modal-5603.1.10","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.0","@crave/farmblocks-hoc-input":"^7.0.1-alpha-responsive-modal-5603.1.10+b9a23e73","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.10.1-alpha-responsive-modal-5603.1.10+b9a23e73","@crave/farmblocks-input-text":"^3.8.1-alpha-responsive-modal-5603.1.10+b9a23e73","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.0","@crave/farmblocks-text":"^3.5.0"},"gitHead":"b9a23e73bd1aa79ffcadd8eb62a317911d61d0a8","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.1-alpha-responsive-modal-5603.1.10","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-D1rHAOw+KCgPfRY9lPpTtmfJqntdan3YPkd05MHPBwJDljVIVcQvKnu2Vm8R0+JO0/JJpVTe+DtFJWfbE2X/sw==","shasum":"6d07502812b80b050ad427982268cd52b8295777","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.1-alpha-responsive-modal-5603.1.10.tgz","fileCount":11,"unpackedSize":73735,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3XNKCRA9TVsSAnZWagAAn+kP/i7jkwzzLSNrsm8+0GY4\nfFe442Zh8wU8kvx90BbMW3VTtf8Iu4oCGOdEHVFqKiTCovrJtEgEIlSkg12y\nF33xq7a1W2CMk0NY92mwVV4trPLhtdtFOqYJOHKLcEcJLKVongfNLcT9jNeE\nxpECwYJEVG0C9pHCAPscy2wD15ihl7fSe9guyPuq3yaYv1BqIOhZPbT7JKat\nVndalpZ5HFnSbRXtn4P2xBe3Wot1JQDT/y6891eNMMOYqQnae2GkwYvvT6ej\nKNrpTzBjJV8LRvNvaPS7FMPk89AbRpyYOimEJOzsYVNgq0Nzj5IVlsP6hKwF\nU9R59uLWoDhSKQJzToXCzchwt2dhavVv6eIq35k8v9jU7eWN6/2dwol7j2Xk\nrvYdpYTm++BTN1op7Kp4uA+JnG/FY4xZdzhNZdHuIB5ylp7M85IHf4ptga3y\ny160hpDWnlzOStUftbqZ7qBB+DaG50EhnMf/Vg9ZAliYw108yD92Fw69UHF2\non7DcyxiIcRXQjKpC/jUXaevy0AaRWPOGssxP4v673rzlyAX19e+nilt8uWz\nAjOBhGBDEKdjsWoPUhvkzGE795QI+JYaUaJN3kNMGXs6xUVKRJ+jWYugdN2k\nT9X9Co0bNumGhxqNqtad2sfdgObZyqmGe2TLtxCwWVhdN4isPqd+6V+u8h3I\nhGk6\r\n=djbW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEhRvwno5k8kaDCSoG/LetM/z7kdBPK5hApCiKimFen7AiAekjLi7b/XbJ4WLlZie8ZSbqvl6tLVlYqcxSrqz5SdYg=="}]},"maintainers":[{"email":"alcf.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-search-field_3.7.1-alpha-responsive-modal-5603.1.10_1574794057986_0.05900328094998053"},"_hasShrinkwrap":false},"3.7.1-alpha-mobile-tooltip-5605.1.10":{"name":"@crave/farmblocks-search-field","version":"3.7.1-alpha-mobile-tooltip-5605.1.10","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.0","@crave/farmblocks-hoc-input":"^7.0.1-alpha-mobile-tooltip-5605.1.10+e925ccae","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.10.1-alpha-mobile-tooltip-5605.1.10+e925ccae","@crave/farmblocks-input-text":"^3.8.1-alpha-mobile-tooltip-5605.1.10+e925ccae","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.0","@crave/farmblocks-text":"^3.5.0"},"gitHead":"e925ccae14c3af3f3eb719f36da0d97d710890e6","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.1-alpha-mobile-tooltip-5605.1.10","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-6gGqCFvMqKfM86rZE6JQ+H6uhRaLp199aFeqvHUM00vL06teoAlaudWrlDwkXBW4YZuQO9gY9wJlXyfa6St8rA==","shasum":"8b7c2dfd4b6d2e4e345219f200620bf31c65e0af","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.1-alpha-mobile-tooltip-5605.1.10.tgz","fileCount":11,"unpackedSize":73727,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3XZrCRA9TVsSAnZWagAABjUP/3dWpCvr1jQTUBS1yqOE\n/J9hG/UY+S5yflmEnDfIDMeZhOmBSvqvmxjMusRAjF072tsvfgx6DSX0qKq7\njsfkgkaoKrg1w3JZRmKmSH0XqV5gkR9CJkzv2g4rU2/K3I77wTAORRb6o8KN\nZzyFs/fqgRbt++Pnk+RtYTms6vxrPOA2qmMcNno6/+X2gw6gKo9E7zjVl2ba\nWzpSJbqY5ZckgS4RTHE7H5aSzQW6O3vINepJeJDd/gqf+6pLxR4cQMIgQqmF\n3JUfraK1TlSBOu6RkGYh3cHn02FVwYeCymzyaUlW/K7BFmzWOPtQnKbYCpVV\nniJPO0EtGZ0t1EvPyv2W32hqM+un4yFRB0aDhNdteQOLF9t7S46Kj8cA/B+r\nu4E0bWT6MEJzn2HihdDy5ySOnCMhQn7sm2LVesEA7jtJRsFUlRo+HnUK4OBn\ngyfkitySaYOhJVlOIY2ELy9Rg8LaB0M5qhtvoOsCN/o6vr0SVv3qkiSkFzT0\nYvJb4i5WJ3J11uuNZokzQd+udvXv6/YzO6LPmE/QgNsJgL6+erQ/wrAwrHn2\ny4NP8qMi9LiPqSjvgQ6mqHoPsScomGVO6cn3m98109lTHPxgW8SyAXKHBZ6c\nzUq6OC5nfYjOdawTWbu6x2OwG8NzEVE8TnLr+KZ97TwV4ceBYv3R0Fq3CgeA\ndKfV\r\n=RRzP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCUaPJdRFzGYzZO+aAF6VvyW5CL2dHNspiillICIcn+4wIhAPI++CZlI8SzamDrM3sYMcmwAbUCk754ybvjHOdEgKO9"}]},"maintainers":[{"email":"alcf.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-search-field_3.7.1-alpha-mobile-tooltip-5605.1.10_1574794859361_0.13903327929750753"},"_hasShrinkwrap":false},"3.7.1":{"name":"@crave/farmblocks-search-field","version":"3.7.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.0","@crave/farmblocks-hoc-input":"^7.0.1","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.10.1","@crave/farmblocks-input-text":"^3.8.1","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.0","@crave/farmblocks-text":"^3.5.0"},"gitHead":"e70eafbdf477f897f65dc6167d3e54da59ae1fba","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.7.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-jF0c3Rq7zuVDWXVCJCM8Rj4bRx1TGTRH1Dv5IXd7WdKzdQbWCL+g7YNY7fM3OW1lBH9qYsjZOlrsKIJiKO6SmA==","shasum":"892526135fc305dc60d12f931eef55dee933bbd9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.1.tgz","fileCount":11,"unpackedSize":73793,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3Xk3CRA9TVsSAnZWagAAlL0P/A78x5nxrKCCvrN3Bhb5\nWxl33ldmqxXdx8RrmqmUw8VUKAjMLd+2y2nhRgOaOQcnyKQPNsnQVWiXOaQ6\ntXixxzEnpuvU2qeW21Kw27O1ns7AKGKmpZ3WomHtzepU/JwYkBG+8l1Gunpx\nW8Rc6cOTzxqBWjwFJ8vEPGVAIWmzGzwWVwpw7lk9BCuL/oldJwNo1ib8Lk/X\nU9UhAYG/+3KVg8Ih0YVzp8xRVcvwJBlsWD8a5DiWHKt0Nn2AZiu6kC7QuTmX\nwV5JiLiD1F6x/vtry+mSGBFRoi4TebwnFoJqQaVSGIw0IlytEptiO0gVJvof\n+6U8AU9YQimQm0iKL4M526fPRtOp2H6GJrM3tp6NKJwBwHxsngySQzBCxEqW\nZP/c9J0KHQEDbmEFxZBPW2HlkZd7+TniNZ1EyzV4C9QE/I5MVL6C4mRpHCY0\nx7b3ojYU7UMp25i4JGvUOf2e/p4t3i0o6aqyp9ACyVCU2KbqLF742IbLlvpZ\nJgbcDG6VywXuz/frXTG2N/zbKZEUNAYoS4u+8wbmK7BKz1X5vKdLALgS3bER\n7gM38aXcxp6LXootC79euZXzOG8c1ypvv48GvoXYIsz90oQjwILkVmZU7dYI\nQLwIQZpqV2M/9o5sV/FAI3cFzfHFUdES3ftGB/H9SxfsRxRgR3cYIQ3D3FKj\nxfWU\r\n=6/FI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCiqHxfbdovQzsQoXIGbo7y0FFyWZpq5/cBk6mzCCL0WwIgRAazl2DivlUlOvgGZts4aUMYoWSHanR0lkfXNuMOg+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":"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-search-field_3.7.1_1574795575310_0.8890945538434278"},"_hasShrinkwrap":false},"3.7.2-alpha-upd-depss-5608.1.6":{"name":"@crave/farmblocks-search-field","version":"3.7.2-alpha-upd-depss-5608.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.0","@crave/farmblocks-hoc-input":"^7.0.2-alpha-upd-depss-5608.1.6+a1f79f4c","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.10.2-alpha-upd-depss-5608.1.6+a1f79f4c","@crave/farmblocks-input-text":"^3.8.2-alpha-upd-depss-5608.1.6+a1f79f4c","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.0","@crave/farmblocks-text":"^3.5.0"},"gitHead":"a1f79f4cf096d582c920bdb6bb95f55abf71c1af","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.2-alpha-upd-depss-5608.1.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-MFhZPmoeNgMFk+DyIoCpXtH4x13dVQC0z8V8bE42GSamrpFapcb61b9tzwZMFwbMJYYhH4HaLEB62xvOTrZ4tA==","shasum":"adf55212b133d784e3edd5ae63c513bb39b31e16","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.2-alpha-upd-depss-5608.1.6.tgz","fileCount":11,"unpackedSize":74043,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3pV7CRA9TVsSAnZWagAAKP0P/Awijo7jlsv0ZjCOWJEn\n+bWCM+wAfQ/h1k/PQu9oHfgGbLPoSlUR/vtmD6U2T+jB5hYZbDQcKBgmnwl7\ncCYOAuaww5tzVw/qK6YDx8lnwVewWePmn6eUCLoN2QfDVfCzGv5IU/cMLm1a\njrwQjXXAA7MAQufycY5anGXh5Zjp37L4mrXOB+SY5+WOY9+VfuIt/1/yDI0a\nUyw/H8+P1WG0xcuYEK+Ud7vdCpDr59X/aqXuvJ7DX1Rz8VdVqIVe+lIJxyPG\n6qIlNDl9wHrQRnFkCsGaQnGx+N2y56VXPAz5D6kJwqsd8OHdDBZ7k0qPFrJe\nF1qN/Aehs6VkhnnVPhqLwTD5r8rU+QSBNrL0HR0nse2/voqb6PwojL2pRrQv\nMK2AaP6Ps4Ra2Nm2YriDRXhU5NJIM8pRpHIZYp3NOLr9ebZiGH0zIuo2d2T6\nZ9L7R+d0YzkMWvZXDF+ZmqHbYCDZItBltcAkKBXGabAxtxGm/+vPbQNfaJDn\n6ztAiaDZ6d9o8o9VoDaZwZAP2yN4skpSDvH4ni2hsq9AK7bWOjMhReOfFA/l\njFrOutsBJV6pseSr4bh3JgN+yXQZBnU90VHAyzx+SIcqJQ8m0F4o3R8qEmYU\n16TN9sTWNFwa8Wx1WJ1ZilfaEWNLH08Nwjn9REm9KxeJfxY/+iSYlEyO+vSX\nsxdA\r\n=SCVU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAbp4P0W4NL2uK55GatVxTTTtqCQhQBdaPNgnvDK2lTXAiBCXZyEDqLIP3mi3IY4q57GQ9/OjrJqQITk17bQDAM+GQ=="}]},"maintainers":[{"email":"alcf.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-search-field_3.7.2-alpha-upd-depss-5608.1.6_1574868346719_0.31046567579581175"},"_hasShrinkwrap":false},"3.7.2-alpha-upd-depss-5616.1.19":{"name":"@crave/farmblocks-search-field","version":"3.7.2-alpha-upd-depss-5616.1.19","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.1-alpha-upd-depss-5616.1.25+89bd7cf9","@crave/farmblocks-hoc-input":"^7.0.1","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.10.2-alpha-upd-depss-5616.1.19+89bd7cf9","@crave/farmblocks-input-text":"^3.8.2-alpha-upd-depss-5616.1.19+89bd7cf9","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.0","@crave/farmblocks-text":"^3.5.0"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.2-alpha-upd-depss-5616.1.19","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-h6Mj8GTL2MouZT8AZ4bDV4TE8NOX+iqL/xjl477Ub1pa5YqM/dCHjPqd+3Mc7r2UO5gFcIAJHA2ZYw77NCq6AA==","shasum":"6584cf0f20de0354650bdd8ad80008fa95bd27fb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.2-alpha-upd-depss-5616.1.19.tgz","fileCount":11,"unpackedSize":74048,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3r/bCRA9TVsSAnZWagAAiskQAJzSYXvScDFu9klxxmLh\nLsoClagR1uCELQekIFDQvBZ3J1utLJNBqvoNkgOaRGEN6wwt/vpsMT5tedfP\nIoHKIMwTnNxP59bPjSOtdnZs9Msq9NcqBxevxmVauWnMv6g0I0AdTyMBA2iq\ncdmDgwWHvn/mlFIXfEHIqnrzTC0YwiwcvAWyQCyQXOUdqtd7cuyrD4PcLVzC\n4nyjM0hs6yZlV0Z4YmCyuFufO7soHUvGAYEK+4NjhBEDfZkQ6snBUAYO0U+Z\ngvh8LDL5xbayfb+UToPNl8b5kIvLaz4vAINj/eOH2v0oCk7mDW2Xw3hjxqgB\n42prSJL222LP7sgyQjyhfYPggq306dJZNpaaaarmogO4ZNR78gP0WV6pJBsb\nvmfQK6tNUShggCZ71QNh3B1OPRAsnC8IFGxajstT0jLub6XpcDgKojS96MuH\nhkwivxpDQkpFZeOTArtuqI7w1TZv3GGzqGXXdVRX6QV/lT3yLL1zMslSzG7g\nwfbXzlEM5t3DR8d32yman7xgvg7XFINrhGchEE3i/NKm3aM9B+Q9Vr4Metxr\nd2Um18QlKidJ8BZHfk3vmqlS0EpAiVNRrnYy4OIScz6QHHFUaSSOod2xvHZM\nCIUISy3+Rj1Z+/KFOXxsF5vbZrglOpz23Q8f8VX050lgAaNx9kI0K/NlL+9T\n76uR\r\n=SGjT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE+UpW8VIaG48Vy1E2D78GD17gd/OJG5GAldKH3AfzPmAiEAkXpp6VTc9ZlSa0/5sJ0grfYAjOL+aHF+Svog31vSBtQ="}]},"maintainers":[{"email":"alcf.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-search-field_3.7.2-alpha-upd-depss-5616.1.19_1574879194765_0.9004387835358747"},"_hasShrinkwrap":false},"3.7.2":{"name":"@crave/farmblocks-search-field","version":"3.7.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.9.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.0","@crave/farmblocks-hoc-input":"^7.0.2","@crave/farmblocks-hoc-validation-messages":"^2.4.0","@crave/farmblocks-input-select":"^3.10.2","@crave/farmblocks-input-text":"^3.8.2","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.0","@crave/farmblocks-text":"^3.5.0"},"gitHead":"6beb6f6dd146bf1ff937bab132598aef39cd1783","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.7.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.16.4/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-62uPfIU4STA17cnv4aWpc3JuizT/TBZ5e4R5QpGJ8ZBp81FHQ01kAL+nX1qeR+6MBCca60vrnOl6f8/zMVQrOw==","shasum":"f76cf8b023725184b0caf2404ca2704ab1213c5f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.2.tgz","fileCount":11,"unpackedSize":74019,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3sweCRA9TVsSAnZWagAAC2UQAJbRrXDitxtyKwlzNmB1\nwIm5u4Tueuivm1NdKMAY36OuGWlvpfTE3BO1BXwO+WnXHpfHyi9ix7hQjHig\nnQ7EPdKPn5TpLJU91Ace3hnS6QKAzuXUAeweT6UV8I3RotTGfpI2VyblpW17\nkkEj7yMkv3UcHRAu7Gf/Prdgg9G1hd0zb1dMIBgpkK1UPlfKo5+Q1DFdbAbz\n3lX6ZCISK+/YL2XNZuh3L6usL7trTuzcvQxWHoE3BE1xzKYSnEaPzwtFq/fZ\nMDCbm2qSBD87yEwMxmDYEK782WfG99DkLwpkV8qUXfEOXEbieDIdjh+hHgZN\nmrQG5Dww/Y9q7a2JF0MVOeQ6gkTt89uoVlAcQzPuqMxljD3ePvSCaJf9N/rT\nYC1LTBHjDYIb0VIOjc8hZNsWzOGVCqNyMT4G+KiCajRRVCOQMtmfpHNmvMNl\nsScBfzllS3yccu1phJQ3xdAEXsl3zRxfOpt+tntn8Bx/NQcwIXCFs8TLZr96\n+YvJ5N4sXNVt9pexzjJDSel+fjfSLsNkqrALvTniIioUIXb6DlLhDwRjI7z3\nHJfsoRsQtSfD/sG7Qme7FA4jBhTbL6Ag4cMqE+TTrpSWKUZ018+n2RPN/K9b\n+fUJRz/abD8rpHAz8HunSsyANdHL/Qpj30EY9uS9KsiNiil4pE+gKFJKxRs3\nb6zM\r\n=nznb\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFhmIFpNe9dfLDdOhhgFVSyYe05L8PG525I3ZflxJ4WoAiAvc7T+JxrJdyR3N7iRWBFz+w6IOebLy2K+UtdA6lkzyw=="}]},"maintainers":[{"email":"alcf.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-search-field_3.7.2_1574882333662_0.5166342324067521"},"_hasShrinkwrap":false},"3.7.3":{"name":"@crave/farmblocks-search-field","version":"3.7.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.1","@crave/farmblocks-hoc-input":"^7.0.3","@crave/farmblocks-hoc-validation-messages":"^2.4.1","@crave/farmblocks-input-select":"^3.10.3","@crave/farmblocks-input-text":"^3.8.3","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.1","@crave/farmblocks-text":"^3.5.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-search-field@3.7.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-C0sm3mhihIBLfx3E+uFox/yhz6FdN/uyzbhEJUuA0FVbzM/fq53H/b11SGp/S4K5b7fbnWKvuYkqy9BzcgxmEg==","shasum":"5236301b90b0311ead5182cf9e49d62e03a62281","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.3.tgz","fileCount":11,"unpackedSize":74360,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd3tzHCRA9TVsSAnZWagAAz/wQAJ2jhBbcFLBdx0C8dTvR\nnzkRyrwKeP3By25giUw21nsT/AwKeN2I9WKgnKD+1m6WOMpE2C3zKBDGiws/\nkxCp5OiOqSELw9wo4gUWGBscY6aWY42b0ekcNOJG9oxpNfELc19GctidtVXF\nFbgFKzXs77jPVhdNtP27TUtWxhSSBE8fJ/1ydXmh1/qvWneEDLkMNZo6Dqi5\neM7cOjLQsN02duxDbCeNwOPxJG6wMAYHJJthC6yio623MRR7rqbRxhSwtC3k\nozm56OkAjNxAkAhnvGAeDbCS5nl7agUDJByTEq5N2Y4KQDzuyMFUDGJM/bCC\nGBz4EYvFlaadixqmnKB6xUQxLShnouuRTE0CnJXhRKmBhgreKeYgUiaqQXjT\njNUtyPDtngzuPoKmCIm1bz10Rb/fF5imuiQA0WshmTQPw6bEE7qiaGZrST57\nVsaQ7H1m0nrMnnvV4beq2qpVSpci83/thohkPoxGRKkno45mavNQXJ0pZIJy\nRh31LAVL5IYeF1qn8yM0vVVIx610Hnj8xR5WZqO+UJ0jj4s7iqOnqeSPCsgL\nsqeMHq7FmRZQYpMs5X7tWTyxrlxoxqI1dBeLX/5Z1ZUaxrf6LcHPrkk2hi5U\nS32GXrNA8JYktPpunPKCkb2hBdoDjrJ894QeJBvMlBqDDt+F5Q6kJbZz1v07\nZB29\r\n=vT0M\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5WckuyUP1XAT0nTij0QnMwHGO14Nf1PwzMtKmPvwL/AIgT7T27uAtWNJ4GrGWdf7Q1pSgpj+d3yufUVBEjoSCHog="}]},"maintainers":[{"email":"alcf.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-search-field_3.7.3_1574886599085_0.26786360984446045"},"_hasShrinkwrap":false},"3.7.4-alpha-fix-proptype-warning-5631.1.1":{"name":"@crave/farmblocks-search-field","version":"3.7.4-alpha-fix-proptype-warning-5631.1.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.1","@crave/farmblocks-hoc-input":"^7.0.4-alpha-fix-proptype-warning-5631.1.1+95c37ff9","@crave/farmblocks-hoc-validation-messages":"^2.4.1","@crave/farmblocks-input-select":"^3.10.4-alpha-fix-proptype-warning-5631.1.1+95c37ff9","@crave/farmblocks-input-text":"^3.8.4-alpha-fix-proptype-warning-5631.1.1+95c37ff9","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.1","@crave/farmblocks-text":"^3.5.1"},"gitHead":"95c37ff9a35c5bbecd211b6fc3a87f098dad289d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.4-alpha-fix-proptype-warning-5631.1.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-rMYTs/eusPjMhkMXoVI/f9PH+RfsrupZwVNneDrxKE/trtuiyQgT7SWyWTwpBbDQgSOXxbHKeLrYdtzoNQX8vg==","shasum":"36351972d740a0710ae25c60801cb532f659d1f4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.4-alpha-fix-proptype-warning-5631.1.1.tgz","fileCount":11,"unpackedSize":74540,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4CUzCRA9TVsSAnZWagAAwcMP/RhyscbNan7elAlbjjkp\nJfNK0TpdKLwYHXo6nKg13YpMRU2VO5BhQIOvQGikkCfQzgeypichAnjP4ebQ\nIVQyDNzhKN1mvgqJg0QZaihIkHnYgmRqBqNRWKudT8luTV/4/ccW6baDRcWE\nunKBy0Xs3j/zHx2WgXpLD+Hc8mRVP3mMi80d80fTrwS9vzyAqnJ+p2HYmD7h\n6fOaqdEbUX5JUot/HxRyOwxK7yU+QBKbipuu7E6jdzkXVB8pS5qZiCcybo74\nuothcU8tGhQegoGdXAzB2OW3M5A+LLd1ait6MRU9oLbw8GyCGXlztfxqa99u\nSW47eXmjDuRYd4C7Abby2G5NQiedtdIMSSEWn2qCCP6RXxuSsH/RR3mcds3z\n+6wQ2vtByN3Cc+SVxTXqlaObEyduy8CohNfSUAmHfx5cCiH2SNGnNzLfIuHz\nSoTCMNYw1cFOoRV8AKXkFjpC5Q1bhMJpCatzafS/aFrrdzDs7CuaQ5Ji0aOe\nKB5KSXu560g63rt5oo2Do/8jHQm+kAwsIjNwKNawbCjydpejimI/4ufBZD9W\nZ9Qzw/05M73nsRn7kiAMEhbKvBPhPmo8FV84o3rcJiInIY34evCOlQjfsABh\nTL6VDLIZesra6kWt21d5LD+di9KnxsmWc0Kga2pn3B7M+idzQx+j3GgcKKAy\n63e+\r\n=7CsO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID/gJyshl8nbIwkju68wQ3mKhZFvS9IkOJ1xWcd4TfRaAiEAj3AGd0VjdVTnbRwOboHK+Gqe8wDPGtxApq/gaKqSWgA="}]},"maintainers":[{"email":"alcf.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-search-field_3.7.4-alpha-fix-proptype-warning-5631.1.1_1574970675101_0.37301748273809676"},"_hasShrinkwrap":false},"3.7.4":{"name":"@crave/farmblocks-search-field","version":"3.7.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.1","@crave/farmblocks-hoc-input":"^7.0.4","@crave/farmblocks-hoc-validation-messages":"^2.4.1","@crave/farmblocks-input-select":"^3.10.4","@crave/farmblocks-input-text":"^3.8.4","@crave/farmblocks-theme":"^1.6.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.1","@crave/farmblocks-text":"^3.5.1"},"gitHead":"26927977a91a31e67354c6b722a3b1a5981efa17","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.7.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-aE753qHdW6/OV45D3s1QFicBF5R7aVCx+RYwXGXr89BGOvhFOp9Kwn+HKNo+D8hoz5QDd9ztiZyb92r8bv4HsQ==","shasum":"8f9015f05510e36c7b4f40eca6a4b5dcf8a42043","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.4.tgz","fileCount":11,"unpackedSize":74586,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd4CkZCRA9TVsSAnZWagAA5XcQAJFGEyY+6Ub8MGvsDfkR\nyWbmsSHbfCqVoxnmqpDPJypJCw6Zc0TELTu1/ICrs001BBm7h/XkyrV26KkM\nb+slvgYKQvsMKr5HhDy3eQZzZXH1RzcCXjesBZWJTcWe3Pr0D2cIOgKHtnp8\nbkrSSxxF+Jt8U7xcyxEcwx65P5rkduZCzSPEoMz3CJQ6BFmThAKXDaoAkJpo\nq77PsP+DpsKsDTCWMaJVi1vqvS1Wx/uZWdPg4ZgwP8Ri/W0lngn1QjB9QOAC\nQLqNtJBIco+hXkC0yVWG6PaRgBlBSPCc+SsdnA2d87RG2JNYzLpjHW17olLa\nWbQhpo/URjDwfT8JC8GVPKjppviu0yS1zMOKDvkaySLoNune+9cHC6wcapBN\nwToy5HClIL20zwe7uOHGVDsaRyqSCr+wYsLzgTLlGDenXkW3DpA4oNE5RQuM\nnj3iv3RGdgRY3ihh9RANeWS8N7KLDs6PzbgNgcNa3oZ1+sH4OIGI2lmvm72U\nA6q2EOTO/jkSe7HTIhzJ5yJqI7l7uL6d413rmloKHk744SoUv/HXS+W/WL3J\nTyo3a8SdEfXNJnD8FZ+/4VosO7eHJpVRlwORUbDpruZWKqhnq7/oJhqxhe0s\nlS222zh7aEkeRuCkoN30ftiZw2q0m9t0e8ytMNuHXFIipHO4DAPsBv5Uyph2\nXmgA\r\n=D6Cn\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBTbq8Ab5O7qa+EsTSbrXFnT+bU6CEMS77s/rGt5ITw5AiB4VpXij1QXyTe8AeMvfufGYqCzsvmG/WzaV6oRwdzgiQ=="}]},"maintainers":[{"email":"alcf.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-search-field_3.7.4_1574971673504_0.25619583841139715"},"_hasShrinkwrap":false},"3.7.5-alpha-tangerine-5635.1.1":{"name":"@crave/farmblocks-search-field","version":"3.7.5-alpha-tangerine-5635.1.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.2-alpha-tangerine-5635.1.4+911bc365","@crave/farmblocks-hoc-input":"^7.0.5-alpha-tangerine-5635.1.1+911bc365","@crave/farmblocks-hoc-validation-messages":"^2.4.2-alpha-tangerine-5635.1.4+911bc365","@crave/farmblocks-input-select":"^3.10.5-alpha-tangerine-5635.1.1+911bc365","@crave/farmblocks-input-text":"^3.8.5-alpha-tangerine-5635.1.1+911bc365","@crave/farmblocks-theme":"^1.6.4-alpha-tangerine-5635.1.22+911bc365","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.2-alpha-tangerine-5635.1.4+911bc365","@crave/farmblocks-text":"^3.5.2-alpha-tangerine-5635.1.4+911bc365"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.5-alpha-tangerine-5635.1.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-HY/4kX6FE8XNpeWK3yWfpsJbNd4XhGhefwKOf+DS3urucRHoYYK98eB4frrg/kf4N2RJspog3uGgKoV31vuNPA==","shasum":"b015bcbb139f1062cbed30d223423883ea260d7a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.5-alpha-tangerine-5635.1.1.tgz","fileCount":11,"unpackedSize":74893,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5q/uCRA9TVsSAnZWagAAnKoP/3zqYHuH1d/3yVjKiZis\nE18Vrt+hkmF+oaCV4T7+r6q5LQGs3ccGNdJS5R9SeY1JEhyN6x6e+aJNGShz\nGwDQ0wAKxqUoWdbXdOrffOy7AofegmmY8z0jyCifROalEwzvbNZA8lKyoPHL\nmVQOCqD+ikzZ4QUQ4GsWzpOZxk9Pnkh3J9xWf53l5x20AR7oXiDHpag7jbFN\nvanOzy9en3pV54IqzaST44cI+Eefks/yx01v4HZHWQ2ENR1x5WmuuorMxXom\nHoPo9BCJadO2H2ys7keOvv4m+lTAI8suezuL4igFwJTXVBiTzpde9r+JguFr\nEHeH52puVwSKTwiJrUDRoHQrUoiaU+/0QlR4kk8Kk9zrjoHorwcEKEB63qhP\ncx/sONKHMqFVp5onpbpjN6mbvjt7vJcFnrOLcciExh1Lt4gvPVrZYmHflca0\nC/8ecSQqfTvqv0ns0MTOL1NnkbbfaM2fQfgFU3ecpPP4DmLY7udgnfi9CJYK\noTPci29Vml/wy0Xu5QNUY+wjYBVZXHi61mu8BL8PbSrdY3Oih+t/phekNE+P\nGuegkRpNAW6ywysL3aATUcXGVnDNp5YJN2FyPnbbjL6wqEsU5RA6DkBDSh6R\nFLeNrfqpbgafWYWmu4xR4Eq1PjyXRVJxL5NcNFRbIVjrok0HgRakXdKML7MY\nX4WK\r\n=mX37\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDV3HBBuAApTpscxuBMVd65TyVq+Pt+4bjILzJSgnGe8wIgL5yy5ujKzynnFzm0tZgw0xueUbghFw1RdNNoDkroB40="}]},"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-search-field_3.7.5-alpha-tangerine-5635.1.1_1575399405768_0.8485546458272895"},"_hasShrinkwrap":false},"3.7.5":{"name":"@crave/farmblocks-search-field","version":"3.7.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.2","@crave/farmblocks-hoc-input":"^7.0.5","@crave/farmblocks-hoc-validation-messages":"^2.4.2","@crave/farmblocks-input-select":"^3.10.5","@crave/farmblocks-input-text":"^3.8.5","@crave/farmblocks-theme":"^1.7.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.2","@crave/farmblocks-text":"^3.5.2"},"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-search-field@3.7.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-t4k1J+bqhrkpvouLlr9medlJVzcxpjrXbJTqsBtsKRh3kTujfyPEyeqNdX9/W4JeJmqH+LJVrBW+KFhPIytvZQ==","shasum":"fc63741a38d16829920c143fa04a3584e5240910","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.5.tgz","fileCount":11,"unpackedSize":74812,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd5rUpCRA9TVsSAnZWagAAwNIP/0tyV1GcgHxzZpYg/FnT\nVv1niGiTvXgD7xuTK8QGe0oD1Zq7oIGhtALPjp6cAdM2XwE1kRVb2mqIfjhJ\nQ22gMw9Wr6P98awg0et5BP01IER2o8ZdAEOFrFg+PFM+P6AX9KYxB3kVTUZ4\nJO9NtHkCjWS4JOQ4gUIDpmsN5uSLPjzTmRUpEFJPsGJbuK2u01+3fe8VtPDp\nKKV+0wHeOvLUKP5mVcI+pEyxuyUHTpc56tHrV8yNHsyIJtPhVkY1Jn4g4Q5B\nw16W8B9PyasQKUPu3aCc/JAOqNJAwJz6Pm8DMt2dkAFrfXXi0NH0wC9eWW7Y\n7sS+KDMTsfHi6HTpCpETbTpDjceXPYCg8fBEwRJyG6gPo5j9e9yMHX0cU+D/\nfDN+ICQknRMogA4itmrQM9EkC/zS/rIpvOnIX6RWLFPcQkhAO+gQQ+oqix1x\nY5P6YVcixaEBSrvrIlsWN/gVd/W8sU62jEzlnON6ev8GIue1vrg864TEesBi\nMnqQKfcQzRpdChOr3sFvpCRG68AVtvqe7mW9s8z2Xo4NaVZh4lQOkfctYCcD\nS6Yz4RSl6LvofDWd7GEuIWKFDeQfW5cdS2EuuiH1hPTONjdXMnAcODuqTVBk\nDQ8wEptvMN2imxb4neBjKuT4rt2yRr0kk4uGSWUAWcCZX78N0KcwuWlp2cLm\njMbQ\r\n=25W1\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCz6kGowwPfOq/3kwnRH/r7aVf/mBfu13ORWB8zO34u/AIgHp9D8+887vDGylkGH6ybriU91YD/0od2EgdSFjUFCB8="}]},"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-search-field_3.7.5_1575400745286_0.47604172738600914"},"_hasShrinkwrap":false},"3.7.6":{"name":"@crave/farmblocks-search-field","version":"3.7.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.3","@crave/farmblocks-hoc-input":"^7.0.6","@crave/farmblocks-hoc-validation-messages":"^2.4.2","@crave/farmblocks-input-select":"^3.10.6","@crave/farmblocks-input-text":"^3.8.6","@crave/farmblocks-theme":"^1.7.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.3","@crave/farmblocks-text":"^3.5.2"},"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-search-field@3.7.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-5675LhT/HJs0qEeFPHEVSWZf4j6F9YvRaVCMfUlKuCzCCigkzxwrutxBr6W8RtAyDC4XmwszeUG1C36xAPzvOA==","shasum":"00f4ebb03eee1c206c349148a260882984879771","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.6.tgz","fileCount":11,"unpackedSize":75038,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd+lpgCRA9TVsSAnZWagAAt8IP/08JNw3YkzDTaLh69PDM\ny7he4bZL2q5s3yo42fH8TjQStRRVdU4dSMKBPgOmdIPTAldd2WNCn4fKtuYU\nnYz5ae5LKcK2CeT1LoWKwSEhMS6ps0dEXJnDE+CF7BatLMESXZteGrvMzNSt\nU5AbipXgOlWOwmDax3ZdWH4mioqFESwFNqyUfOxu2ZPhR7lamGIAH7x6wEpU\nivppkO3caNsqJitW27s7oI6U2s8pSJhHVRHjXdWuq3Jl8ZgdwNWBsjMxgB73\n+AJYcgMi+GVANRb/265UKkhyxiBGIwyPSZ2v5YTqlcrFkP8ckLcJiBYsgytb\nAQE8LEwUgLRhbDUV5Xa03VQWCOWtKkNvftI9fGxw/VJbxYMM9SDLIYDLnLAE\nPVyyDcUHgGQT/4tK4mCDb8fcmS2KaMlnMNxFdCXv32Im82iWw9DonfxiFQJ8\nlkKYkdg98qE9q4N2Pom190aiHsOdenU7Awpfp2f/P4vuSE8XVVI2F5mOy/q0\nmX/MDeoNOzvtDta7U0BcFB1YbjxhGlCIXeTIaDeiXFSypyCr9pmdECR+qw5x\nn9rXowZOMmgT6rYT00u7qMTmRGv3H8Ljgo7N5kSylkzR8nZnSXfa8Zl0UDzv\nIA+yu9qJysuZ6/h8QgnZAJX47mMQo/Wy8C80lR1n7BMRpp59Ipe38EWvinc3\nM/RS\r\n=jELV\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFII4CjXaGpMkARf0yxQ7q0uhenZwJZJq1RBIhNgCsmoAiEAy35b+8Uz2tzVmIFwQBBVrqLm6/hG4lSBsxjSwQ6ZaJE="}]},"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-search-field_3.7.6_1576688224503_0.4651761382018298"},"_hasShrinkwrap":false},"3.7.7-alpha-image-with-box-shadow-5646.1.2":{"name":"@crave/farmblocks-search-field","version":"3.7.7-alpha-image-with-box-shadow-5646.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.3","@crave/farmblocks-hoc-input":"^7.0.7-alpha-image-with-box-shadow-5646.1.2+aac48af0","@crave/farmblocks-hoc-validation-messages":"^2.4.3-alpha-image-with-box-shadow-5646.1.5+aac48af0","@crave/farmblocks-input-select":"^3.10.7-alpha-image-with-box-shadow-5646.1.2+aac48af0","@crave/farmblocks-input-text":"^3.8.7-alpha-image-with-box-shadow-5646.1.2+aac48af0","@crave/farmblocks-theme":"^1.7.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.3","@crave/farmblocks-text":"^3.5.2"},"gitHead":"aac48af08d12ba3c4cd38fc3d4575b5520647283","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.7-alpha-image-with-box-shadow-5646.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-uNsNk2Zypwz+Y73BVFG856sUuBWdIuwK8arCkwUc6T71+s0b2yyBHsinqhnaAM/8nHRfPPr88dL+dR2r10bz3A==","shasum":"8a79c05b12f4dd858dd3f1a308e64138d9c9602c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.7-alpha-image-with-box-shadow-5646.1.2.tgz","fileCount":11,"unpackedSize":75268,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBk6CCRA9TVsSAnZWagAAPGAQAICkhkv12bldBmbwm19O\nQcjE+owgDSMf77gTOuJv260xtleOiKHbkV1GSxqCKwHicqusxHFaoZylTIMm\nlblLY4nom1dtYHoxuiopSQ8vluNYFQPVy9h74DNWquApn00tDVBrIVnHvbOr\nM5GUk+TpDH+IwF3VD0DkbpWxWb9XFdF4qHvdgR7pHTosttwJWAvzzZZdgmcv\naUTwUFzMSiY4MPGkuoOy2bph5EQbK8+gcpUV1A9X2TdNRV3Rkt7yyjhVMINU\nFd48//NYxr/gW3m01Vw09Qnb5nl71OXMH5x08VXaniyfP6fm5FmPAltoW5U9\nIYAgXyH9PuMR3VOQyiM9ttEl7WaEcazTXQUo3GK+agrvumKTzSJZ9ie4uBHU\nfEv/syHJ1jxFLCZKdtjYgMHodBizM8LCaxb+lhlrZtzvNLvR9TmMcYCLvtgp\nfENmw82Z+eEEWsq0elTCzjD2+8cw5ivJlyooPusuAg0gTEpWqihiSk1P2WpR\n2kdtdGyOzYD6S9k6w262lPUqcLET89vNM2vcRPx3cBnchNr/9AWoXFBhhood\nb3GxDcd+dMm5piwN+5Uotc6hySlD/09Tlp/hmAZoJRb4htVsoGYESDCDfq4N\no+rexd9CW0K2exNNApu7O9p9CgI8V0ofRbgAJTa4PHBD0Fn4OHOTNCycNAQ8\nVKP9\r\n=ykvZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDk33rPoC0eD42JBIP0hjzf4y7ZRHqneuDiuSzVwNPVCQIgY20SbAdcYAj4yCeOMKIs/ay/qRsNQa8yqhYR7TgPjG8="}]},"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-search-field_3.7.7-alpha-image-with-box-shadow-5646.1.2_1577471617606_0.03523927537980387"},"_hasShrinkwrap":false},"3.7.7":{"name":"@crave/farmblocks-search-field","version":"3.7.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.3","@crave/farmblocks-hoc-input":"^7.0.7","@crave/farmblocks-hoc-validation-messages":"^2.4.3","@crave/farmblocks-input-select":"^3.10.7","@crave/farmblocks-input-text":"^3.8.7","@crave/farmblocks-theme":"^1.7.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.3","@crave/farmblocks-text":"^3.5.2"},"gitHead":"5b1089ca8d327cb69181d786fe43fbbb8ebba65f","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.7.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-vj5oGSUPsxVtYcpN0JzTbGkt6aJ6Cf0ilzJ0OD8nANm8ugp1XqzSu9/m9Rd3H8GWOg8M6B92PLfuZO5xb6LGWA==","shasum":"f3199c8a6616a031e37f1c4c4b93dfb55a024b08","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.7.tgz","fileCount":11,"unpackedSize":75264,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeBlIoCRA9TVsSAnZWagAAVjsP/2qlZ6zAF376ntQY7Wse\naOaaV8NmjLJaULUmeRTFHFFhIawo+/mbE8VuxLq9LwR67VlnGf9HvskdSf/K\nf02vpbRQGU3z8gEx64ePSpFXQ3Z+dGvEPhfWf0R8TSxT7O8UW6bDXLgWMpiD\nTchUPkRpbn0miqgPe2kPN6UBmhLkGcmn/CKioELyIfmuMsOuxsbXNYX+YP7B\n2gfiuEgiOjzoVs5rG46gRsxL69yNd/YQRCCKBt6PDqtTVnMylDVwmuec6K5Q\nYECq9fogBAXPjoqPz/L5XYpBgxKKNvtmFIMJZ0LPztQeKNc0kyBDTUE2jTcs\n/VSla6KyZkMWid7ZnGTvQuKbHt2S1cS/nMbpIoCRX5BVRNdhnWjBlLwwSPjg\nzYhU8hwM4SBG+dKsYSZKTTK1Qp5q8SLEcepV1vwbepvGcmV0SkzR+h5Lc9E8\nceH1PQRQE2zBTm8hJ6bW4A4jCNTy2Cz1J9tshz59n7JWdtq/kB6WrAm2uqcn\nYV0CCgzwcTfhZLUwVCZcR3H5xQ2EovP2CFE55zp9LGN8Jfi5Lom6khds608G\ngrXHHkmxTUYlKKdEtQla2224BqdQscCZSscoCloCwP90rvz+xgjoe1v0lEpN\nZjAGSwfimWbT80YuSN/obb+qzj2SZKmsvxRNwh0q6QjSIEq58tHQ3fC86ibT\nXIKb\r\n=H7fN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRaVrMIO4aZIHuqgDH7WBGzIjiL/3cw80TRuNJNaOVAwIhAKQo51eg7pBXZu4DRmNoY7q/Nd3iUDi93r1/4sD4YgNJ"}]},"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-search-field_3.7.7_1577472551470_0.9159540380769842"},"_hasShrinkwrap":false},"3.7.8-alpha-link-fontweight-5650.1.2":{"name":"@crave/farmblocks-search-field","version":"3.7.8-alpha-link-fontweight-5650.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.3","@crave/farmblocks-hoc-input":"^7.0.8-alpha-link-fontweight-5650.1.2+1f1d2194","@crave/farmblocks-hoc-validation-messages":"^2.4.3","@crave/farmblocks-input-select":"^3.10.8-alpha-link-fontweight-5650.1.2+1f1d2194","@crave/farmblocks-input-text":"^3.8.8-alpha-link-fontweight-5650.1.2+1f1d2194","@crave/farmblocks-theme":"^1.7.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.0.4-alpha-link-fontweight-5650.1.5+1f1d2194","@crave/farmblocks-text":"^3.5.2"},"gitHead":"1f1d2194cf9e8640f7edcc0e4ae7478547b8aea6","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.8-alpha-link-fontweight-5650.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-BEeWtdQ3ytLwRAgCIoP5Gx8LbTwhN4WHdTOyxFSBPoGEtguorKlzseUL2pKNtaeI1hGp6NR5vtT+wClLK3wIOg==","shasum":"aa57140920d8542512f7c070f554fa0f1516e604","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.8-alpha-link-fontweight-5650.1.2.tgz","fileCount":11,"unpackedSize":75464,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeD4AmCRA9TVsSAnZWagAAXJQP/3gTBQN46sm0deOXi2lA\ntZYasTJ+CavWH0a/c+/o5JOi4UsHQ//kSxL2w5+plWpRc7OccCsNV/dNF4jM\nKlWdD4gneehQeSiVK/Wy1ETWGf5xbg8btkSZHxwkipBkrcqAK+lz2vjRfOgi\n+PmG17l2hQ/Q9xniJfzCnpP+N2X1er4WTq3aOoabED9cCbE6E5HR0XEBSj9O\nY2h0/WB4ZoR1CGs8V188l5PdmLyqUmgZT0JrKobBEY8raSVZMqfJdc9vlyhp\nMjDXq6U/2O+8ji3L7Ma4jMxiNSBGwR9shI3YNY+GZhO86/2Vc6L1NpgGClJm\nePszaxDkMPDT+13/NNEGuypNpErYy4pKMBmvK2804it87VYTRDCGNN7Qd70Y\n7YYPT4cCDRUfml3fP4Oe5zYYA42NGqJ5GKcBFpPBbGjxTVWZ9ICuZaSSqb27\nEQ2uOwHOC3exemWxMECuHlE/jAuSwacXMAfqfijufgH5Q1EQMTdoJ/kGn8S0\nkeFf5J+BIrY8ZgoPQxHjyVNEcsquzzNE7ZDVxekLZAieFraBfSyqP85d9I1B\nSipP8ASEFDDwpk94M2hVoWsyWw6j8GB087ojGByd2+HsbUFR4Z3fPFO7u4LU\ned1xyutO4Wes7McVzsRiULtR1GsbpC1lzw5Zp9xYM6Lg+vRf99NY3WZUMklN\nEJik\r\n=EmVC\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOLcAargZZ1ABVDo69isjrDAOktg8bAIpjGn38NG7dAQIhAIsrvWOM+GvE5A080hy3mT3fiiOpF7tikvJZJGD7r8cF"}]},"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-search-field_3.7.8-alpha-link-fontweight-5650.1.2_1578074149961_0.8604823443494294"},"_hasShrinkwrap":false},"3.7.8":{"name":"@crave/farmblocks-search-field","version":"3.7.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.3","@crave/farmblocks-hoc-input":"^7.0.8","@crave/farmblocks-hoc-validation-messages":"^2.4.3","@crave/farmblocks-input-select":"^3.10.8","@crave/farmblocks-input-text":"^3.8.8","@crave/farmblocks-theme":"^1.7.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.0","@crave/farmblocks-text":"^3.5.2"},"gitHead":"4599bdbc2e1dee1f2060d96b2b31fdaa025aeb49","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.7.8","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-jnX/YMhISZ3JtqvvsOX/GdUMoGJ7VTXDt4zw0qqpFa+nx69diqObekDpgg6J8p5VdMUzOJrCyPA43yMMtq4Y0A==","shasum":"46d4820fb5e2256102b99d27ac312cc3b42433c5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.8.tgz","fileCount":11,"unpackedSize":75490,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeD4nQCRA9TVsSAnZWagAAKPAP+wS47PztUzmrgT9ZGsVO\ntCSKdtxZbQYMRIsLQmBFUfmX6g+OrCY4g/OSvIbobenLsBqSqisiIKEx3u3m\n35G696M9b+cUr7tgOGsRYWV0FzoAK0ScYtdlWhDU5FHaLP6GZ/IuDOAbw8Lb\nrfgcQgAATChazxIPRHhgxscPQXEXA1eLnZj6KuK0b+9jNXf6VymJPPN2vt27\nRrDcIoWHrRkvMiCZneqoOWI+vxutOOZrASpUMUy/Fi4AN/zqi6Az4/POUQY9\nl7FlFzZWNcMbtXgi4lhOKZ98iNjOmqFWCRrdRABCOKYs933BGN2plIYJveFa\n/CXAXIPb7JhD6O3Ym7tBuW9S0F7l+hhroHVOEpEZR0uCOfffERUT4hkpGx3O\niDUtoRahXvZ+yl1oucxzPICJ1nahTH1APr+ygm9Ns8i0DVNuPWBQcZ96slrr\n3DINGqzilJfK9Cbr55pGTyHj5sI2gnatavtAjesKy/Awhd7zvQV9ZgUUfKll\nSCB2d927lLNH5UiR4fnintzmDgrdw9F+KS2vgjOL8Kojw83dYdFVQTZfBhzv\nb4+y09OqjND723ZIJb5r0h49GuKgNt6HUlZfCKDZVfZ1e1LtvzGUqnJ05AkW\ng0OTkJWIb9sVnk2+zlpscYjkJCWyMahz0eSGBg9O+RaI9BHMgd+MtOuGzukS\nRNeP\r\n=timm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDFTbI3Cdqm6ZbeSaulM+snVke3M76iMPJZdu4QBxx2ZAiEAphEkY+np5/kCb/1WDITyXkgTJ3Qy+xJNhu+vouU4wOU="}]},"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-search-field_3.7.8_1578076623906_0.6905993623856643"},"_hasShrinkwrap":false},"3.7.9-alpha-new-primary-button-colors-5656.1.2":{"name":"@crave/farmblocks-search-field","version":"3.7.9-alpha-new-primary-button-colors-5656.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.4-alpha-new-primary-button-colors-5656.1.8+585cd423","@crave/farmblocks-hoc-input":"^7.0.9-alpha-new-primary-button-colors-5656.1.2+585cd423","@crave/farmblocks-hoc-validation-messages":"^2.4.3","@crave/farmblocks-input-select":"^3.10.9-alpha-new-primary-button-colors-5656.1.2+585cd423","@crave/farmblocks-input-text":"^3.8.9-alpha-new-primary-button-colors-5656.1.2+585cd423","@crave/farmblocks-theme":"^1.7.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.0","@crave/farmblocks-text":"^3.5.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.9-alpha-new-primary-button-colors-5656.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-kYNHXkmX04ZwmvyweyPg34UJ+plcnS3oOD6LODt2P23PSfrDIDxBq4jqWjUjeGwTp4iOSckZ1++naY+Hq4mRAA==","shasum":"2969bdb45f81d039364f3aa535a7ffadd309644d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.9-alpha-new-primary-button-colors-5656.1.2.tgz","fileCount":11,"unpackedSize":75740,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFg14CRA9TVsSAnZWagAAqFoP/2CQWJIGsgtnkq9rUu36\n6cyoEwwmWZZXdFr/77JaPLyb34NJTMQqzgPXowkqayi+j0KgF5a7opOLyr4K\nWeZr7M2GdwKIvNWJpZ3vP5+Pp5DF31MSR5H7N0+9hrbTnNpzr8QSXOppvgnD\n/vArvgbTnU9ymZHkQZpllvIUN73o1UEFL16SA2kwDH5fFx4yzEqEE9DMBAyz\nBJyNSCtOFzQ3aif+oum4t4hD3LgYCrPwKlDgK8w8hGdiszlxrtYP6zxCokBI\nKwNdz2biv44gzRF5TtEPVeIX1aL83+AwnpwaMJ4Npy2VhbyELeMXMHxmOC2w\nPVHXmA8RFXW3FA5NyCJSmqfJZcc0y0NszbVvrHJKfWksxyRIyR9tg6Daj8fD\nWDfmrNlm4q6TYFRAuytpYq/XITCXEqReVZgb3bKZsXh+tmUwWbMnZ4AtdhFL\n+bpzl3vtdnnB38qCBCDsl9leIDupGT9a7Wtrr8ELbzGd9WGfMZahznw2Q6dH\nCvt6Kl3OR8VQloYkW+U1MW1nDZWmGHIa1HpEhtcIPf+SwUXqh16iO/T2Esxp\nw2B71nLcUOLMl03rT8x7T16rRPDaI46p4IJtQQtDzMWOf0Mm6B0FsyOuttz4\nL9xUhhmUWeN5HoU8aDSbgwLBI6k+15vodsQyynMReREXVrBS4JagEuPr6Dwr\ngODz\r\n=dG7h\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHsoNYy9dMn7rBSuidVd2NgEhqtA/BaZyYYpV8K6d18+AiEA5R1OeCxulaflB7wqSaArfCBWO8bWB7HdQNHUKwNVbtU="}]},"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-search-field_3.7.9-alpha-new-primary-button-colors-5656.1.2_1578503543493_0.052349965524888686"},"_hasShrinkwrap":false},"3.7.9":{"name":"@crave/farmblocks-search-field","version":"3.7.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.4","@crave/farmblocks-hoc-input":"^7.0.9","@crave/farmblocks-hoc-validation-messages":"^2.4.4","@crave/farmblocks-input-select":"^3.10.9","@crave/farmblocks-input-text":"^3.8.9","@crave/farmblocks-theme":"^1.8.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.1","@crave/farmblocks-text":"^3.5.3"},"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-search-field@3.7.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-sbiIidzGDFHxO77spAr7RARWGvYItEbjU/ZsOwNfF+5cTVnULAL/6IRP+21Drhdefs9hZfEkbeYHzYLOO/NgZw==","shasum":"404265bdde1a07b76b8e0f8e118849ee5a2cf1d1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.9.tgz","fileCount":11,"unpackedSize":75716,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeFhKRCRA9TVsSAnZWagAAIqAP/RKRYZT7Uy845ynptPkb\nXqMDGjKgOmW4mhb3evVlStcZ/oDmGKVXNnWQRO3V3aLTeUIca/2KOPFbvEMy\nkY9mepljMTODLOwSM+gRAamJPmQrXXnsniM3szVmjhLh3+XUcn2nF51ATNLb\nzS3Pl8k4qRQH3pSKGjCwBgioll5TlOf5IHFBQiY9kNtiJG8Wr+RCKezCFZP6\n2Yig9+sfqhLLvye3ST4J4D8d2n5WP75i4dAdurVOmkMmJOrRlQg9ZYe2dvvh\n8OB0lSkU/NBmkj3YIBNmlRwjlz4l6gPfLGeiYKXro/CR4bSclKzQ5zYgNLXm\nCJotbN3+DTNYpCTfxTO+FEP0HdlpWpGjlCxwWy8bgI9q1J1cwxTHI6HnLsyq\nqAlmZCKFYwgD6tqfYdlM/jA9vvEF2MhGdTH5INhGyMQTFvicLYZpNs7qIhRs\n6Pj3nycurGT9HABzV6tl3HA9182+aJ/f6/f71PMBilFcgWkgBYn5RFCoWDFp\ntMUzwFk5vVJrUxtTrNiU1eE41DdqBN7knJWDYsAj919YdKUmShxHBLFdDzfl\n8VM7m/y2jd7BdtNxbLyNbNmZo5++0UtwaLv0CF0niWJr6Od4gct3sBBq0sXP\nSqJGAjfkYY4OoeXKb+ykltPzpVQs2sXKQtpuGBs3ydTcYYVtMKYo19hkdYHS\ncNsY\r\n=ZAKK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDVNHVX7pzMmMc4oYPNaox2ead3/vTYTO5FYduIsqwirQIgSWIB8+a4xcNafGWCgAyMVLhYEdZgRpaMCmLIXjk+5As="}]},"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-search-field_3.7.9_1578504849040_0.800079318135763"},"_hasShrinkwrap":false},"3.7.10-alpha-input-border-radius-5660.1.2":{"name":"@crave/farmblocks-search-field","version":"3.7.10-alpha-input-border-radius-5660.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.4","@crave/farmblocks-hoc-input":"^7.0.10-alpha-input-border-radius-5660.1.2+1f57917a","@crave/farmblocks-hoc-validation-messages":"^2.4.4","@crave/farmblocks-input-select":"^3.10.10-alpha-input-border-radius-5660.1.2+1f57917a","@crave/farmblocks-input-text":"^3.8.10-alpha-input-border-radius-5660.1.2+1f57917a","@crave/farmblocks-theme":"^1.8.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.1","@crave/farmblocks-text":"^3.5.3"},"gitHead":"1f57917a91e9aedd59481fde68e62cbde5828d54","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.10-alpha-input-border-radius-5660.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-i0OZrkd9zM7P5vrWh3gsF5Ef1T+zr54Mf6NCVXHvz/55LMhuuQIWvehqp8LbEPIJ5ElAVCKdlwijgRwbMzABKg==","shasum":"0c0a6ed301979a1173ac051312094a2422937091","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.10-alpha-input-border-radius-5660.1.2.tgz","fileCount":11,"unpackedSize":75896,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeH2SgCRA9TVsSAnZWagAATQwP+wRy/aDdF6lOA1ujxFXs\nLIVmFbHXeInzuXRw7vqF4ZON+fMxIVhIS6n3f9mkjJhM7+Wn4Wtgiq0zizvm\nTfsGWtokBXPv+r1qRsfa2PwhapfOBcnvABIyu1Wj98tJXQOLtVhfMgL0THqf\nP2hNAUPVcPaDc9A40Ay2OZD2b52oL5iMuCFF6PZj2lLzlldntM3KrOrxuEtQ\nkWvVlHO5xAv3yyvMzBXsrSFdK1JgIxCnL6a0bbmK+OZV0DRafPFzIRZBKEn4\nWXJd0eHCMgYy6QQLPGCo6Sx+NWlT360SPPfv+318e6RFShWx+mHeh4JxTob/\n/Lusct4ELK/tSYD8T9rijatTd/HsHY6puXWT3t+btj9+7srsu+4ACrh86ec0\nWGLWbaebha8UqZDLD9nlmgLK0YAjojHR8PFzVUsk4wSl6lKFtww1ITdoXnU0\n/kO5dpDL1O4oT4SqbKH1q61/nPjHaFmz+en8onQjkUYV0ap5/9P+M2rSL6DK\nVcKI2d71BYcsct/Zpwpfcn0GX/x+3LZI/e6iOrBE/8tACjnLnTm/j0sNiklq\nrFsgM7mkq36JTJJ3bvxTNwQs1Hg+NQHZ8gygWW/dk0OLgw0pRGdmJUGZ8DEq\n+kUqCsweb+mYUlNQJzZ4SiKztixXj/nZ6BTkx3PkrVO7wb83oiw1m/ocd2Gx\nNDzV\r\n=t8vj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFq5L5jeJkT481QmCy2valSJjd9HKdxU9mlTywE5Qo1mAiEA091TLanqbEJaKD19W1A3PTxElYXNc4GNw4oDsciAB6g="}]},"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-search-field_3.7.10-alpha-input-border-radius-5660.1.2_1579115680177_0.5720482408883791"},"_hasShrinkwrap":false},"3.7.10":{"name":"@crave/farmblocks-search-field","version":"3.7.10","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.4","@crave/farmblocks-hoc-input":"^7.1.0","@crave/farmblocks-hoc-validation-messages":"^2.4.4","@crave/farmblocks-input-select":"^3.10.10","@crave/farmblocks-input-text":"^3.8.10","@crave/farmblocks-theme":"^1.8.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.1","@crave/farmblocks-text":"^3.5.3"},"gitHead":"1015b1f0ed6fed2b385df28fab0b7c1c97020296","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.7.10","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-cWg307M1u+3z4fxMw2dyaGbBX1OPG4HLK+J25LNTa+/xuW8Ip+JxDu8rDAjCPgtumYoWsfTnoP7j7b7ZutOp/Q==","shasum":"fd26f9b2b08345a5343717d6abab606464d54d64","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.10.tgz","fileCount":11,"unpackedSize":75947,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeH2lJCRA9TVsSAnZWagAAWWEP/A4NK8EMiu/K2YXnktrJ\nGwoahiumIFCSa3JyoG/eM48DgJqdVUbVIVu8tkrAcYR/2biTmmdkMVIsB+Yz\nbnk2in+pph6D37ii+e34+7PbEs/9nn5B7RTRDej1ITdlxOR2Eup4IwLhw9u+\ntEy2MeeJkDmaLmZEwS9gffL1kptplgGx47Qzvrx0g/ui4zKKlVEpqSFhNRPQ\nOdimvQosnV1YRw4UaTV34QqTAsmDRR/s4rHc+LLZ/fL7ZOLppx5QxnqPLoI4\n797en0OCHE1ETpPXE/PY7EC4OK+UzhjnK+/BvOm0R7Eu556jeP28BwPjR5BD\nSTkVBw98vZoBS26Wga5byO8oDixv2Mi5Ldap3Dy/rsJl48v7xDHrXMB/ONQT\nfw2RLlzSfQoCdDqwGCaRep5P4h263vazVq0u72oYwEEnxdTtqP1tRpqsjJEp\nuNBiiM3A00qky0O6Wx2O8l8bYOnu+MBwWNAQb41OyflkymOkTdrFQ4eJNFrX\nLHpKUnV77g9F0lrobUGHpu+9faA8Sg7A0Seb35FgMgstLlTmmPAKK+zbv/xX\nVXVm2m2CiWuL6mg/lEpy+fUjZv0UKRGz9WxW/IqhXVUC45e90QQiO3xW7GOo\nVSfbON08mmtCmSJox/uOsMcoobxiceIGYhqTeeWBNNnVl0akO5rRxZnQXx5V\nE9a2\r\n=zkgz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCi2aUCcXbOGWfTbUPKVQqzrR0Ge39dpXYqIbXSwL0TBwIgZIpO8Iox/2USAd3Mw2m+lZ6gdYIDjHnGUNGdqnfD51k="}]},"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-search-field_3.7.10_1579116872605_0.9453560396453697"},"_hasShrinkwrap":false},"3.7.11-alpha-responsive-text-5665.1.3":{"name":"@crave/farmblocks-search-field","version":"3.7.11-alpha-responsive-text-5665.1.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.4","@crave/farmblocks-hoc-input":"^7.1.1-alpha-responsive-text-5665.1.3+dabfc974","@crave/farmblocks-hoc-validation-messages":"^2.4.5-alpha-responsive-text-5665.1.6+dabfc974","@crave/farmblocks-input-select":"^3.10.11-alpha-responsive-text-5665.1.3+dabfc974","@crave/farmblocks-input-text":"^3.8.11-alpha-responsive-text-5665.1.3+dabfc974","@crave/farmblocks-theme":"^1.8.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.1","@crave/farmblocks-text":"^3.5.4-alpha-responsive-text-5665.1.6+dabfc974"},"gitHead":"dabfc9745a201b94becba3917bbb61f4792ef51d","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.11-alpha-responsive-text-5665.1.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-1zSV2myoM4nS7XmkNUAkMIaFV7S9PZmA+fSPsd1dUqmq6wg5mEc/vJ8TNXuhlhEDRQhd6DUYcvGp7MwR+NAmQQ==","shasum":"08868e77301c13e34433dc00597bb40d1df7a8ac","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.11-alpha-responsive-text-5665.1.3.tgz","fileCount":11,"unpackedSize":76187,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMEhwCRA9TVsSAnZWagAAsMMP/irlylYFmf8OLaAEUL6R\n3ltkAz/P4+DLLyQbaUWXoObxWpPfE+J2O2hD1XU+k0ZaoyWIqeWpnA6Qv5mk\nPH2qfFpjk9lIiytJUh1Pxw0NxdPF0QoQg6bc8YXwTBRexTY/285FgV+ea14o\n3gXNhJRyGkGuU8v0NN9g0ELXl+jqcJJLFthnyme1TOTo2+1bv8RuDmxc/alP\nV9CvLRa9lR8O2chXUL/MUQmTZksobrPeID6DKqSyJIvaXpsCNEj79taIVor+\n8lnDwrBxz5kJ6sAbSytheL8iUP6TH4VEJGLxmc+3waiUzu6xNuuSMCnvEmFF\n9HHagmvd6lTUv5ys1dwbG2YZc1cKsE2eKOPkkmdtbC38si7uTbg7ZPk35kop\nYxP9cp1uYYXhCiicA8+Zoc8Ptyu+d23wVNOGqe9PwfLiHzVakEbTc6sv5Jik\nO7Aq+2Ohe9lIXBgGSbXuvrIKAMiwNil/UFKipYfX37ljB5VuZikOgnscP2a7\nOAqsmJFGDV0CEi02ZFs3tRur2Iv0Dy9qSAASR1fieiRgS57zSFryh+ZqV9j8\nASfpqNp0jIpNQzIQq5EQFBTkpqxq7k0bpcAwoJIM+IDWs3bIm76yfIkSHuKV\nzQ61foyon2XeY9IBmdr6Ohbau+wvRPI9NgyfS2uRta3EO6rjq21SGVnl1pC9\ndRHN\r\n=274X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCbkYfiTtURaNeMdQYexxD/ocXqk3P2nQA0dWEt12ApFgIhAOC75eKDd5fexMFW70ITa06lHreUY3AU+DO0itjr2NzZ"}]},"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-search-field_3.7.11-alpha-responsive-text-5665.1.3_1580222576224_0.4696501909918185"},"_hasShrinkwrap":false},"3.7.11":{"name":"@crave/farmblocks-search-field","version":"3.7.11","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.4","@crave/farmblocks-hoc-input":"^7.1.1","@crave/farmblocks-hoc-validation-messages":"^2.4.5","@crave/farmblocks-input-select":"^3.10.11","@crave/farmblocks-input-text":"^3.8.11","@crave/farmblocks-theme":"^1.8.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.1","@crave/farmblocks-text":"^3.6.0"},"gitHead":"d2798e1b3b424538dac08d6e770782fbcd636bd2","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.7.11","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-EF5Wmd0j6Od94fusmB7PINSt7anvYzoY97/XB34Y1GSWmDQEWIH0ioGmagFqHZPSpvMMF2M6uLJ6vhwpvZtr0A==","shasum":"0222c318f0e0d70efdf0094ff1efb0df5efd97cf","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.11.tgz","fileCount":11,"unpackedSize":76176,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeMIXkCRA9TVsSAnZWagAArPkQAIpymAnbNvmlgAy7f/lX\n+iNiP0bBDvQHrZeIvBb/UUemuzkIUMfbqrfap4bffBpee4rqYfF0L9eYAi4J\nMDDXeypVqh81rpGk8F5VS4VCxnl3vFXfSgPmzADPWAbzn+l5nEkByO8CClKt\nzIRLWe6tMMKCzAkMTnTgjPGXmQ4e46WhDlJoybrXBdq/VQl1B3QH7uKEv7mo\nsHFp/Gv31OPpIXoqtFmv4sqU1uNPdFsIQpdyXcWePDrpgc1MpG9XN6Vq0cHO\nDvWWIG4gltYrcH4dYlJzsrbxQwZUlZtLyCkP3hlcwAOxkR8874dEDp38B2vS\nivn1ASyfsbO/EE3HFsgodS5zpkx86aaRF4crhCIulZaeMSlRQ3QtH9Af1h30\nsq0WqF7mETW5c1nzsCIDLJr2pcrfK5L8HPtWHrqfkI/60O+zVcC4OGRjQ1zk\nAYN1b1yDRTdLHzAEzCehU13enWUI7eyi08vWKb4efE955XaMJDNo3sjrAp7D\nm1uG9/YYr6qHjLPtRem7WXTncpX2hju+6JDxoVNuSSZIj35s++h7FYzMU4+4\nyEK8Mh0iu0KdPAqpD+H914CYwi1JAuNYgDwYGQSYB38qrvCNqg05ER5rfhrd\nf35bJh8axsxi4mXSANSyrwb9EWM8KneGVVZ9o/tBb5EAb1FQJ6e3Pmt2gLzh\nSr1k\r\n=uxK5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCs3IDUydzqZT4DwBJjzmSHX4MWQp99XO7Fv6Nn3W1CqwIhAProNzeEgxgDpW8J1e8JcXHugKCvvGyK1J5KirAHYkr1"}]},"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-search-field_3.7.11_1580238307547_0.3008193083438384"},"_hasShrinkwrap":false},"3.7.12-alpha-card-border-5671.1.2":{"name":"@crave/farmblocks-search-field","version":"3.7.12-alpha-card-border-5671.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.4","@crave/farmblocks-hoc-input":"^7.1.2-alpha-card-border-5671.1.2+a479d3de","@crave/farmblocks-hoc-validation-messages":"^2.4.5","@crave/farmblocks-input-select":"^3.10.12-alpha-card-border-5671.1.2+a479d3de","@crave/farmblocks-input-text":"^3.8.12-alpha-card-border-5671.1.2+a479d3de","@crave/farmblocks-theme":"^1.8.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.1","@crave/farmblocks-text":"^3.6.0"},"gitHead":"a479d3deb7e187cbc335ae99eec7ee606c7047ad","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.12-alpha-card-border-5671.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-YcXm1TmGIz0XlNkH8frbGHnRLDxj1roArnc9Dhp9GaIgYvfJbtbolTEK3GmgtjXKXrDD6mTEOGD37JTBLqy7tw==","shasum":"ce4274acc195c496428157f740a670541be2f6fc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.12-alpha-card-border-5671.1.2.tgz","fileCount":11,"unpackedSize":76320,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOH0yCRA9TVsSAnZWagAAxwkQAJ+xMPGr/z4P52NS6S2f\npqz5o6iuKnS1eWQRA7U3PDKo/DCl7RYCh5wV7PEDUth1NYZTnuwU90OSMjUF\nVdhcRfEPivTvl9/aWt5fBpYCfD3DWOOKaxDWGITjRjm0dabV74FNFcqubEZO\nQ7TRB00vj+H/0UVNlJTg7kxQMfkmftkVUWHl6QmVOM4P9UsNjS9oG0h43QZg\n6SOdRN9fL8vrxpWnL4kprLoyAkArZpPK2Q6UXhi3mok3E6IhxkxCkuacHQNp\n0Jl9ERASRB0hl7d8uIYzU37/WT/tMZawB+ms5nIN7KgA2W8mJgzoY+lpnGBL\nVJCq8KlsZy4hejFizo4Zxw9rxSiQLB2NH7C9HEJZtNpMmFaMTdKFcCV8vXZM\nw5jRpdbt4evjw+Ygg8aKlQ6kNOMrUxq/PZLXuVvNQbGl9WyStHbNfYtwrQoo\nhbDlaFwJksWd7Ia7zuzML30j+RR5V67D0DqBeQIw0sop+Y06+khOQumdAzY/\nI6Fh3cypmsUBUzSLcbpfwewLE2nQBgQ+2enLQW3fpZ9IjR9tq9PyUVH8pjmD\n666Rz/KK0xFBVMhUVWJoNFp40scHSif8KEq3V1KaA+9m1OqH+2G2hTZS8odF\n8m6kLKSwPuZjuxroz1SS/nryR5D0O93I6PbvIUyQ9g0k0fNvTnmnLEKkQ7xs\njB2w\r\n=OlS+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBpqX+iXe3tskEJN+YPtRW6YJclEjczhkpTCYdjp/u1PAiByVYfrAmnZCdzeBVw7bfrWIeti+uT7NbcwZW8gQX9/6g=="}]},"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-search-field_3.7.12-alpha-card-border-5671.1.2_1580760369052_0.45505666655573074"},"_hasShrinkwrap":false},"3.7.12-alpha-card-border-5673.1.3":{"name":"@crave/farmblocks-search-field","version":"3.7.12-alpha-card-border-5673.1.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.5-alpha-card-border-5673.1.9+64037a6f","@crave/farmblocks-hoc-input":"^7.1.2-alpha-card-border-5673.1.3+64037a6f","@crave/farmblocks-hoc-validation-messages":"^2.4.6-alpha-card-border-5673.1.3+64037a6f","@crave/farmblocks-input-select":"^3.10.12-alpha-card-border-5673.1.3+64037a6f","@crave/farmblocks-input-text":"^3.8.12-alpha-card-border-5673.1.3+64037a6f","@crave/farmblocks-theme":"^1.8.1-alpha-card-border-5673.1.9+64037a6f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.2-alpha-card-border-5673.1.9+64037a6f","@crave/farmblocks-text":"^3.6.1-alpha-card-border-5673.1.3+64037a6f"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.12-alpha-card-border-5673.1.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-O1Doc14K/Fd8j0Mnh2BJf8at1bdueheQGf7VBLmDDHcecDYg2QxRWcAYL/oYJNP51uwKYM6BPfufwJ6Zz+oByQ==","shasum":"23cb8c368e721fe41beec55f7a5eb101e0b880cf","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.12-alpha-card-border-5673.1.3.tgz","fileCount":11,"unpackedSize":76500,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOXy6CRA9TVsSAnZWagAAnZcP/0oFa9Zzo+A8qDZeuW4s\nEi+tldXwyUaQiQEFV4OB7oWLxNJHNtbNEQJjtOQ+6l+39YuhHjjIzaI651LW\najjKhJCnJ0LPxDKbX8FWb6LiYGXxk+LLxGTQnOSHbkrR3cYHhigRqO0CNKY3\nRMlt5/USg/NIpAMFkRy/YI9OpuIps93X4oiX5oH033Ub6tZ8sVDe/VXVk6Tg\nDQGQazroOXHwp8MKmnKzLoG9gKQk7VeMpypngtUXXaYSg82sTAFYrkx17XRq\nwYU6fNrl1LaAcDZkfSCmZVC1AiSDiIzzNW7yuoCjetI0z6KLBTmxP6hqtzYy\nfKglkvrGQb3eYBYR50IDlNf8VzHBOX3jNQnr/SfhGxos25h4YKuBJS6l4Ege\nqSJM2Tqo0JnOTMquL67Pkuei+woqOyoeJP2i0MAbJy+H31Tk31LD6Mglbh58\nhfSUXwN0Jy3/TDw+XAtUUlWg1LQ3JC2LG4/dISwGvKW5bSCy7hAnOrUa6Mi6\nDv1Oz/LhfyMLpGDsZXBNXO5aHhp6wUybcLvYBUGsQoBzkI5zGJNnUvPBHfCu\n6jdVnQwr6LeaB2Jv/HdLwDySbpg2/32QdYZidgGv2eOT5GTFQZXdp8mhsLcr\nSCsAm5yF/4XT1JAeqgFUy6C0lLYGaix2RZWi4VlFK3Z5tz9NkNFstd9lp2Y+\nipg/\r\n=edmX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuTk+k7eR0X0jbxj6/ZHK19x2AiKeBaMMBlBc1kjpy0AIhAKj+Lh6TLKizQPcJmxc1nbWRYd9foS9VKFcNkWDdG8od"}]},"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-search-field_3.7.12-alpha-card-border-5673.1.3_1580825785743_0.22746003898292355"},"_hasShrinkwrap":false},"3.7.12":{"name":"@crave/farmblocks-search-field","version":"3.7.12","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.5","@crave/farmblocks-hoc-input":"^7.1.2","@crave/farmblocks-hoc-validation-messages":"^2.4.6","@crave/farmblocks-input-select":"^3.10.12","@crave/farmblocks-input-text":"^3.8.12","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.2","@crave/farmblocks-text":"^3.6.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-search-field@3.7.12","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-+iR9XgGD4S2IdQhml5yhJA5ZEHg56aAbLbQQq9qE/8B8LbKgPH0ULHEdz+Rc2SwASbcYN9O57qRDVQipAz5j5w==","shasum":"952400680e3946f7ce4bbe9d3eb51f4d251b53a1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.12.tgz","fileCount":11,"unpackedSize":76405,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeOaiICRA9TVsSAnZWagAAYVoP/jBnXxdriDDp+9tuacjp\nRlSxjeSL0Rakt82Whhtbbp6pSnjpTIDS0OKJMbZh47FQLy6L/9r1X9Gqa4SL\nLl+bbrVbSGx8AQ7Ir1Ut8Hxmxuuf4N6tyUDU6af08hgZt1haNSRuSYbadWL0\npKJPuMpG4UuIS/WEE9jWB6IzGjVThpuzObnH/4igp4ma/typuB34F00LtBmm\nbjc0MqeDJKfrPnKWXuXhpCXl16RGGWm0DIJy4QwQsyk0eW445Sq4URb/sZiT\nmM6yFBfZKddPSmW6mYSbEUGMLOAKiVp4RoqkKG9c0fQEtah45qDuQC5/Kwzy\nqgaiKxK7Qn4jftamoWTyfUzGNxl0366mvHef96jajMaQoHRt0373mK3e29rL\nZD1lTuapQj5Efc141jEO9HzngkVx2rKiM3WbkN7nK6qaqgFfBM/52uV8xTqF\nUfcDaxeDtkN03He9R+SHrXWxw0EaPKRQ10AKQXg+R2RR/WBZoURSrw1fNOTq\nYNfAKi8E6dAl+pZKMoH0PIujVgMNpil0gJBxmEPYKV3W3PhW/Wco+WoFv/xe\nETRug7anr3papGEW4FCF2yyGDiXzx0rT5B1JcFrYSyp0rD3YLgbzVBhiywnX\n9qT/jpG0AnBEuVkZh07jRXk6n1/dc3B4vT3gDrgyuaTM51A2ddR08t45izR4\nPx6b\r\n=2Ywa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH/nh//dV2uKDB4k1pCWKDT4csicFy1Vf+Nvd39QZslRAiEA45PrwKLcGFZ5WkatE0rXNUTv30UF3KCsBSSBeNFqhrM="}]},"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-search-field_3.7.12_1580837000006_0.8006753586833282"},"_hasShrinkwrap":false},"3.7.13-alpha-textarea-focus-5684.1.2":{"name":"@crave/farmblocks-search-field","version":"3.7.13-alpha-textarea-focus-5684.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.5","@crave/farmblocks-hoc-input":"^7.1.3-alpha-textarea-focus-5684.1.2+1e31a97d","@crave/farmblocks-hoc-validation-messages":"^2.4.6","@crave/farmblocks-input-select":"^3.10.13-alpha-textarea-focus-5684.1.2+1e31a97d","@crave/farmblocks-input-text":"^3.8.13-alpha-textarea-focus-5684.1.2+1e31a97d","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.2","@crave/farmblocks-text":"^3.6.1"},"gitHead":"1e31a97da0202ec0a28ad0ee75ff3b6f605bff37","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.13-alpha-textarea-focus-5684.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-nmmK2/XrlY/Rmsgf3HvTrj32GOVtIZuV7xXfqaTS6Dq9d6SfsZkMKiyFUq7R/7qKrE3n3V0UjEX1ADdgdXFKlQ==","shasum":"bc7683a421ba6a26798b5d2a2caf07de69dc6f74","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.13-alpha-textarea-focus-5684.1.2.tgz","fileCount":11,"unpackedSize":76561,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeWCw2CRA9TVsSAnZWagAAkfUP/ioYLLuGROS49dWJb96S\nejZVC3ru77fJThzZwrJmEuiGvpm9vmCMJoFZCeninIqkiGpzjHdBRGK9gCJM\nmtKGS9dJ2WGmYot/ie9KDf5zXXjyoBcAqaOtwGvHoHBvgSFL3j5ohf7ECPZ9\nYgXbNQ7N+c3/pJTUHJNIdf5GD03gToBCjf9KNSZVaHGnRZ3zyPerci9vdxJo\nQFx5C6waCbOaKH+dtyQvg2UBH184LEHDye5/2jVOvpQlK0umDJJxVGT8X5mX\nWnvzNpyLtQwcM1rK4p6l82qSKna8MI77Be3qknKHIDYW9SElwObwfu3lEEyK\nFSCBjZuaq8u3raYmRVLrnvCjoLwMR3Oi1i36Y8d29QgetI+wqBVN9NRA84N0\nZkHKkhqrabaxGtazwD0SVYfHTVkOijyKvPq/vjuqGbl0eX1ZZtdO3/mHO9qc\nL4eNjPxUN0yfzP8E5xPt8sRfk5iZEcHoz26BO5fag52ZzRaLRZpBfzZAI245\nFk3xHBlDciQj3T0owOvpPjbn0Qj/u6KyTukL93PhfOteA29+LAfs9YL9y518\nlzqDZPnJ+tbs2WqCnfsgxizkbRzfPTCTiu4M4dQoJM+zbFATnFM2JKcdaQat\nLEz/uldzHjQQ+t8v5z0DzI+x0dGbYxmmCMPLs8fxVJFSGxQMbrvZ40gz2QnV\n+N/f\r\n=7I3R\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICsRewdWM5zSAhwuIO2q5WSylrKEICxqmntQPgUVtlM0AiB/vvMXFGeZyaZK83rcV9wNjyZQgbLjFtXNcRP858Go0A=="}]},"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-search-field_3.7.13-alpha-textarea-focus-5684.1.2_1582836790321_0.4289354803835581"},"_hasShrinkwrap":false},"3.7.13":{"name":"@crave/farmblocks-search-field","version":"3.7.13","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.12.0","styled-components":"^4.3.2"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.5","@crave/farmblocks-hoc-input":"^7.1.3","@crave/farmblocks-hoc-validation-messages":"^2.4.6","@crave/farmblocks-input-select":"^3.10.13","@crave/farmblocks-input-text":"^3.8.13","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.2","@crave/farmblocks-text":"^3.6.1"},"gitHead":"7fd599e24bf507106040b78e8ea6f63939a11594","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.7.13","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.19.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-dHzjaJyqgEEUdgP79ltKNSkNlfmizR1etlc51IKVmU6CEkczvaFQ/MiMSVqufJksw9deRKQRDHnBOklMVvgQZw==","shasum":"6e6f414d0149027c3ec76c1c0626051016e8998f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.13.tgz","fileCount":11,"unpackedSize":76634,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeWPyVCRA9TVsSAnZWagAAU9wP/2qDveJmFqleeWNR9XQt\n0C/ePBaH98rkd8NbwSF5aYY50ULD44jSM9PKVEFsJscVzv4wJAPPzDawE+Od\ncbqQACODc0AaGPtva8J3L6g41uU0BgBXmxGLUEuvi8TyXRlg5tkGbnMunUM0\noXsDwEfcQyeRc+ZFWzpCuPtCmG57OO5+Ml3Ew8sAqthsAdOl97yn+jmyPMFv\nxYJRR/+9t6lk/iSuaqSvJ+m5n7e4BqzhXtP3o+qY6659JRgvFxPoiFoYEcrF\nrHxL6FDvGGbBwO4OfQv9U+9jlsZ42DOkisKkhhBcl2/+YH+lAZKRbtU+geOx\nqy5eBl12myh9LXrinVwqPg+ZijD+bn0JSEZWnrMpLRBCSUsswJyvb7rRLgOE\n+aeThaJS4SANdDZPicPetgAX/18Uo9NXlUV5bhGmuHpw2mZaZN2sfLejHzPq\nMBVyMTl3znpEmsOqpNT+o9SrmTEWvughKNNTWUuZAdC3mLEGHJhe5za/fUgK\n9p+gDChc85GXpbCaM2+B5fwzf0FbP3xJuO4NyxcmdmrkRKcf64ouZTaZ3V6f\nEOmy5NcvBK7isV0Hpcebqwjm4csXmGlxA2xTY1o4WIp4KOx2ORc1gxJVDhY4\nlyXAx6zFDJ83U57BPbQUw3iBx2NMU+STW1lJHNuTVo4YBaadcq3AsDcW37Gh\ny5KM\r\n=+B/O\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCMUr8AJdCUaqT1U9/XkCafJYGI6lXeduCqzVTPV+RQRQIhAIkpr0b3o+/yba4/kIwQNDloF9sI348y2WesVsnSqWL3"}]},"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-search-field_3.7.13_1582890132668_0.4256328371228013"},"_hasShrinkwrap":false},"3.7.14-alpha-upd-dep-280220-5690.1.25":{"name":"@crave/farmblocks-search-field","version":"3.7.14-alpha-upd-dep-280220-5690.1.25","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.6-alpha-upd-dep-280220-5690.1.28+a8cea52a","@crave/farmblocks-hoc-input":"^7.1.4-alpha-upd-dep-280220-5690.1.25+a8cea52a","@crave/farmblocks-hoc-validation-messages":"^2.4.7-alpha-upd-dep-280220-5690.1.28+a8cea52a","@crave/farmblocks-input-select":"^3.10.14-alpha-upd-dep-280220-5690.1.25+a8cea52a","@crave/farmblocks-input-text":"^3.8.14-alpha-upd-dep-280220-5690.1.25+a8cea52a","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.3-alpha-upd-dep-280220-5690.1.28+a8cea52a","@crave/farmblocks-text":"^3.6.2-alpha-upd-dep-280220-5690.1.28+a8cea52a"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.14-alpha-upd-dep-280220-5690.1.25","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-pc7RCQpk3/HQ1Upk1DU2veqt0zUWXlKpsFIzvK6NscU2yRXLrQ9W2WH9PiHC0OpPT2LwSfJOcOUKK4EP70XzkA==","shasum":"ff17d3c2ec9f3c6416ba06ff61dee46a3abe49ee","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.14-alpha-upd-dep-280220-5690.1.25.tgz","fileCount":11,"unpackedSize":77006,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYVm+CRA9TVsSAnZWagAAl30P/j2fdtvJ8LTeJzWqECE/\n+wByhGoKo27bVhQUr/V/1roYVPXOmINVkWKUlw5deTvzREHmzcllUfLY1GM2\nl2V8Sc1B/kKmhakISQdxcSCIYTAsaA5rX4M8Y0c4mh5Bu/nl2zlS6NND6ARr\nUGUFaxRKe8o38aYAY7VKOJ6pmmORv/sfhc9FaywikbK6j9GUUcEsLNDo11s6\nTAg7sxKMDaykIXH6qBozxJPbwWzU6gegjmHmr7dndmv6EIk/xB3Q6LSOGIar\nyFc7U6OFh9hBBYD7pxllV+6IiHxXcrqZaaW48l3iKrYC56q8MA+wvxnP6xJK\njd65veBuAbt/99ACf32UZN7Mt/sGO1+D3MMlxWfnswLzrhpK8YIjxK+r5qVc\n377JS/ztJ+AVCKoTFWjQMW5+ZQFeK6RpDBZ9JHdyxj33fkmrs2qVAqKkwygv\nUzVYBPAJbMEp6zWDdJo5aa7jaWvxYCeTaOrfvkzi7Z2Aw5V0UXiUNyhuEj0Z\n/J1RcJYZ/jhHp7VwOurjtosTTe6XlAKm33m71Pa8AmE9gA5bhBUBmRraTxie\nP6Cs9zkEI19eHepmPIBvYCcrY3jSzpq5EDm+EOJAENiLZPG19uiY/x8ouwSn\njh+GZga63xQCs1KGBnkDiCnGS2FlL/4zyKLKBy9ZzeHDc3+ckv3igpJMF398\niz6K\r\n=auez\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyEcVhF+4UF1M7VDMhotKDafHgo0AMomC0rnJPvnVUfQIhALhl9nWTayORMnicZJWko/1+HOT1ABaWNXiA2caXQbJV"}]},"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-search-field_3.7.14-alpha-upd-dep-280220-5690.1.25_1583438269932_0.8217113467855743"},"_hasShrinkwrap":false},"3.7.14-alpha-upd-dep-280220-5694.1.25":{"name":"@crave/farmblocks-search-field","version":"3.7.14-alpha-upd-dep-280220-5694.1.25","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.5","@crave/farmblocks-hoc-input":"^7.1.3","@crave/farmblocks-hoc-validation-messages":"^2.4.6","@crave/farmblocks-input-select":"^3.10.14-alpha-upd-dep-280220-5694.1.25+a6d133a0","@crave/farmblocks-input-text":"^3.8.13","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.2","@crave/farmblocks-text":"^3.6.1"},"gitHead":"a6d133a0e16a45085f575e1545eb3ab4e20b6534","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.14-alpha-upd-dep-280220-5694.1.25","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Y24vnm9izQroU82Lyw2DPp8U3+sMqT1ebu3cT9VOQ91E0X6VtqkT32b3QUxINmXt4WONpxEz0ZogCixL9UZnhg==","shasum":"9b1bb63a8c8cea07cb9f6d8fe20d4e54aeef7b76","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.14-alpha-upd-dep-280220-5694.1.25.tgz","fileCount":11,"unpackedSize":76766,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYVyVCRA9TVsSAnZWagAA9o8P/RJan60SZPeZJDfCBYPc\nno2PMQtOG5433e0GJc8wF0vrsTsIt+29h3gvoC7H1g0P+iGrQBiAHyoTXYTc\n5KRwAdvkZNRswaCYS25ndM33osPWOAaDiVylSCGba7xZNotOQSubJV1VHa23\nfT/lO5zZD+efA2Q+P1RjYbMOPLMY3fbbYl3/ytnrWTRZBXktR2naQ/YcMXKp\nGVEjh85jOYlZzXI6nidpCTdJRkM7yqNJB704lbq7sEXs5zXore2Nguj/Fchi\nT5GJDuTso65h2LqkHUncxCeTJqrN336ohtJf09feCofxUiGVeoCs/CQtMxrn\nssOmwMOegZh0GguBmmNKiemPFvQ9EFrIp1o8eAqmnu3dYAhjcMkQM0oj5ntB\nrX3/7j85r4XmvYOK5zGTHoXZGK38MLWbNo4FnsA8+F+q+infaR6HSXY4XW/h\nJMXn5IB/0o19Z825+N1xxBikyrzpC5MGrykTyYzubI1BrNTk652Y+tJRX/9I\novv1SNlINSIH7hsAWjPRY+AuykBEKmzAo2MHDZKyAszF0tuKUnLcSCAXlAor\nHg3lln+RqdJudbBMmr8fVf4DkfIdeZGAu0qPslYEQBYioCTwwT759v4QH0Gy\nLf4Ym+QtB6dukezjmb/qYHCUUDr3Jfpy1/lP4KFSmlNekVicnv7EGQaaIdPM\n9E3F\r\n=bBq/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIOEFEveTTfJWlXdfN3IGty2XXlUI6GSUGmz/7+odxbAiAJMfz5ZM3ESp+62NN/qkYVaveGBn/+GRZ20/2q5UNEow=="}]},"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-search-field_3.7.14-alpha-upd-dep-280220-5694.1.25_1583438996535_0.06271207287557057"},"_hasShrinkwrap":false},"3.7.14":{"name":"@crave/farmblocks-search-field","version":"3.7.14","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.6","@crave/farmblocks-hoc-input":"^7.1.4","@crave/farmblocks-hoc-validation-messages":"^2.4.7","@crave/farmblocks-input-select":"^3.10.14","@crave/farmblocks-input-text":"^3.8.14","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.3","@crave/farmblocks-text":"^3.6.2"},"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-search-field@3.7.14","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-ICGP95cBG4stkA1r4p80J03HZu21toYSmZ1T9Idpx4FEO2m8zSiWY24DQKM8xEEml42za16BHkGMaAuniylBrA==","shasum":"da3fd8c430a1a2d16faa0ce8b25cc6b5d987532c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.14.tgz","fileCount":11,"unpackedSize":76915,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYm65CRA9TVsSAnZWagAALUcP/jZrS7MktSwpEKi39srG\n+Lxm+kUTWc2DQrp+aH5nLpP4t+8+gc38h6PynLdGIlDsN0uOj3Pnjk6pgarr\nYO+kAEn4EJNgi0qNC9HmpFi35HwTPrpCFNwLT8/dlgeOEQo09S/baTTliYVl\n1pEi3k1BX/HiGyJdt+qsYXr0H0AN9gZqwFB9ni/tF3GtiFM/gcczuXcxqm2b\nHDL4A3euGZLEMDBbnVoC6B32IOBSckq0ObjHSnTBVH1/luYKAMVfag6p/zQF\n+meNf9KeOMF4oi0PGJTcG31XizEGFw+huBVkZuGLeXvJGqVY6aTUbYo6CjTj\nsgWD9vmDIklMkKkXxlamwcI9viVBZ6xsu55qhhIY8zzkqy/yLOPma83JQ1+S\n3WsDBQMrYEm/T5UYhUkQEsqKBc1QzWXvUY6cV4Bq4RhjnezJC3Hyp6VhkwBb\nUZMDaCbWll5OHznPepdqZdR5KLwnk3RISCzGkV3OqiqfVV02rDK2oIrYnXxw\nxal8mdF+mYP0qrBs5ChN/1f4aIhS6qjL7tNqF3FICu0ymuhBK7EjIFu2HDpu\n1x/091P6hZip/lNZ2TV9f2KTNyeTuWh4XRR22G8E6dvMWTiOZFKTZD5OJ2GN\n78j2QyUAGAjod3ApEj0e0eu9tQo5kf17V287YF2ZmgB377Vxy6Gay4QDZzR6\nZMNI\r\n=PwWM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF2Y/9Yy8mSXtka4K1GpY6gbC/VV8NzuDR/zyqbZSNBvAiEAn95BScafbYjo30q4XfmPyKG3bCnJATjVblyeXMZbmzw="}]},"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-search-field_3.7.14_1583509177028_0.07618965933571342"},"_hasShrinkwrap":false},"3.7.15":{"name":"@crave/farmblocks-search-field","version":"3.7.15","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.7","@crave/farmblocks-hoc-input":"^7.1.5","@crave/farmblocks-hoc-validation-messages":"^2.4.7","@crave/farmblocks-input-select":"^3.10.15","@crave/farmblocks-input-text":"^3.8.15","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.4","@crave/farmblocks-text":"^3.6.2"},"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-search-field@3.7.15","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-CPEMB8ovAahnnuqHiEM8dQSwIk7A4A6aRMg2T7YS4zfYaO72V4M5VGPEAg9AQ7wghSOn80zQRuwlw31Rhk5Crg==","shasum":"f2fda756a68fd6704bc24c90c03cc886200b3ff4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.15.tgz","fileCount":11,"unpackedSize":77144,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevDq3CRA9TVsSAnZWagAAgsQP/0uJ0lg4PGZqFywnCLbD\nd59l8b6RhbdesQDzOQzjKKMOeVeV4E/uq+NQxTtu7Zr4npmqgt3y/HWe+88U\n7hoPIcWXNFROvzDHrkJKONEnek5XTeIx0GRuRm3nHKCaF1auuSrKppRj1oIZ\n8+XeNNv+PEnsh7X6bNd+BKp1II5yxToUWTiAQ3RGQnb4FD5ZvdC4JYJzL8dA\niC/13+3udY1YcSD64p34wPfd/xgB9BqkVz/bmvOaJWluamr89InUgaE6sSaE\nF7QCscbAhdRq2dUh5gcuUDmD08+M87EHjQtc2RM0MNWNhiZ0kdIsEbUodpok\nEbi0+1ptDNlJDbVHYeZeTeIDPPQF4en7SGVwKZOqAnq2aCTkQzdXneIgf0ta\ntJlneoemK6a/1+qU2dKY3IUFIRHyAUeUrw1zfkbKYP5EoZ3hJ9GPgOz57VX7\nz55JxBV8CXxpwz8eFlXT2077VLIUNE+7T10+4mfXobFYvVxBohibGbh5hS6X\nraYoe6SDAILFxWLYuYbXPaAk/LLFm7iPSFfygvvoPtqPRcXjsUmLnAbA3z8J\n+EAleK2ilU6IGBKmqO4Dxm+E8u4I32Q3NOVPc7sItYRM8wxibMhb2NPB/HrH\ndP69Rn9fE/QUXRAEQ+++6bMPxDiBEc6FmAWKNDEyHAPD1iLxKnwven6bQGGz\n3Axw\r\n=z+Nd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPqDyoVolh8oFUqrZL1gPozxmBHfkseQWNaXELsGdpoAIhAIlQz0rdTBG91DHxAxqAVzrnwSV6fl9Bd3zzaFRrkM5H"}]},"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-search-field_3.7.15_1589394103141_0.8383743769558163"},"_hasShrinkwrap":false},"3.7.16":{"name":"@crave/farmblocks-search-field","version":"3.7.16","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.6","@crave/farmblocks-hoc-validation-messages":"^2.4.7","@crave/farmblocks-input-select":"^3.10.16","@crave/farmblocks-input-text":"^3.8.16","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"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-search-field@3.7.16","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-UZBlsQ2JSCeTKbz/6KHJxFA/mW46F4kgGf/Si2iRihNPAceDcd9qBV5dLlSuXY5s0w/MhYGoRtRXx1HNihO/Bw==","shasum":"f8a5898200bb27d42f4713fcc31ca89b181c4368","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.16.tgz","fileCount":11,"unpackedSize":77373,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJevVaNCRA9TVsSAnZWagAALe8P/0oN5BtJq5nQe3tyXhEe\nTbgT6jvxuf5zPomxLjmrtrYOmVDltyhOI7XypoI7OnM9czo4YTnOL+dxUy8S\nPBZMXIkHjzMg5Abi9xUgn4Jb0jRArV6xYvZrGOLJf8ptgRTjU3cFPZH9/wac\nIyQHCkq43o6F0f4hjuHPvdbzp5ZZJeyiAdwkVKEjkakz16EX+4GUTDdooKsz\njp4xhSNMrZ3Hc+zm9HEFj8HnAJJvwOmtlFChldJWkFhNDbDES2fw8LgmPNPr\ncPTdAE568gudfObehDzv/JYBZTlGk/pjArAQ//FO8vugX/mdt1fZ6BoDvOfr\n1/kXcLr9vzqmc49bKljghmJsIejlc7+x1ohkpCsMI7RX+8x2CbXS4JW7rWaC\ndcFw8Lvj/9O6ytWjsUjLqy/aoePKVzHNOkWggFG44YcasUVkjrDd0lEnqYUG\nLTvtQa03jaMM+H95bdqbeompM4vuIBQGC7InwUQjtATX6F2IRkbgcV/s8hkm\n8Ot4q/CAJpouFME4sJsB1EWXKgggDHfG/tdJzNd14vqvYwikT8FD29+kTerQ\nY9JJH2YZjrj7vaYPLwQooi1MtPhB072GhX9GLVDeeQn8wxJJwu7r7RXxXkv+\nGXRZyId1BPs8K7S4n2dIwqpzJ6cEOu0QFtE9KnCkOXZDG1nvyHEHgkWzZheO\nGknO\r\n=h+i+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEN7mfzJJkzLiRQJi5EBVckTosmBtJrNKJMruWO9TX4fAiEAz+NPCb+TIlfpO/5WaGqIlr6CmIutyStlaLWj6QN8DKM="}]},"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-search-field_3.7.16_1589466764479_0.0991113103510688"},"_hasShrinkwrap":false},"3.7.17-alpha-select-menu-visibility-5733.1.1":{"name":"@crave/farmblocks-search-field","version":"3.7.17-alpha-select-menu-visibility-5733.1.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.6","@crave/farmblocks-hoc-validation-messages":"^2.4.7","@crave/farmblocks-input-select":"^3.10.17-alpha-select-menu-visibility-5733.1.1+cef309a1","@crave/farmblocks-input-text":"^3.8.16","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"cef309a1ccc0c85a98fc18097defb31f4fb2f333","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.17-alpha-select-menu-visibility-5733.1.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-4HkF/goYI6ntwh5CjERKEjb68MwNM0GFY6RFnJNGMh6QAmsI40UjD55WPONk+awbQ4y5onkun4h/Og6LLDGnrA==","shasum":"b5119d5ad75fedcab87a581101b5bfc9cb008f75","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.17-alpha-select-menu-visibility-5733.1.1.tgz","fileCount":11,"unpackedSize":77467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1WixCRA9TVsSAnZWagAARikP/igQDRU8JzAJiXF4yBEf\nJ4atCQtfbd9tkfOnNNMDZtvgUE9eaWV4qDG7TDuKee823yBbAKGXU9QLQLG/\nHRhc6oiA9rwu5fHQloG0ar6XPKj7fVOcPWwuqwrA/vT9OA0dieTUAT9oUI/w\n9xMCykQAYuqOuDUxKMIWa2weeVPV81QsufyLvWcQgziZFo/AUvUu/86hHe90\nQCOMuzwKYmA3cr5TT3P0PwlovTMm7gyludy9yRUgt+k0Q/LsWmhoNnmirkdX\ndaIAhO75qIn8Jcedfj8+pMGxLrafLr4z6L0FVJxolkUfxQl/2rk+SM/CQ4Cr\nikeYYz07l92TCH+/bZ7iVI+eb1pcmWYkNtn3VkaFlrR/amCn3B4Cc+PMWEGJ\nof+fghOACln0fO0CnHihlkh2k3FkyXLDXZkZrS99ZjeFLINf1VctpA8TnQ4V\nyw7J0XwFe3n/m6lueo0vzBYYxnRm2RSHsWTp9C3jBpFL/hjKU3k551tYlayn\nrqH4Q+SrKnKzZ8EwSijU/GMgDI/EtaxIQ4WgP5nOl6LNSe+H203wVvbBj73j\nS1pn7U30DYPA6Xtf7rf8y3K0GRW46dzdt6EQmbFGxioXxb64OqK0aKiAvs4V\n3eCBiidthUf9vnasto+MCzqIVD8G/mDFb0JzFejhy2taudp8ROzTOi0Z976R\nxScZ\r\n=ASrY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/3+YS1pNIWH4aNEtFzLC+ZcW7gJMIN/2ocnWkxSCQXQIgR4X+dks7S4DNzT5QvXBhN8zX3RQFXBJeblZV6Biy5E4="}]},"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-search-field_3.7.17-alpha-select-menu-visibility-5733.1.1_1591044272523_0.17749826802005408"},"_hasShrinkwrap":false},"3.7.17-alpha-select-menu-visibility-5735.1.2":{"name":"@crave/farmblocks-search-field","version":"3.7.17-alpha-select-menu-visibility-5735.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.6","@crave/farmblocks-hoc-validation-messages":"^2.4.7","@crave/farmblocks-input-select":"^3.10.17-alpha-select-menu-visibility-5735.1.2+0d74782d","@crave/farmblocks-input-text":"^3.8.16","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"0d74782defa799fea637abd8b1c78f60275f3fad","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.17-alpha-select-menu-visibility-5735.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-zIcN855Fig2KCL+QbbtdDHHFQKCH+U2id0fq7ppHfnclyp3XBmoy3S4u0NOOG4SjRPyyITeLQp0vVxqYWws2dQ==","shasum":"0c61cbc5b0ae1371ee135f310ef1b4a3667563c5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.17-alpha-select-menu-visibility-5735.1.2.tgz","fileCount":11,"unpackedSize":77467,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1/xKCRA9TVsSAnZWagAAkZMP/juZPaupO5IfzOxOLKCY\noEB0eDywqIDhX4SNA1R2nHdl/xAI+XOFRM06NpjEVeedLas35S9wlNhckche\nDJzTX6pw5XsL5AUU8Iof36JVsXJyfqN10qCujbS3ndQ4s9QW3wgDIngV3dqn\nhj6FKKrMVYmUKQtP7ATf5VPc45IHcd674ebUbJChPWuWYv2Lxoae020MwC8h\n+zXMpf5Wi51hWErGMlwI3E2qOCTYTEeu4Iywav38W/+GyRWcGryyJHXik6Ih\n3cKniLWApb4aFD6+eWCIuO+BtYeF7bvbs04pvjp/V6N63wbnsqwe38l1s6x5\nGfhUia7BWQugrNsgrzLam48vG8ISJ39piS5aoP3E1SAyHCQ7bW/UXrTwPiQ8\nmhaPfUY/WkEa5YZUjW/iI87mxy3D1GCVDEhkpsHOrO8HEPbvIYdIlIyoamLc\n9zCMWm/tPipMW8o0HsquEkpPWrFp/rbiDe0Wg10KGhWMxk2dSw4TCFNP3b+P\nCexmcAL3c2whS49xjkjNtSsMkCh06HGG130esNvi/8gnVQ2jZ5xcwF3F3Vkc\nM2hl8EJnVDo4jH1BewnfycPO73qT9yKporsVKtno0+NkRZ/kIIAj2SnoGlDx\nZ36JjULc8MF/Y+40rD5K5WQV3ldkciZje8CkN+BsXsPQGavqTdJWu9mOR1+T\nVCPA\r\n=zFDu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDp2ESfWzxs3UDby2628gncOnQqQ43IyaAXfT1Ow+2KXgIgM4/5gKJF0r4jvz6ra82mwRIENOlRIL1II7i0J2dxsE8="}]},"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-search-field_3.7.17-alpha-select-menu-visibility-5735.1.2_1591213129609_0.8106234156659302"},"_hasShrinkwrap":false},"3.7.17":{"name":"@crave/farmblocks-search-field","version":"3.7.17","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.6","@crave/farmblocks-hoc-validation-messages":"^2.4.7","@crave/farmblocks-input-select":"^3.11.0","@crave/farmblocks-input-text":"^3.8.16","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"393c2fcc38dbef1379b58203ae8e26281e16fbf5","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.7.17","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-X5iZdTwF2TU4HySIcpoYAXZ3N9HUQ6ZuU8RDybjIoF725Z4wGerMYjqftwmKuVOdETHtdnD9H9Ss+fjJf9kyUA==","shasum":"73cca59f265d8a6fd4f33ba51e1da14537312296","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.17.tgz","fileCount":11,"unpackedSize":77601,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe2ORNCRA9TVsSAnZWagAAz5gP/Ami3RM1MllgxfefTGba\nNDTrWWXxwsy2gzGXtAzeyokKBBZKdiwKraYUK7KMFj3k2F+Xv7mrDHqe5+N+\nSlUXtphXaP5crlH5dQ5KRuAvKBj0OfJERTQYZIIzmdhRknNb50v79C32lG+U\nYBH0TM489vGzyyCHodO1jGubtWUpY41FZkKKHGe9qmx4syqcEYJ3YN+5icfk\n0x9LhzhznYRux5P0GzkpJb7Ugn/+vPzjj6IvBUn6xdWugl9cMu210qJzTGB8\n7oMaBMd8WyAqH5wNE5RWv3jKgBnx2Pf48e971gDd+B4rrGU7ZO2EjlxKJlwj\nhaTqa5j0b9lZRTx8R7kosHmpajqQnX39Kt7s+PzvsnvkwMpkJ4FtkFIPHCNz\n2JIQDbMe7SAqUgQ2rpckrKGbXtcXEymlNiTDDv6BHM/3ork7j34fOb9vu/c6\nultDVUC+mBGIoOg/iXVu5dzI6h483hrJyvgR5JdIneSXIxe2YfJmbWHPGGyi\nBRwonfjmgb1lLa3H9FgBCxl3o9pHhL3j5fRUvWq3QxwmkeMhThY+uNmQBYQz\njIgvZiJ4Xb1bh6tzVo4DTdAqzGRc2ePRePkvWzbBRhNeSLtRpJNbI1Lxxbqa\nPOV0+Zu90FgWwg+0vNNbzT7x0lEMBHs5yit3Nr9esm4OCddr1wBAXnAA6Ifx\nvvwh\r\n=pTe5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtM+lvenV44BSrq+Bl3+iaJGsOgAbEtGCgQcpE6PnzLAiEAwkebu9c5WHr+0+DSGnxLx18B13a/fwxH6unS3kQgloQ="}]},"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-search-field_3.7.17_1591272525111_0.5897514794787111"},"_hasShrinkwrap":false},"3.7.18-alpha-new-label-5742.1.2":{"name":"@crave/farmblocks-search-field","version":"3.7.18-alpha-new-label-5742.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.7-alpha-new-label-5742.1.5+868553f6","@crave/farmblocks-hoc-validation-messages":"^2.4.8-alpha-new-label-5742.1.14+868553f6","@crave/farmblocks-input-select":"^3.11.1-alpha-new-label-5742.1.2+868553f6","@crave/farmblocks-input-text":"^3.8.17-alpha-new-label-5742.1.5+868553f6","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"868553f65440a9c443059bc2eb14ea8d033c4fdb","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.18-alpha-new-label-5742.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-PLXJnLdBWY6HPMIqERAy9/YKNJlxmNpzY0jLorJ3IonzvVvspqx5mAhiNfFrZUE9fAhL1zSMTDD2Wu+oE4sWzg==","shasum":"5a00ac749e440f453bef06e03cf7dd26c33a9d51","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.18-alpha-new-label-5742.1.2.tgz","fileCount":11,"unpackedSize":77772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe7RNeCRA9TVsSAnZWagAAr4EP/3h0dycYAd5qp7TqoFcu\nuTJ5FF2+0fre265qoBaaOzh/b+q8rCaR+c8hgOi73xHWhDvuNWOGmKUB1sU/\nQfu4pB/MdXkanJNxmUjI1AGolIhzxaOJ7ZfAf3TKsyMLmWYPtDs9GqROdSjL\n7mQOIBVtTPlkXxPo+bKYs3Hk8+OUDzscp+kLdbVA1hqbkx084p8PKXtokOTs\nmWB1RJzGsrqmH2KDianQsyoXXjeApWpATCBuQB4vKnb7r6KHUBoMCxOqDmxU\ny5rrd2/7K+LbmQfMys1dGDYLYFubvfJvUEkL9bGpnISmpsdQbYLqXxUSMbws\nO8epo5UtGnSLM/RLG+NpmUk9LcaTUmJP7lXqZ4T1psRygj55gdr2cPxKBeen\nawISdwvK7YGmk0tHwiKZGVSxxakXd/pFD0i+Ic2Q6ftD8pL1+oCDe1eU20Vd\nSrlGRXyIk0+Eo2fUuVC7KNfYfGAliCAPYnr1xmSJNSVK5g4ekQGLid/mSg10\nPsoqCeO+GWPOPaFHG9YS0vWPSZvhqrYHxm6+jITrT17CTa7y1MAFCF8F1Oa3\nHBmb4GlsdJWSCf116KlMIo6NXk0QRKk7J/X7FMWzdrSrNk6BPAP/LkXp9zYC\n4SUms40oVN8E4sjDfHfIhCxQbsrDJCHjFJWLyKX4goyYf85S7Eeled0wjPt6\ngxvb\r\n=/fTO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDKjkpyjk2q+j1kAzG6GLApjzJ00LLCHTiOKG220CpibgIhALNdd/KQi7DECLu3uJO1qbTJAcX8L6bMfpYBX6hv/6A1"}]},"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-search-field_3.7.18-alpha-new-label-5742.1.2_1592595294403_0.5816940570002807"},"_hasShrinkwrap":false},"3.7.18-alpha-redesign-form-fields-5751.1.6":{"name":"@crave/farmblocks-search-field","version":"3.7.18-alpha-redesign-form-fields-5751.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.7-alpha-redesign-form-fields-5751.1.9+460347c0","@crave/farmblocks-input-select":"^3.11.1-alpha-redesign-form-fields-5751.1.6+460347c0","@crave/farmblocks-input-text":"^3.8.17-alpha-redesign-form-fields-5751.1.9+460347c0","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"460347c067a56a7bd7f316c45b5fa96edb5ede83","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.18-alpha-redesign-form-fields-5751.1.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Kr9yQH58qF0qxk5al+vVkW3GeOGbrf317Vm+UpicDpRbHKkv1lpJIc5Y3OexHFe0iLMLuMFLSc2jLcpC4gmnAg==","shasum":"0c4ce9991a06b06eacd197804883a2cd02421d26","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.18-alpha-redesign-form-fields-5751.1.6.tgz","fileCount":11,"unpackedSize":77722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8g2zCRA9TVsSAnZWagAAeeoP/3we1k+9JOJ/qF61Oyw5\ndBl0HQabR1/uipO2zKbuzXlL9URWuC/YcbPZqDrrQrpB2YBiTZeKXXXY+nvZ\nhfZC+hkvnFU/jcUZELwtujlGBFalKDF54DjxufdvF9wLPtgruPlCeGJ0Y2ny\nH6jsPtFfP4Pp7NjBjffVEC4xZEPYepHSUHSbabsS4Y68lS4tVNGgZaj3n21I\nT1/+1xOKKq6lx9JNRriS2gKKbr6n6RoTsH/MDMfdWDHPBs+sgE1AM0XEH4hb\nZIovVak9sj+lBvc2GG9HE/ab7d34vUcdATEOwAw/kawJJ9WlRPOS4ymYsQHs\nOEjSXGI9tk0PGVXZm3I+29/8F7g3gOZXyHhT410+tigUd5Bf+dGORZdRuM77\nC8OXjo7MKoRHy4IbGM9k6/fYplcCMxacgrzzJ2Pj0/pq33ze/Odyk1yspJIw\nAwiPkLe3ULjIWK1hgIGo9hHzBtuO39Kr6Q2qz8TmLua+WZDO+pdskr3JvVlz\nK2DnBzO0jnc9YLXeITlh3G3//lgxWzrCSQdDSbqYRduR+TGiuVGFdAGJ1kbm\nuxs4XPT5VC7Ceue+r/XK3+bRWG0xMOetjCSdcCL/N5rKu3IMswsofo4czVlF\n9/XSOaKgY/dXv3JV4nrH4R2BCkYq3NxWHVh2zUMke/uRQ5wgYVVgb8UT8BLA\nTS1g\r\n=qOfK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCur/2gSPWum0HURTsAXJ1UW/NrLJt7rnQ3NNG4ChIl2gIhAOzVzu/MbTR29tYKp30klDSxJoCZYlrAkjsUBD+k/Xs5"}]},"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-search-field_3.7.18-alpha-redesign-form-fields-5751.1.6_1592921523177_0.4325324799227357"},"_hasShrinkwrap":false},"3.7.18-alpha-redesign-form-fields-5753.1.6":{"name":"@crave/farmblocks-search-field","version":"3.7.18-alpha-redesign-form-fields-5753.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.7-alpha-redesign-form-fields-5753.1.9+10dfe5cc","@crave/farmblocks-input-select":"^3.11.1-alpha-redesign-form-fields-5753.1.6+10dfe5cc","@crave/farmblocks-input-text":"^3.8.17-alpha-redesign-form-fields-5753.1.9+10dfe5cc","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"10dfe5ccb18dc462ac1834b6b52a31c88bd79167","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.18-alpha-redesign-form-fields-5753.1.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-dX7osuRxdUnWpNch8EZvyZCnIbKBIWitzKyUFQ/T4/oLDWd01uD7GB0QiJpSYJYLJJKBp94nrq7pm2W9QO/JrA==","shasum":"2f3b7dd1ab000a126dc8267aee44e5365fb15b8c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.18-alpha-redesign-form-fields-5753.1.6.tgz","fileCount":11,"unpackedSize":77722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe8hcsCRA9TVsSAnZWagAAVVQP/2SICE9NMIHSCmrydvke\nh3uzsD3oiFvrAi/Vjvfpc7M9AGg9RIt3uBHLmy3efxqQq4pqvIGVZ0T0ke/P\nQXRJAc7Xjq1PLaCdgG6M609iIY4kcRGdOxi8DFE1LS+AiWjfTjX+Cw4WJcyX\nSUTtUz52RsHbew+6h5Rcyp8B75yHtjRQ9vD+vZInRTVzNsX/GdrRnxd9R62+\n1jGXyytr7ECcCSk/6qb6uDDq6sh2Ps609Iww9MREr6mYipq83UDbHpL0dJrh\n5xF3zPIQaGiUDKokITfDz/hArh5WrcRpg7TYzJbBi+BkLobtRq2Veu94cfWw\n6bpj4HTZ90kVD7LJfJjWIHVsUV53knCmxuWfmrPX+ukBJ4N8oxQl0j4aAn89\ngTRgLD/7oFOZ6nIGgIRwV9dTy31Uy3NYYq4uWOHTJWf49kYbf8smTXLC49kn\nMLd+blLLPvIhqUxOvF4jtt0/ug+aE79o8hs6SfWwszFQabV37+xGn1Z3d9x0\n9tTyy6q4JoYSKgHaWeVATF4aPaWbQ+eb8XPb2GNW4Cb6aGPzIWsbgAQas9KD\n9MdyzOAI15pXKg+wkBGl0amKsiAa9iLl2IZLiDk0ZdF9J5gHjURQpZ8YC0+5\nc4xfpaIzFEOQK1dLBd7FDlmYicz9zY8qZYGRO54Q+hLf+FBrgqJ6ccQL0Aaf\nNMbe\r\n=O1er\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlL233y2SpZguWxoOkN4dEMsYCr6qNKlLGAPGKAn9P4AiADm8c4YVzBPr5guE8JFiK8zT1nLzL3y2KuF/baINxr3w=="}]},"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-search-field_3.7.18-alpha-redesign-form-fields-5753.1.6_1592923947817_0.8129934355985733"},"_hasShrinkwrap":false},"3.7.18-alpha-new-label-5761.1.4":{"name":"@crave/farmblocks-search-field","version":"3.7.18-alpha-new-label-5761.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.7-alpha-new-label-5761.1.7+e56806ae","@crave/farmblocks-hoc-validation-messages":"^2.4.7","@crave/farmblocks-input-select":"^3.11.1-alpha-new-label-5761.1.4+e56806ae","@crave/farmblocks-input-text":"^3.8.17-alpha-new-label-5761.1.7+e56806ae","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"e56806aee96aaa5c0eeb5dea6dbcb4d0c455afc3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.18-alpha-new-label-5761.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-L5cbOBsebbdgKEavJmw2Z0rfGgty1zT1RYiPwf80EDt5thC3y7BmD5LZi/mq2B1n0NLkxIatyjTeLfAatzpagA==","shasum":"b6fc84229270777c250e6d5d89fd2e18b551fe2f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.18-alpha-new-label-5761.1.4.tgz","fileCount":11,"unpackedSize":77737,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe85P6CRA9TVsSAnZWagAAD4kP/0+E47jLb+2SqrC3ftIl\n4oLHIideYBApczHAECqCJFyiHqhNYQm40X4Eu62j4lJTbTvSU1l4FZKRoERA\ngkMr0290P7kbL0b93BdJ7dMTSToNks6kr2BWpeKY7oHuJo0EETyyc8mRy47c\nzVP76FINtHLE4+dLkGuasgwyceoAK0ufRQtSIOrOOAY1ropC7cD+4efv2LZB\nP7u2iJB8krYqOS+lkv6Fq/LOI2P5LsGqcKdlgBQxgsTiMU3L5K5VPndq1T2f\nLmlNyw2b8R4ZG3YRzQT4yxIBG2D/we2bMVMao8KPY5ST2gbbqc+dntUvdclt\nUXjKqMx1fjr2m3Il2aMFxNrF0n/594aeREMMyfKaW39km1IkLw/4A8sDGf0+\ndUQ93KsysTX64Lpg9EkqRJyVhjiq88FchL7d0819mzVgHEkK0Odt9ysb911/\nOmteYzMwyw4FxTAmxO2OPhVc3T2m6zvEUscNWXLwuyTOii4NxXl73RX4lcjV\nLd0S2QKWG6QwnaJzHEvFIW1T7jaMJ6772X7Bb499U0xbYy9jE7KI81akH8QB\nkEe1V/ElFaJo9FPrhPIlsjGxp35sYGRzYG/F65OEyExNPpKe4IpWQ+t8SaIe\nj1RE7iiD1gT743g0HtF4HQvJSjLVn3QM9P/WyYkLOL3TBQQbySUqlIGrcR4Z\nwJb+\r\n=Hr3+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICySDAeQT1oRtaD2+x4/JHVK70uQtgQFZ4APYkqN9Y4yAiEA5EnFsePomEYFmzFp4HC6HNYJ2Tuq5en1MwGOBpKZX6Q="}]},"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-search-field_3.7.18-alpha-new-label-5761.1.4_1593021434282_0.04790408437941385"},"_hasShrinkwrap":false},"3.7.18-alpha-new-label-5765.1.2":{"name":"@crave/farmblocks-search-field","version":"3.7.18-alpha-new-label-5765.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.7-alpha-new-label-5765.1.5+17a98f6f","@crave/farmblocks-hoc-validation-messages":"^2.4.8-alpha-new-label-5765.1.14+17a98f6f","@crave/farmblocks-input-select":"^3.11.1-alpha-new-label-5765.1.2+17a98f6f","@crave/farmblocks-input-text":"^3.8.17-alpha-new-label-5765.1.5+17a98f6f","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"17a98f6fca5cbf7510f25f734e2d9310344f8d78","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.18-alpha-new-label-5765.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-n+r2D2Zc6C8l0Svuqv7AHDERNJcRpV72ANrVzqvtdVUVaTp4MjeHkWKKVnsxGrAQTohcx8enT7sVdRZrWoY1CQ==","shasum":"f9d9a2c4c961a9ad2b41ea69bc215c1ba6d329b5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.18-alpha-new-label-5765.1.2.tgz","fileCount":11,"unpackedSize":77772,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9JqeCRA9TVsSAnZWagAAggkP/20hYf8xh/HTMpVqdvwv\nT5nh0bRgMq7kbkJzO8pQliQYrwLPDbu9wxSBU/XltHQcE2nXfGkEJ9A4cHfi\nGYyUxW8AsBybipJ8JfvQDiZATPSZmkMAA+4RK3dnM7DKfn3E5/jpYuMN1D5Q\nJyeFjEwK1p72liIkarWDVwxZxBEJiTlkhfbQnkyGJAh+zyjnTiHnEBEdtO0/\nyb4OEv86hz8FC6uiHZ23sC0W6UdNipXh3UhK3QTwBJxO8GbJ+5XTXLjAcP7z\nF/m5Ksh85sbfGmSUXKic/A2tQhffWoXEbRqHWdNUCqoBfrFlI/o+VcOj/kp2\nDlWYVTYLjRb/t+6d2ZKbvSDdMYxEKsiLOusmLsR/NzUCFh0EM06b0eXTs/we\n4nfkfDv25O5riy1Q/+jfttfgpi0+36uU7RBlkXtLDcmM1JAg541PtaHSfmht\nlALKUEgQV2bIrKG4K8ajqD0YZ3zTHhF8N2XDMKXyYXn1n0y0ZRUISnaqM7iZ\nLyyizGmANhgVIccfMPs5oiEg5+CVKICh3fO2bqhWynUYVOiC6BGnYPqny9/a\nFJkX9DuXX14P/LMfVMKs1n5fa9ucF8lvf6ln+V+pYLVUeZGY9WeCQpU1CQDg\nipvCZgLqaIHD8az6K9iRgDcuiGwcuLBpUtKo5WixUpjj2a1YR6FOoB14cTha\nnj0O\r\n=GFh5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD9Qooqdk9VqSDPQM1sqmgJVOMTxU4H3QULmZuR+YiTpQIhAJizn/nOFAfCYn6AzhOq48CYHg2A5IRP1ClTr0T0zmLA"}]},"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-search-field_3.7.18-alpha-new-label-5765.1.2_1593088669974_0.08064057216125797"},"_hasShrinkwrap":false},"3.7.18":{"name":"@crave/farmblocks-search-field","version":"3.7.18","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.7","@crave/farmblocks-hoc-validation-messages":"^2.4.8","@crave/farmblocks-input-select":"^3.11.1","@crave/farmblocks-input-text":"^3.8.17","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"900495453780bf6dabe00c745a05f0839c0a7b54","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.7.18","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-2Ej6lg+6DRULXDosULD2aGi9VFI/qGkTG6F/INcWugB6FWA1jEluw9Vh7W4n7az+9Hbr6uY3KC/BocgfknARGA==","shasum":"585deb8ea7c58fb94fcc35d7723dbf421e818efc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.18.tgz","fileCount":11,"unpackedSize":77830,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9MhtCRA9TVsSAnZWagAAz8oP/jP4Nwp20i8mr1zm4Eue\nONe5Bf+L+LB6JA/TVChJup/FAhy6d/4Bs2cxVQtOeYlc2/VzMAjMdecXD2se\n7PajfGrmOq3qh0AN/+3sOqy12x+KjbPTiaVvlo3RJG+2AzP3rcV6sxlARzdC\nFUf4mIfxBHP6Adnp475M3/IbV8QaBYYMuSIaYcqFr0PpzlA22Sj3tU2JEBnM\nnG41oCU9xy6S3NY9+6sDIPumJgiB/TNA03QATaqFxarWbK/a1LiNAZzUpYDL\ncuYxEsCgU/XdFkA3FdEGFp3sbFy1gnR6v8fY45pfDRee/1IAWPoaO6eR9e+0\nnJ6cXJgqd4k+yI3odNIN9CHtXomePAIgCLbjg3hyV5uBDgdNwhXLGPzr75cE\ndCsa3BiYnJS4NvYAhuu895ZwTz+4PeZkCvRqRE1dB2c/qN+luhbwV7rAsBCt\nu4ObrtJwbU7jkjhW5hZoVSnicVackQ9O223aMlnYGgHLHTYfHRZoAVBcz180\nRNTZJ1/ahxxzlGbLu74cAafWAAc42Q4+LafizMRuimQSde8bXgWexARfbcn+\nz+LquJGu7HEtFRgvg7CCQer4ZVnA93+9oq5c1OJd6qJTbwWWIAt51Ack7dUE\nV+Ju7BEgPc02MUeahdkh+yVipLINm3dv9IXDAzIguVMjG5Nh61Bx68xEVfTF\nOs+x\r\n=j9+V\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCOAvYIa6ctXHGzaeJAJi+/vVEeAO+sCwp5LDryc3nybQIhANcdrCSCd9kAerhyCYxxdleweY8HM5DVQzhbSBdvUF0h"}]},"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-search-field_3.7.18_1593100397377_0.5560505079864884"},"_hasShrinkwrap":false},"3.7.18-alpha-redesign-form-fields-5772.1.5":{"name":"@crave/farmblocks-search-field","version":"3.7.18-alpha-redesign-form-fields-5772.1.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.7-alpha-redesign-form-fields-5772.1.8+c522bb30","@crave/farmblocks-input-select":"^3.11.1-alpha-redesign-form-fields-5772.1.5+c522bb30","@crave/farmblocks-input-text":"^3.8.17-alpha-redesign-form-fields-5772.1.8+c522bb30","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"c522bb3090eae71437fc84d99184b006288bfa06","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.18-alpha-redesign-form-fields-5772.1.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Yw9/ipWv3SANtOwn+qZuunGSmBRxVEh1jVYgWSWURH6nWScmDnY1O6c5c28x5GAuAGP8llEE9tYrjmrLxNRRLw==","shasum":"6ae7614fbd0da9d7a44a40ec6bf00b537103d24f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.18-alpha-redesign-form-fields-5772.1.5.tgz","fileCount":11,"unpackedSize":77722,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9NCBCRA9TVsSAnZWagAA2OMP/3gF+S3Qrh37F29XZuII\ndVo2q0KxsWwVEFTD4phNGxycJSDoaT+X1W7cfP5UpVZGK87fmHLsI5PZh0O8\nxOpxiy4EDNlkLrMUPXeYIb4aS76sA6RDPG+VpHa5bKL4Av9dVVbOFTfCcMNk\nQYWL4JNVM+7HAL+1PzQDkCLepiVSlEwal/vPPkHiBneJagR4FufzGdVjVsta\nwDnKziYyUGNedeO3zEBpuQs5LyH3horAeza2tKsRqwh6GQSnk/3jb6B//Sl5\nqyurFm6rgUTiVbZ/5PB4pDnfltpi2c09H+MKyo70fd/K9OTxyajBVj0+d6aa\nSt7PVA5B49aa10baLdAqKEWF1fWhQvvosiIWXeeWf5KhpJ0gQNk6BEOV+2im\nfprG9hGG5sodFiGmNWZUa1eqLFmLMDttLAawc5v7fOddLWsB1YPRdJV1gXxh\nCJKERMRiS8tqMH5IdObiP7K9OOmhsk2xVk9p2kbkyap2DqBeCgDrYMLbQwXL\nGW36bWTZORnmO8uayhukUxKYY3OufJ7SgRRK7FkOgZuJEd2OByqVxzqE/m3/\nUh9jkkqFxGX5FPjkUEF05ByxUUx7x+D6iufXEI5RTVkEO26taJClBeIb0ARH\nGz1w/H1CEfRQSuV8JGAoI188BqaVr6pv4GF7JCDkqEM6J+/9Li+1oeyAbwKq\nvy0C\r\n=ZkaK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDY/UJhJIeaimD9BVt1Ar6lgCgAa6GqFGI1EX17XruIeAIhAKqcBgov7RUltO4iAySD1YAphsbRb83PjeF5JfpH94H/"}]},"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-search-field_3.7.18-alpha-redesign-form-fields-5772.1.5_1593102464810_0.5846255423607276"},"_hasShrinkwrap":false},"3.7.19-alpha-redesign-form-fields-5774.1.4":{"name":"@crave/farmblocks-search-field","version":"3.7.19-alpha-redesign-form-fields-5774.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.8-alpha-redesign-form-fields-5774.1.4+c0a0dfc0","@crave/farmblocks-input-select":"^3.11.2-alpha-redesign-form-fields-5774.1.4+c0a0dfc0","@crave/farmblocks-input-text":"^3.8.18-alpha-redesign-form-fields-5774.1.4+c0a0dfc0","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"c0a0dfc0987d8ce29815780d78fc283480e297df","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.19-alpha-redesign-form-fields-5774.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-+aqjgsd2z/RFp+TAjt9UDxXIM8wJnA6QT255lruLkCRCWtX45LrmwgjHGSzvrYRDhCFRFg4l7oaiGhIZYx9nFw==","shasum":"3096bafbb773c0364ba85e85cbd9a59628dd968b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.19-alpha-redesign-form-fields-5774.1.4.tgz","fileCount":11,"unpackedSize":77951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9NGFCRA9TVsSAnZWagAAfQoP/3LRI/lHJQvdHQzPMRrF\nGwkNu8RLfbZP9L6zXHpXy9ihNe+vbM2Odsfy/PP7btM0Z8Y9jUCWl73F++S9\naYqVraLsdCt/Em/L3hjFMZhkfliM66nQatUqSLovpUzBSIgcvEsT0CS7rJjn\nUrtg2yclOENPtfCmQipHQHN723iIrZ8BAkih/WurzAYOgfBpchTIvwR+OgOw\n0LU84/mF3JQtHvWeji3TmAnl3RvWEqhCfcpyZZ+k51s9q0gzhDwUJW2Nqx8O\nGVnYdfk/ow5ZriHoIwR5ZQEt7o0yrwN/jy6XJyc0empJjzty7WI7+hg//3ug\nKe4nY9uLVl/fBzwLjf8QLiSgBi6gD8b7cNnNEwDLmGSa6k6hiQaw7zC8qpMC\nEx+5RZ/4Stks6d5FDl1rqaJkFr3VbcyR11gRWQzXpDtxzHXWTkx2LOK9s0Nh\nL9LxNNEowBNV9vf/dh3TuyEB04/Fu2CJ1kAncMYLCcQn4znKE594pqvSvMhQ\nQOQSi/n3Z7Yp2AOcFFWTI3UMPGrwc8dMqf1feQrdVb3T5Bu/OYrg4CTTnQZP\nTU42LoC3340KnUEb19i747U/JaVdmxtsfwQp2wJhe4UycjLWPuFcqJzPG9ST\nTztSbfbjB+krXL/8GO0qt7mQzSsCOIm6oz5G0XZhsA57n5jfkcLX2yIcEZ9e\nffLi\r\n=qrhR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCl7MKBdQw5mC+kLUCm5wy19j0xEJr8EvX2I0IyfYvdewIhAMGotXDWzKFKUaXZgBgQth1csySpGfD2Ay3SwHYDNO9O"}]},"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-search-field_3.7.19-alpha-redesign-form-fields-5774.1.4_1593102725420_0.08449157987478761"},"_hasShrinkwrap":false},"3.7.19-alpha-redesign-form-fields-5775.1.6":{"name":"@crave/farmblocks-search-field","version":"3.7.19-alpha-redesign-form-fields-5775.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.8-alpha-redesign-form-fields-5775.1.6+4fcbb59c","@crave/farmblocks-input-select":"^3.11.2-alpha-redesign-form-fields-5775.1.6+4fcbb59c","@crave/farmblocks-input-text":"^3.8.18-alpha-redesign-form-fields-5775.1.6+4fcbb59c","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"4fcbb59c5ad9d1844f18b102efa792f409ed61d5","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.19-alpha-redesign-form-fields-5775.1.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-JFmMuaxNLhKb7oumPtJmGexOnqTbRDp29WxFDBTW9CWQR8YGSVgnD1qiJoMnhW0XSv/XjjfNwys/4t7Jps6bJQ==","shasum":"b5527aeb65c6daaab36311c0f15dd931d4044ffc","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.19-alpha-redesign-form-fields-5775.1.6.tgz","fileCount":11,"unpackedSize":77951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9NNVCRA9TVsSAnZWagAAta8P/iEABsKLRFlIVk+ExK0K\nJ6ugNQjKrptUYZeSoJnZCvdP6xkz/BPWvQak4ll8zNaEBpZ9a0Xe6HALeMFt\ngTG3whKF5TTi9Vv4WIo54yNL10YX7hlZZvN59xS6zRbvhz5RO6p2LbmAj+3a\nH+rK5m62hdZ04badEbC1EuNIybQ8FdyjSCs0uS6oaQKmTNiUDV1C6WlneuDE\no0jQkosgZp3BtQjyqJK8p/bnvGcR8ghHlyzC0h6fGZhF3tPAwjEsl2rWsJpl\nLWCicBFxAtUmmkJQ1Spa1cxlyUOdaYCAUGUu5zbWbDztwNUygYGjto0dLxrM\n112i09CSYyWAdfVu40QDnzh8wwwAXG3EGBASRnEWK0EpA5SFb/raLg6T0STl\nLcJZjAfybLrUi5NVTUhoOMlK+nef+IH3znUx3S6iD275VEJRsZqaqOZPfxZa\n0/bcCjC4sal0eCLWT35kNJMJIHinr/jCifgZSXLoWlo99ii+/kpMHRY6polg\nII/fMtbT1yuEtf9s6R49HEFlucPHqvcjXI02JZtHEK63qS/ITT/NlbhV0/pr\nSs3h6wEoMjyfqPVP99DsjeOeFVWlXxSu9jcgVClGLi2uzS0/Bj8tn+hbrEzN\nauCMZJuBy+gylPOy9Dq7Iuow8t4NYHBSLGmGVhpe8rAN2G+anV7V3Uq5IcpF\nhK7o\r\n=pxdY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA7YG1kAXaZj2YRsQ0ufpfQFSOvVAmoPA8aHq6Wj9/LmAiB2bT06HrjUB1wbOxQ27CZTV66KzFAG8rBTENOz9dLkhg=="}]},"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-search-field_3.7.19-alpha-redesign-form-fields-5775.1.6_1593103189226_0.8823666486324364"},"_hasShrinkwrap":false},"3.7.19-alpha-redesign-form-fields-5777.1.6":{"name":"@crave/farmblocks-search-field","version":"3.7.19-alpha-redesign-form-fields-5777.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.8-alpha-redesign-form-fields-5777.1.6+49c322e7","@crave/farmblocks-input-select":"^3.11.2-alpha-redesign-form-fields-5777.1.6+49c322e7","@crave/farmblocks-input-text":"^3.8.18-alpha-redesign-form-fields-5777.1.6+49c322e7","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"49c322e77dd1c883b4ef795fedbfb875750e861c","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.19-alpha-redesign-form-fields-5777.1.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-UGW9rReEU1nl/nw+3cFLI39xhJKif20fXsvIWoeBHMQ3H7G7k0/xNGuPlVSo1TZ5PMVpdoeg75ujWFi/wvy+Tg==","shasum":"af44d2e3737b3acd2b9e56960fe1c115ed31581c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.19-alpha-redesign-form-fields-5777.1.6.tgz","fileCount":11,"unpackedSize":77951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe9NX9CRA9TVsSAnZWagAAFhUQAJ+vsurLvfjcZkn6B/JS\ntz+hZkXcaLKlTKfaMdk+LK+ok8GeDkmWGQRJNROTpuRG6EFo4fRhagZ8HbwU\nptmJBAFzpO63Q8HwUbBn5lqMRB+erKt9U6/0xEG95Pswk3+zVfmmDvRe/pmv\nL4rfymtaMFdKnUmETsefQxLEnwbSvXcDkqwwFoBZUFDxVYYd0XqeafohGl5m\nhikh/SBopr0L+BXkKxEzhUrme0tzYJqU4s+9oNgAZyQ5PZrlp7qCsJiCBUzv\n8bUQQbV1m0Ra9nfqq4+G2CHLAU28+zdTputj8gEY+ezI4zhpChOxyXrhj9Wp\nr1UW44b5XetmqmEdCG/EB500yeN9gVrd7Z+PV8uxcefP4DIumy5aug7WHJq6\nUwk0JPuEQ9KrGIHszy/YjaDn6QM+NuvZTO50JAVXnLETt3Eo9AUTsmhI4srF\nFPmINW6KQG++hGWWIu9M2waHYoZSvuTLqqlHXDNlQ5qmT4ITqMUmqyv28dmN\nS1ly56DlFURK3CqKMpOqbuiqkOQVBHvDZgTIFB7TJ4gY+mma/4QAsvIx07gj\nt5xFOsab973AQUIjWQdsNi2Y8p+8Oms1piJcQG0sz7nZW6dPeYTlHrINRwfC\n4Cbg4Xo9OkIdEB2Qgd4OsJIeYQqhqd6fl2FdKGCvQjSoVBmd+byse7VXtWy1\nEwfG\r\n=Ugk8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB5e4MRAbhNHvUB+9XIPEVGFniw3bkcO42Guk7pBtCkCAiEAg2qQqyWkLF6nTSyegQtuqvQUw2SxP8BWQrHOdSGPFfk="}]},"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-search-field_3.7.19-alpha-redesign-form-fields-5777.1.6_1593103868758_0.48794478945483055"},"_hasShrinkwrap":false},"3.7.19-alpha-redesign-form-fields-5789.1.7":{"name":"@crave/farmblocks-search-field","version":"3.7.19-alpha-redesign-form-fields-5789.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.1.8-alpha-redesign-form-fields-5789.1.7+6153dd6c","@crave/farmblocks-input-select":"^3.11.2-alpha-redesign-form-fields-5789.1.7+6153dd6c","@crave/farmblocks-input-text":"^3.8.18-alpha-redesign-form-fields-5789.1.7+6153dd6c","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"6153dd6c550579eda90f7dbb7495b3b7355cab31","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.7.19-alpha-redesign-form-fields-5789.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Y+E7dqAi03tQiDlfYWTo/8/bQWia48WEfs37H4hQJNMn3E+M+VGjfu27Rm/5E+Re8FK0okUrsqsiMsHTY3ekuQ==","shasum":"7de7831e98a9fa314e7cabfb367c6c7533853d52","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.7.19-alpha-redesign-form-fields-5789.1.7.tgz","fileCount":11,"unpackedSize":77951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+0Y4CRA9TVsSAnZWagAAg8sP/0iQv9KQFNPrd9ejjDPo\n7qQ9r08ikRr5PqT9qbgIC2rpB9MgsApLGmtO0nb6tCphYvWjb+zoueFmqq+n\nUz0R6Kj6kjylcTButU/mv+gkyOXd+qXOYe4ZMqLjRnLDOmgRg8cy2PJBsjLU\ntraML1q/ZWDW0p2zI4pPK7yJCQtEOvOaO52PBBBdBFiwxDkBtQZ+ewYUIgI1\nAhTbanJPw1NzePMTzG0w8M6hfnK0Ob7PBOspaSn/FjwdnHL9rjN4nrWdO1ks\ntCUnOO84SQqL0JRfPC82is/LUBWK3K9zM2alLf8CrmBY2GFzgrDlpF3O/VRV\nTBPIpvjR48EyVH1nMrYITpIyYEJnyOxoNlhhrNTC5juXvMmqVBgY8enns3R+\ndMnGXQlvpuph6MsckmSIwMGMkz+J/3PfW5tkElZ8wqpugy5gNY7JAXaootbm\nGh9KydTeSIB90sUTiBAS6Y1N5VA2oVeGuwx0+44Z8PQQNPorwU4Yt1hqZbA3\n351PPd1PK3juSYVRJWYsGEyCIfKAFmrGN9ZQsE0fnC4EX01XjrS4ixf9Pdb2\n3Nbbb3y/0hNZPtBSQi7xl3oZBDVNG7/ydFjWZk/gLIvgJJrVG/Hgc+ZNicNm\nU+8aFU0DExr5xWDYxH6Y1G0byufO++Sap9xQIO/l1vqCDssQTlY8W6uXO2wR\nNKdz\r\n=mlZf\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGoC5GlIZJpdIKbRvIoyqxPACtxaoGvIlwqKK77C3EmWAiBpwuWTCknLw6xTBfkdt7Mdo40p6ks7p1V8tcYLgb1JLA=="}]},"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-search-field_3.7.19-alpha-redesign-form-fields-5789.1.7_1593525816232_0.7041496932605764"},"_hasShrinkwrap":false},"3.8.0":{"name":"@crave/farmblocks-search-field","version":"3.8.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.8","@crave/farmblocks-hoc-input":"^7.2.0","@crave/farmblocks-input-select":"^3.12.0","@crave/farmblocks-input-text":"^3.9.0","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"gitHead":"a63e7c1f90592b684fc83fe6b721c2b5231037d5","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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-search-field@3.8.0","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-59Y9WBbAqcPQJ2NVT2uqAwL9nylLN9iQ8JMUT5oAaNsjkeOumlv8F37rNxRxf1jNH4kjpj2lx2H8WLWb3ossuQ==","shasum":"ee1881b228d6fdde49ae56995c82665dcecbb1e8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.0.tgz","fileCount":11,"unpackedSize":78106,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe+0gYCRA9TVsSAnZWagAAQLgP+QAVybdjZAlToqbX9pDi\nJCrmFZLiJm/Ibp1V9Lhs4EvJ9D/pukdvXYXdb6UqQPJhkPYvKHLAvkjKGa6+\nLQ4+KRrXFCbaRXQt0aVDTYhBA/4w0WwLAlHxqZYHtGfYY006ZKUKYHjnVJ2E\n9ymv5UTmrW1LQ6GGxNzBLJ54B63WV7q83KsJM1e5wGveOWYrpbHooujdD2fd\nfh7gUHeOROeTcbg1S+JCTJ72xl25Ty/+A+2ErsP3ZXdmF2lPbEvnBzExOmZ9\nxcCcC4qaUOXTu3p//5R2sG0qLmpQEA/8NpISV9EMwDm6OoEktxlA6hD+/NjU\n7XfugnVhQ7QKixf4E6OQk80+00NOgXEwaeplN9UCqRCyF5VigqHpjkTBpGjh\nAp3lHv4T4pvpmITDcjYsxZPSmKhzDnba7cltPZh477YKgU6E/hBOClx+0kUO\nzNSRSmh9Ci7HCClTW60FNgbTQQbJqeeQ36rTXHSwrBDv+/gGnH0INNPzkqsz\nQ3LMH5kLX1OjA0LKBETMO6PpRp2uIZ3XbG7hwnZv7z6drBe17ykjH2Kq8lRT\nuwW8N8+CjUJl82qNuHD42mk4ctWNR/ZF8jGmIESqLGTvLCha5GnOSo7/ZmXF\n5DByfiClTerD7J729R1vxrERooV3kkdgIiHK1RKzzsnU6nOCRzM5RsCUcaXT\nSTAP\r\n=UmN2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdkTpGldm29JUWHPZg1nKusXkNdMvgqoVUnGIa6EEqxgIhAPSrk6R0oLLZmwZnbUFlauMbEI5chcrLseGgQDCZB9D/"}]},"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-search-field_3.8.0_1593526295561_0.5315668123239243"},"_hasShrinkwrap":false},"3.8.1-alpha-dropdown-button-props-5803.1.2":{"name":"@crave/farmblocks-search-field","version":"3.8.1-alpha-dropdown-button-props-5803.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.9-alpha-dropdown-button-props-5803.1.14+46e19de0","@crave/farmblocks-hoc-input":"^7.2.0","@crave/farmblocks-input-select":"^3.12.1-alpha-dropdown-button-props-5803.1.2+46e19de0","@crave/farmblocks-input-text":"^3.9.0","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.5","@crave/farmblocks-text":"^3.6.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.1-alpha-dropdown-button-props-5803.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-p/KtpzNbPsD8JBCWr0Jfjv6GLaHiSCX1kaSUPo+Rwfqvpui9ufhECS3mKaE6u9QEebU9QdRIzJDX+2kz4EWPaA==","shasum":"4848c849ab2e732a0095fafe2498981ce77e2cf4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.1-alpha-dropdown-button-props-5803.1.2.tgz","fileCount":11,"unpackedSize":78245,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBITQCRA9TVsSAnZWagAA4ikQAJeR6uhKesvQAQ4mf8SX\no3NgZK7flqk0qEZ8lNmOxt/r81dyyajmZGyh7bri7bAs7SJxBrRdBpJ15qrh\nV98T7CwiCBuwG/r9iaAscf2BDICPaM7eTf0A96mF9UU6Ok1JdytrLzrIj533\nBIINvm7LxdqJveH7zj8rJ2mukUfRYIZB4sMRljQZScTgky3FW5G3kKXGg0aH\nnK7uI41Bk/CGL7xNDBbfG9LRgUsfuwSXh5F4IiA4fajB/nHliFD1jhj8Teuy\ny7gCt20jOPSG753fYG+hM6T3//MfDy5zcvQTRLNLKf2lcrEjTYfZCyw2LHpQ\n8wTCCKwTUlUCVhY6+WGBq4hYNJEblyfrYX78fhci4bQ/uhEwS9ngCFcMPCPC\nkowmv/OmfMt1UsFB/MALrGET2K24TrEE+km0nC40PQngATl8WBLwoeabApU9\nnkRVJH1zTYgL2/piLJ9Qhgo/DEKGR3KmzG4M6xNDljuZroiiW8AjACqPbfo0\nMGs6P455juNJm5jw81/0fHgvkpOrVkaIytKbLcf5pHKdQzPF3LaTyeHicsxL\nsgWj6s4gd8nlioWpLUMGZ19RiqgiMSSrPNJL+5eO0BkyVMUp2Gp+23Z0bzlu\ny5kwUjVQ0khk0YbNZp4NIevb0ZvGKOdL7wYcX+/Ia+wK9moiy0WO8JaLuuU0\ngoL3\r\n=5gJ6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQ3zoaHvHrx2mORIrAP3TvwwXvE/i9fyLl1rUZW3CmkwIgZj0gR4r/rbK2aLlfv3Ta/szUUC85aZ/jyz9nEtYesj0="}]},"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-search-field_3.8.1-alpha-dropdown-button-props-5803.1.2_1594131663703_0.5035986292333312"},"_hasShrinkwrap":false},"3.8.1-alpha-dropdown-button-props-5805.1.3":{"name":"@crave/farmblocks-search-field","version":"3.8.1-alpha-dropdown-button-props-5805.1.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.0.9-alpha-dropdown-button-props-5805.1.15+087d20d5","@crave/farmblocks-hoc-input":"^7.2.1-alpha-dropdown-button-props-5805.1.3+087d20d5","@crave/farmblocks-input-select":"^3.12.1-alpha-dropdown-button-props-5805.1.3+087d20d5","@crave/farmblocks-input-text":"^3.9.1-alpha-dropdown-button-props-5805.1.3+087d20d5","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.6-alpha-dropdown-button-props-5805.1.15+087d20d5","@crave/farmblocks-text":"^3.6.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.1-alpha-dropdown-button-props-5805.1.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-CH7BcI0DbrP4ML8EbKns+vt8nAOifdeEyGYqtcBwYZooMMiDBugMPQ+dYbCMBs7MlJHlJ+r0Z376xULngLuv5Q==","shasum":"29d4d2b94f411e2d3a2db1456ce33a5c8fac11e6","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.1-alpha-dropdown-button-props-5805.1.3.tgz","fileCount":11,"unpackedSize":78384,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBJPcCRA9TVsSAnZWagAAXCQP/RM2D6jNtjDYPAqlUH4h\n56RdEifw3zOIIuIdrcy6dImr28SD5JblFMZ5Nvhk/qLLFesep6ZuIlzl6aQ4\nbRxwu+Jg4jQViTfe7ZHX6aoIeMfKhJ8fAAhtD2tQdNNkO/VBLlsyZ1WknXh1\nzscresFvlCZX4ryeuPdiec/DqylJ8xUqOeVAx4UEoxOzPFSv1GZyycvwv2lf\nqTayk+FuzqKmkLcOyedeHACE7j1wjq1U2gX6Vw8rJ0iFjeOjqrRsZPtgFwyQ\nK6q5gU6TeJFOPBSFw3rdK/D7u5msvnVaXsuBgqvD3Z8jFfw08TMFuwqWy544\nk3+Z1xaAMCANrzcycK+soyIDFqIjiCzU9QDuq9sbVOo6DEBbDS05CUVFWn6W\nUIO3ZuyW1hku85+gDkzhPrQFH2ZyslxaRSYxbf+0I6OFq0WyQZ4qPzVJDAEu\nBwLKHvdWl3ALHror//qJDVL3tfJpkEjk1r84ypsnuU6t1ZHObIk6DJRxdmJ2\nRMiXaKd74gHPPjT9n+ORREWXaPaeE5GkvuRbfBdXebREC6nNQMrs8vKyRVCR\n48zRjZTLf6S1YqS/wLE1a9EmC57BCF4DsDJ96v81Cf8BYkU+8VL3PYciCGTm\n+egCwPbwiL6lsKRlY/LOwSYAl8eYs1Mv/6PIaBdm0XgCdvCOCdS7rM2EmVQE\nTpr9\r\n=VlhA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDxKuFTRtQ2fHa936VlUIc/fNH+bdkk1N7t0eov/fi6ZAiEAxPeOvitdCD61SJ/CMxdnLJB3OXE0hGMy8KLejec4qkY="}]},"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-search-field_3.8.1-alpha-dropdown-button-props-5805.1.3_1594135516224_0.8670767790518863"},"_hasShrinkwrap":false},"3.8.1":{"name":"@crave/farmblocks-search-field","version":"3.8.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.1.0","@crave/farmblocks-hoc-input":"^7.2.1","@crave/farmblocks-input-select":"^3.12.1","@crave/farmblocks-input-text":"^3.9.1","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.6","@crave/farmblocks-text":"^3.6.2"},"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-search-field@3.8.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Yw6rhVANtJd2rzl/X4hFoo5NbQwETKOXIvKb8t0SYEj60B8K1VTJzdOd1CAcxKb393Zekv/PcHDslwYC7DxFeg==","shasum":"9cdcca25060709582dcd80c1d707ee15510f0a7f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.1.tgz","fileCount":11,"unpackedSize":78332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBbD6CRA9TVsSAnZWagAAddMP/0NDV8Vvxjnv5WQEBwc8\n09uigYVWUnkUm7xi1bPIpyN8D0uJO+mo4wqN/6XEoR1yEF4QjAjevV0/ggnt\nJS8o9XybZu1C3OfUkESex/S3WW1P38AdnChS9suwNeJBJ6oELADpaX+7+qLa\nyUgUTfsEpjsvlcwpssLH0jYgxmT++CvBYVDQZ3U6TkqA1coYQEauilPnImw8\nRJtnqD4ZV9cq9OFt84KHcXHge4zwkOs8Qto5N9z4AiU1Lzt3Xlyl3pbCiS/E\nwbWzhtEnPcOcnMtb1sWyu3bUFXDm7NaQPUvQuKAjx6wUp0wUs00M7oSHPezn\nXgWPPWjKkysQLAlds6eLXtTTeoZjvKiQDwm4IWytqVZVJli5wIgZ0ytPFsHM\n9vVqHSHrQRbYODuurwzwUnmN5TPQeBRoR1R7ztX7ET+ctImQnOaoLOLTKwSA\nrMtL54qPRMWqg9T9stGd0y1jn831bpGEQKScj/rcfO6gHDyJJCuVic+tcT2G\nzYudJPXdyvIYZZNIsh0pIp0jecq/12fF2R2oQRLYyAfRvj0Ew2r5F78y/j9q\nN4eRqG749tUhMpydYzjRGMvEOpOr0GJT8YYkbmdZRJdtYmJxUIO3Rnlrvg5V\nXbokIa6PC3TobdfMaVDrR9hS2Mi8njHYLLjwLbQ5A4vHtPdemeqINaLOsWZB\nqeGU\r\n=IlyG\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDysVNxt1UsRGlnoVeTc7m2cjmbsaaW9OFj/rT4P2KQPAiEAv7cjIVVTmnedp13qnizprSkk9QA/cqzDfA+4sf4d6qg="}]},"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-search-field_3.8.1_1594208505635_0.31936579859204994"},"_hasShrinkwrap":false},"3.8.2-alpha-fix-icons-react-import-5808.1.2":{"name":"@crave/farmblocks-search-field","version":"3.8.2-alpha-fix-icons-react-import-5808.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.1.1-alpha-fix-icons-react-import-5808.1.2+0cdbbcaf","@crave/farmblocks-hoc-input":"^7.2.2-alpha-fix-icons-react-import-5808.1.2+0cdbbcaf","@crave/farmblocks-input-select":"^3.12.2-alpha-fix-icons-react-import-5808.1.2+0cdbbcaf","@crave/farmblocks-input-text":"^3.9.2-alpha-fix-icons-react-import-5808.1.2+0cdbbcaf","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.7-alpha-fix-icons-react-import-5808.1.2+0cdbbcaf","@crave/farmblocks-text":"^3.6.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.2-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-C8N3UWEHMrX98CHgQBeLig+JBBxJOeunEd626cRs+D0YxbBEqE/K8bh9olDCALbcaqqt6J8R8wBB+WzyLWR/Xw==","shasum":"3dbdf77f5b77bb3f4adfec46b98eee9a6ca2c032","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.2-alpha-fix-icons-react-import-5808.1.2.tgz","fileCount":11,"unpackedSize":78614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfBy/wCRA9TVsSAnZWagAARCgP+wSTzRWALHrS5yWJNtlD\n6/9a7+Cs8XOUEh7kN8nF+JuefFaaWmFnquZxjVQQsbDtWtEl5rlmXVA+klBY\nYKC6xK+FVbk3D6X8HWO1IrJZMuZ6OwTrX6Bhs0KbQflebsECAQtJVp2LETz6\nUZT7tk+wGGJJW/zuwQwZy4VRsuukQKEfW4Y+P36WtiVUfUyKRF0DZ9uMiW+5\n2Ez4/CwmX3ktrLEREwWERHQ9hmErXQfWUaixfrtAoJu8EFECLMRRjQHRTeUc\nIEUsD1A4cpGtSGUWmmxVpgJ4MBc22hcow+CYqKVh10KCtA0XeSrTnTsSEndf\nD7qxd/6A/isPtE4XBl63DjT7Hyu+lOsRZ5PDVJJRmaMEBeFqnlpALpO/bu6q\n8mYDeckQsdjloO+qnAn9g9KSUzJXkrMUF/6O+WVUX/Rin8HPKAtyhcID5dUd\nb30wN+Q41r8pJROLT7H4prZaiVuImuu+7bggVFOgbyLctZYPjTVD1lsEYJ6R\nTGtCRV9FI18AqyfCEhuFi4MaQfP+GPfX9QoI270YkLHNJFXR8hw2OOnZMOPR\nA29S8SxqQnf+t24Kxi617kwd/RZ14pfXjfPst+fznv0wyFdGfndo3KZ/BJxN\nPluIFErutdLWtYmqsHjiyxguGTBZbPss6XQtWPsDvj2apApR35rlgMPRI6Hq\njsES\r\n=2H36\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCE4dyoQhI600ehnNvRzSHPH4o6MtN1GVqtHUfhvmB5ygIgKy1t3J8Dt6d+bDVX9vXfbBWPi5AohiLtFJx97GNHthQ="}]},"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-search-field_3.8.2-alpha-fix-icons-react-import-5808.1.2_1594306544344_0.19798491613045632"},"_hasShrinkwrap":false},"3.8.2-alpha-fix-icons-react-import-5810.1.3":{"name":"@crave/farmblocks-search-field","version":"3.8.2-alpha-fix-icons-react-import-5810.1.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.1.1-alpha-fix-icons-react-import-5810.1.3+9340310d","@crave/farmblocks-hoc-input":"^7.2.2-alpha-fix-icons-react-import-5810.1.3+9340310d","@crave/farmblocks-input-select":"^3.12.2-alpha-fix-icons-react-import-5810.1.3+9340310d","@crave/farmblocks-input-text":"^3.9.2-alpha-fix-icons-react-import-5810.1.3+9340310d","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.7-alpha-fix-icons-react-import-5810.1.3+9340310d","@crave/farmblocks-text":"^3.6.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.2-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-jhneKpt+Pf6vIBgvge6JKS5IyyhNuAgQzYAJ4yUjTcigzl0yI6VsgvA5CSQaGq5Kg3k32QXT3JEMVXZTPKqdew==","shasum":"bab6b78857f049499e09d41aab750818eb2bc0fa","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.2-alpha-fix-icons-react-import-5810.1.3.tgz","fileCount":11,"unpackedSize":78614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB0GjCRA9TVsSAnZWagAAdYwP/159MBAzJ/vRxi9MVN0P\nVnfFDJZB5gzTjVwzx377jHquHGlVKtOMT2yy9sYGI2u90zIQmjWnYVd1gBjq\n3ZGNGUXmxrH7RueF67iHIsix2nT3RNOp16DQ6uuHJ5LekcABfWYT8TyMCla9\nrJfXrq/YgtaWFiDvxPiKUATRAmjmOYE17vU9iWR9weAh4vO2U/zaZOBPfiz/\nF2WaW2tEdFdxxxoDkJYZ6DkQwuBOwWLB5X+XnHNf4kUfjAnwKxH4978+6ZeW\ncZ6DWY8tNYMWESW9ixJ9P+wSJL3pOzZ9sQPoK1SORNGtn8vR54NPijkcn+2r\nzeuYTKuQ68Hl01rxtKVCPJ51QA98s223xKpAmayOXutNDZBk7i1p7hYAAATD\nIUeFrpe655EGJ5zC666Z6vHtgD6h8l1dudUcJWayZWU0TD6y9UsJN7Rv5NrP\nTnK28hBW8NO8H3E2GYqWIzexBltmfX2KqNjNDjQVZUoTfFT/XNlPvNAAi6Fb\nicmAn122fDHd29IbeoypquIQJ9MkqjususHrP/1Gm/Oy7ZgLqgMCnPqJ3wuX\n7eqludZLA277IpHE/xpDCYGivJxfxIpnQ+dn6zD2MABaXZLdwFMqSJxtrmj5\nca0WopMwePG3Ol50L5O52FlDfAVxWPYhEAFLYpskd2FhsXTMI9jzjfZLQXrk\nPixc\r\n=BRK6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDqCOU5uYrtULwYCu/iL6lRKgVFKmbMC+h8WAIgu7aXMgIgPtgQ+Qmumi3lqqTjHl1AyknlOSEB68j0Ap6IWPEs5wc="}]},"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-search-field_3.8.2-alpha-fix-icons-react-import-5810.1.3_1594311074861_0.21748484274713475"},"_hasShrinkwrap":false},"3.8.2-alpha-fix-icons-react-import-5812.1.4":{"name":"@crave/farmblocks-search-field","version":"3.8.2-alpha-fix-icons-react-import-5812.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.1.1-alpha-fix-icons-react-import-5812.1.4+a6b9188c","@crave/farmblocks-hoc-input":"^7.2.2-alpha-fix-icons-react-import-5812.1.4+a6b9188c","@crave/farmblocks-input-select":"^3.12.2-alpha-fix-icons-react-import-5812.1.4+a6b9188c","@crave/farmblocks-input-text":"^3.9.2-alpha-fix-icons-react-import-5812.1.4+a6b9188c","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.7-alpha-fix-icons-react-import-5812.1.4+a6b9188c","@crave/farmblocks-text":"^3.6.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.2-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-dcLh0zqjyzvC+qejX/hLCPSktiA2Vn1mXuu/L/Y9RVj33jySS7oCMqRoVlb9j15hEtenbasveneUs/LAZ2lkNQ==","shasum":"2f2b2cfa2c1d20454b976f8fa3d9da7956aef7d4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.2-alpha-fix-icons-react-import-5812.1.4.tgz","fileCount":11,"unpackedSize":78614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB0RUCRA9TVsSAnZWagAA/dkP/RohQpU3B3HCnIflVSMm\nSDUFcWUlY6K9vMM6TkMvWg6GHspF6EJSWCZXy/mwL/L+zPaeCFEXP03CMS11\nxAbXW2ngev1DpGRoxFamKzn+zknM05jkx+IvuGI09pyo71Ge5UKmm9/xByul\neGfMuHpPygpCL7t969cdCNGmYB0J4PT4ap98mASKUyHeBF571AiEWcw8X/oW\nDOW+1l6/1urXtB4Xz13z5oPCf44mexPLTJ4BdWz2751OAH3IBNW3/uugp1PK\na9aBiEDysVbtsz2tp4348rqWsb+HOlrwsevE36GOz4trL64TbW+w2Az+MlzM\ndOyvg3GJ7eduxc4GpAmJnMBRHkNSHf2QAK1nNAwBZAm6/pyhIREdbFbc6AQ0\n9gHiUeLgCXGYEEdYSJPFG+mbLG8Kwv+DvAG8P7LypNTGHECF40gW7kVB+XZl\nahINBKYdJz9aujNkAw4FT0atv/7KcuEJOIe6GhrTHZ+RampTVxDB0c4JEbL9\nHkIGyODowoT66jaGa0KFNgrlvboTVLfdcxGkj9whvgdGi86ZfV0J78kskSBa\nCe3CqrEQ0+TJhIlIq8puN8x/taTNiH0zqkejNRwzi8G7BI0tTb52zKVoVU3o\nuzE4D1uz7VOshoKZcZ6n+f8OxAD847cPJQMg6GizNrl5TJ1g7DuOT9W4Bfw4\nPENe\r\n=kPcQ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCyBZLhiSEbFS8da5QAdS2L9kmR7OTAasYynO+1WldQ9wIgMT5uf+wHNn8IqWRGwbWSzXDdgKbuQdgRZwZEimSrDnA="}]},"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-search-field_3.8.2-alpha-fix-icons-react-import-5812.1.4_1594311763176_0.7589430973370792"},"_hasShrinkwrap":false},"3.8.2-alpha-fix-icons-react-import-5814.1.2":{"name":"@crave/farmblocks-search-field","version":"3.8.2-alpha-fix-icons-react-import-5814.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.1.1-alpha-fix-icons-react-import-5814.1.2+0cdbbcaf","@crave/farmblocks-hoc-input":"^7.2.2-alpha-fix-icons-react-import-5814.1.2+0cdbbcaf","@crave/farmblocks-input-select":"^3.12.2-alpha-fix-icons-react-import-5814.1.2+0cdbbcaf","@crave/farmblocks-input-text":"^3.9.2-alpha-fix-icons-react-import-5814.1.2+0cdbbcaf","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.7-alpha-fix-icons-react-import-5814.1.2+0cdbbcaf","@crave/farmblocks-text":"^3.6.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.2-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-8g2WMqpCko0wq3kAAc1UtvVxpphfEr8KmbndDygYptDWQe8FKY7NxWDZrOE1DeHg0mmo/kS8PgZV71jmhNJJmQ==","shasum":"d061488090729b4e708a964e20d0e2ca306e30fe","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.2-alpha-fix-icons-react-import-5814.1.2.tgz","fileCount":11,"unpackedSize":78614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB1BtCRA9TVsSAnZWagAAltEP/1WaBkAw+HJ8X7tQUsAV\n+l4b4x3Nxwi5HybIzWXwsa5YKWoAmV0eeqJwHLaDu1WJUPN2hkg+sCQ3pl6d\nX2MQGYt/eLI5r9FLMdBUw9h9nz1nFGTutQGtHs9cJ5B6dO75ALJsixGJiKBa\nEc/sMF8bbRUe8rVIndGsDnXx0KzUX85llFKgaqsmQYqYaw/UVvfMBY42OSm/\nnfAlnnDNsx/BevENh1siKYIk3J2XbKCAZWSxTn7Gn6w3oHCF6pKQSOU8HdcR\nxEBAeMJvi/Z5akToeB6DOUMevyl95iJr6EWRoqo0qUgLh5cT3kSvy6U3KDeS\niRhAsr0dzR1d4Zs33Uqpixi86/VgC3QQ7CvGMIr+cVqiq6VLyyeELBI54aWc\n7rvOoz5cqrrVd00hBDdnykPo+1vJMtJCteVQa0RoH1eZFvPjsMeqXI9GCFVz\nZmwgmRB4AYuJ0S0k8SptggfZ8EHaLf8JMziPCcrpx2uR1q5FI2rGI6petypp\n/noGHbuM5vsp7AcyFk4O0eOet/Qx6FBMYIDLszN8Iv6/xoffqitYEVAS0X36\n5gk0Bp0t6DOGNMwxyKwbDmZh7H/8tpgvVqT84XQkMDkM2ZxksIfmSXlXK3m0\n+ZmczjLduqo5+5m2pTeXGWEcoP+PK2AREPNi+lKT/6QWffNiAwDjdfJ1P9xa\nJ4ae\r\n=aSLE\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdI7G1NlM0wMvkQoQ5/hBC6iOlqYmnCiccjLxnjHNvmAIgPnp3V+Hx3MGjGjS87lxKovuTbYtq06+hpN8rZRRak0U="}]},"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-search-field_3.8.2-alpha-fix-icons-react-import-5814.1.2_1594314860913_0.12392018323520793"},"_hasShrinkwrap":false},"3.8.2-alpha-fix-icons-react-import-5816.1.3":{"name":"@crave/farmblocks-search-field","version":"3.8.2-alpha-fix-icons-react-import-5816.1.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.1.1-alpha-fix-icons-react-import-5816.1.3+3cb6b84f","@crave/farmblocks-hoc-input":"^7.2.2-alpha-fix-icons-react-import-5816.1.3+3cb6b84f","@crave/farmblocks-input-select":"^3.12.2-alpha-fix-icons-react-import-5816.1.3+3cb6b84f","@crave/farmblocks-input-text":"^3.9.2-alpha-fix-icons-react-import-5816.1.3+3cb6b84f","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.7-alpha-fix-icons-react-import-5816.1.3+3cb6b84f","@crave/farmblocks-text":"^3.6.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.2-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-YmDPJ19PhKps/17R5o90jQJD72N5RdQq/MC4nLJ8EHYbIBUo66+IVoiHrXNEpV1vU4Kh0qifNYysOJbjqPjlzg==","shasum":"ec2114336a3e09be1782eee40bcfbe78499033d9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.2-alpha-fix-icons-react-import-5816.1.3.tgz","fileCount":11,"unpackedSize":78614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB1LjCRA9TVsSAnZWagAAfpoP/0+GL9piTNJ5Vgkn3GS5\nwbz5U4Ni1RrZ3UsQKUWFWoA0APTuyFXG145VGiZonup1yjfl/X7YAMF2gN4D\n7mNuShyK6DVdFFQSkW/OpffRoPiiJYgkPDlfqEfpZzGzlJd+jLJE6nCtks3z\n3rlIdb3DhTcQWBSXGcN+w35r7L7M3w/xUtg3ua267YnuCI+P8wc7r5IJ3est\n/eUoi0fOQUJRXF99nlqXPL5ohh1FgOtnfMgBFzBD+w4BjEHNCaGP8ejWpFZ3\nGqBf55yrgEtotfHANhpQ0yJN9iRPFpVI4C1RqK/y08D6Z1eLMlCsS/hp17dH\nDZf68WDLU49NAHzLOrRYITqoFptChYIlkmoTl6PSTtQVz+JjJPMThLbBj8FP\n6bRk1sf/TojIJFMzldQXERk2P4fJLOTzgW0wpXmqJVZrEHqaQxdJF7joWKcF\natai8qDX0rTuKAWaPYuhD93tMamyj6OVd/7fifHmoRYSCZVuhxSDIr+RNq6M\nA7rW2reIOLZAC4JALC+Bb4jpJffdINWdl+VJ5rTJWWAGhe9JTQ7v9hx72F88\nUFHSGyhIZTVSW3zoaijD+pJK7PrcBYQy0P5l92vavdJu/6ZHD/yI7Cg4SI0f\nr/jdCZHZ0peH6OtmF5rshcKiilI7enaFFKm3LIiNLTkSwV/HNLOC4sfCUNp0\npkga\r\n=e8nx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFseeK29Vyx8XiK6SRPW7J4USJaQU9+skPD/ZZulFh4QAiBz+v54n235968+xHvdXJ8BiCc/0ZlRAkuL7e4pyynAKw=="}]},"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-search-field_3.8.2-alpha-fix-icons-react-import-5816.1.3_1594315491297_0.5256406108386569"},"_hasShrinkwrap":false},"3.8.2-alpha-fix-github-dribbble-icons-5818.1.1":{"name":"@crave/farmblocks-search-field","version":"3.8.2-alpha-fix-github-dribbble-icons-5818.1.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.1.1-alpha-fix-github-dribbble-icons-5818.1.1+0c424252","@crave/farmblocks-hoc-input":"^7.2.2-alpha-fix-github-dribbble-icons-5818.1.1+0c424252","@crave/farmblocks-input-select":"^3.12.2-alpha-fix-github-dribbble-icons-5818.1.1+0c424252","@crave/farmblocks-input-text":"^3.9.2-alpha-fix-github-dribbble-icons-5818.1.1+0c424252","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.7-alpha-fix-github-dribbble-icons-5818.1.1+0c424252","@crave/farmblocks-text":"^3.6.2"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.2-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-ZUN0F77RanmLYBvIUHw4LQpsV3PeCvNdA8iJdWsrwniLy25roQcFzj4LjGlnANBESYm7U+z2EgqUjyqvfQqdMQ==","shasum":"96e8845f3b68d5b61e7ac6d83bd780469009d05d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.2-alpha-fix-github-dribbble-icons-5818.1.1.tgz","fileCount":11,"unpackedSize":78632,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfB1g3CRA9TVsSAnZWagAADbMP/Ag1exJkHqcubXcZWb63\nll66LDpoOPzPQI5CF6GW9gELPeyg47KekKv/n8tSba7fqfLYhVTCIsyuoQs7\nXiv2v3Aq//F56d+j0/8RCAow+hsfx2LG6E3nysIG2v0YckF57Mnj4QtcdEaC\nURekSF6mwxGnbZiT3zXnkwUyo6zl7pYhKwqjmdqdIpzPdU8oB8mFla+AONeo\n0UxJGidwD6KXHsaxofKBA50qjQ7YGSWLsMzKLYPjK8hiUFZsmN1CoblNCjxH\nPZ3mEIl9ljUxBshrBpNH3DlIdWjPYntg2DeHtGvILUvrB31j2cxUywq//X9c\n5/lBofgCZK1wDyb2Kue3lpiH1wuwawEtPnxFd8lGkAY9kHBi1FZ3UyC2QrwB\niYitD/kWkhiK2XM8rXtGK2sx3RCWSZKOYI8hq/yhZ0CqzWEVH+/aCUT3RGsO\nLKxNxlKKcGfWhoLpi86rTpX3mN6JCWk6WXlPIp0qiO90+5BfnR2SKN4cOOGn\nKJTihEuopB0rUnJgW2LV4tGDvrm7UJqwE+jMWb+k/t3rliihvcar/jM6Sm6O\nbnZGQLqZru2Oh13o1g09cUA8DNSIZYZCnnYICw9fDmEywfF+4BfUbkW2Z3eL\nM/EPu6wrO65/jMI87uFDoGMXiUy2ZISFDAC758f26whjW0w9kVj/twLLC5CN\ngSha\r\n=Ar9i\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH5jgQabBoSQZU1f2myBpY7G0dknA+wHyxIHNE+zJN8rAiAaBqVkeelrOUYiXSosUVbLZHLIehzzug6LwjPJOHaEsQ=="}]},"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-search-field_3.8.2-alpha-fix-github-dribbble-icons-5818.1.1_1594316855286_0.7967228344127268"},"_hasShrinkwrap":false},"3.8.2-alpha-another-icon-test-5829.1.4":{"name":"@crave/farmblocks-search-field","version":"3.8.2-alpha-another-icon-test-5829.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.1.1-alpha-another-icon-test-5829.1.4+c443d910","@crave/farmblocks-hoc-input":"^7.2.2-alpha-another-icon-test-5829.1.4+c443d910","@crave/farmblocks-input-select":"^3.12.2-alpha-another-icon-test-5829.1.4+c443d910","@crave/farmblocks-input-text":"^3.9.2-alpha-another-icon-test-5829.1.4+c443d910","@crave/farmblocks-theme":"^1.9.1-alpha-another-icon-test-5829.1.34+c443d910","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.7-alpha-another-icon-test-5829.1.4+c443d910","@crave/farmblocks-text":"^3.6.3-alpha-another-icon-test-5829.1.28+c443d910"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.2-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-VEtnNY07f5TFIT6NX/42lQ71FDK3x9ZadonpibrOK3R/6q0cNHm8zECQRVcCnwnRxZQVzld1fqGucAv8LPkkPA==","shasum":"0eee40b219dfc375f3d95ad56067c9deb2cf8d80","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.2-alpha-another-icon-test-5829.1.4.tgz","fileCount":11,"unpackedSize":78670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDHilCRA9TVsSAnZWagAAHvUP/Ra+PFM3GeWOGU9eF084\nyadY0wpbxEsGR9kI49UPdsIs+Tkjl22XVHxjOAH+9e2ikuOPnYsTvBvHLPKm\nEi03ENa4Q78ZWuYrvcxruzPiGBCuq9GD05zfkv1IglhONxOj1VHWNxl1X6Ge\nWlGpHLDuJxd+y0vxKWf4CJ8Ey399OVeCy7sFPzbqB2ap3CZsA+gfRcjDYxDr\nzevBSft84e9jfuGG+GCQFMdbpBimsMu5zpsA+T6HQ+AN4Cn8QsRkT34cYKNr\nkdH0vQ8n2dk9WZFYxVyqg/8pM3QqFqSWHoMsn9Nu0mmL5R4ahd5BvT8aJJ/T\n3kgvUtSnfla6GBAc4OqLuXgIz45CKVg4rYnZEV5yAyc5537tJNB7JAXD/MOG\nus++Fl5swji2uY0Hm/02Tk0L5FI8OhkoZ4hUTB8RNJOp0kXFN7syWt/9mlmC\nygdyPRipVn2olo1nNgHP94H1z7gBUq+GIvxynIldaQU4O/nbaNtMYYyOObSB\nvY7HKi+vy0z/VO9a0P9mh3aPn+vefXd5sFFMPqjfyPZBLF+t7tFR6ydvECth\n5DBFxjnyLK4V9FK0/G8hQaIaF/IBchV332SpOFMiZyp+wsLVYoTytEWZZnXw\nzjnj2U8OclyKIUE5jf613dIiuVzN9PbcwHV/irpQtdJaLqeSol5e9VZdcYux\n7lgs\r\n=u79k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC2lU4WdJRr7R5oP81uxATL9bZloEu9cLK3Hia3tgDG+QIhAISjQrUq0BLS9WOsj56mvGHKua5mJh+3mRR97cfzM1R9"}]},"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-search-field_3.8.2-alpha-another-icon-test-5829.1.4_1594652836585_0.4381792696842828"},"_hasShrinkwrap":false},"3.8.2-alpha-another-icon-test-5832.1.6":{"name":"@crave/farmblocks-search-field","version":"3.8.2-alpha-another-icon-test-5832.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^2.1.1-alpha-another-icon-test-5832.1.6+fa9d7b16","@crave/farmblocks-hoc-input":"^7.2.2-alpha-another-icon-test-5832.1.6+fa9d7b16","@crave/farmblocks-input-select":"^3.12.2-alpha-another-icon-test-5832.1.6+fa9d7b16","@crave/farmblocks-input-text":"^3.9.2-alpha-another-icon-test-5832.1.6+fa9d7b16","@crave/farmblocks-theme":"^1.9.1-alpha-another-icon-test-5832.1.36+fa9d7b16","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^5.1.7-alpha-another-icon-test-5832.1.6+fa9d7b16","@crave/farmblocks-text":"^3.6.3-alpha-another-icon-test-5832.1.30+fa9d7b16"},"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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.2-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-FBxTTqi2IGx8B0mThwmD6rUehoeER4WaDRVBGIc6cIhlO07aYQMkr3LZJsE4hjTPV/f+HrTw5uLalv2TZ6RdOg==","shasum":"5407b5a6899cb4649406dda6a5e5fd41bfde11e0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.2-alpha-another-icon-test-5832.1.6.tgz","fileCount":11,"unpackedSize":78670,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDH7KCRA9TVsSAnZWagAA3hMP/A7em6tA0BaTE1ffdX9Z\n9aPyQp14X4meSdZdqhyHejgSNetdncBhlp9v43BJCWonPoBThonv1DI4fe+V\n3OjvBw3UkCOmdMTirqBYX/djozyR2anFVnUZg2W7SHz5INfORsytKW9rbpYX\nV0J+KqfLQkiq/329Y7zX8PX4ircFKuVf9RGRWcR5zOzPJT2cWOoDFMCeuzmb\nrd3KdMwORhzQN7rmeIK3Fa0OU8HDjIPO2oQpKCfc2+8xLrRn8bJOECFIL2sM\nmwrTVJPAoWbvE7KOdKuPjQNQv2vl9aGrTz1I4nVTLcaIlEEwlO33TWCsVhHU\nU13RqTGDzq3pm7cm7/jCBA848AvRylyAp9soPaDfT5j6L7HgXBTb7XjFN9YE\nBVmHHg5+hLW3oNYIGTILa9lhmXMnw14Iyw9qHQF0f2UHOiYDl+/yYSh8q5D+\nT0vT4s1MQN2tXRgRm9Q9e02OBCuelHy6fA9W9iHP827DCv6ENCWCJujBCU0q\nEz1ZxZg7UtVkXaiEcW0pFn2aFgdhj2wc0XK9Qg7VDQv3i37InHJP4zBIN843\npj+Sq/oocwjz9Z1dsO/0vfCrXYK9vP6WYKSneEpnCiITZR30PaodB5lF540E\nK+hBInOhTwvwaX+JkwGFfVqoY5Z53VFpppJBiw0+B81pKOVgZnNa2wuASmW1\nPScd\r\n=2wIT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHzDdbe2DxD9VIQANkcfyh6FV/X9VX/KJw2dFYAtW1eTAiEAgJxjg0l21IRI27VxPM+noHBPMCS+n9l18rgpNFggsUo="}]},"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-search-field_3.8.2-alpha-another-icon-test-5832.1.6_1594654409653_0.2565260495833319"},"_hasShrinkwrap":false},"3.8.2":{"name":"@crave/farmblocks-search-field","version":"3.8.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.0","@crave/farmblocks-hoc-input":"^8.0.0","@crave/farmblocks-input-select":"^4.0.0","@crave/farmblocks-input-text":"^4.0.0","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"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-search-field@3.8.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-1g5O0TuDlEX7ILBQhIs6WqGA9bwpNFizz1QireRaEvfw6CBIFws+xrOYpJUXgJOMrfYoWRj9Sy7ZSQfet9qm9Q==","shasum":"621e04e33d1cda46807bb153dcceb125c80e89a8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.2.tgz","fileCount":11,"unpackedSize":78557,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDdxQCRA9TVsSAnZWagAA+G8P/R8mDr/4IF3mtoxC36MB\nLh5ZDojpQlHbJxRR4BCjcuY6DOiNqatY+QeuqD8i60/KKN6PqJejcVX63UQe\nRRRdNv5nc2voxXstuBxpAagS6V9XyaomOXQfuurt/ZjcLLjhSsDD2ainqEqQ\n6KJFaZUZ8gBLNaTYhEtLhHJoBvHnCeAEojhuo3OSgo2haOR8LTqkkDSNitzG\nEHxUf4R4CO1LE5aVvMzDvIHzp6QJEMxCmpp939E6NZS1BNOCQAOMIvSnDh12\nZqfNaHHVouns7om5dITFNGGDK57wmPbDrEcpxaqVFwCaCvFJsDf715V2SnHa\nyNoQg2tyUzYR6e8pLCmISI1lCYPLNFwCquoGZJrA1Wxyzw4EIYlPLwDM5o+P\novf01DxFgb9PMlCYj6UL8IuQKuPx2A5vRMF1qhzsYq05ICFIt2AMz13dnn8m\nlZqsJBRVhyzcQ3/fXYjf8XWi4vEj6hLX3MO3xUwtuIKkKXHOn28UHJxabRXX\nuyxWPIYTPBwxMMiOjV0YR4w3G6+6HiuU6UuuWXMKOfbyJyuxMP26eVUbMtzq\nN5Z+Ob/Hn1CLhFFXO/0fpavB02VoHs8GttXXfGVvb+tK3hYQF+28ZBifGOdT\naJ6caypsx/eXHh/+HQJOZ7P57953TjMSHxVaA8lXWKggTJ+oxwhoa3RrSPHh\njdcQ\r\n=aEtU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7kzsVkMDM1Ta6rb+pGI4CiOEA0RuPWURbk7wuu0TmqwIgUdJhyCVigsvy+b5OWIL2tl85QlmjX61OlfT3NZ1chxc="}]},"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-search-field_3.8.2_1594743888212_0.1733997143192414"},"_hasShrinkwrap":false},"3.8.3-alpha-redesign-hoc-input-5848.1.30":{"name":"@crave/farmblocks-search-field","version":"3.8.3-alpha-redesign-hoc-input-5848.1.30","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.0","@crave/farmblocks-hoc-input":"^8.0.0","@crave/farmblocks-input-select":"^4.0.1-alpha-redesign-hoc-input-5848.1.30+325ad693","@crave/farmblocks-input-text":"^4.0.0","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"gitHead":"325ad69389282849402c3835f3b32cf201266a68","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.3-alpha-redesign-hoc-input-5848.1.30","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-8oNeyJVQBekRy1OomubQQW1rcQ6UdKF7h8ct3EldQEF4xaGhPzfRbqdovIpe0Kxo/ll11hxLCWkwW13jYmz48A==","shasum":"69dfbd639b2a5cb911abffee60b98364bff1dd48","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.3-alpha-redesign-hoc-input-5848.1.30.tgz","fileCount":11,"unpackedSize":78609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDfk9CRA9TVsSAnZWagAA1WkQAKRLgmqa/DKkVDyMbdts\nZkWtCydDWZeTgoK3nezVmt+alBfsvNS699WEBsVKKzl3rBrPjDW+rkPBKETW\nKRjv65vX6Y/Hg2Dz3P2BDViKQOPNhNUaXrwEA70cHbft51nTWDHr3qrMfWuI\nDA+U6TE+KWB/whsobr9Dz+ICMFtZdEl56KEuFKFOW93Md0/2PGj9lAMP4YI2\ndk+3AwBslLZERSRvMGwJIeD7AF5JM5KaHBLYZFsofhaT84jwZPGzEVn8JBVW\nZlzS9Wxe+aGj8wtY53VgUFRvMgGAsctpsL5GILa5hwq8RfxHSoqo3clTj8AS\n4DFRryaekj3FzYwKHYQsqbP1+sUTlynKtXN+cSaGSHyGyuSxLVJ+81v+TUWu\nhDI99t7xCklYW4Vs5IVR3hqqr7Qrdwrct4b2lRLwmzYbvHVGI04JGIwIrn3j\ncD8EB761CCpcR1isU8P5Ec9kPmxieeZdQWtzFNLzMANex2qJ7wj8wLaphN+1\nfLcsSfUFwL4BCFpUpI2s1t2bSjyEiVtDbRQG8l9XhDO5F3yIvwv88NtmRceR\n7zTjlQ7GIQeV+xAuFEokcrL/eErBOQZbu2Loq1QVphSGkxr0TMJKbBxZk12R\nk2Xn5dUqL7j9yW4gA3b7QSApfkoLVdwDTQsH84oJeaIapkizuCuSwE3fsvbD\nhGH6\r\n=9igk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCv1my27dLW5UvKbnX2cymbl98w9xMI6o2pQ3soXhka1gIhAKmJXOnkwkaohhY51AhjlZe83DUTbDkeEtqaZDf5WQRz"}]},"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-search-field_3.8.3-alpha-redesign-hoc-input-5848.1.30_1594751292850_0.07643742034790613"},"_hasShrinkwrap":false},"3.8.3-alpha-redesign-hoc-input-5850.1.30":{"name":"@crave/farmblocks-search-field","version":"3.8.3-alpha-redesign-hoc-input-5850.1.30","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.0","@crave/farmblocks-hoc-input":"^8.0.0","@crave/farmblocks-input-select":"^4.0.1-alpha-redesign-hoc-input-5850.1.30+af50d769","@crave/farmblocks-input-text":"^4.0.0","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"gitHead":"af50d769dd0af7b4d18d92a928ce3ef94f8cb539","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.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":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.3-alpha-redesign-hoc-input-5850.1.30","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-n8EEy46mQ48ba3D4fNrSIm5lNxIe5GzNxzYw7xAsgBE334lOimJw6vL6r5bzSHNQ3NvLwY8r7rt/Bn0baEaHMQ==","shasum":"90d585fa444fd17b7a613a88cca9ae9933425ea0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.3-alpha-redesign-hoc-input-5850.1.30.tgz","fileCount":11,"unpackedSize":78609,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDhATCRA9TVsSAnZWagAANx4P/A8KmpssnLNAwW0r+Orf\nkOZPp2v7oZ/bD//M58RHaHx0VRijJReDik/LHblHP1YPuUiDl31al/8+5jbM\n0gbXQxvexXrMKXUucV+vTbL0lANp4gKJwOPfaAlEzNgNFvTOfBLepVKLHac+\niM3xRdUpbelRiGyYg3D80ZeRUDDVIAF/OEnFfHPaPRzGS3TN7aYxoKu5/atW\nBQNPQ4bp8pvBIu0K9MIbQneG6gUxrwELQWlRbWPkCzwRxiJ+a+ZS6UOGZkj1\nR9qPLPcpSsVbtExHLX8Z+I185lFICXrOkyBdgkvmfukevi3mCs+/LSiHRfVl\nKf+SqiP0mgyO73/CNWVqYDwIoeN/aLQQZAOVnzmWwV+x9EAiRa3I5Uivvh6c\nn1Mz9VXB3MDX0dHvQOy0gnqR5Vh858TkKo2wkskoAC0LvNq6+bf3/Ds79atx\nzllxhbMERvlqkrZCopHXKuiJHzuWJsxY4CwznVbz/WrYyekMSGRtjxt6vHKK\ne535FHm8D/G1tgxG+oAkJFD8y8oQ57GcuwI361ENdDDn81re7qO7flK+Y2mS\n5PBDozOZAZsGCI62wnZ6es2hp1Bsf2VKsHm5D0YIHnqLjBmzx31FjeJ6YfSH\nkgQuTxiEDVNpVhEWKbIN9jusWLrYBUi5RiYCDv7k30wToC6Vv396u9Q2YJvq\nHRAl\r\n=wKwW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICs9tMxim60a0v9fjYOwLIp7+DhdfbtdJ5n1x/DZ6UwAAiEAuAdBvVHklidVEBinSI+Y794nvvXv4cgFmJrqeDU9tk0="}]},"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-search-field_3.8.3-alpha-redesign-hoc-input-5850.1.30_1594757139381_0.025457569365257893"},"_hasShrinkwrap":false},"3.8.3-alpha-redesign-hoc-input-5854.1.33":{"name":"@crave/farmblocks-search-field","version":"3.8.3-alpha-redesign-hoc-input-5854.1.33","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.0","@crave/farmblocks-hoc-input":"^8.0.1-alpha-redesign-hoc-input-5854.1.33+d4ec4c96","@crave/farmblocks-input-select":"^4.0.1-alpha-redesign-hoc-input-5854.1.33+d4ec4c96","@crave/farmblocks-input-text":"^4.0.1-alpha-redesign-hoc-input-5854.1.33+d4ec4c96","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"gitHead":"d4ec4c960367e0711823d362c00ea13efa0f023e","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.3-alpha-redesign-hoc-input-5854.1.33","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-MfzEiNwHVSKwrRdzmuJ9db2Z5TlYRQZNHvNw9aEmMDR0zvZUJHZ+P8+hAhnDIpEy2j10kbKiJW9ApMQb4rEM2w==","shasum":"a315f609fd583a7c229b83860cb5654bc4a01991","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.3-alpha-redesign-hoc-input-5854.1.33.tgz","fileCount":11,"unpackedSize":78724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDxULCRA9TVsSAnZWagAA8x8P/AqCBO+eUwreZCrRj/9D\nZNDwvCF8AWFVXPoyGPsiLD1YyQz/oF+XiEB73HMORpnytap8vPi7yQvbVVe0\n0njDL0ppiz2TfFHFXya9SCJ9lqgZGooh3LtlR0QDzd+Fr+ustmUcqdtSp+yv\nKsPbPDNKw+Lym/L0lIIAyR2M9ECqcsYxDDB97Elq/feVStc7pFBPH5pmelMs\nmWUiL3zIs3aOOKfOvdmxFGagKGrC4skf22vsGfoCLkJvoUcPusyeSESpwAva\nSIu3ZZnVnSFnfsYUoBvxKUMo/BXQJn0vwrh3otgkM5IGXN+FAkHFB9fI3DZ/\nEzlkEisJadB87DtssMOQwv36WmcWLp23ir4Lr/MmXvNT2bDnZWpjDI3CsoJJ\ncpvb8qkbemSAW+HG7FbuQqZDb/whPhijQ2G7OVJiKN+KYOKfQwf9JJz8ATSX\nZ1L+XyL87xipRpb5Eq5VJfCqNP9I4mzLb0Lvpx3kla0cTOSFtxp+uLDHmsvO\nhZ/egt2qeWPoyrroNfkAd7ae52vJPk8AtLEcYp0yCf/2unvCC3Lvy2kVB6D/\n9+PvBV/WOmkYoktakRvyhyK3L/VvztVea2JaRNIFPVKwTOp3xIwEgl8pUVW7\nwwbzrue0G79/+uQMiGmKGqxISEtU57s4DulALKOmLK6c4aY9JTn95dMBEior\nhlW6\r\n=VXrJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBBl8DezfK62zdwyak0TozkbwmXhsBZZWB7nefmuJ/rvAiEAvKibNPyu+HA3is9USE7qMosAjwJL9W1iv/VRRLaiA7c="}]},"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-search-field_3.8.3-alpha-redesign-hoc-input-5854.1.33_1594823946794_0.8183455839150746"},"_hasShrinkwrap":false},"3.8.3-alpha-redesign-hoc-input-5856.1.33":{"name":"@crave/farmblocks-search-field","version":"3.8.3-alpha-redesign-hoc-input-5856.1.33","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.0","@crave/farmblocks-hoc-input":"^8.0.1-alpha-redesign-hoc-input-5856.1.33+c0be01e5","@crave/farmblocks-input-select":"^4.0.1-alpha-redesign-hoc-input-5856.1.33+c0be01e5","@crave/farmblocks-input-text":"^4.0.1-alpha-redesign-hoc-input-5856.1.33+c0be01e5","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"gitHead":"c0be01e53ae2a999df85b5e9a3e0cb5df3ac74d9","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.3-alpha-redesign-hoc-input-5856.1.33","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-S21+z7XhPh2usMC+Uxn0Z1VeZ1lK1NnVPfUSknvhXGq8mGzI4/Yo1wE9h3/W3BqgFulaLhTX6jJIDO/hckGMqA==","shasum":"4d2fc3634ed4e88f67e61a06f920284757eb49c1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.3-alpha-redesign-hoc-input-5856.1.33.tgz","fileCount":11,"unpackedSize":78724,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfDzl4CRA9TVsSAnZWagAAXw4P/iPq/0/MWW0GnlyhGdDq\nmXjXdcLQvPyBlyxRaCnxpWrVoKm/LHm7tQFwAythSHecIeipvxVxpuzy6/hb\naYyBQGN7xk44mZ3OqJNjPZ2FdIj8vtJx8swm/08dA+SNSDs839S8MbZW0KKS\nfEJowuPWWjQu0xf7fdsH3cEsVw6zEaiEjgTOaDMPJmGQ4wQpMs2JJ6yUJqib\n9jyQD91/pzURVIO8ameAec0ubF52FWv5MYdfn+lj65JG2ro/8+jHzqHFKRnW\nvb8W4A9IFIXLc8xr1oXUza88XGh+rvq1siN50JdyP64ODS/5/OGao314vJE5\nCOzMx332V7mNEytuHXQywprBhvCvzC032Cwj5YhgIFR2FDG35yO+rI8GrcDq\nL3RWPT0JHT5WuTAF+QFZTod3tPZob9fZ5FgPnfGCCIkYOAzi/gnvLNyQX+vs\nRyyadPCOl7NV7/JIG7D+fUuleCucAVaYaR2qRb0Yh1SPyvS7Ero+UTDChDhi\n4m5gqW/rkuGI8FaExINOVkYl6JMvfqxNMNIj9VLkjmXQR/MVn9bpQJNmnTyZ\n+In58vLgACplvVXczWyWW93v5Pf72wPEcu7uQsuOcFxrGqdjuAeoMtOzv3D9\nvxy5IuA6vNKFJyaKNge1rxOSeztpG4aoUWkDLp6aT+n5th9bCNqWua0vyk4G\nkGW8\r\n=o0gK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC10t+nJKgWdJ2NQRii05+LdRY47EkMeQOOJXZWT9OIeAIhAO/i/TSgi+77Q7HTVJFzrrNKSAFgy4MgqyY407R9PQZV"}]},"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-search-field_3.8.3-alpha-redesign-hoc-input-5856.1.33_1594833272072_0.8711489501760525"},"_hasShrinkwrap":false},"3.8.3":{"name":"@crave/farmblocks-search-field","version":"3.8.3","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.0","@crave/farmblocks-hoc-input":"^9.0.0","@crave/farmblocks-input-select":"^4.0.1","@crave/farmblocks-input-text":"^5.0.0","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"gitHead":"58fc7f7bd7c0e1cc578a30dd5d52b2fc22965522","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.3","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-CX4I84Dst7MkT3HXtNmY51Cqbz7nhHTJXv2E2YDz8uUSpPQgKrIDPVl03iiEoxSNaCXHJoYKfaXLrPW7bcLx/w==","shasum":"f22416519a95e2a060b5f4ed712e0eae7cf49764","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.3.tgz","fileCount":11,"unpackedSize":78774,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfD1icCRA9TVsSAnZWagAAUkoP/jTHPShfjx000rzKFyqc\noZr6Cv4/56ZiUolsJUTkDEJLFGNw8yP+3bK/YUvncQr0+bWT6lLBWDxVKpyw\n+mm4RyTYiSCGFJ1k2Ft/Q3oGgad3wSe81jNwT86BZHMY5jOifI3tpbzQoZxS\nboT3owaf5MQkqUm+Gc62JyshjZJ4cxHh+GLwVtSTbgJ6KKT04zJdW2LURtu4\nXWR3st1uyVZCRvMwAw5k3X0s+qalwf8K5a60UYp/C1DY3c+LGulsB5zF+dOW\nzq8Dveh3Toj6hi83w6WKiGVizkyMlHcNy8v2sop//k5/+xpDrRoYKCCWGTE4\n1+tBp/zi9HjJLRDaCbajrlQ/H0fFZWGkgr6rHziJZHZ6AGvuGu0dJyJVzxr+\nClJrULZK3COKBtCrXU5LWV3y/NuVywRiIKw/ThM36c3bi9fpStYh7K4rnVp9\nB1mcTox8Hq1dRa+d/81YDGWYwVEDnqfiRoM71nPwQvKiTbSJRRFzQuXRF0ix\nmq/ZIQzt3k6Y9izOA5ZEdUYF9ihTp4o0q8qFWr6YBVTdVTirKTmqlpz9+D/C\n7f6+koeyufjYDJU6FlM3ztUISsT36UExZ2XUqQjnMnzeJHB7Dyt3nHmLD80u\nI89BoII92IjOW95ua6CERFgjJloWkW3JwSDGKvk2xyGUqN8+vapsqprDx83l\nW0lR\r\n=9wQK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAwdfixVDwyL46E9bRijeJY+kgrBTU76s4oDKkxO3M65AiEApO3O5cdlW5sVp/lQUUBRLOrYOfkbK/bn4Guzg8ZOz+4="}]},"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-search-field_3.8.3_1594841243688_0.9725180977996712"},"_hasShrinkwrap":false},"3.8.4-alpha-protected-currency-5865.1.6":{"name":"@crave/farmblocks-search-field","version":"3.8.4-alpha-protected-currency-5865.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.0","@crave/farmblocks-hoc-input":"^9.0.0","@crave/farmblocks-input-select":"^4.0.1","@crave/farmblocks-input-text":"^5.0.0","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"gitHead":"2bf99df4799c197d05232958c76530d6e952e9ac","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.4-alpha-protected-currency-5865.1.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Yj1mKslGF7P78Wsd9XZfgkYmGb4YlEgbidiAlhk5c9RygkVr31ynbZMkize+j+jCZqlZSrI79c7gzrl+lGxUBw==","shasum":"bd4aff078b037abb0a06b68674b6398af5fd1711","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.4-alpha-protected-currency-5865.1.6.tgz","fileCount":11,"unpackedSize":78817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKas/CRA9TVsSAnZWagAAHWcQAJWPnRVdELOr8580oPA9\nphKpc8BDlxZlcExz/FUTa6k1ihWAo+n6h2TlBTyW3Z9pYzLtbcQmUUT1piNJ\nuP4LdgX07RmqQOqh+Ckjarb7dj4fXb2DZlCNgkZEqEdUJio70U1SRLKqpEkg\ngVvJiD5UfHrdJM2HixZMhdnDIGvfjoxOGM6CQS15wCM2Byg2DaMfiLUfxmF0\ngxcwRd4cMYaE1H2EK23fU0APFCPsTG2HH4FNm5Jr9Ov+am7Rwv6dgwjP6Dhy\n8CtgspenxMt63qllQNiSSQu1SzjvW1qDCBSSCy3MDBKyUhQ7ytOVFojZP3tI\npnzn2JOmPx9dKPR+5tq7IVpZV0TKWtzZYcQELTcNIgB/wi/j5xdjAfvRhQA8\nbGWXkEFznUx279wbZozB7Dr8HGlgocr51owenSrj1ES0xo7Umr+P1CZWVUhj\ndtSkZr+NRwRCKcwdPFEN9ZToXfb3qERU7rPIbEdSfdzm5otmN2Aoo/33P7dZ\nvUyfYDyLTIlfR8e6sBaAy6xg7NebA+Fxsat7g/NiwG5gL7CpBWffDGBrClmN\nERfbfX7Mst1ar46xGGR9jAl2l7GqymfIVTkF5s9sYY9Ro8br8FKYjVc3stf9\nXq8ZMXfCoQjAv8LqcP3y9N4FzKypIV1kt+uFUxNB0zD6/2ZJ7T74sOHUDCgr\nlaoR\r\n=q/Qs\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICZxCzKSWpVQJT2EYZiYLSLsCGElOv+NpA0iaMkZ5qbjAiEA7LRpji5DXIIxG8eS+Z6UTly6iDKgVtlcPszhpXSxkMc="}]},"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-search-field_3.8.4-alpha-protected-currency-5865.1.6_1596566334681_0.10134479690140452"},"_hasShrinkwrap":false},"3.8.4-alpha-protected-currency-5867.1.7":{"name":"@crave/farmblocks-search-field","version":"3.8.4-alpha-protected-currency-5867.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.1-alpha-protected-currency-5867.1.9+58734103","@crave/farmblocks-hoc-input":"^9.0.1-alpha-protected-currency-5867.1.7+58734103","@crave/farmblocks-input-select":"^4.0.2-alpha-protected-currency-5867.1.7+58734103","@crave/farmblocks-input-text":"^5.0.1-alpha-protected-currency-5867.1.7+58734103","@crave/farmblocks-theme":"^1.9.1-alpha-protected-currency-5867.1.42+58734103","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.1-alpha-protected-currency-5867.1.9+58734103","@crave/farmblocks-text":"^3.6.3-alpha-protected-currency-5867.1.36+58734103"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.4-alpha-protected-currency-5867.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-GgKeKHyfmV7t9TvB18utJwjXWex/XzBlVdfIS+3wXK2PWW8a1CRyP2L0OMvO+DQJExZoj4KInFm7axvjBelOQQ==","shasum":"35b17825f66d9b8e921573a0e8fadfa13871b4ba","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.4-alpha-protected-currency-5867.1.7.tgz","fileCount":11,"unpackedSize":79120,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKa+lCRA9TVsSAnZWagAAMCIP/iSnBtra435eAkGkOwQO\nrGNwnI+SiVBXKThGW37GbwhjgvmlMrSg+IttVAwugT1roYb7R/j6NBSR2d0R\nAvUgZVWa8G+FGCcLT4NgNibFTrDCXRzkN25cU+nLv7uUgwemnzD/yz5Q/Doj\n8KjUP6+wGq+lkWuVlTz6G9AwOCVbSGf7zLqT82hk+/x3UO/vsNdSZkuVJ/70\nKunPWqya0vv8aidfOUoQiLmPTBudAV7qU/UYKgCmqaNUBlmKWo3B9WZv5raU\nC8Pct3xjvicEiQUMZsFOfGplebu/6WpAGTvR6dJQADD8Fmzm7qVDmze2doZP\nI9jB0Fi/LbHvAO/NzJOP3rexY7YO8cH8fSgPQuvMh0X3wXwjjZGHCYc9eAIy\nE3c+idY6/ZI5BqAQYpRYMdVNwAd7QoQKD7WPYBNHA1NU/lOFdegQwfrZ5zaJ\n8To+PBj2wVzMWEl/r8D/lNjtvFJWz3ZS3Y0toteNuNEBS7Kc9Da7TTY0vstm\nrvxlUsbKHAoIGIDMEsLvGF6Re7T+2xQUOeVuth/9a2xht4ocDpx35ibvjrlP\nmO8Tx1DXU1GqXd5XNevLsHK7zEuc+OV/orm3lj5ey2qQmFH7+1+0+CGzv67x\n5F2If0+uWaRd/9LLhen+ICXA9x0jC5xcz2ArTL9KQdZVZ1YPLslsXi2db3R0\n2qvU\r\n=yjJS\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCopPYXCgfbHWVgthDjFlx+hnTjsEQp613tRV4xL5LK3AIgZa4R4VjSFZaIzON9YAM4p4WobROizGOGic1rAXatE0Q="}]},"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-search-field_3.8.4-alpha-protected-currency-5867.1.7_1596567461351_0.5742677929889162"},"_hasShrinkwrap":false},"3.8.4-alpha-protected-currency-5869.1.6":{"name":"@crave/farmblocks-search-field","version":"3.8.4-alpha-protected-currency-5869.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.0","@crave/farmblocks-hoc-input":"^9.0.0","@crave/farmblocks-input-select":"^4.0.1","@crave/farmblocks-input-text":"^5.0.0","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"gitHead":"17a49e0fdc4734d7842c7413d68d7b73dd05566a","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.4-alpha-protected-currency-5869.1.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-JRXEkj7LLmRp1tjwsFkRZLKMNjgCSdRCFVBhw+GA7aJHqCD1b9QzZ1qfQOLE2vRlonCtG8vyJgap3sI5UlqE/A==","shasum":"c9c804603fade3a1232dc60e45bbada5aaca5b33","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.4-alpha-protected-currency-5869.1.6.tgz","fileCount":11,"unpackedSize":78817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKqWqCRA9TVsSAnZWagAAk5oP/0gK5Xa0XPWeBC6Lf/EP\nER5trKDISPsQCfkfvyvWXmApxeXhBF52OFwM2btn1J0GUdQej8PBATLkhMM4\nkKfCiCrJdcG1agUXRo5gJhJFz2Ju0HCRFW0V/JucRf5Nzkg3lUk1Zo7GmJ6g\nMkCZFuGczfGkrVsYovIYye05JQxbfzwrQsnOQFBiZbfKuGtOQ3r/GlUu82zu\nT6d3y1hiZhUR3khy9o7xaQKMKJ+KTQLfFFtdv6nBTgSruCpIAew0Y/zwHsU3\na2wTUTxCjVP5AF/PXAOJFpcfOWp+wqD6h1gut9CLLbMZN2ylymVMo3UT6LBB\n2PMd4iZ98Akrt8E6oitEWsRL7MudodEwW3Cq6NhoeHea1VOj28De+1ZJaBed\ngtn9/T0K8Dp/WEPIvKCNyk5BCYWSQFMGRHz3ukI2WePUIjQbSxfGSi57DzWM\notJHYVtPWWAvJLwjGhK04M2dHheAGE/Ujofc6czMuDPl+Y5BAv4Hq9xF/tHD\nAOpOP5MBSod1GySTZZ6StNTjH31ot9CPVBrjbrKg+scV5fzoGvX/VkWfOc2z\nWTCO/E6DBOagJfw1Jqus+IdLgFsM01x8GkeO8wwsmM4rPWrSr0GaL230x+9x\nzcbF8LOnOMheXuTO8gKFyhzK3ZbXqNFPucePFIZjEWLgwxQyeSOziQCPPoeX\nHsv+\r\n=zg9H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDpFOl62MOlGYj8sAxRCS9SBbrKwdHQ4TIlmrokMJ9qIAiAh40aMcaYRnyvcMAf9b8r0aqAKHVtFtZyCE6FtMbmkCw=="}]},"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-search-field_3.8.4-alpha-protected-currency-5869.1.6_1596630442169_0.4674849246131838"},"_hasShrinkwrap":false},"3.8.4":{"name":"@crave/farmblocks-search-field","version":"3.8.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.0","@crave/farmblocks-hoc-input":"^9.0.0","@crave/farmblocks-input-select":"^4.0.1","@crave/farmblocks-input-text":"^5.1.0","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"gitHead":"2ea151d67c0691597b2014c8fd773d6e3c2a0a58","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-O3Xa2d8k9zTGhQRPb8mtSMAeQ5KywvTWbxymO6tfwiyoEbDlOdR3z/bqvK9wptvgDDl11tBvJ8gaN1geWN6yAQ==","shasum":"c3204a56ee1ae9482e4164c1886b627da4e37bd5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.4.tgz","fileCount":11,"unpackedSize":79000,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfKqpTCRA9TVsSAnZWagAAqxYP/3ldR4ZBUJThYpUZXImS\nhvbaQa7HnMEW8hngQdIdR3Tati6OLJhDFk4Ia9HKPkBO4GboyqVSRHAMH63C\n7kUOO/7rsgcZSUOW5ELfzlvfowVbMB8cJE/8pJC2nqrOO0edlu0zK9RE7Pa+\nOxMlNbk64w3pOQD4FKCWDcqMIv4CgTRns8+CCnj5JFGijK+e0wOFjp0Q6EI4\nIEYMfQ2jWlb1m8WxuLDRW37j4C3grpF1WT7oaZ78Bq7r3Rv9luGiAoSaBEyW\n58McI/a+DuXIGzHnGbU0XIB3kE+N7Chc83Vv3uNXGosBTeCltKOBlym6TX+p\nE1Oq/7lO1KusE3N4tPrdOvPH03AjKzYWofZK926LEwBMdER7i+w4Z/MkazrG\n+bFlCePZMvEXZFW783BB7ydA7SX/5nPL6+XQ4Hran+q3QM/1mH3pOhOWSaFW\nDDmmyDDolPt+/1t5w6dnnWyhzHm09sZJxdiaVw28+l9B1healql8F4UxgLk6\nRidnOLzHNtNpFd96EI7X9y5IBlHy0m0pQthyqTGBte3sbDQ+KhdBDjz5MSo1\nxJls2Iba1oZtV8q0gJPhOFmtinECuyG4JCCOuZcTtrfWrApOD+L+XMURvev8\nQeye/1yIVaS3K5+AtJlAP81bfNMvrKRAWHncmFoHqBXZqRThZPVb9BskJK0X\nJ+H7\r\n=3bND\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG5Gs/N7nb6g5cIGlFsm78KG5zNu5WxL8TpD0E3yJFxrAiEA26jR8F8vT9G2KHd04X8av6DQz7h/ZacGFIIG9oq+M+4="}]},"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-search-field_3.8.4_1596631635487_0.6639166873967666"},"_hasShrinkwrap":false},"3.8.5-alpha-button-redesign-5884.1.15":{"name":"@crave/farmblocks-search-field","version":"3.8.5-alpha-button-redesign-5884.1.15","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.1-alpha-button-redesign-5884.1.23+165a9e98","@crave/farmblocks-hoc-input":"^9.0.0","@crave/farmblocks-input-select":"^4.0.2-alpha-button-redesign-5884.1.21+165a9e98","@crave/farmblocks-input-text":"^5.1.1-alpha-button-redesign-5884.1.15+165a9e98","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.5-alpha-button-redesign-5884.1.15","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-O1TJN0vuWfowf7Ky2yF1aPLMrm8sLXzt74MK1bBC3VW32VGrfJwlMcTOKSjbtOyDf1/sr4LA3kv36gmxL68vkg==","shasum":"6b02c5ac85880a41ebe02b6e33212fe152c1f7ed","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.5-alpha-button-redesign-5884.1.15.tgz","fileCount":11,"unpackedSize":79164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfT/gFCRA9TVsSAnZWagAAxEYP+wbh5QaoaVkrEl8Fv80C\n8JrAcInDebfI41637O/hr8PkWnKHum5LNZ32ap7n93MgM2kRUuigybbeLlEf\nL+zR2bHnkVKWpWqfkEe+OCY2lkr1LtsidSWbdte0RocPKp0QaFauzyg9EWaF\n14dg0qg6V49uRF5IeFR0xAuFR5aDbrZNtJjeg+OTCundWO4tFcSfA7DsIO6n\nJadunjSl6RcrG4TzOGP9FDWmX9w2/hdQAlW/AcColtJFZcWN/ePH67Aowsso\n/PTEq5shl0ATMqfL6hKy6ibGDBkL5aS0QnnNZvlwMcDvLZBYcMit+ZUHenML\nDcV2sXYU1irG2Ght6oF1PWgYiIgcWgwfYJh46tAtpXq++LWIQH51jh17NONj\nR+e6EITTbMV2FvnBVk9erTJd20/qYSjQ+ORdizWQqzWKhR36YLZIfJT7xpJY\notvb3+8YXg6aODC7++0bFI+zGrne3QZZdFICbh2oZ9TIKJrB4HFDD5V0HM9G\niW0vFdNTqNNtFJ6mI+aGdTTPqdcWEduO6yaLOcI99Zbw4ayMf+8C7wK4WD73\n38x6axvGLogyiitIA4WtO/B/Zsq9jYiA7D+hjUQwLhtLo7Pq4PzDthMzKcrA\nahH8b+4u7sUPMqMYZm4q6pyOCZOcLX/lZQjctrBeOn2sNsuG3Gd5D/rdGSUt\nH2A3\r\n=1Sud\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCwPpUZuepYQ6z416lTTc3saV0uVRIekNg6xtDMPd5pCAIgRJLIFxyi5OQ+VCgwTbSaHpTMDKJRxcg96fWWISeBZlw="}]},"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-search-field_3.8.5-alpha-button-redesign-5884.1.15_1599076356427_0.13035192786590089"},"_hasShrinkwrap":false},"3.8.5-alpha-button-redesign-5888.1.18":{"name":"@crave/farmblocks-search-field","version":"3.8.5-alpha-button-redesign-5888.1.18","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.1-alpha-button-redesign-5888.1.26+1e83bb2e","@crave/farmblocks-hoc-input":"^9.0.0","@crave/farmblocks-input-select":"^4.0.2-alpha-button-redesign-5888.1.24+1e83bb2e","@crave/farmblocks-input-text":"^5.1.1-alpha-button-redesign-5888.1.18+1e83bb2e","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.5-alpha-button-redesign-5888.1.18","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-u1QO74vODVnNwxJw7G6Mi/TiqvstQMDPr5IBhLzdHjPHvbHCOSt2KNDbC7zROiHwuoXsYI+jXDSFfsyz+Q3TBQ==","shasum":"447d1958cb5b89c009bbb1d3df56116116d82b4c","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.5-alpha-button-redesign-5888.1.18.tgz","fileCount":11,"unpackedSize":79164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUUaPCRA9TVsSAnZWagAABSUP/iaa5n8p61ylYqXnxtP4\n9u7gPIZz3iiwL+XsY8Ft2YXeJlk/kVsIleoOZIC2QyRG8wjJWQMvO1pMtJHj\nWIVmQakbxjMSeAkjLPfPIF2q7ZFIcp8oMgAB6YnAh6UDk/SIJTXiWqZzL8Zn\n7lqaxRNsyA/2HjDznWDCTaPvbMj75ZD8AvF4MSq/CH+RALe4KzxTwWBlcxnh\nmnut2Awq0B7IfxUdjvOhLTfUzcQLnMTesw5hiWSV8nTQGl2gP1A+CKWoAQ6z\nC+WtC3OmRpDwR9J6B2+flG2E4/LJ+8Af5E2KV/l32Yi4PjXzjS3M1aRs2l6I\nESyG6oJA+tEu4zy8RokFtLwuV8F1Ee9d5GHsBFMuiMrESlNQRgH9UZMKTUsf\nTcfptkNDiQIXEgTvmfQQ1cFqT98a0oyCgLOABrB3cAof1Nnp0D8s9fY0MPOn\nkKz0maWg1eL5W7tqtAV/YDsI+Za14VKjLRr1yl1uzzM9CAApRJ+qGkPwjXKj\nFrV52n1qWUT2oMqtS/ETf5jzc14HR3JsJAHoaIF5IBC9r2RBk8Eb9Lmh6cuh\nVSgGy87/umWnzY82FQ6tiYgtkS7Z0iZrU1Kqtem5QBwa52tObYjd0A7Z4/cK\n+M0jOTpzgSDVge6B0rPQ4LnCmpSUn9Mxp07bNt083ofijTXVbSrK3mXeX0bV\nokRh\r\n=iAMp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDgZzLPtgGZ5Z1EppV9SEFbgWIBMZu8pexUwJnbDiIY5gIgWciJVschTGW6bvimQdLv7k0IADxKLKYfUCeJCmigTM4="}]},"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-search-field_3.8.5-alpha-button-redesign-5888.1.18_1599161999071_0.6057479516459614"},"_hasShrinkwrap":false},"3.8.5-alpha-button-redesign-5890.1.18":{"name":"@crave/farmblocks-search-field","version":"3.8.5-alpha-button-redesign-5890.1.18","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.1-alpha-button-redesign-5890.1.26+c3050bb7","@crave/farmblocks-hoc-input":"^9.0.0","@crave/farmblocks-input-select":"^4.0.2-alpha-button-redesign-5890.1.24+c3050bb7","@crave/farmblocks-input-text":"^5.1.1-alpha-button-redesign-5890.1.18+c3050bb7","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.5-alpha-button-redesign-5890.1.18","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-cVq9CA6IlyGfY4xKVGVj4yMubPMTxdH50huqbY4L3ySiCNXzfrAwsqw6XUgc48CrdMXPNkXQEC6H+QdrnFbJGg==","shasum":"694d3222cab44a8f5a2c335ad28079067b0e8352","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.5-alpha-button-redesign-5890.1.18.tgz","fileCount":11,"unpackedSize":79164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUUizCRA9TVsSAnZWagAAfakP/3LnDvlOoPdSekHhPt/3\n59xFErK3ELhAZ+gEqsUOhdCSRKagOZISm5hJhFgTO4aLsockYDAxIm35fh5n\ngSAspgqKDlkdU3cCZIxFvrq0yBs9AfRUzoMAB/Asgq284kLscFIoJKrkv3xr\ns7USdgDDL8oDJcpXUnvDh4Tbrcu2FpYpi1bQFao+cSK7uGSjrqTpDOrWfNnX\n7s2clO4rwlf7zg024Caw9VpeetfQjBdcZLaESl9CjFCwlxCho3qeNgNxyLDk\nDcTG60AE9bIw3DEmPfFmrNcI0nKqbBwbB8aNul3vByWlRrdjGMOv0Ht51ZRV\nY0la+oGcnfSy+z7pLoWcEWD7edugESlMQLFakCEgPudeWI5o8JJBYl7eocmc\nAzqERyCl6JPnuGIqdA91sA5S9KkeihIamdT07dZtAeymi9a6WdSRS8v6LY+i\n27wjUmCbJKACkPE+3MLgpln/OmHGtXJjZS/YLcf1ywXQN/Bihsy7YkzJiSTM\nmN0s/NW4boXFZmuPPLqRqwKimyH8GUu5WE4fOdj0SKEC2Z8KafOqb+oywWF0\nLTb+C1pUosVUs2IHyn9CjrTbopA/nBztfXods7OCorFcYMpIRRJit1iyzHyx\nanjp/V14aHkGdJt/TAHwxILH9MtAgORSSlciDZng1Zo8gN6dPrsSmbV25AqT\nZPjI\r\n=ofJe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEN3FlE0WcB8Bvqoq+zpv1Nx0kOCYIrW6SO8A98kcW5kAiEA5mHh81SOu7OR//auEa/mfb6urFcwiHsaA4wyFZps3PA="}]},"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-search-field_3.8.5-alpha-button-redesign-5890.1.18_1599162547047_0.5781335223665369"},"_hasShrinkwrap":false},"3.8.5-alpha-button-redesign-5892.1.14":{"name":"@crave/farmblocks-search-field","version":"3.8.5-alpha-button-redesign-5892.1.14","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.0.1-alpha-button-redesign-5892.1.22+b05b0309","@crave/farmblocks-hoc-input":"^9.0.0","@crave/farmblocks-input-select":"^4.0.2-alpha-button-redesign-5892.1.20+b05b0309","@crave/farmblocks-input-text":"^5.1.1-alpha-button-redesign-5892.1.14+b05b0309","@crave/farmblocks-theme":"^1.9.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.0","@crave/farmblocks-text":"^3.6.2"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.5-alpha-button-redesign-5892.1.14","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-to9KlJMfYwh6CsZdE3Xuw7hBlyY5iN3vNkkr09GWwko81S9nnZDsUYCcZiV4C1ReN9KztH1HsjrMebC6BH/xRQ==","shasum":"053ef186e1b933c9e798acdcb6fc22af3d98dc22","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.5-alpha-button-redesign-5892.1.14.tgz","fileCount":11,"unpackedSize":79164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUm0hCRA9TVsSAnZWagAAgyQP/3KOy2uJMMBhLXfji+Yh\n3uh4KEb4E5EA3ByARa02eqF+HnZJk8RQAP+o4buVEGaQZMnAk/s5s0PxWCyy\nJ1F/CAJhS7qzyvC0KBEwtua3FYe2nqm6XxY/h+OGR6G3CqpmImKKAzRRYfqC\nryeERiuGuKcOj9BFTUzKE5r5vyOXrLhVpZWVDr6ttA2TS/52RLHdff5to+v2\nKntEQMre2zX3/qjKpcBnA99CGmw1mGZ6lSayAAgSy1MdGTE6vMZEeCsNplJ7\nF7r1C7IPwsfa67ka3Uf7n7iv35GeHJtBB1Gxcex2Bmt72JtUuC9yFb7ycwNz\nrN2jLKyOYpd7LmS9kMkXmfGZIuu0sK/m9FhDtCc1KFGvsGgkSuLTBqLwuJKR\n9MHWwSX5CD5DaZ2oXGHhmcq7KB8PF2z45Wjyw3NNcH0Uvald8lHIZAzGezVj\nmDq0h6YZ0GC9sFpCYkjfUsbsL76jgEJFWo3+EZ3Ds24rMgeKUDbgk9T8p1WW\nyQ1sdanjHVOefuLQFAbKHvCY6imXEVVSSbFpoLi9q2HQOIutcnW5s07yeU7Z\nJdKpMG+Vf/Hz1H7NHdS85vXP63zmGil0FewoeSXClRHOvVHXwDafarSU10mB\nPJEHrMjTG0Qaeln+VTLulDF5y0gyNb/fAKhyjXSgTWC8wLcFNq6dTxozJAv4\nexaR\r\n=R87L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD5LQkaxLsgEy28f/w7nQ5cAq8p++xYyyyYAzk/XYXHCQIgPuKRlhmAMKqNh/uhk5+Cd35DSsK7i4EUmtFKZf5cozU="}]},"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-search-field_3.8.5-alpha-button-redesign-5892.1.14_1599237408617_0.3036264599503642"},"_hasShrinkwrap":false},"3.8.5":{"name":"@crave/farmblocks-search-field","version":"3.8.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.0","@crave/farmblocks-hoc-input":"^9.0.1","@crave/farmblocks-input-select":"^4.0.2","@crave/farmblocks-input-text":"^5.1.1","@crave/farmblocks-theme":"^1.10.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.1","@crave/farmblocks-text":"^3.6.3"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-pd14SjrXXV0JckUSKmI9tBfWU00No2AXcZJr/+xoEMGX70UmMkmk1MOYk1c3uXQKHIG2WxzsRyvlbd+Uxm2I2g==","shasum":"ec87d9d5dda57c81b9529e31e5b755430178d345","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.5.tgz","fileCount":11,"unpackedSize":79227,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfUnFNCRA9TVsSAnZWagAAlPIP/i582/ipcz+xa7U9q4Su\n9rnNYqiOR4wviRtdqhL4CR8EYITWQTNYAEk/wu3vdK+uzyYgEglVDo/hgZ9m\nV/6MLdEzLFlopDqTqZSKjUkj5vEPhgc/hUuBDHbvsem06wXuGwHajasf7oRv\ndMFDKQfir3BASFy7ELMv4o0RgfNUox6yGu165tIzhsLBZqVOphSFLjZGUBGy\nJJiL594Q4kaHqElDiMkpbUbTU1WceP/3JNPKLsCgJ8PnbjZc3Ee6bpd9LKiw\njVX/DKk72K7oB5xlSkJR8Y/7/DGCEKa0VZ1+wBqmoMa3PuoTZKw1m8Auttif\nq8e/Ctx1WnQ5FWtf/v8Z3Wt1/BDe/3YivGuyIGx0iDQEPiSmNmZ01R6uGi2M\nVRAek6WQxen+ZwE5PmT+yLZjSnhgBnQjZieMsKtOgT8+fOvHIV60TUq68ggW\nb8C7dUqWdbWCpI+DxkklB9Eh+EyOTwn89pf33OjIE9nvx4le9DCJylAxjUZ8\n80vOFF0kYNpl27J/NX0IXURu4ZZs7JUNpNohYKFTnvWKdqbLTGogjfkSwy2H\nSoDqJvy7iTITKrb8ot3mzBip/5xYe9AS/fiNB038itcO2jzw6fAPCa4xYx2K\npGcVhB1bZ+jedlGPhDALMiNW30tZmeahzVrLfknJL1HiJFylO2NRrd7Cnhqd\nGTMr\r\n=4383\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD/q5Z49IlAyPwC50mxPjark8h3UPc0jkFK+rJ9UzO6rwIgbjkiQDJScRYWrYquxTSelOVy1yFZQI7plKneyrKq3Xc="}]},"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-search-field_3.8.5_1599238477323_0.8358427660466519"},"_hasShrinkwrap":false},"3.8.6-alpha-fix-button-white-space-5896.1.2":{"name":"@crave/farmblocks-search-field","version":"3.8.6-alpha-fix-button-white-space-5896.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.1-alpha-fix-button-white-space-5896.1.2+eb265109","@crave/farmblocks-hoc-input":"^9.0.1","@crave/farmblocks-input-select":"^4.0.3-alpha-fix-button-white-space-5896.1.2+eb265109","@crave/farmblocks-input-text":"^5.1.2-alpha-fix-button-white-space-5896.1.2+eb265109","@crave/farmblocks-theme":"^1.10.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.1","@crave/farmblocks-text":"^3.6.3"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.6-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-MSTrHIHiWEpl2PYDcgRdULzK444k4sRFByi3rLjqKc3b3iszhcKaNzH62GnvRNeZcBlA3dJRyYeb60+Oof9dTg==","shasum":"d1ad5e47dd55789d32e16f0f842f1ec6f05c7c98","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.6-alpha-fix-button-white-space-5896.1.2.tgz","fileCount":11,"unpackedSize":79415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWObDCRA9TVsSAnZWagAAfu4P/0NgG+pC5yTa800BDRrw\nHD8HlX+VK/nFt5CFa4Dmh7i/Y7Jy03uZTdJViyJ4imlldAaYiALU43/v+91z\nVQONNgx7UPunmXb5Ww2mNo4jQHPztCR/8LHrT11qWG83FaO2gRM2P8d6wZQu\nEpRUNPKBW67g0PG0SnPGmKOXnz/wefabGi3uYxQ8C3TxD0/3DC02yKhMEpBe\nMS/nkd1P0dW8JwPMdJUk/wIZhnXciLUHirYGjyhVYmajUA4DYxAUrqus6YNn\nz1RrDeVU2Xwp4n3xQFOWlrXUI3pns1aa3ZPLKKjDuF94LzfwqTonuX+4qW0W\nfeYgGDNqEF70kcYMtaOnZbh0Wg2rnlkjBqFTatlM5zJDy9OpEVIIMk+/BIbF\nbDeqPXHkJtLbnncJI8HDRaldU5wu1v98UjBSbRJ5WbDkddEIJTIJk6n1ki00\nE+oHvGhOGwL/WwiLkVh2YyBbQE0U5145kjP53NjirwlouGJPQA3eJWuBGJyZ\nH1/uaeOqNnVoAAERJX0omYJXRAJ8FF14RZ9tFxs21gVKcwNf1210QzbuP1HX\nEy8zHDn/XXSoGtzqQYwrfurr0cqhz0Y6x+/s+xappmrSLRbLMh/03H8I1vwu\n/BUiBKK0rqWqa0LPEkOLL1t7msQCrRCzdU1SeWW3HxVFs978qjPc/D+kIivC\nzds7\r\n=uPGB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFezGZ998RYUAX5+XBzXpy4hC4h9mTUmmUB54g7t/Rp3AiAHfQRdEkM/mhFyRmUyWCy9eW2b+SnRg8rgPHfAUq7OrA=="}]},"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-search-field_3.8.6-alpha-fix-button-white-space-5896.1.2_1599661762599_0.4623172802767752"},"_hasShrinkwrap":false},"3.8.6-alpha-fix-button-white-space-5898.1.2":{"name":"@crave/farmblocks-search-field","version":"3.8.6-alpha-fix-button-white-space-5898.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.1-alpha-fix-button-white-space-5898.1.2+6daaf17d","@crave/farmblocks-hoc-input":"^9.0.1","@crave/farmblocks-input-select":"^4.0.3-alpha-fix-button-white-space-5898.1.2+6daaf17d","@crave/farmblocks-input-text":"^5.1.2-alpha-fix-button-white-space-5898.1.2+6daaf17d","@crave/farmblocks-theme":"^1.10.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.1","@crave/farmblocks-text":"^3.6.3"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.6-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-DTQ9SraNGV/VQoG9ldjg6GZSgTq/e6NnRIRWsgk8APZ7l2knyCQN/XYjtcKyNG/bJVVobMOOjoj8zq2plhcq8Q==","shasum":"6e2b6aacbc62e2670b5a7145e93044c2e3c90158","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.6-alpha-fix-button-white-space-5898.1.2.tgz","fileCount":11,"unpackedSize":79415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWSizCRA9TVsSAnZWagAAkqQP/32E5LC/m98BkNe5U3mW\ncwfukXM+Ny7BG7Q+urK2MFu2k+4XjnpP6iOrsooF/wA2wIIT7Lv9VZBoMFRk\n3lkG9FmB8tCWLbmDo7nDHPsl8i/Ia6DHS9T/7HAYOpdfvn9YW/LzUueHN9xH\nLJFQoRigI8iAkzkyEgY7SWrwsHi+4g+kk3XoGyJ2yaQ3GW6Srzxq7nhlna63\nrHVgRfRaOe3/DQMoq/pwu46T14tWQznOfvwVVvBmA114nSn4UMS03cbVcpRW\ndtTr5ywOlVEQ8jMcYm8lMyCb4wDXgZ7NpQDbA+/TAx1ikn/QB4ahvPwoeMo/\nWZTkl+yX+H7VmEjVvHsMhvdXjWEIK04ohU5O3s5xlAzxqRoHaMFPa2V/BkfR\noSs4/J6mHWn7sgVRZdOgTb8J/JbMX4OEOI5IBWoLRy+wQ5vphOMQnjZTOFM5\nWsxt/OtyDvdj489QKNBup+dD7wckcYkd1KDilBTu8gttp2KomUZdv1KzP8tS\nDlrxSpq3rJrIbm0GdVaF6Eq2cVhoxMXbOkL+1PfzN5ji8WhCfqI/YpiwKkS3\n5OGaXywCMPSZ/DeVkZssaxvjhnWNpp3qyKqh7Woa/zjURL10vhyMda36kvxn\ntvBrtx2r27PcMPrVhJugBfg2SPR9FNRb+hsrsIfpmgEXQJvouhbuVx25Ly+D\nkrW4\r\n=FG7G\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWPWA7PEA492kL8qVPGu2crTLU86tFeQh3EkAYf6DpkAIgMzaNeQ0y0dTkVEOWHbCz7pJVJBnbhUOymMEosaFE1nI="}]},"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-search-field_3.8.6-alpha-fix-button-white-space-5898.1.2_1599678643511_0.9508225510782211"},"_hasShrinkwrap":false},"3.8.6":{"name":"@crave/farmblocks-search-field","version":"3.8.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.1","@crave/farmblocks-hoc-input":"^9.0.1","@crave/farmblocks-input-select":"^4.0.3","@crave/farmblocks-input-text":"^5.1.2","@crave/farmblocks-theme":"^1.10.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.1","@crave/farmblocks-text":"^3.6.3"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-VrshVuDIaC7Y29+7RPOM1Azd0MKO9EwA8Hnjs5ktBTJEJERPhTUX17MjnbFoEHsex5wHUi9VK0F6L8G0HGGP6A==","shasum":"2c5b24e1fe786c335a4e6bb3c439a1116cf39c5d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.6.tgz","fileCount":11,"unpackedSize":79453,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWS4jCRA9TVsSAnZWagAAsKAP/1CJIqg7sfY6jm1lKhnL\n0OOBRRbtTKPwO9ARW2SWi5PXqfxcZweC0H4uKR40NcBSQeXaRreoFZo0K+gZ\n32tSXFK+eVNtQlv9PKvppul4jtNyMIfu86NGsH3Q1tQHthxvWqd5cC/r9nfa\nuGGKMgGjDK0O1MTJWFuKJ78mPTavIFsDDf4r8mwfOo/WKYh2LgNjfbl33y0j\n5Bw6rGiDZFSoE7w+rot15pb+dWFL6sXAdn728IOnXSKhzXxpAkyWOKhJtNGg\ni6LMUiHYPf+HrS3KPDVJ7ZptEQa5WvllVT0/kCu3sg9L3O0dhwe5t3CSestK\njDIVFJIVutgWTFYC7LPOQNPGOUaqd5gyV6FnJ0r/c56htILxKArHHEcbsWEE\nHAOOx868VvDQyNacPEmu4+ooA/mUkX7YSyekiF/VkgZwuGqhmxFt4yiA2N5r\numEWgpCaBPZOKemEouUl6Ejs/Ayrx+kUOyf7oX9m7wt8psuqbSWc1aPWNboN\nLsU++Yfzxb3ngm+lHmb+LHbD2ohIIHfBofWUEi2RT90CJWAkOr9eK+HgDHua\nucNUZ88ygLWU2Kmio5O9wwsJrPFeLR4Vjcn3a33FaMwz85z5a8WGtfXlHZQX\n28aNe+2kfpSVuL23Kj6qVWq0XtHSdasDd8lMlsEBQWxLz9y6WExKHizKsi6t\nlGeF\r\n=+LV5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHDM/ZJZzAzJ+BTO+VgcnsSF03vs6xne7ZG5e0v//38WAiANsUByFHsgVLbB941m4HVAcszhhkBZX8h55Ya05ERnsQ=="}]},"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-search-field_3.8.6_1599680035160_0.8602073524288996"},"_hasShrinkwrap":false},"3.8.7-alpha-button-line-height-5901.1.2":{"name":"@crave/farmblocks-search-field","version":"3.8.7-alpha-button-line-height-5901.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.2-alpha-button-line-height-5901.1.2+afc0dfae","@crave/farmblocks-hoc-input":"^9.0.1","@crave/farmblocks-input-select":"^4.0.4-alpha-button-line-height-5901.1.2+afc0dfae","@crave/farmblocks-input-text":"^5.1.3-alpha-button-line-height-5901.1.2+afc0dfae","@crave/farmblocks-theme":"^1.10.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.1","@crave/farmblocks-text":"^3.6.3"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.7-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-oVQwvmCHedoMN06wv6AtfL7EDsHqwqRB433Y5OVy8f/58VDb2SkuopxDqAlU4/5MkmVBmyLC9BUEX3dwL14lEw==","shasum":"7031dfadf5394cc13676f8c0393ab243c66a877a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.7-alpha-button-line-height-5901.1.2.tgz","fileCount":11,"unpackedSize":79625,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWhoSCRA9TVsSAnZWagAAQq0P+gNxn73qQC1LulzLjdkt\nxJ2Sgrkh4ztR6AJrC9yj3pT8Cp7Elm9lLJSupn82AHFoQQW7eT2RrWGKXzvA\n+zefodJrMy/b+Nor/SS2OSarcDJhx8N6eOeuz1yJo3DxDjtDadXIMbnnGupC\nYG8So9RKR05mQHV5/AL1JBf0PJ0+iNE3vwFFGjFAMB0OH3xBYo9FFA0Rj6Vp\nmLCuQnDpGalOR73yAIu74/rTGJr5mCHhGHscq/149IBjMD759EZL/oz55hXg\n7+X595PcEP26YrqhUldlMzbWe7v//4HFxbWCxneDj1QK44d+wLlC6WDtx6Ik\nLnPLPBs+VEiJVp7xPux3q60sCtLLxZkPpWbAc/sFUXybdV+rXnk94B/xdd5c\nkQ6IkLhaC/jG9WUd1hcOu28MJGk1VBedi8nDqaBsbJaLSWrX+AlxqhBcSSuN\n6hodWiO08XGRp935tG/irGj0cFhn92GcN+UivWfiVm7XLk1Xqh7bKp7Jq4sl\nzlQQLiDaQJ3WduqUv6ak83U66esTroIw9PKemZcc7H5QtkvPyuOw2+eXr+U+\naMfLmsDmEHGLclM98tgkJ01BU7M7jjfF5AZPQR+EKQEXoKoQ7TTxZO9tkYIz\n/udkff1xZExxNXon4YuemyvS9N5Oy9kQTot/KwjRkOIf4ScNLs0Te3kx3SCE\n0QLA\r\n=bXFh\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCSG7LCk9wnA4HpDP0oRN9Qjr70qa6gsefC4nmkZn1WugIhAMN3jQn0p6yi83vg/uop5m9A7QO5ezH/Ww8UvByFgHQm"}]},"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-search-field_3.8.7-alpha-button-line-height-5901.1.2_1599740434233_0.07330712544336149"},"_hasShrinkwrap":false},"3.8.7":{"name":"@crave/farmblocks-search-field","version":"3.8.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.2","@crave/farmblocks-hoc-input":"^9.0.1","@crave/farmblocks-input-select":"^4.0.4","@crave/farmblocks-input-text":"^5.1.3","@crave/farmblocks-theme":"^1.10.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.1","@crave/farmblocks-text":"^3.6.3"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-8MAAU29DpeYkJBkvyWQZpeFNoj/jYjAzrW3PfeK0SzXdrm+LPnivXq0ycFvqMjYoQBYMTqKx867V/z8b6jFfKg==","shasum":"e89961e36b8154765e0f51d282c6508a2868d1bf","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.7.tgz","fileCount":11,"unpackedSize":79679,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfWiGjCRA9TVsSAnZWagAAYSgQAI0UEeb7tpCYAqb6hhIW\nn/JXz2crmC168xmIoC0WsVxH8jDIWvBCrBQSJnYo0JIJba7AK2Dlmvaw6coj\n+fVyUBNFOE4zr/hlYB5rDGJER8rGwTbH/32wVoZzPuiGDXQ4kUVJ/szmnsBm\nGpfG464UnXhY/S054xn1lYOGqrfdRwZnWrzjjmGrYqM00wllsRG8T0eObpy1\ngkMn0PsUEZNRbuhoEsyfzl/fF9fBzdxOXPcZU5X+0FlduEuLLwTYI4pJ8gg7\n/B/wLjluC0LJ1HW0f4bCP5Hz6X1831cdhv4zOLg+fPhhkwo7etmxGu0XGvhF\nyC4CieDk0lqP1kFHXvfAEnICIw+pLiZzKi6ZvlU5ICYr6YCie+jP8fxLcHp8\nNanwvFhYBafEOu9xp78uhkY4xWUakhWBfWZICWRqN3qMolchUePPhlXFgD7z\nLAthhKeK6HM9KCrweQj3DlwrPj0751RPWGYCCW9N6mUXI4YrN3yGZMcd8pNe\nLA/5jzE92NAtralgiDmW/hRENgvqja/6frokc7bOe1yVyV1NENeN/Px6haJL\n2geIbv4eMK0RuxFWefmu18sGMQzrv3egJopaEfBiBLPwvvJba8UOa8oQi6kZ\npqDjJJIUs7BlUE6f6vTkxUAzyqL73EYvtAX48omi9ZJcu4g/T+srwleVtFYz\n3JFG\r\n=RCMl\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDDlnDOPHej1u6ENExmqs4FI+it6loYq7uIIAphRDTWUQIhAJdbuJre60sAiDa6jvLstHDXX4WuUxOgK88fO2t8T0d3"}]},"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-search-field_3.8.7_1599742370823_0.6887874153826419"},"_hasShrinkwrap":false},"3.8.8-alpha-esmodules-5917.1.9":{"name":"@crave/farmblocks-search-field","version":"3.8.8-alpha-esmodules-5917.1.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.3-alpha-esmodules-5917.1.9+fba2e8e1","@crave/farmblocks-hoc-input":"^9.0.2-alpha-esmodules-5917.1.15+fba2e8e1","@crave/farmblocks-input-select":"^4.0.5-alpha-esmodules-5917.1.9+fba2e8e1","@crave/farmblocks-input-text":"^5.1.4-alpha-esmodules-5917.1.9+fba2e8e1","@crave/farmblocks-theme":"^1.10.1-alpha-esmodules-5917.1.15+fba2e8e1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2-alpha-esmodules-5917.1.15+fba2e8e1","@crave/farmblocks-text":"^3.6.4-alpha-esmodules-5917.1.15+fba2e8e1"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.8-alpha-esmodules-5917.1.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-FT02LWIry5YWoi2+5MbyovCabxEFyytItl3vnfVld17ctQel7XpA23bS4Yu6xLYQ80fhz0sa5csHcpahmCht0Q==","shasum":"afc169a97a607d3c4bccfa8445187dc29ec00d36","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.8-alpha-esmodules-5917.1.9.tgz","fileCount":11,"unpackedSize":64206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfhw8/CRA9TVsSAnZWagAAvE4P/2xlTjpAACgXHzO11O6p\nhu7Vao+e3SFXpvdeajRVEAP2YvNW7LCBlyAQaql1c73x2RmtKIbkJzec4yw/\n5g087AgbN6kM7cgXeckQFBfS63zmJ0/Zap9E3QEL+cjzA7cdKTSjdfs8W8DK\nPVNb4CnM6aQxdhsiUU/TSCwGPv8RCHOZWduB2KWLZcTX8TyNF7KQbTldZ75x\n3v6XxCTbULnbfwyxwA3JYvFOhTZVymkJrrbgXijquLoZywGmc6y49FX1RVza\nHuBC1G355FFBZNeauWo8KkCFUS4s1KkTSt82Z0naIXO9dOn1Xgn2yN+LoG9r\n7rFEkD0qYqYAYqup9U39nKV71haNM+q1xj3/FNG4Mtrrij80FHWj+a0gz42w\nucvELLoYfUML0deoYJ3s9qo1GHnV15+kEXicAHwWuWcvzOySCFrknwUKw/Ys\n98tSI44AUz3AZ28Be8GRrG667MQMydfsd3rmSwdOMvelkhWXPOxWQGNubRf3\n9PGeGdsHdRIUhMRdMHzzLaVGaWQIe3yWC5ZAE01Mxe9vSdBAszqTBNgxyIGs\nZ/vQsUk3J4aulJ6sI6xipAMGhQcvlKCcKJ5Sl88ZTkhmxwFsrqosT3gKNli3\n06SO7FXgZ3lDvv63Tmlu3eB7Twl5ma0pq/OBnKAMZ3XDIpDzittWq3kjhZPs\n+odh\r\n=AzOA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFw9WKcK+kAfpTsaVPENSWErduPnq/pXpzt6GtSoXsNdAiEAoiuzrQYv9cLBSNciFsH742mNrIwTjynYkjYrIuwYgaY="}]},"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-search-field_3.8.8-alpha-esmodules-5917.1.9_1602686782602_0.9330628504251639"},"_hasShrinkwrap":false},"3.8.8-alpha-esmodules-5921.1.10":{"name":"@crave/farmblocks-search-field","version":"3.8.8-alpha-esmodules-5921.1.10","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.3-alpha-esmodules-5921.1.10+70d2ded0","@crave/farmblocks-hoc-input":"^9.0.2-alpha-esmodules-5921.1.16+70d2ded0","@crave/farmblocks-input-select":"^4.0.5-alpha-esmodules-5921.1.10+70d2ded0","@crave/farmblocks-input-text":"^5.1.4-alpha-esmodules-5921.1.10+70d2ded0","@crave/farmblocks-theme":"^1.10.1-alpha-esmodules-5921.1.16+70d2ded0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2-alpha-esmodules-5921.1.16+70d2ded0","@crave/farmblocks-text":"^3.6.4-alpha-esmodules-5921.1.16+70d2ded0"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.8-alpha-esmodules-5921.1.10","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-ZuJZVKut/8G5aYCEscP4QnWdHUnLO2nSBqENKeoJQAqpAFmcBMJEYdbqNmnIRetbvHNMsVeVIq1p4a3ZXqej5w==","shasum":"a547171a5de59becadf5d53823c0cc323e5d7fe5","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.8-alpha-esmodules-5921.1.10.tgz","fileCount":11,"unpackedSize":64210,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfiE8NCRA9TVsSAnZWagAAbX4QAIYYhuVsbFoJ3VaZdBWg\nD/XuuF5ZObMvxoaOnkUj2SBUSVt3+smQaWyhP8kw2/t/RXayBhV+N/fsE+kK\nTIRzjsonF8+vDdZb1jYBkvgk0KQ+WAuGNfWPGp4ICZLkVu0RegN8xJ1zUfTm\n9CPb/qnoAP3bhkcz8zUnQXyzMvErOncg4BWptP1RiQmm5TEaxJtFZ0N9fZFw\naTL/iWliyBsrCE4Xik1RFILC18W18IgLVJnOd+pgwVNh/aXB5pOPTeGjv7Gb\nVEnbwPyvr+jf0u4cNHhIdnp7h3ILnzNtg58l8IznBQwyLQlh37jRuyGW58y9\nw/fs1GHovD2RPul6L4snkL9UPmNSVzwzrJrL5MG67kB8ClNr7LJcG9cMeWXY\nr60aMS7ImTC46Y5+RmRp1gzRg8lF2RFiWBorLPXDVICIh7Vou8YCf6j8DJVC\niyFyi50srgX9Zfkp4ZqsLqqnskbv/By5k4SskGhk8BNGDuPtsskzS06ghfKF\no9BGoYs9+ZSyD+75vOVUtt3Gj4+1lq1SLU+hdnUuOP9iKb4SbDmr1qFTI3bW\nTZ8Jp7soz8QPP6o7bDERuv2sTbGkP2po44ofYqAZ8VbB+9aDcBohQ1as4Gw4\nn4ZETSKrvgTBdLhDfCijshCjLfe8zlLhSKxeYh1dXzuK4anqJzhUSOaUEjfg\nBvKT\r\n=BGnF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPpeUZgq1zDPIUEgxYIlfdxmELzGcWP9aXIBfUnqrWWwIhAKgranArzvhJbCVvAHitcmOe3bcKUOK0t0oG64BxhwLZ"}]},"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-search-field_3.8.8-alpha-esmodules-5921.1.10_1602768652770_0.7646647251507583"},"_hasShrinkwrap":false},"3.8.8-alpha-esmodules-5925.1.9":{"name":"@crave/farmblocks-search-field","version":"3.8.8-alpha-esmodules-5925.1.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.3-alpha-esmodules-5925.1.9+b26b4097","@crave/farmblocks-hoc-input":"^9.0.2-alpha-esmodules-5925.1.15+b26b4097","@crave/farmblocks-input-select":"^4.0.5-alpha-esmodules-5925.1.9+b26b4097","@crave/farmblocks-input-text":"^5.1.4-alpha-esmodules-5925.1.9+b26b4097","@crave/farmblocks-theme":"^1.10.1-alpha-esmodules-5925.1.15+b26b4097","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2-alpha-esmodules-5925.1.15+b26b4097","@crave/farmblocks-text":"^3.6.4-alpha-esmodules-5925.1.15+b26b4097"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.8-alpha-esmodules-5925.1.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-rsl+6jfzbyzHjw9oMwQdKE/tX71O2HJHrZulIAU4SygGxy5Ukf819dponwkOk2RUZYoYpSR0Ijbmq2mp9TPoqQ==","shasum":"d719e8a976a8247b509a14274bdb27670ae39e89","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.8-alpha-esmodules-5925.1.9.tgz","fileCount":11,"unpackedSize":64206,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkH3ZCRA9TVsSAnZWagAA9kQP/2DabqVq+FZLtFf96qvP\nNTE8PTK7sNq61XRMV6xIOeN+tPPq9evyRvXWKHrNMaV+jWvSAbTLM317I9/x\nDSKM/OqLT52fkmne2Og/dYAgvTiWF8pFKaErKb+3qTFPVH/XjcZvGGYV+yQC\nKsyptqq81gBeX+hd/AMqTl2hWfI9KuAGa8t5+WPRmIWAwnDALNj8If/Hbn2F\nx5QRp94kf9VJFHCcPD7t1+8mQXdNTyBXXEdS+HgG0KR7hr9ZV21bIwTq+QPB\nagF/iWKPfyalgALQ58+jgI1K3L2+WAPLyRhl3C1eXUX4+VIfSXb3R2mJFsAS\nvi8uyk+PfaOb5IjnewrZRlSl8xWkYWruAo1/rcLsGGlMO7DYfQkEJTaBs9sx\nl+HUyTUYLAV2a/KcYsrYVciPUQIC6kvAso2np4jbSz0PKOtzXWTCC2HyCfl6\nGnxS3x9pNaIBAOm2B3cE014EO+C21z9DUAs69H5t/hg/F+K6Bj9nhs2Y79oP\nAWfXX9ml2oZJDgnQ82ZI+uBUv9eqX1zBiEj8C7h4tO5bYA0nGS+PGHlnoINN\nqfJt5KzsIrOWogZrN4mFNR6OTzLr8yHig0v/f3c2sxvETVYKSDhrNegzkDtL\nhLZOpdafwg8eWoH2h7wLWPJHROsmv70pqIHhwH/FikOZoSlNlFxkm2+kEWy8\n4AFX\r\n=rTx+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHgHJclqLRlZNrgkiMeiJqXf9eBO3ArNKU2/mhS7SO9WAiBc3fpkwUemAzhZzr17mGhTgA5KCZSPQBBLnjI7pi40cg=="}]},"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-search-field_3.8.8-alpha-esmodules-5925.1.9_1603304921419_0.11296554111350599"},"_hasShrinkwrap":false},"3.8.8":{"name":"@crave/farmblocks-search-field","version":"3.8.8","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.3","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.5","@crave/farmblocks-input-text":"^5.1.4","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.8","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-bwlSxE5NWeguGEQgocpr+iw6GcpnlqpjKT1h/3DuMEQyNmCcPWHkUgl9aaXKWeCib1DQJ4zLoeWz8AD/Nnj9bA==","shasum":"811da5b9436e4153dbd2dbaeb589f7e7d7c5e39e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.8.tgz","fileCount":11,"unpackedSize":64156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfkIwECRA9TVsSAnZWagAAFdwP/0QxNDuw6/U+LGPDodzP\noffCh3UWE4cOZgZMaJBQeYPfDP7ujAgCGQ5gNZtEYrBFrSi4taHqNmhTW+1/\nGmKh5HPHzdv743XMm/B1XL/hhGppx7R+4Xu5HCiytxpMzyoN/FMHla/o1XG+\nAWm2cc5QMjAKFgGeCsRrYRNCwhcGxiJU+TmmPFlji5fCzYGUAvAbAGsngfqO\nKS1tPnZ/qVy+3ffudfTRtl40FDPPQg7bi+hT7vTOMbrO1Y1tHBR2MiQysrax\nQAq77Ei2Jyc3WWm2EiycAo2sMwnGX2beJO9Ee5sDaJAoaTCSLIh1WA1eX/AZ\nYcAMAtOoKuqefltKKpuXnDU1AzyQUSTGQDhQiDklaV7MglYJvnvrLmTCKMUS\nAnNFWQXWNbHnsvb0eI43dJlkDxsqbE2rDUDumf6sEaBxqNv2bscJ4bWOEJ9U\n3iFa4EqtoS9cZUsiAomRntNzi+jG9+zYh+bn/wbKzQ4LuWNfRpTNR3Hv+Bqu\nmj4BIMbdy9ds04BUt6QlkQaBQN6nwFueGguKeDgYCCghAAyzjPn7RonFKoTt\n9kkIBxDqgp2rSpMMsYR/0G6jJGF0/M2Kg5MV5MK3Vtj8D8ULDEaDQWetWq0W\nGcUaVkPMedRJbDGLG9SFTZo2lroQZTU5z1IYDeV211NOylc1Maf+7+MLvIck\nxQeo\r\n=FtBA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDLYKwPxAkAzrYdQdIMUQC8ji6Weoz5czVIEHPmazk6RgIhAJAJy+tAxvc8/EEO0O1RfhajZiUA/rEd0VO4AXL9tB+U"}]},"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-search-field_3.8.8_1603308548028_0.8591397017480285"},"_hasShrinkwrap":false},"3.8.9-alpha-icon-publish-5935.1.5":{"name":"@crave/farmblocks-search-field","version":"3.8.9-alpha-icon-publish-5935.1.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.4-alpha-icon-publish-5935.1.5+867e408f","@crave/farmblocks-hoc-input":"^9.0.3-alpha-icon-publish-5935.1.5+867e408f","@crave/farmblocks-input-select":"^4.0.6-alpha-icon-publish-5935.1.5+867e408f","@crave/farmblocks-input-text":"^5.1.5-alpha-icon-publish-5935.1.5+867e408f","@crave/farmblocks-theme":"^1.10.2-alpha-icon-publish-5935.1.5+867e408f","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.3-alpha-icon-publish-5935.1.5+867e408f","@crave/farmblocks-text":"^3.6.5-alpha-icon-publish-5935.1.5+867e408f"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.9-alpha-icon-publish-5935.1.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-jxrp7lWmvwxvtg2ZxqfYmdUMJ5JtfDWHmQP4UEGKD7tscysepSCK6k8FQDLUUCvZdsrWP1aiID1C6hQJJ7BKhw==","shasum":"6fdf64e98d1efddf78568163b5c7527373351f11","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.9-alpha-icon-publish-5935.1.5.tgz","fileCount":11,"unpackedSize":64452,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfmq65CRA9TVsSAnZWagAACLgP/3CFUM0P2kg1n71tg3Gl\nXu7AeEfbb45xXuJvSnmxq65vC7q0vhE1VHDHRmWQ2tP3Enx55W6tE7ds749T\nl9EiMiSxoVl27ak4lhDtf2i9zS8jyQkDB7V9fhui5FW6xdArbICy1T8lsTMd\nNYtfKYIO+ZgVOqheQvvCKNG8zpfQDqNuSKImWeTSvUGAKz6BTELiQa6PRdzc\npM2H8RLzozXyXjN416KoTRJulfgzyACT6QeSvtJ8R2H/AX289Aw7m4yN2Ybu\nf96nl1JZ5hVN4m8r4PXLAXCBBY7xFCwuSgGLcpl3upbSbdUlRLKFZ6g01PNV\nEWA5OBYFkQ7Mo+R5iLxvvHDFTr2S2ENbpcG8uhM9TIqzdWkJsb8yjecAf9qN\ndy+Do3iWjLYcvq/L8PbbjPIw1VKZPNq4EroXhlRt3gN8C7pE/g9uOkGcUXES\n0RM7zTi3Nqjf2/Rh1RVn2i+sKvZIHIZRxgV6WLxwdLMetwYzsiTIsdepKQqH\nNmhwnhwecxJ6x4Hb+xjA8f38Of5G6f5ihh6qVF/CSgNPvCPfV7yLSLbCtpAC\nqYJ6Kcr5cYVgq+SnjPecXvM5m4AUGVU7k3JcnEjuBV99oA0jJ+E1bhAIHIJq\nSVySN8cdzMXnfHp0ZUXsC8OULjR6O3wtlzMppROCZYb5SDlKncc0ctc3YKO9\nGDd1\r\n=VU9A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFiw+5uenkJbW8ycLk1YBqiJwWBHPRYSN/esabVE6RfuAiEA+pzeKB+QB0o3h3hNNBVOy8Yt35tf5qSwfYKjZ/Xb77U="}]},"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-search-field_3.8.9-alpha-icon-publish-5935.1.5_1603972793248_0.7855469345241504"},"_hasShrinkwrap":false},"3.8.9":{"name":"@crave/farmblocks-search-field","version":"3.8.9","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.4","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.6","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.9","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-701W8kB+QmYfo0v3SGTyOxTCTc4Bs8AQxdBQEuRzdWRRXpI6GgSR8nr5pYEZqnP1dDVYoYyb8uxw+GazygrMgQ==","shasum":"2fe8c6cf9edf5874cd2f149f14bc47652e44c3a2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.9.tgz","fileCount":11,"unpackedSize":64382,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfms+zCRA9TVsSAnZWagAAiPsP/3AzMlIm/ul65JnUyJQL\n+W21vQDB4PUx9mlG5pcHdaQ4ZN33aPTm/XbO0p+TwXtJpjppG8xdgGlPjiLw\nqUXrAquXTF0ugx3pp8OYrHGckSjdGe3JMevhx0I0HOslVMhIU6ZItfR5ybfg\nX9MvsXfK4fcTtlw9SYWU0occyTvybzQeVVtwir0ax32FN4HHZIdoX3v2LspG\nS7x91AQURoAErdm4l5mhV+U8QeKvU/2swieqiI4sll0cKwNYeZIM1wxMABPu\nj/F7X+mCYNoWk/8qF2kbwdQFVHr595iJaBl7krA8emFtn/iG20XfzqfkDJgg\n1lvowx9NZEUwbGbyc0YP4yYlQJplIn5EQ6tYZnLs4Az9E4ns/OQSYmVxKiy8\nw7OSgKWhbFHNq+kGp/jnT+mPzitK6uW0/YQr91sHSnw3O4fUksQTNCVEUMo4\n3j28drAN8f84qh+YHFXGapcX2ZuvEqYEpBOMR7zL/S1K5QFeAf+NmVk0Ht1g\n3cptkTOoUa8SOJgNdedBNj9ZIHAi4gWwX3SBFiYC4QIZdCGP9x8NO6f7hgyg\nP+e+UGl1jLc9nw1X437ODXsop5e8/kPOeTVIMHWN+bxv3vwKfP15pZfkMuBQ\n4kS+lPK8bsdlIFPwZixDMg6um7FGXVcISanyEpALSNYEUyaG9AlHimEPo+P/\nD39K\r\n=IP0H\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDiguuH7KYXbkuJXRHFm1KKKDIGb0J2MWVwtpQVdkVghAIgQgqSdc63af60V+onpZiNYrGjlIVwSE6IrrrH3wI0N38="}]},"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-search-field_3.8.9_1603981235511_0.9206750543174163"},"_hasShrinkwrap":false},"3.8.10-alpha-dropdown-trigger-5951.1.2":{"name":"@crave/farmblocks-search-field","version":"3.8.10-alpha-dropdown-trigger-5951.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.1.5-alpha-dropdown-trigger-5951.1.2+b8d85489","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.7-alpha-dropdown-trigger-5951.1.2+b8d85489","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.10-alpha-dropdown-trigger-5951.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-DRHqO2SXrSnOlMedVvbRb+w7WcKIP1SCTFSwyWlR6CarjbuMaEy4cx7vEYFda2ZtoPCqBGcfIvlBSaopgpv3MA==","shasum":"527f46685118d214bdb10779d9dd690bee9aade8","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.10-alpha-dropdown-trigger-5951.1.2.tgz","fileCount":11,"unpackedSize":64506,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9x4mCRA9TVsSAnZWagAA+wMP/AqJn3q2u6bS0siKwhdZ\nsWbp161faThFjhQ3hcdgcXlYIeNRlg5pKDKLCoDQV6qMLqKUvXyVbTe7+z9R\nFLHcPEvnyt/vYg4NdM62A0e0s0AUx1REYp5bUtRNzabZ6JV1z/M4yRIecmlk\nJ3TqmhvxuYmJGQjuV68EZLsr/RUfk3br9ldBIZx+GPZflsjFk33vy6nvWmrF\nDfPeTp11r6BOdbLgz3jMKPgkAZwZd7YUtPWB+/c2qYAFq8tr5Ig4kzxEtG3g\n+sleSoLdPMdcT1BQ9j/S5IqiIB0OqYHgB9kyhY5PbVuGUhy2P9mtPOWkIbOB\n/gyZSSloa5zPFoBwATHKV2zqf8dZlWAfXJiK+aFbm8aBW8dPXW5gOOlOBYxt\nQcYMFTfzMM4ja4gpy6tXvGNa7svBJ+Ayo1aURYdv41lrwqgH7Wd2Gp9UbkXB\nqUImTsWayTvcs+uVtwKB4KXZqWqkXB+Q4Zx0xcL/ghfjKB1X5N0Q5ehrFeVW\ngNdIKm1Rsg1t+M3sdrhXSXfQ2xVLgbU8r/il16oXj0Gu9tFINHg6tdy2NVfa\nn6myXJ+XdhLTgvXjc3+cdNtS07ZpTE01NBB4O8cqShShIuO11XGDbv86MBMi\najjkeuZEZNUC1XJkCpm4hHvcDWAY9dfz5lSrSVh4Lhv7ISnjyZGrV4ZoJMn6\n62LI\r\n=a7Kv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe9klO9ADaeDCVAGZjqeYQAbTaIfTTiH2i+2BFMhRTegIgfvLLTi852z7VbDJ7WRyRb7i7JOZMxoBI1niwlRFAdsE="}]},"_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-search-field_3.8.10-alpha-dropdown-trigger-5951.1.2_1610030629469_0.9428141710784916"},"_hasShrinkwrap":false},"3.8.10":{"name":"@crave/farmblocks-search-field","version":"3.8.10","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.2.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.7","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.10","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-X482G60lq89ASGJ9ED+knFNPPo8NNwdHiUvd9RbpZY89eJa8qOAqBAGnLpsevuwBLFrdugxHoH0Fy8u8Gj8SNA==","shasum":"29bd789edc0941fbff3a90863154e61af1b17d97","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.10.tgz","fileCount":11,"unpackedSize":64611,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf9yIICRA9TVsSAnZWagAAx9UQAIufrbYa4BvYgviBj+FG\npsCq0Uz5eIowHq4wOR37pf92aHH6AA6YZTqBN38PFPoKFjl4TI5X88IaItzc\nmWEPkdkE+E0Vh790jjpbEUiNHOxcGtERz+z3LOw+WH7e4WzdZg1SM6hiJgc1\nlvkFyKTi4WcWYq/TEnrdBuiYAd0n6HV0at1SQqT/2RlzUFNHTpyypT6XbXMT\nAQjIXekkOqMADbi41O7U+NqyLe998DHNCMNPmLic3gTkfCV51q9T6z1YK2II\nQCD4kXErZWnNyeelP8z307YFQO3Mz47nSmPBnZSODRNMtIbpagwtDHHO2sgN\nVMjqllXarHOsbogFSKKPyJ6gWdBhkr2PyabbKnlR8m9+hTeLpTefCYBDuwSF\nCjpgcZZNfKvf7KpLg2s+Um1GhF6n1GB7sDD71FbgsjKfiuVgYP+VU0j9XNLa\nO7/sWjuOdfHerIGBrwqTZX71z3jmiTx09pOkSXYVjYj3p9HISg7kLYSeWFTK\n6A2HYcyXmYDcHSoi6lpXZufSwPWpc7WFt9ZbxoyOOX6ZQ5CuHch4je85v1gD\nyZ6dD1yyqaN6qq9fTlco3jSKP+UsDErQB1qnvLACfuqOU2dzOgzdp5DYwTIx\nI/SRDn5y52RSfPsOtFGx7VRv/8LF4tHc58ztJyLIltKZ0MrLJtdYjA7Dyx/s\nokJS\r\n=Zd1W\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC4WXBIe/agZiXuGAvjoNskSOWyZXMcC2O0SBe2sUl9rAIgEEpigg0UYuWoaw9185I8k0eXayYRi8nHEg8m8O0RKXg="}]},"_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-search-field_3.8.10_1610031623901_0.7635330561048361"},"_hasShrinkwrap":false},"3.8.11-alpha-dropdown-active-5954.1.1":{"name":"@crave/farmblocks-search-field","version":"3.8.11-alpha-dropdown-active-5954.1.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.2.1-alpha-dropdown-active-5954.1.1+70693cb6","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.8-alpha-dropdown-active-5954.1.1+70693cb6","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.11-alpha-dropdown-active-5954.1.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Djy8Y7wOYUHyKnM6qIZRXXTL4uv3ky0dRjFnklvzMjT/sIbVKaGP+h4bAhrMEtIt+XRE5+q/QwevpevPfsUbuA==","shasum":"6dc257a3dd82ba05643d1b401f40f13164bb9323","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.11-alpha-dropdown-active-5954.1.1.tgz","fileCount":11,"unpackedSize":64731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf93jcCRA9TVsSAnZWagAAcQoP+gJ5ocSe5GfjXiUSP88c\nxXezTrjCsb/IOKJfs1iCBFqYO9iu53BmCJGtEt49uqGFQmHLLASa9+S5ulAS\nhQNuKiMgCxotoTQ4nw8pBAjkLeR3t3Sv8KLcUj/TPZIaeOhC8eH9OEAFRxgO\nItHW9zybFfLCTs3Db6oW6O41oAwIMhVepGYiZYG2b/Pb1tMwRDeaksk4znS3\nOEOW1gzC3S5ZpfrE2AaVD8bAWLQfa3KKenhw5+kNV+XbWVF8F42jiOdsMO62\nOrNKHDjUV/fOoG+lznvv0c7VutrT6JwLw0RBYNURu5YimUNzfiIfjizvbRhV\naTLSmskGwTKktFs0yXNpbHl+tinzlPJMN+ByGNIdsS/SZgaIdmEnxnOE0N3R\nbMEJLn7BhWDnyKTfYVl65FEEFWLxtETCYoT+DWE2Hnet56EgvbKwrSC+ji2W\ncrRL4Qip4Yqj8w2YvFs3BYqTuX05/xfJ4AVcpukjcI5eKWI3MoROwotyHt/B\nNrCri51Tu31nsT50HQiLl6ubKGXyXblgQi2W/pHK2qYylrbf2+XNcVEuG8lv\nPVadC3QBcDMnqqbq/dfno69vjwOT7zhC18pPtn6NQ43xEhzAa9tSizmoOSsa\nKb/z1mvOFg0c0gbhH7k+poCf/Yx3oldfaNixSuYfy9NNjPXHiDqtOQOzrRTV\nwZIy\r\n=/NxT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGb1BVFaMU1oD9AhCEJGzYEz1hrejwFBBsJg/DNiD4CkAiByVJ3SA+MuUveMFLwmFRSTEH/7BR5S029LSuWAUsQQpg=="}]},"_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-search-field_3.8.11-alpha-dropdown-active-5954.1.1_1610053851770_0.6589992451720581"},"_hasShrinkwrap":false},"3.8.11":{"name":"@crave/farmblocks-search-field","version":"3.8.11","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.8","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.11","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-/zjTPDPf3cmCINOoj2LbuqMLCpYdiWJufjMdoujZRUNX4wuKRmlj7+WxQ2ST7V0AFScsqpyWC9+P0zdqj+fgqg==","shasum":"c1fb85dd0f3773a65100bbf0062d2ea6facd9cae","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.11.tgz","fileCount":11,"unpackedSize":64840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/HTrCRA9TVsSAnZWagAAXjQP/0Z7DAwdZuEH91lofgeO\nOwWxJTToroCJBz3QHc7XC+5ivtR7YyFg1S5mztGHuCmhQYywSJlotmRLajji\nRTc8YzzhapyZRzDa7SW4lynRhfJIa8/Rmywcwy/KCHRtPFO/lJP4et1zI6gL\n0pOkjnKr7crjXF50ZQnh264mZN/mgtm8RvNSXrt+EJ5I1s/5/WdOWzAA9VHq\nWUi+nAUB6dtsn/Es0r17hfHFfhqjvFoWLqFs0U83Z5xAx6CsvkH0Qwv+P6Iq\n9wRIDdWR3QPU3ujeX/xYmTUFv04uI54fQwZwv3Rx9+rhhFu0bSYHNHKwpdoE\ngRk6EuWYUa/k41eGeTwBoeQLLCUujQuwWi6TEvrkTMPG2NyOwx0sZ0aWun+2\nEeakQ89SAWM8SLWgsFWSyxQyOi9UbEwP1k0s+Au+6LcvLB+BLAXo/sZtzmNS\nYVS94Uubdn77xF/ptjdVOeMiNJoolg1bNKe4wNWz7mZhfdvwH/OSLX7umFeI\nghYe2wUHIPLO1gfmdUuzyW1WeSAeI9Hn16wJ5NWJUqwsqC1mB16NXl0yUlOJ\ntpJrvi+YW1YW2pgFP9WcWMiC8mVcVhVfodTOXisLFcL5UaFHpthCbDVdnSRx\nX7XOkWhw1t2GpdkZYXg1J8e3hXpE55Qfu+IhEO8WT+u7eMMwKZpnF/ek8yX9\n9f39\r\n=DpFp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAl+hlKgePVGewD5CoQuGRiNhplMsakxcsiZdOpGPva0AiEAsKKWRRz8jQl9+hOwyimu8a5GrR9hxbQQ0pPZRyQx1W4="}]},"_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-search-field_3.8.11_1610380522552_0.453621406624682"},"_hasShrinkwrap":false},"3.8.12-alpha-table-redesign-manual-1.2":{"name":"@crave/farmblocks-search-field","version":"3.8.12-alpha-table-redesign-manual-1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.1-alpha-table-redesign-manual-1.2+93fa0935","@crave/farmblocks-hoc-input":"^9.0.3-alpha-table-redesign-manual-1.11+93fa0935","@crave/farmblocks-input-select":"^4.0.9-alpha-table-redesign-manual-1.2+93fa0935","@crave/farmblocks-input-text":"^5.1.6-alpha-table-redesign-manual-1.8+93fa0935","@crave/farmblocks-theme":"^1.10.2-alpha-table-redesign-manual-1.11+93fa0935","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.3-alpha-table-redesign-manual-1.11+93fa0935","@crave/farmblocks-text":"^3.6.5-alpha-table-redesign-manual-1.11+93fa0935"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.12-alpha-table-redesign-manual-1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (darwin)","dist":{"integrity":"sha512-ng6zMjZz5vHWA8xkyBcYrCukv7glCOQU57uSpEFvD57ht+R0M8CKDUN0qbxdzAaYmBGohuXl0S5hXN2ga70PXg==","shasum":"e98cb235217e6e0ea677db9a6def5c9abe9b7a61","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.12-alpha-table-redesign-manual-1.2.tgz","fileCount":11,"unpackedSize":65172,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCXBBCRA9TVsSAnZWagAAjeQP/1buxiMjSvuewqU4k/1m\n8gOgNBLPAN2PYuvInf+IDjQpQEZy2VUKSx4ZecKptEHQJSFiP7S8yhha8g9R\nG+Onl78jIK6Y2J8JniiKsj+jgJv4/wTUrrFhbSIHjuD7JWqY43GnJJnYFFTg\nBKn/zqGhchDmVKG2FwqoRZRVaub2CcVjVqn6wOnN50PVfbWfoxgbriAX5hh/\nsMxw9qskaZffnwFeC0ugtdqv4CnoqTES9jErEgKyTsuoAOelFo/hyY1swr8C\nenW0PcLQoRdJPwTBrW0z4pR9Ttow7qDbp+blAIRKtMIHafriEUFCP1X/tUZ6\nitjFfDwvez6KaT6y/zu23+H1FsncP3O1xPErj8ltCXuEi/HYzhGlxaLjSivn\n8Ty2v8bmcg2+WK943V8xKv3uCV5YAIN1cW/2NBNwVVli8uv3eJoyKI1/WnBR\nRcJGjlSs1ANq7y6iraaPJki2QGeLyHilTQEJw7xUSQDLVof49a2mu6b5JAT4\np0wT82nr1TxVAgz5lbpPsQyqySzvkMx1UgpBj+J75flcJ8BH+EO1Eq9VWs2q\nF/ABBNu+aPjq1rByTZn4Iy2mHEVPc9axPGNpbc7wIdUJCpf2Hgmj4SoRNxMn\nNc1GXZd5ZgB9oBWs1juluF5VoXCw30zxR76VIhcIU66P1j/5fv3i1lCDSHoX\nMGHV\r\n=zodT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQClTVc6myyFKPvdTRvsv4ayQLq16QCMwBYrljl1/Z+TAQIgM9S8UszSDtB4f5H1Y7t3Ea4xoAYH6nkoLIUFdlzmglk="}]},"_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-search-field_3.8.12-alpha-table-redesign-manual-1.2_1611231296591_0.3988464422928877"},"_hasShrinkwrap":false},"3.8.12-alpha-fix-empty-state-proptype-5977.1.14":{"name":"@crave/farmblocks-search-field","version":"3.8.12-alpha-fix-empty-state-proptype-5977.1.14","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.9-alpha-fix-empty-state-proptype-5977.1.14+7e86e63c","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"7e86e63c5183247b98851b47978ec860df75b4a3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.12-alpha-fix-empty-state-proptype-5977.1.14","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-Mufo41gh2e2jmVqktn5HSTLZTzQEbIHL2ci9nlBYA8Wg5f+x95MabBGruSsBRYOVFIqWn3mUeXcnV+QyoMXgiw==","shasum":"e8f527cf5b4cf406add70464258bc19bad2b0cc0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.12-alpha-fix-empty-state-proptype-5977.1.14.tgz","fileCount":11,"unpackedSize":64940,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJE7ZCRA9TVsSAnZWagAA7vwP/0cc91PGKoqe33pKyA+a\npCIxQY9s/sVBcLSprmV9NHUCSqH42LMVjptUaUdc8d3Lo1yxGJu3so9Eop5x\n797l+qNI3Q+4WKkdH4kQdpCWGn1F2SmbomZWjfqXcYzlmVlm7dj+wvs+iadP\n0Ftaiwu8qDPGc9XoYx0M//tj++KQOKlhxxPjm1/CXhZlLpP7Kvs7OyqDU+gU\nnsXeiy/x2yTvtDFS+iPSb1M/AbKnmvmLr9IBbLZv76dWyU/Cgaihzn372dY+\npf+NCrXiXjQ/0wl5lH7wCY8ycKFTN5fR4rKjvJWcWZ9boRC1RxDMyjmHeTwe\ndJJPeDiYWYphRjSViSuB6jwbZOl6XEgic0NFgn0B2aCuejqOqLyOB4s/e4qr\nPchQPaY7BEdLT5idZVcAWX8kXhD1/2qCvr0JeYGuJEomHngIYY2SGl3ietJz\nKAClvwjAhijxrKckt4OGAlD20LOjs9sWJBwo1BKjVXIpODSgt84qtEEmpQrW\nEWNvgL3DKJiYHpgsfYRThc53HGaezFGiHRTYcgx36xJW71Ykg+yhz+EVRVhV\n7/G0pXJSJwoBuI2bpKTiENvcg2KVYoTRF6UuUlL8bGhE2P9LOj8iy58zfZQA\nrtAOl4zFmhu+aMDPEGO3yh6cHrKu6WplwLOtrnmZEn1ic3nMIYC4u3I/5VTE\njet0\r\n=CByU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFVc855UY/2sRnfbxQsTPFSzCGvWC5wMX1YxpSAYTTIFAiEA5qeie5xk23LdPPBIHGbDs7nVD/Ax64Sv0Vr0+zszZtg="}]},"_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-search-field_3.8.12-alpha-fix-empty-state-proptype-5977.1.14_1612992216931_0.021802732233054067"},"_hasShrinkwrap":false},"3.8.12":{"name":"@crave/farmblocks-search-field","version":"3.8.12","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.9","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"e068722a3cc722a84a8051d244f3d3f4e1871c87","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.12","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-UbT2rfFl66OR9H7OA+yNqTyDgR6lJ63JqI3TI2u3is5uNVKLJzc5GDyFvQEAjooCopQbcE8e9OHzSO5aOPiBMw==","shasum":"497219343817f68989965bed230b3dc1afefc77b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.12.tgz","fileCount":11,"unpackedSize":65069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgJTmGCRA9TVsSAnZWagAAk9AP/RzzPRKlglkBZjb0dJVk\nw3B4OaYDXRzbWDvo/RMOWUFn0uMnqayPJhmL0ogqug1Sh9+mBEUovZPf6ToU\ngBHRj2N5ipWpGmcgu5+gleGX/1QeRj85brCPYXGyartluYNyfTtvjy8hvNZE\n1Ly1PbrMOCZa2ehH4Up/ZAhmNKlqbJRxA0dsnA/cdDvRViMm8EfU9WD+2WwC\nZLqE/fDSUUT2QfD0kdEdVgnBj50SU0enN6xuOQyuzLEy5X7OF+6/xcCKhTH+\ntetoFB9Y5RTM2sMBYBwMCc4g7SpTyJr/uWADi5LlSxU7SU/y0bQ2R8dul3pQ\nuikCEODQOIFiQli6/Yl0X4V43+BJVJnVgMzmMM6/yPrzP5sl3w03BIWyyDYd\ngL2pcHhRDdpfPjHbIIUFJYTng+Ujn6BT9l8iLoS7y6sPrCFF6reSLDWsVq4t\nq2KSeHYFKE+JDZG8IOZuTMY3RgsdSCut9JJvnnGvRLVSo7BO8JK4g145qqWc\nO740241Hx/xtVJkMILCaMfxnpWcbv6mI8tY2rqyiYs+J722bi+4hpixhRkEK\ngMV4+8lUg/6MCvUpR+DUhHgIWyAh6GIdVZ4W/bzHz9t74CulLYv1JlRt9QlK\n5g0vY13TLDbXM3PGOi+N1cDIYLNUIeBWVIBN7G4ckwL7WWi275+mYH5R0KNh\n4M49\r\n=51vD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDn+fC1Y4gcMob0g7vQXChDM+j7kwxJt3b2dvlJ4vCLBAIhAMkKDHuYlONccNg9MzSryxEu5b6B/e37hkcjbnmbAc8K"}]},"_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-search-field_3.8.12_1613052293950_0.3880917398714243"},"_hasShrinkwrap":false},"3.8.13-alpha-empty-state-styles-5986.1.2":{"name":"@crave/farmblocks-search-field","version":"3.8.13-alpha-empty-state-styles-5986.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.10-alpha-empty-state-styles-5986.1.2+575693fc","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"575693fc071fce20c862bb94606098c61c7ac243","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.13-alpha-empty-state-styles-5986.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-cxFBA2/m9xXyqRDGdYiBP1LHcpJ97zv3f/2aho96/XTwwsdzxGa3PTndlkBZC2Dq8/JM+h9CA8IvFbj2Y6xjUQ==","shasum":"13868d972f7ae19086464009e789466378e8f995","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.13-alpha-empty-state-styles-5986.1.2.tgz","fileCount":11,"unpackedSize":65156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgKoNQCRA9TVsSAnZWagAAhTMQAJ2/qvZ0J/4M4poeT6Kl\nD2AkyBDslltat8PX6NvnZCQJ14HAZoHv9i/PH0ZGPa5Wh9rdMU+wBlVaxmbG\nuJ6elou2i8L4/wiMsMf0rOW/jRZDF4vECLU1GkUfO5gOgzF995tE3nukLXO1\nYU/ZJ4ayB/gpi5a5WeLTW1l6+YxnneEyoBI89vBipJbtm9NcKTLuwzzPM8x/\nLbjli/zohjb+2yApEQHyBHrxZ7yuvRU/Zpa5ca0LCi4YoSjiimeBzjm1EyqZ\n35iIb7IuU4YMl1rpS9TgTvm1iLgkh7Uw/40BeeujoO++n09W+FJJNchqPq2w\n9g3K7+F+dg1HNOOWG6iGyetaW3W7Ad07jxG3B0utfEHnHs1zvjwnMbsIoDYr\nubteQiVoz8DkSoM2emPwRWLwxubeTl4cqpfEW026TcwmqPJK8xf0zInngbwT\nFG3dZDspiBnVXCZEkXkKpU+0NtiGJ8ZItF0PuuLPb0WgU5Skn+Rd3jfaH2Pc\nBgYSXY/CMlqSzxsGX1J9gwt+l+tfF8eL8GNLUd3xIWs5+Y9UQOoqYFVYucId\ncLMmRhWhp1LyJ5cogGbRYBEoBa4Mnc8aEsgIwa/51t6USMdE1YCP7Ou362hX\ni5dxHDz4Fm857+H4ncBuhYlxn2w2OQA/umsaQUIZfil6ASYgYBZEQz4II6Dd\n5lc6\r\n=kS0w\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3PQvKoNc9PqbmiozKLkktcwCqY1/i2HTupP3QDolPvAiEA0sIKMqFYQIzCuQaohmnwpuVBCbDpA/oEHgI5xkOBEhk="}]},"_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-search-field_3.8.13-alpha-empty-state-styles-5986.1.2_1613398864487_0.5604443393056489"},"_hasShrinkwrap":false},"3.8.13-alpha-empty-state-styles-5989.1.2":{"name":"@crave/farmblocks-search-field","version":"3.8.13-alpha-empty-state-styles-5989.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.10-alpha-empty-state-styles-5989.1.2+ed68449e","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"ed68449e2909cd4b3af05a45cded50b394138eca","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.13-alpha-empty-state-styles-5989.1.2","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-OzMCoumkQLTqeKRAwhGZ9xIisTTCJA0OGG6Y7NWIP0T78GcftwvPNXDyhA69GE2aBmar9iOdkajNVvEqx8qttw==","shasum":"3511959f53a488eb117cfd2bda12e189c57382b0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.13-alpha-empty-state-styles-5989.1.2.tgz","fileCount":11,"unpackedSize":65156,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLSWRCRA9TVsSAnZWagAA2hsP/2bz54+6yYOvcKs60hhR\n3gpFpPUFXUdtjTtOpsP8eXemhPuNwApQwZz4gAdqcAzbRopU56cHb2tDJirK\nWMX6H1xM1ezqaGiwO/JV6Ae3AcpxaFjdhYFtkEFHHtdVZ6mBKGwQL7WY9Oc0\nPQDpsj36FfuFJL/Agihi1RwQoHaE/u/gFYhKe7Tt0xXAELOJjPJ2aLW18/0f\n1K4a/iL2uMWP6MZCkdHyjrscQexF29xx413QVH4jU/9kJVwzA18DVwdgG/BW\n31nhqzPdy8czkDLb2P9SoGjtIPu8zd+4o9DXWbuvI2DrDtl56bZs1AZBU9tM\ngGUU5++D62+rpynTbuZhbF+bLR7Zyp37KTsYXrYtdhbteimyD6jnq2X3wZ4c\n0pvsz9Db5e8AmeNdCPnEcl8XEJQhl+zY2O9kCIC0p6GKqFe6caZ/NHMygBNz\n6bPTa6sK8UzfPxkhrP4tzsboFxSb0b+ucQtm0U8U7u92uSq2fOuwKHsX6SB4\nXO3wcAeZKYf7HkqrHKwlvNIcxOU9uU2W26Oir7ReV+ILcmzrskq0+tRs2dIG\nJYJ3EXrJkysgP9Qm63VnxWuBuj7+Wr0kgkTtsiz/q9qHmzY4I/iSxuwPX6ML\n7e/xpHePOwurv6amU/E5i3GoJVqcxdYeDJ2sIaWuNJKBG9na3Ab+no9xB0Yf\n/Y0V\r\n=by4Y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICg3XNVEc+Vtf7ayx2vDO5B5Oi+nb3jkAeP0/QVHLWWHAiEApGs0BsSuHhrl7vSaetS4YCRa+5Oun6znFO9Rx5nfS4w="}]},"_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-search-field_3.8.13-alpha-empty-state-styles-5989.1.2_1613571472569_0.28762035897779414"},"_hasShrinkwrap":false},"3.8.13":{"name":"@crave/farmblocks-search-field","version":"3.8.13","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.10","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"9e4926254bdefbfec019654cfcb3ea6f11d1b8a4","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.13","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-rrYy+uJYFBR83VNRNsUePHSeM/Vemq94emnpFdKdWaG1AsJGCl2rJdaGbrRVBU1K2lNrWU8MN3aipdTF5Ecx+Q==","shasum":"7c3a0d7b1e3ed740fc9c9bd2a71d86235a234854","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.13.tgz","fileCount":11,"unpackedSize":65299,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgLSmhCRA9TVsSAnZWagAAKM4P+QFvTYE+/nx3II1kz1bW\nOxolheRqx6lhHH0MlohxIY57oT1i2fKJIXyB4p0KP7urVceC7bAMFXoBOm2b\nbUkTjUifYGu2rCUGbUXRj36560gIY/vnL8u52aDhYgvKmx+CPmkW4xEGGmoC\nfP8bCsixy0j7Asif2h8gb5gtW9xQNyoWKAMZIteUQvqX6n/kAHDlLl+niQQO\ntJcqLBBUnFtjaopOb5YyoVP9G2pLrUCyaCA9dby80UgnAyLSNgSoQCWQe92o\nP0L+Z9wXpCKkby60ITxrygBZyhijA2RtdgmtpNTr2jNCBK3iAq7NPtqmOxwO\nDDd63MaiH1wxVWDniSH+Kj5ANApXi7JD8ua9XQzzWlN0XrrB7Kn7AKHxWZko\nvgORJzhR9wEaX22Go1PT4alcN8kvoi82ghhwuOmfGyVd4T3IprrYRZwpiKnk\nhJPP2RRsdiurOyzqnekNLV8GwKn09AwZObgcccVY3IRvXPCMsHwJwDPXK9Uq\nRM0PK8i6EyRUKhRXDsJN9ueuvGyN788Wzr7HEggteZjhHMWchsNaT/JEyDzg\nAnuma6tzRcGjyYOhGQ0CE0zpNTAAEuRLPqJPRq99F2HfpnhLan1ma3YxvfWJ\nH+uihg0l8QUJzM7QHydZ40HFKBu/IN4iwKlJeRqlseDNLuqkvQi0hryVNouJ\nf64M\r\n=TDdK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCLxnCJShzTB6Nm/UV1Z4UrhsD2OyCANYbaWcc9w4naowIhAIJxswKA+7xN+08ng8VWf4SUaRO4GjTKCK4+M6VmXKHP"}]},"_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-search-field_3.8.13_1613572512425_0.7694426756145816"},"_hasShrinkwrap":false},"3.8.14-alpha-farmblocks-search-field-scrollheight-5999.1.1":{"name":"@crave/farmblocks-search-field","version":"3.8.14-alpha-farmblocks-search-field-scrollheight-5999.1.1","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.10","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"6fe909047bfcddc9503831ea287daf590ebfa8de","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.14-alpha-farmblocks-search-field-scrollheight-5999.1.1","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-d6BjZJg41Q4CuS41kN3s9eZrgofMcvi8R5EemJrrGxGlxRqhuuwGgIQUa8Op24p9umt6WuL4loGgW6vj/R6p0A==","shasum":"4c64cc711afaaae62f1ebea05c17cb4d2f8bc8a4","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.14-alpha-farmblocks-search-field-scrollheight-5999.1.1.tgz","fileCount":11,"unpackedSize":65423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYd9qCRA9TVsSAnZWagAAPK4P/33EBGWxLhtJWW/ji32q\nH+SbXpyKkQj2pdmOlZfxedEl1tkG3bGHEGhdhYem1l3UqBZZ2KkjHKpNiGyl\nfFR2TBx6sl3l798rkjDSi7ZDCoE9hJJ/uLUsIy8gMRp1h1bYvHrW7184ZfR7\nLQ6LdopG01GePSwa4wEU4PCoZ2DDbuKL+eRXu0qbaUVOT7l2lqvbfltbhVTB\nqN2nk5iOBQSSOEQTIBEmp89+3TpBoBgaV9JFYS7mqSjhD0nkugpxu1jsTbd3\n8DekonX5wPmRtpmPUgoxTrptenlpjrR0z39Eymslwa6cHUZtHSmHxLyfHNVs\nBkuPwEgu9Y2vRu1Iu44jSdUUi9ft12e6taKw8HYW/NpEkXm3sCIgylrZrGtn\n7/0HjHsCvrL3q3RIdG7tNPIwXsFIdTeaLMrPc6p8dA/JvWJZjlRqx7mmKbEP\nf8oKh7+leOUXfmdDbyiUJ199N9njq94LppFz/O3uxHjJ3anZ9Hd79TuMxmy5\nsY9kzTHVMjv2OIK2rk267uvU9gLRflHYe22WTvQ48pHlNisJ5NuL8Pec6otF\n44hwjHAeTZ4lX0hyre+FWwkdQFVAktiR+Qni8dLDKz85O7gioe52YNMiSTzP\n5kFdzNxHSYCV92iq1bOcYO54Y6cg91oDs7tbaLGvhFK0QhXV+OnhVtbBeDrB\nw8GM\r\n=bTlF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFkuStbnvO1D1MFPBqsma4SCcevbfwzccor9XvUEXjlPAiBKHNv06g5a5MnJqAy35bqTEFttZdt/+f4zS3pnKYOz3w=="}]},"_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-search-field_3.8.14-alpha-farmblocks-search-field-scrollheight-5999.1.1_1617026921604_0.3304463484403726"},"_hasShrinkwrap":false},"3.8.14":{"name":"@crave/farmblocks-search-field","version":"3.8.14","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.10","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"28ae04c53c1dbd9f81b152a8c7baccb7b6bc5b2f","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.14","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-2sELcA2GNrnj6JBSoFsqam6g746kYXs65wYO1Czgyr3DFpoLGkb/zVa1N5/yAb3gnjMvbDQt2Pr1Gq3T/SwBaw==","shasum":"880a12d113f34919495601f43f87042404bd202d","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.14.tgz","fileCount":11,"unpackedSize":65776,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgYgCQCRA9TVsSAnZWagAAZG8P/3RG8BJGXGm0aA2jAO83\nb/pY01YWmce7vA8Anw/EbtF+S9FpF3i1TyNnqGbAyNQvAX2mnbmTkxDgNnEJ\n8iM1YM7IFoHMcvsqjYR89cKzzpO8F6uSOtVYIqgJxRbxFC/a9Fj1RUqOaEfo\nfpdGA6TlrJZ/8yxT40RkczdNMULy1o8aClTb/c/IXFH1scWQ4qTRa9ydDGxT\nqgDU67S7mhYQP9v2cDh9aGAa4Ivffn/GgTEFmLcoTxtIRaTCZjJIjGlUh8+J\nO0GIQIPpH642pSbpMNAwopIuEKKoOG5yVDUhMxABVeB84WzXoCAhYGNrXn9Z\nUhoJCp92mBtVQSZwRvHOksmbGG6ifBpS0KvelN69Fn9P5S6RQZ+kcu+RjBvm\n6uuaHF+HJo6Or4+JXIzK+IuWbpGhoqohev1BLqo8LRHNKZS6hb8rO+GCEzGG\n6h3R6DOiYnjf2L1axTrCm3cTDqExZHFc/m193KRrFd+oncm5hEKQBIXX/M0/\n5e3P/ubIWQ6PLtfQMbYsWVfg9duvdd2G5yHwfParkaxyru93a2PQZAg172wE\nFH+IOY451a6TvriQdaBP/uNQWvqr+SEJzQROO+WbHXG5yOcUf4+qUY/scR95\nuvLlOLft8itGmsutjZLaaGE5mVvLOHZ//sXZNBygp2L04kZryZ3zw5JAa9/i\nwO36\r\n=9FE4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBcrG9mZKSkCBTY8w+ASLXBeyuoMHfrcc2kgGjTqcxZZAiBfWZHFmpgRcpD9GFhGnZjFPIa4UcgX6hv9tsfcXMG+BQ=="}]},"_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-search-field_3.8.14_1617035407566_0.3503650560328342"},"_hasShrinkwrap":false},"3.8.15-alpha-update-deps-032021-6011.1.14":{"name":"@crave/farmblocks-search-field","version":"3.8.15-alpha-update-deps-032021-6011.1.14","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.1-alpha-update-deps-032021-6011.1.36+b07aa4ce","@crave/farmblocks-hoc-input":"^9.0.3-alpha-update-deps-032021-6011.1.45+b07aa4ce","@crave/farmblocks-input-select":"^4.0.11-alpha-update-deps-032021-6011.1.17+b07aa4ce","@crave/farmblocks-input-text":"^5.1.6-alpha-update-deps-032021-6011.1.42+b07aa4ce","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.3-alpha-update-deps-032021-6011.1.45+b07aa4ce","@crave/farmblocks-text":"^3.6.4"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.15-alpha-update-deps-032021-6011.1.14","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-WTI73VEaPMoiDTmERSV+pCkSN8CiPQd9V6q7dHAxo5oJBSDDzxUAj0KeWlhBxazwFBu8W1Grpdymm3A59nzGXw==","shasum":"97a383f0de8082e37ff6fa93872e7ea2417380e2","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.15-alpha-update-deps-032021-6011.1.14.tgz","fileCount":11,"unpackedSize":66170,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZIdRCRA9TVsSAnZWagAAxyUP+QAuUjgcM7xBLgMZzbhR\ntjiTt4qypZusjZ+2g6XAjHWGppBgUrOuaeS5xdIXaoZvGeC7jsUvne8+vSjJ\n0kQLIVFTM6O0grM/eLcNTGv0Lxz2xOrupo9oQb+1GuxhFuqBkt4eQZG9j3JS\nsBDG5FKmZnjDaJVMrpDmMWRW/ZbIqANJdbjR1qQ31MrjeBFZKKramxMcGQwD\nc9o7uQHzgyn8D6DXvn28d7Nh7Gi7ZUrDKJ2Dhpa8shTYErDDiDMEv2PA+D4E\ncO4Jdt8wDuNQB1yr/sJ3FHJ7CGOgPOca8P6rTOnbvhp04CZFsEfNwdihGl5O\n3hYDDsrzWdxsvZ0//2zF1qLAEJc+5goPWC87oKi8eIFKHZVeNOdiRPyPUrWZ\n+2PFbmJuU9Du5A+5j3cxOpvIuQkp8RaRuwLgpTtc8MSrEdMuR1Bow706Ue1n\nne3ErzQ3kkX64JAeIZepE4W1ZFjPIAn4ehDOtGRuD3PXyfpWYug357za9Xk3\nQTyOhO/E7RtDPpsSWTNwkzIrr16ktWMUlb0+h8B1RLWUHbnIjZWirgpRf3v0\nX74FoFpTii/XnIqaagnGIh9O4g1YNk5hrPuMhhXVhVIM8r4KZNJNm2sYCMSt\nXmN9b/BDmKqPhnd2fLxZDJL2APUToMLBF8EjkAdk/KnabKW0OzRRFMTVFRIS\nVs14\r\n=THRk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCVZ6b83VVRGup0QqDrttqbSvc8pthO31OFE9/VjDo7mQIhAI5A3ixymqnxHre3b/6/ORF1Mk05fQmh2v4oD7OAggk9"}]},"_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-search-field_3.8.15-alpha-update-deps-032021-6011.1.14_1617200977332_0.016543811873090952"},"_hasShrinkwrap":false},"3.8.15-alpha-update-deps-032021-6016.1.18":{"name":"@crave/farmblocks-search-field","version":"3.8.15-alpha-update-deps-032021-6016.1.18","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.3-alpha-update-deps-032021-6016.1.66+e38ee0bd","@crave/farmblocks-input-select":"^4.0.11-alpha-update-deps-032021-6016.1.21+e38ee0bd","@crave/farmblocks-input-text":"^5.1.6-alpha-update-deps-032021-6016.1.46+e38ee0bd","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"e38ee0bd8f39cb96827f32fb1368b25cfafb58e8","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.15-alpha-update-deps-032021-6016.1.18","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-/VppohPmwMNbX3JL6e6gMXIu8DRdh8/+QIQ0oUE8Q1opcStRfuet37kXEDlV5/jnOIZpS6ZtwF19W/IScf4a7g==","shasum":"a44d9041875be5557f9af79ee90ed865525c02bb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.15-alpha-update-deps-032021-6016.1.18.tgz","fileCount":11,"unpackedSize":66082,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgZKkiCRA9TVsSAnZWagAA6eEQAIC9ee2N8o9xDviq+3nY\nuFvsK0fu5XZvTU1Nz1P0iSdd1nnkZ7lvieSM39qzMdkwLMHtxUoW2Juib2vL\nHVe5k4fi2Z4RDfQ4trpmkut2PlKxgHfbyAoFV+T9Fyya801T9vqjeT3fV68V\naRubmrFsv6gkKlEUFWIxAhxoAXZHC1EuaMnP6Q526hZkbBj5jcFoqgtzHk2L\nuxcOkM8PNkITub74VF296TT92Nh9h2zknV5o1G/e5opLk1RRyt8BaYj6dKRn\ns1bYHJ3qZtcZRd6Oir59pKM9/Du3hpzClHx2wB01pbIO/RnJSA+tYU2OTn/0\nUNZxKLihNljN7zHqrzdNzQOtDTqYTjZf9fzmuDAuTup+YRxbWN5u2lGCR4SR\nyLHzgFaM8UIKeufMz2ymUlNB/+H7lyHttNgs2Iljo/bvx0ig+7QXcG5AY0z4\noxqR9nC3o7npjdkHBnmxo9xNHroIMrWmTVLoJ+poEUCu2UTq3R3EYrMhuisk\n0vjpkhwIh/8tAW8iTNgb9yKECU5uDP8d44cxm2CqStlb9Ll2/HODsLz/JA+q\nw80UCGXI/eSpKZc8zaKNJtuSjuHyrLi7yxTPC9wby46hL7k2NimRmi6Mog5t\nnrSeik1yGTO95CxNt88H1uqYOgIT4WbtV6V/WcE0eLK6LapA6auy58bYYtl5\nQFej\r\n=sbL3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCK1l7fs8JFDaRAGOVlz3UGGauGlsRIZmCBTDX2J997QgIhANkO9eHwGWkBxt13QkeD/+7DIAmWNx1if+TnyXU/jVmq"}]},"_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-search-field_3.8.15-alpha-update-deps-032021-6016.1.18_1617209634070_0.6616935620255813"},"_hasShrinkwrap":false},"3.8.15-alpha-farmblocks-checkbox-resizing-6024.1.4":{"name":"@crave/farmblocks-search-field","version":"3.8.15-alpha-farmblocks-checkbox-resizing-6024.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.11-alpha-farmblocks-checkbox-resizing-6024.1.7+48244fd4","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"48244fd4fe2ae3439cff17e11ab909b9960c3437","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.15-alpha-farmblocks-checkbox-resizing-6024.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-MT3CS+mOnJL2fnVxTRB66afiy5NT6GapFFyL+TLLHBTHLKO2HCfLmydgeU90qPGvR7IQH1i39mxACczUaUDeXg==","shasum":"ffa9c770b553ccfb1ebfbc706b86e3c626fc6d41","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.15-alpha-farmblocks-checkbox-resizing-6024.1.4.tgz","fileCount":11,"unpackedSize":65882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgb0K5CRA9TVsSAnZWagAALIMP/A6+KcqwTriioY1nejYx\nhGcUrMkaV2DbY/FkgxRl6rhuT6tnXikf6V8n649M2LnK/fXlryyzI15sHJrc\npjAPPXGFt0JsD973ZbxKw/bNbLawLcET4lCa4s0mpgHzKhpxkpGUR2X0ZcYd\n3jtV89p4yEPM3pCFzr7lpnlz52jwQDk2cUCGR35ZysZKNDasHo+05R384mp0\na0G/N23mPy6c1xcLEeyIFSsZS9gN+a079zlK2vXJhUs+t1c0nc8MZzt+sV/d\nIuyJuoJ1xhoo9TxIIF8BcLwtzvZPxdIgW3XCzW7NJzPd4bm9VXqOBOV5e05L\nZr7b8/PjKmHp1vtuiuOcmqvXlunlJDKByeZM2HC9naHG9WSq47+HzLxgFT3n\nI1DCjnxPIjkH7FyAX55fHyBMTxQ0fxggjKSN1ZRlbvWuKf7JKz6go0AWsnNO\ncgr8rr34GrOXRGfHvHYfDqq+wQI/yr1EoixEC+ahWv3lOkjxMK+KcZ5M2oym\nIqjDbqqQk3ybOXnkSuM4PQM1+sT+APf39XUzXioGOd1R9YbZxLejlUWXZTVj\nmHoS5SDusoQF+a8XhXKd7eUa3CvtUO357EJ4BeQfW3EQj7DrYunVzDwGHoi/\noVx12SX8RuUeICWv4SrUweLHxXZQXJ8DTI7XlGvVQo8pkdkfbxgRpsct9hc1\nkkM4\r\n=/YW4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCkkiisDQNvfjUbFwvWATug6x0ps6x3IqzXMR8sR0tiiwIgSsrOl/1U4c/2IIL/EnfRcZpYOoEyb024uNcYawZ7PUg="}]},"_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-search-field_3.8.15-alpha-farmblocks-checkbox-resizing-6024.1.4_1617904313115_0.8274920485348942"},"_hasShrinkwrap":false},"3.8.15-alpha-update-deps-032021-6038.1.33":{"name":"@crave/farmblocks-search-field","version":"3.8.15-alpha-update-deps-032021-6038.1.33","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.1-alpha-update-deps-032021-6038.1.59+c16db8e1","@crave/farmblocks-hoc-input":"^9.0.3-alpha-update-deps-032021-6038.1.59+c16db8e1","@crave/farmblocks-input-select":"^4.0.11-alpha-update-deps-032021-6038.1.36+c16db8e1","@crave/farmblocks-input-text":"^5.1.6-alpha-update-deps-032021-6038.1.59+c16db8e1","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.15-alpha-update-deps-032021-6038.1.33","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-7LAVZRwAqqOAqnB4QY1Z/eGkI36wL3cgxDOrAIJvVNiORXBqsVzhdaarBnFmtp0HK2UNHpm2dVevlkmEZ+hniQ==","shasum":"f5ce3e91ff3fbcd49940556df739a6d306377f98","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.15-alpha-update-deps-032021-6038.1.33.tgz","fileCount":11,"unpackedSize":66103,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgcKjJCRA9TVsSAnZWagAATrIQAJF6NjW+uzgpVOIj4Ofs\n9WkWaZveSzb9TAyM8qY/caDv6JzMmtDXC0AKWYDmenORdCHJjPdYjiN0RWEf\nKArkGkDMDogR7nGluMYtmU4BLD38CuAijHJA9Tqt++IcgH1pyKRidULV+5ym\nn2Ct1YAiOiwPl4TYrFmvxkGzryOTS1hhChEOjfMc6rxAZOqx/54cgO6SGkJc\nYa+vZKbjAh4wcWPAXwo2x+3gmX/TBhuXCPvwQAB9b+3GmPFQMg4Kn/60xN6g\nn7nv66mNiaDCEKEWMjVA2TktY2sVtklQY035glmwoXyj75fr6uUy9mW8KEY6\nJs0Dfy46V2BCrVXFnZjDmVfCGExEyqz4fL62a3sI4It8U5cmUj2BA2kLG3lp\nyecj+wuhnMxEUHh9TtsMuVmDouJbxeYbx0V/cT/VbTMBZbV1OxVO/CnGe4E4\n+IztxjGLBCxcA4wXR4wBNzHUNUXyVc9MJtCBKNuEKXS570Ngnp4kHIAiGfx+\nUmt4x2TYlKRXGNJWfmp1mJBXoR7gw5vL2yLsQ5//vuikFB6HwcvbogtZOC19\nfbMt0GVnVqRjLE0BnEclvQjqCcWi5x4cdvy46WIdnjIRG8DGw2O2BPVFCBry\n+dfor2OLDpA14zTeZNxXm0G63uEzDW/KsgCIeCivc7Fdit71jT4d9EkREFp0\ni6EI\r\n=6fIz\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGcIFdN1+Cty0252rFEIBoJYstG1pRJ1iGEUaG3CThdRAiEAtYksr6rwxSVAeBxQAcY2Nl73eQ7vLvq/vOB63Dv7Uaw="}]},"_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-search-field_3.8.15-alpha-update-deps-032021-6038.1.33_1617995977225_0.26799766413520243"},"_hasShrinkwrap":false},"3.8.15-alpha-farmblocks-checkbox-resizing-6046.1.6":{"name":"@crave/farmblocks-search-field","version":"3.8.15-alpha-farmblocks-checkbox-resizing-6046.1.6","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.11-alpha-farmblocks-checkbox-resizing-6046.1.9+7b1f4131","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"7b1f4131787e7d221ba8d5eb475cfe95a22631a3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.15-alpha-farmblocks-checkbox-resizing-6046.1.6","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-MRhYvLXXDz98PnpvSjOlqiqJXatTSLHfjnZakwMoEBAqHGv7y88Z5d8WA0lNVaLj9C/pgYt0yM/82usY/L9hTA==","shasum":"15bac1ad9780f367e93742d806c0b59c5f96343f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.15-alpha-farmblocks-checkbox-resizing-6046.1.6.tgz","fileCount":11,"unpackedSize":65882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdFZ/CRA9TVsSAnZWagAAxFoP/iP6EEJ8CjCp0hM2Fc5d\nMDMDUq5PstDAPTWI9+9HAu5iDXpcUOmm2I7nM0TrAVrBUYlhoAiMdQJaQA22\n8pegA0GZUQWGpRq3edMCtun20+o6wxsauxR4bkeJI1H8BDO/eey/FMAkqQdd\nxuks+D1nLKBf5VwUf4r88UWEJV+E+u5/6afqzrZDBW7NXmXHneiq0rbOtLHt\n5J1Pc3wMJdtF8srNmXgkwn1HPgAyIROAQ3Ki12ChjyCkxDv5t9C3Ig3I6FCF\nqatOPBrIxHOUjOCuaVHlC5Eia6++ldWP+3ypWErKaOZQZ2S4pJXTbf1AQWQj\nAD2Kjb68kytqd/4vcUeakDf5PMGg7ylhgV2ksJbaqg2cyjD3rJGCMnJxuG5D\nSVl7gx0J1po0bheUQvRVVxfJoJNX6QarqIXkIFfT1OfJQGSC4ywl1GK+5zEp\n0E+WakyeqOmHmcSMgV8J+oQjwDk1GWlYZQ+uT8dmm2w6/JikJWsKjaJiYwqS\nUV5ugbDoQO9CpNLNkbe9GtTMlIMZib2yV0EUf16P1LApsa1HvEJLapP10E1l\nglW5XrkefKHfgcz2A3wWHbh08ClQi8BVSdw+C3ggMFkZ0vE5LOHHTCEuX/HV\n2V0reKf01DBYRfFFWRLbH8ZGn7ZSmQmchCBpd9KhB2LkI61gQFUorzHI5+qt\nwYj5\r\n=i6Ii\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDB7Zyob5JRtjE+mwrqGfoEKLlK2yGpfTkQ7b0CShidIAiEA8okY3ukZapuOP002IyqL22i8FdyjkHAV566VWoyi1zQ="}]},"_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-search-field_3.8.15-alpha-farmblocks-checkbox-resizing-6046.1.6_1618237054842_0.21641572658069208"},"_hasShrinkwrap":false},"3.8.15-alpha-farmblocks-checkbox-resizing-6052.1.5":{"name":"@crave/farmblocks-search-field","version":"3.8.15-alpha-farmblocks-checkbox-resizing-6052.1.5","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.11-alpha-farmblocks-checkbox-resizing-6052.1.8+a25c429a","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"a25c429aa93a01d9876b4b7c576bcca5d7126f15","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.15-alpha-farmblocks-checkbox-resizing-6052.1.5","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-4rYeBamBstQw5QEO8mhpO4A8B2bxaC93pp4b3ncljWscmqY5dbp0VwoKTa43E5y5jqFDF9RDEDvRZjkmIVBZEg==","shasum":"74907cd87cad52d13e0cfa0717c9efa47c937a36","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.15-alpha-farmblocks-checkbox-resizing-6052.1.5.tgz","fileCount":11,"unpackedSize":65882,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdGybCRA9TVsSAnZWagAAZa4P/Rz9r0v+KxGooXoh6UKC\nxmLfoA/5+bgdOhbmbFcjE9kks1gAT/vMobrkulqloz6bRmXBR9RETPovqCOn\nyFQn5EXBMLu5ZNiVKQqJQpIQaF7r2ERKezBn4dHv2swgheQG+5C5MNEeZ9dh\nmyPNDCUAIuOEeaPrnjzTVhftlLHv2ygQ/585NoPH5KAtfHzjNGr4HPUdhwFh\nBF7lh1lZDB19lKZn1XSoEnrm/PJDEpTQMKzWFsTGEvbos/UHR2LZ0BO1sOEk\nVzTVGLMD/W5o2zQdskH+pHgYBYx2BGszaIzW32oKrNr8SG6oKa89OigD49RE\nvPdLQjl6QSie7DJYA4+JcZr85sDuHExv4moMW5vG/xFRutfYomidvqk1CqjJ\n95pi54GRgsNuc43Zr6JWPGqF5dUx8v6HBGgyqFWHhjk/oVSSkV8KLD3xjstG\nqEybLcqZrgMqtX4l+TiWF5M85ojNsDxioYD4V3Lu9xfiNPQafNy2nosX36hl\nU0UiiMmJs8eY7bBqfqmpcDLDh+MMNWEKORx3Gn52QwHsNmPYhtxGfCidbM1R\nuZk651JdaCoU4WQ/D7PCNu5d1eDjTqBRZbKEUUTve8tDYq9C/szh4fDDhZTz\nPpsv/m9aKCfWA0Q4+5jIosob1sL+aFCF4fgGGbQ+xLWIXyQEh3ERFyk0gPaf\nhqRw\r\n=z8Gt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHCq21KgUDsBI00keLr/h0rAoBNj+AZORYTNvHVyfSywIhAKs9vpj5C9jZpa9evSkX5iM7ykGdWvondp1Sootlcwab"}]},"_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-search-field_3.8.15-alpha-farmblocks-checkbox-resizing-6052.1.5_1618242714999_0.8731600628251646"},"_hasShrinkwrap":false},"3.8.15-alpha-farmblocks-checkbox-resizing-6054.1.7":{"name":"@crave/farmblocks-search-field","version":"3.8.15-alpha-farmblocks-checkbox-resizing-6054.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.11-alpha-farmblocks-checkbox-resizing-6054.1.10+723dc7a5","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"723dc7a556b85e7df301c56552e71fb633bcdedd","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.15-alpha-farmblocks-checkbox-resizing-6054.1.7","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-3nF9iDBvz1gMzTzGrhiNmOENFoyOZVxicKxru6EEogGzGdAueTXeryP74NGJnPZZghPZvsO9NNuEFOa78b9lxg==","shasum":"36d211ffa871beafa23adc1ecdbc8cf7513f4a46","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.15-alpha-farmblocks-checkbox-resizing-6054.1.7.tgz","fileCount":11,"unpackedSize":65883,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdG0QCRA9TVsSAnZWagAAtkIP/jGvRxvfbw3WKPvTL5Vx\nPs6OETscZjmIBpvzQh/n0FTprPQPm2E9ipKZck1yj3/wFyxkbP56GTbSwQCa\n27ODvkxvTuZ3UvbZplgAUITWMnTBZ4L3msDN6i8jT5hukvby0m0rf78UqaMH\n5H0AbbMJKpFfZkrZdL/9VyTAMx8h4yY3CLcViDw9AWwaOLsVutVBfvielIp9\nOSwg/J3dQtrVC/S39PXYhe5o+TduHN4gVuOkPTmJ/UO7jhQE0g3FqAe4ARdH\nQUv8yJCmTV9CtwCVZFbZAPQ3xaeHrFy31jRDkBu/o02VngXP8ubAxQwN6y9G\nIpDC4Cv+KMeWPzHaLGevoITRwcusNUhQNevod1xOLVWq7YX2c2zY2PHuqJ1S\nk6lyxT+LPPmYF9PbRyFa90MBsyunpuInEXAh5J3Kns4Axh64GYPCo+5Zci4y\nc3pwZByeMk92hSPeXP7QNC8f+xlTipV2KUF0ZgfPSXkZveWqXeLVBznBIhSD\nuchcSKUTCoAw85pbBYQTVpCcnXeR+GRHzgsWWw2qYq0xueoqiVTrfG3DDI33\nwnuGTgIGCYfGltDtfs2zdlVWJEajPffSlIqSi/i0baDxE+TUh7Ff/rX55cx0\ndcHJ6PbUH3Z3gudMVUOl2EsHn2Z1anPz/XOomy27Knvvs+2j/sAwWpnlOoN8\nztwg\r\n=fzvM\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYs/N1ZjfB0XxOBwOgaUJvtPBoCTxsQ11i4XbJUcF0lgIhAOgigD7TLigBLV11RU5zjjA8MXd5T+wNvcYTNV5I+Mq8"}]},"_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-search-field_3.8.15-alpha-farmblocks-checkbox-resizing-6054.1.7_1618242831546_0.6417351569269374"},"_hasShrinkwrap":false},"3.8.15":{"name":"@crave/farmblocks-search-field","version":"3.8.15","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.0.1"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.0","@crave/farmblocks-hoc-input":"^9.0.2","@crave/farmblocks-input-select":"^4.0.11","@crave/farmblocks-input-text":"^5.1.5","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.2","@crave/farmblocks-text":"^3.6.4"},"gitHead":"0e4bf8322d7e5613630a8f2e2929b4ca186bd7b6","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.15","_nodeVersion":"12.1.0","_npmVersion":"lerna/3.20.2/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-cczZYOPvrj7z4WT6gztnfTFsUmvSq+Hy7IFl9jRgyHrN1a9feqVQXzLO+G/CCmKOlH8917bG592SNxxe2/gV1A==","shasum":"278022f30abe40d616094029cefa2dc911cd582f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.15.tgz","fileCount":11,"unpackedSize":66005,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdHHOCRA9TVsSAnZWagAADvwQAJl3l/YXiV9ogqw7DvG1\nb0wrKNHHvIuIM8joAwkjweVOBslgKY5jjs5fjgR/dy/RFJ8futSL4BrCHnyZ\nH/0LP3xe+uGt2ZjyDaOHvwaRQJC2VcAauONX2kZwYqTx0PwW6IpVHEpD5WuC\nnmTdtDYTzrNhsxCrP9rWkvngWVQ1UprBVm8nuKm8E0KWuvHYG43hGmiJ23bX\nUMUb7G6nGWNNDz638YUBIXtZeejTO4gJ65BfMHyw02BRiZcwYaSAo8cA+lEl\nxuV2pV92tzK7IoTHnLGCmZwflibgb7YIhnPlydrTO8gBHxrD5BCg2UTdoNAA\nXMsApdphjsP6YtdUcExb/DdogU9TJQd6BnZScYshpWoVVcXJdTdPb3ZIT59S\numvaoGxHJlthXEyOh5MoONvkadTUil/Kh2OEOuOitmpD16LhYsfWgbCtDD7n\n7ZVXIR5qdWs69tFzqLplNbokoq/unZheC3mHAzr60W4SHeO/YCp5BTYkaDqY\nmPRlpNwqQ+o0S32LUAqQOC9scbCtQzcLWITSF5yamwxQ5y3l+l7p3OOqDMLZ\noTv/n4uXrurKjUdxOvV5Ka8dGyIb44xx6SVUvOsXOObX8QsH2AsVTrH2aNMx\ncreQZxG0buyWc+Tl06RdfnV9DVd2zxlueIW9iqBTWSXYtae/YCqQhRtT7IPc\ngDUQ\r\n=rGeN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFCD5AlO2WXAs5ZFBRzEvpnM/dZtMDQFkUn5jJCSNmtxAiAD5uiOXSyqxUy6agavHRhYofvd8dpuR0Og1cSFJVhT4A=="}]},"_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-search-field_3.8.15_1618244045789_0.5275946075130247"},"_hasShrinkwrap":false},"3.8.16":{"name":"@crave/farmblocks-search-field","version":"3.8.16","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.1","@crave/farmblocks-hoc-input":"^9.0.3","@crave/farmblocks-input-select":"^4.0.12","@crave/farmblocks-input-text":"^5.1.6","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.3","@crave/farmblocks-text":"^3.6.5"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.16","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-MmgFXfOLx0k2jmm060niLoNXUPoVYKkmf5yhccTXaFR+WjNRsS+YPMt2g6UvatwHJyXkeQ1SAl74bSaLGUKPwQ==","shasum":"64ad1f98a6cfd1e7a5811a5711bb6d2f3a596f80","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.16.tgz","fileCount":11,"unpackedSize":66341,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgfZcmCRA9TVsSAnZWagAAfEAQAKLGZehuLKCjrVNOeCHj\nSIJHG//LCU/uOgeT9HsbujqLj5P6lkC+pxo3cjYtzPplwZOir2/3Tt+A6KVn\nOqlXna/GuAVhD3yIb7AgqvbhI2sndOLFoVCKFONvlYFPOaufvaT1Z6P4WYvs\npYDQPUPOMtwuwPc1gpti7Or3Zr5qi6WfeAVKYFr/ePMjSq3LqmtH0ikaLryZ\nrqzrTnPFZYnPBmye/upl4v5h1PLIFdbuGyY3iAT4PdcPrJkj+DjsbdCQOxbS\n2ePTPQbrixhGlLQUvQaRwY2LsNFjrMAJt/GuCOtVBxkY721wsphPQxR7H/iF\n93k0WLfT4t5HCVLEA+F7NmcKSo4xuOvvNx2SfXy2i4hbzEuw1aTcmDPGIx9e\ns9batWT9s3uNrCtGjtOBRLGfdZ+i0dCqn+sDAALSiiVWz0/Rht3P56ZrmIEB\nTob9FDdAoaBtJwDXhnfFk6fUzcaJskKuSLxnSu4YHOKiJbszXGtgggB027a+\njdzlTODz9Sq0vcgyFTBGoR+g5S0TO4gDtcQ5zS6DRlSPoQAf+E6LesLlQnOP\nM9Obh9LQmTutlaRRdHfX3dZmjFxQ6ayLwRjz9HEICIE1jXcK1B2bRECTUdjr\nZDIb5lyg/0ywgUJ4UHqFc88F9jcwPI6xf1jQGI9Q1BoC8b0O7hNq9W0H2HTN\nuPyQ\r\n=QNmx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTHJcp/7xYWdkT6XzT+tSTonA5vtDD5RBrleZinlduaQIhANM8o3XWa5AvRx/HqPtz4bmsPmd0wT2hrVdWWLYb5D1O"}]},"_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-search-field_3.8.16_1618843430110_0.059276579130589147"},"_hasShrinkwrap":false},"3.8.17-alpha-update-icons-6070.1.4":{"name":"@crave/farmblocks-search-field","version":"3.8.17-alpha-update-icons-6070.1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.2-alpha-update-icons-6070.1.4+2e7c4aa0","@crave/farmblocks-hoc-input":"^9.0.4-alpha-update-icons-6070.1.4+2e7c4aa0","@crave/farmblocks-input-select":"^4.0.13-alpha-update-icons-6070.1.4+2e7c4aa0","@crave/farmblocks-input-text":"^5.1.7-alpha-update-icons-6070.1.4+2e7c4aa0","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.4-alpha-update-icons-6070.1.4+2e7c4aa0","@crave/farmblocks-text":"^3.6.5"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.17-alpha-update-icons-6070.1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-u30c3Os7oYD+AGhYpETm59beei8eqqC4UfOUdqRS0W4XXKJqhHtvmebYLFvA1SOCjiR3bNhYtqz9BDxch1SWXQ==","shasum":"75fe020c4819d5614422b8a974af78698293e4cd","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.17-alpha-update-icons-6070.1.4.tgz","fileCount":11,"unpackedSize":66563,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiHkcCRA9TVsSAnZWagAAsYkP/0TsPscdEB4vgYN/0/2r\no7XZNz8/dxL6l6ttT46HaFczYPgxfquyUbXAEzY+S9VG13AF/B9lM+8Ox4Cj\n/xNGe5tFvHggEmPyYR3EgD58WPzj6xFnliaGPV7sgSsQWhgm7oHThfrF6opK\nED6Qgl2JU73nyAmohy5JuvkRBrDBNH+auoGSaiC4CNh5ufZB56mMa9tDBNkG\n1J6g5R8jmRTpoSgKddI2Pdkh67G0EUFfWwS7nL2aXO6JHhdS6eDHoQGFjDGR\n0YdT8ecozRtPljWYS6IRX6nh9LgQexFuZ2Ej8qPSjXU1bcz2+CVJJZgNFf/8\n4WTmLjvqwEq2SnO7sbUvokH2c3YPYpVSTQxR34Guza59j1xgdf6rOdpfVdjg\nweLhFwsWi2TlM92nH5AiQfRfrMSvKQiOnoKc/rN3o1yhSAxN8iUSaZ4+PxSS\nH257xeJl/8sd8b8eW4UIpz3G/4D2BWQVLl4hF3w3ZYL/GeHLd3wQEKd6zVsq\nCxMxWJP0tDMW+Dyz4zWhOiBlKrlaTMfylC1bDH9RituHiDDjXwJVBu7uy1Am\niHKaeyqwubnCJFODQ5f7j4q72TVz7h4bzPv09Pq/T/mkIpjTyDGkJWwXFa/n\nXYnaBq/DnI/ZFbj8li+Uj3pQgHZfor6u2dE+DwEjAx1ITCx4uVD46UC269ZO\nX9a2\r\n=YsB2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDyQiTcf+St6ttaprp2KxsGp3hmFkKEKFXcwZ7aUd2bXgIgN8DrqfxWouhFpR2fMXpEksY5ICWb1RLeuhIWrQKEUJE="}]},"_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-search-field_3.8.17-alpha-update-icons-6070.1.4_1619556636391_0.4249678497462235"},"_hasShrinkwrap":false},"3.8.17-alpha-update-icons-1.4":{"name":"@crave/farmblocks-search-field","version":"3.8.17-alpha-update-icons-1.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.2-alpha-update-icons-1.4+2e7c4aa0","@crave/farmblocks-hoc-input":"^9.0.4-alpha-update-icons-1.4+2e7c4aa0","@crave/farmblocks-input-select":"^4.0.13-alpha-update-icons-1.4+2e7c4aa0","@crave/farmblocks-input-text":"^5.1.7-alpha-update-icons-1.4+2e7c4aa0","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.4-alpha-update-icons-1.4+2e7c4aa0","@crave/farmblocks-text":"^3.6.5"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.17-alpha-update-icons-1.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (darwin)","dist":{"integrity":"sha512-keslxDXNsrYT7rRpJgeUw5PQuQAmJhg8Sl6O/WrQSSAAowxuSfepVBwnNBK4TdDPk7Y3WL8oEK/4kEkGq4eCwQ==","shasum":"a5dd393c6b853c0d0b4f70eb5f60e267233214c3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.17-alpha-update-icons-1.4.tgz","fileCount":11,"unpackedSize":66533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiW/8CRA9TVsSAnZWagAA2UIP/2SwlDZXaknjTz+Jz6D4\niwF9y2ATjyDU1ml4Q12kk3xyRyXH29Et+xJifkY8ZTI8M8YmG0jjCxx2NvxP\n2nfunh42KrVR24w1u2V/eOBwkrYfZD6JcCgkVOligjTkLO8kUvPPXIdzCc24\nVIUS2p/orx9W/dWmmYVB2MIH2RHQ23XdikcF2Cor0m4ECvA3UlUahHXq4xCd\n1YSeAwlYCjTZHy+2BcugfMrPo+gRZ30MBtLK3OTJ0PyIqonqL/kU7JJN+o9D\nWMAP6aCZgSF5kFtjllMIb82YRp2qZ8V/BxiMc5EYU3FookzO2FCuLRp8dSWG\n/HvuQzVb/YLVtRjdYNQOO2pOUzYwPb53qEBV3YavxdX19DzLViqLuBHdKISV\nkLm9DyF5Fe3B5gVxPr+a68X9mp9KxpD39IoH8gx8G81CL5LayhEmLuYuRvP7\nz6/AHbfJ8DV6Jl2gaHdbSPWuQ0bjZp30SHtT5BnWvCf1W+LcbYFonWLhHiKa\nHvGCFkMlDZJKRsFXZQPxygQdBmEzYNn8SP61zHm3CpQfZGImJQCBpvslTyET\nHbb4gMkkVRbgge0PUH0EJqO1wGAFdcVCXJ3inNH9fD33vMeV1db9XY+AhTol\nywOMXvqmuPoz0TWj0ls6x3ivQ3qBoQGrRmjGlR7sCHSOcusYRlqBIy56nLWn\nyB8w\r\n=p/Nr\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAtscGbNRdV6qNHlnZrl+NOIm+PPoV6VfM1KdHbKtwQyAiB1UTW1pVVh+m6dk3dOgWmKPt94XuLNAGiV1KW9OjoSPw=="}]},"_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-search-field_3.8.17-alpha-update-icons-1.4_1619619835999_0.7690539666030802"},"_hasShrinkwrap":false},"3.8.17-alpha-update-icons-2.4":{"name":"@crave/farmblocks-search-field","version":"3.8.17-alpha-update-icons-2.4","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.2-alpha-update-icons-2.4+2e7c4aa0","@crave/farmblocks-hoc-input":"^9.0.4-alpha-update-icons-2.4+2e7c4aa0","@crave/farmblocks-input-select":"^4.0.13-alpha-update-icons-2.4+2e7c4aa0","@crave/farmblocks-input-text":"^5.1.7-alpha-update-icons-2.4+2e7c4aa0","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.4-alpha-update-icons-2.4+2e7c4aa0","@crave/farmblocks-text":"^3.6.5"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.17-alpha-update-icons-2.4","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (darwin)","dist":{"integrity":"sha512-yNL+QMVCSb84+ZzBp0FPaOEcI8jkqFxfUE04JsXq/JFWCfp31rOntRJP6Y6DmYQlbPJFFMyugZlsTEsBADyhmA==","shasum":"4b353052b2b161b88e7bf679d864ed35295cab34","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.17-alpha-update-icons-2.4.tgz","fileCount":11,"unpackedSize":66533,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiX0MCRA9TVsSAnZWagAAerUP/1xZbbp+lUPYhGJlYl0t\n2j8mF0VVweDJy7k9iiPRYEECn9AglL1zGoiYOlbTB735CN8U1UruYgZ0s23x\nwBJdSNlHkkBDMcL/nihfgX/cwMnFFWW5a766QBc5+SnWKPw5YdXFON74ISli\n/Z248AcPJQTxcrzPi0WvZ6TzdnzjJNx7WSNOIb5ymi4upHnzBWjdCRSQJBsB\nTiFESfmzJFyeRRZccnckK4KacuF0KppxzixpoxBN+rG838xhPxkRT37Ef/W5\n4rgAUjNyQfz3qkWKDoGSq/3GhcQlpNBp4Fvtzi3iLowaeE3H0kgnlWX17a1c\n40kevL3ilq5Apzlib/OMwf0HxzgYLbIKOAXY3gTTw4ALH2HH7qsHv9/JYNMc\nGvoju+wrWArgyKzAJf70JzJcZ7hyaeCe97zXNXSdvT01wyyGWXTmoZc6fsSJ\nluAIrq3APbqaVlzsOUfVRbzukhRi8x9s3PdsXFwokJwMxRcmabXETg3knX1C\nm1PFSTHiWLPNZa7qsCleCaldsUf9r3mKUL3gzNMnPWPxqQdxRKRzAsVNRJWP\nPAJWwCDzET5WPdycgRIMwWnVweYKsy+MLf8xr/y+5q/Yo2hsceDQdZkfImzy\nJsOePXmYeaJONHm9LzJnf/T8v4EkQLbF2OA8gB/5nw2dqm48Sa3Vs50oTDNI\n+0by\r\n=jpVX\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBBxwrtTnBosLtvKuAgEaSgI85KduzHm5K/Txk1h5hvnAiEAmevhNUjR17GLJnBa4RVS6kPNkt/WmOQoN+g6e7pcM/0="}]},"_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-search-field_3.8.17-alpha-update-icons-2.4_1619623179649_0.8845078462864995"},"_hasShrinkwrap":false},"3.8.17":{"name":"@crave/farmblocks-search-field","version":"3.8.17","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.2","@crave/farmblocks-hoc-input":"^9.1.0","@crave/farmblocks-input-select":"^4.0.13","@crave/farmblocks-input-text":"^5.1.7","@crave/farmblocks-theme":"^1.10.1","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.4","@crave/farmblocks-text":"^3.6.5"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.17","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-gYyvHMKGWvsDgJmYyKUPssmI1b7jTfkjIICbzmlraDpgTGa86u/fFxrqcKsoaqIKDk0CtCCUxkFuXb+nqB3cwA==","shasum":"89143faff6b94b0811e5c6a2750194531e47c4aa","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.17.tgz","fileCount":11,"unpackedSize":66570,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgiqR7CRA9TVsSAnZWagAAEDwP/1B392E1NtpTR1XS5xAQ\nbzvsi/t9eFplTqvbpjAYT8wHtgFB/86Yjtp73T0j2CeI3k4jVKu5ykp4xIls\n2FW5kIt9H7NcFTvnzy2H/X1UIqCbSpk4DPLbHWadeB5BzrDdJefnSTXpmsVJ\nzpOVX6lzuFyrSg6g2A9QPJgS99iA27VzZY8pCiNsQkXlDhvfWjogblK8AXm6\nyhM6dM77HASGE6TufuBwAjZw9KKg0icGrg98oeMd00DPGjzksHHaLTlp+OW3\n19bnL/OgsMJYEsr2DMyO1A18HBNvS71qiaFoVJYKT0KpB6lZq5u5Ihjqs/g7\n41wwe5KuJG4GAH+SeBxE5O2pMepa4MzpJiAoAskgOQeCi7Mj3mssDqmXXgom\nbGq9Tz4P9JgpiTBKfRn0Dy7iyqxB5gcz5ii2Oel9WHb6KKBjbOURnRfzUHDW\nioS+uXE9ef2Dt4BXS5qNLIzEgTx4QgX9aKZwOz6eJn2ZbwPW5mzlS6pHXD9a\n2U/zCrGj8tZjfd6iHgJrIM3Gt+jXrEA7qDDxX2ct9NUhcU5Tvu7TN6Y0G08J\nzdgoLz5XODbRza3TEHCGK8no4MMOoavwzNn01YvzxKAhvGDzJylA63empEpc\nB9CAM97dkJ9Knd1rpbnF3FEQRFJUd7ufAbK6rpulvFdyiRIKKjZNUB0FHdDr\nVlkD\r\n=U+bx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCRIEE2Pma2k4v03vUcI7F5SCBFHxKOnVuJ/q6jzbDlEwIhAJbLPW+8wh1S//SJMbuPRySwHpH5/Le5LeOGOeZgW92A"}]},"_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-search-field_3.8.17_1619698810910_0.8526992090587326"},"_hasShrinkwrap":false},"3.8.18-alpha-add-font-size-6125.1.7":{"name":"@crave/farmblocks-search-field","version":"3.8.18-alpha-add-font-size-6125.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.3-alpha-add-font-size-6125.1.7+7f475499","@crave/farmblocks-hoc-input":"^9.1.1-alpha-add-font-size-6125.1.7+7f475499","@crave/farmblocks-input-select":"^4.0.14-alpha-add-font-size-6125.1.7+7f475499","@crave/farmblocks-input-text":"^5.1.8-alpha-add-font-size-6125.1.7+7f475499","@crave/farmblocks-theme":"^1.10.2-alpha-add-font-size-6125.1.104+7f475499","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.5-alpha-add-font-size-6125.1.7+7f475499","@crave/farmblocks-text":"^3.6.6-alpha-add-font-size-6125.1.10+7f475499"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.18-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-L6/CPeCMe0XsF0cQ44TN6XYtilAE4kaPbV+4rFkuqZw7I4z/eNz9zdNsMWGB5xj8L3ebX+9+d87jZf6i0y8NLA==","shasum":"1e7320684d3b42eae49eb4c7680fb7fc5fdefaac","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.18-alpha-add-font-size-6125.1.7.tgz","fileCount":11,"unpackedSize":66877,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5dw0CRA9TVsSAnZWagAAcNQQAIRYsKo1vx9xzqq+35/I\nO06qPTWx4zdLVPDUGI+R+aoD9FlCbCHnuhWLFCFW3ZTLJg4yl44BW7IXvzTT\nWvwf39FzX/tlCCS9kKf+HEt7asOiyhtGoP0lkkD19Y8hgXWWLtlqme5LW4Nx\nPM17kX7CEt/nr39mgB6dJFzV/pf4T4Aq4WCvshA35FSp/uO9KNSHibkOELW8\n+Hx4v94/7nwhwgPX7XdRtSWzhTTRW1MLK+0tZKuOFpWw5pATeWjnU/moHYgs\nImIrt2rCz+qHR/XNKDSuaAYUpWt5vezS2DfdAdY+lW7tOTHiE4L5lCUZ6pkv\nmsXXxvA4tSf4eyPlLJ9MTjSmIMBH0pjfYsriWrsO+fusMUDR1js6KEFMMAWa\nThN5PY5DoVidxIOMKhIOHpld0AZGkEqqWAaoUgeJDG171PTYMkdsyl8wmzL5\nyGmXDR8V41nvpujFbpusn/nnBU4sycUMzxtTFZyLCAtTYoG+2QegxGmzoa/2\n7FdW+9djgMX9jkNQDnL90ivaoAsHvsZKw53Gh+NrddX30aDb4/UJ86/SBtwe\n0tXuDmL9GBLKj3pPzR5xsmuj54Dvq15o925UjO+pzql4FnVT5w+GH5oHij/8\nOygFv2uHCuEPDx5IGDPNwTgn7YAQ/9pkzvHgDp8icm27Eug17GgLP01xLp2x\ntnET\r\n=Yz5K\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuxbJJp7kcxdD1d2LyIcgyomMd0yFNsCe3j18j+VDjdAIhAOoK3O7EXqaytBipigqWw76AIloi2PWVXKx/vpJ9aKeb"}]},"_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-search-field_3.8.18-alpha-add-font-size-6125.1.7_1625676851878_0.21356571335846697"},"_hasShrinkwrap":false},"3.8.18":{"name":"@crave/farmblocks-search-field","version":"3.8.18","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.3","@crave/farmblocks-hoc-input":"^9.1.1","@crave/farmblocks-input-select":"^4.0.14","@crave/farmblocks-input-text":"^5.1.8","@crave/farmblocks-theme":"^1.11.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.5","@crave/farmblocks-text":"^3.6.6"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.18","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-hps9+gCTlPRJHraTEnCKGFoj1HnkM72decb2TBA7Tu+j5KNoKkY5sy/5CzhProZujy9DN1z96NOTpcLkv1ZPzg==","shasum":"290cb8eca0bfe28733bda2981a4d41f9774a3144","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.18.tgz","fileCount":11,"unpackedSize":66799,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg5eNYCRA9TVsSAnZWagAAYj8P/jjFlRr3aBy1OWYD6MvF\nELnHVe2xSO+eJCS2BRpRQg+xL0Idb9To3v9C0jVPVLH6nFcDakf+86EHOI55\nmn64E58hyFY/MDaFmnPc8bgedujQBHOnTscSOl7onLS/tTvKJy8uHfxJ8jZo\nltwNozgSGCkt2TAcxsy7spMZN30pQUJMvzLvj9WMo9Nd8apCMScnG0Jk6cRk\nb+i3c+0HjysvQVWk8g2MS/cY6NKlDB8SQSr+QRQfHpA4VV1SCFmMJZHsV1t8\nTblWGhd89YBgDKzG7ib9+42dN90PaQvjWzLUU5YpiQuc0QP4PN7XkayukB++\nucAVR2HrVm2paRF9b+no+POBCc4Z0JkvWb8jyajy4SF1mMi4QBDhS/Fk+1uf\nubwHtpRjZJWjaWS7LPmkriVtvYG7zITQhlLnj3NeJFE5nxzKM4sDWpXUhr1n\nU2K5oCzcT3gBLpfCIvJqKeEfzAqWJEJBOvnFHuE2JRVklC0v8CGFl1KGURLm\ng853SjSZIonkvAThMTCEbu3i0K6J+WBUsGDuCecSzG71E5EHR4Jyf6y/BQ78\nJt2U6kIoHot1IhPF5+MuZ1GN+MJnutjijFpdng6LOQ9SkA4ZR1v2NayeFFlq\n4OcNTbEecq3VNNvTjF0ifD1wPQb4lHk6lQk+xc7zGs9w+2dnELmMMiHY5Yjn\nqqqD\r\n=W/0Q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA2Yw5NTbI61EwlocBuBZjQydytA8faLXRIvrnd+LtVDAiBZKuM+tGhHm/pD1scohHdVUho03QiOc3oE/XaXZ7+vuQ=="}]},"_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-search-field_3.8.18_1625678677138_0.49825781817777304"},"_hasShrinkwrap":false},"3.8.19":{"name":"@crave/farmblocks-search-field","version":"3.8.19","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.4","@crave/farmblocks-hoc-input":"^9.1.2","@crave/farmblocks-input-select":"^4.0.15","@crave/farmblocks-input-text":"^5.1.9","@crave/farmblocks-theme":"^1.12.0","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.6","@crave/farmblocks-text":"^3.6.7"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.19","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-DcstrG6bwbDLmvkmNiPJ0/nzR9FOH1hm2Kj+JIcBdNabCxpBaiYjDJ7U26vRSZtZJY7w++X0biQMXZiLPeY2gg==","shasum":"d2b2997869461b2c959affb65a45b7a8c4ba97b1","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.19.tgz","fileCount":11,"unpackedSize":67028,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg+0AiCRA9TVsSAnZWagAAPIcP/R+l/VQEaU+k8cmfzaQN\nnYPsyCkCMOeyzSDxXingsNWiQXjVnYcHm6VwdkvGyKMfOb5g0cIqHN5BWNEV\n4fbnxMqawUTSWhbuD3H9H19buuE6NDp1R8goGDB2Cd/oORoS8DhwgdQkrBiT\ni1MPx+NxrzUmz5iX5uSOs2967/6NzMQsboOc4FKNARRyWsjcUfqJsyX6vAyO\nljI72Po3jdq4Gm393wKOiIkcMUrPH7eoNGGObsedhTiomSKLtyTZTH150716\n3hW+XprQFtKcW+iTYlhiprKDbHQ/WpBbuTY5lJW4l4hVojpKvBLq9FNupAgG\nfROJddMjL47OZVFQ5d8BV0OaoKFBXB8nI7v8UapzpUGKgxIXTB5A0BfTVEjD\nmym1x1GMf1y7Jmhe/d0nKFP46C7iGBB9GQ8wDLSdSs/bOiQfIQl1GLi0TN0r\njnWi2Ge67FosDuyoOgf6+x3dAKX7CW4l0k0lf+1kFVH8YCnZYcJLgToa0uzO\naRmq3mFtAOFfnD9yg1GPd+OQfWF5esXLOK1Y2aVGIb6ee2x0TpnXtUyMHLAA\n53F9ptzAWSwThW9HKttUKLhwUqPoKA8tLB8beptfl5yCyjxgX06/SFyP+6lL\nhXAAHM7Lmyip0UN8M9yD2Mn4kZ0zz29Jwr3hMAovJkDHm6z+CfA9rzlc9zBy\naE+2\r\n=rdPt\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGbNcZ6ovMOT1pF9hAsndK7v9lfjwzn0Olu7vam03HahAiEA2XieC/zRyROvXCkPcJE9vaMpsZWS4pV8jf/3arMrlXY="}]},"_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-search-field_3.8.19_1627078689879_0.2952816064530652"},"_hasShrinkwrap":false},"3.8.22-alpha-lerna-force-publish-6137.1.0":{"name":"@crave/farmblocks-search-field","version":"3.8.22-alpha-lerna-force-publish-6137.1.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.7-alpha-lerna-force-publish-6137.1.0+091356cb","@crave/farmblocks-hoc-input":"^9.1.5-alpha-lerna-force-publish-6137.1.0+091356cb","@crave/farmblocks-input-select":"^4.0.18-alpha-lerna-force-publish-6137.1.0+091356cb","@crave/farmblocks-input-text":"^5.1.12-alpha-lerna-force-publish-6137.1.0+091356cb","@crave/farmblocks-theme":"^1.12.3-alpha-lerna-force-publish-6137.1.0+091356cb","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.9-alpha-lerna-force-publish-6137.1.0+091356cb","@crave/farmblocks-text":"^3.6.10-alpha-lerna-force-publish-6137.1.0+091356cb"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.22-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-Pwd3EMzrn5KmQbS2BN1B5V3AKZq2+I3LV198eP4qj4tuBx6sOjEEVJVckL85y7jtzoPsZnVP4i96tYHVYkM7Pg==","shasum":"e8bed0b5809310653d67ad5af0e02d5295b73b1f","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.22-alpha-lerna-force-publish-6137.1.0.tgz","fileCount":11,"unpackedSize":67840,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJg/r6oCRA9TVsSAnZWagAAr7UQAKFUNitEAepg+RF32a6o\naqmvXObd4vqduMf+W2z/IV4D7he+QCSpRzcRcIq+L3UlrXBD6/DBHE4OjXGc\nSCyB+wffssHuDMtYwaJZEhMa5BcqnQ6rdAjrxoCLWEWvpIvRnoZGeLGFtFd3\n65uNluCk+v0RdTEZm0B9VNLj7fhZ+98iegB/+l2f/KqEic3P5ahcNh9NO0r9\nA0IZmjf7QolZb4XpASm4FLnki5dUMhGyPH4zb5NSP2895+9QLriOmwm1gCyA\nbHOEQIZx41ogq6NEX7micKU2sg4SAbKtIUy4sM1iDpzQ538xuuY6wvmq3nPp\nJGEeqOWmREoICZH9xD5CBU/WmGyws30zysM9aI1w4xBCNqbU7x1fepqwP/cL\nbP7GzlIB/bS/BrBt5ELnFHhYC9QY+HmvQQXSF0PlH6Io0F2MdLdbGydtvdtw\ngTmkk8WhrhhWZFMQTHbiHikOWVtxCUk455NTAskU2j/LETLZJlcywATRku9N\nX9ZH6MuHgw7c8jRFymGEz0ZjaNdjRH/vbmJRhoTrB2nHj4Zicx9pYceBv1As\nUix3/eu0fUfxREvM+im7NF0kro9yZCy111dr4fo3a9H2g0HNkMwaAwPkVb+D\nGkmO4sLH8nfXj6lnBDR4JYt9KtD776YEpaNhX/gO6cKQBQoFWYCZhrfmcQGD\n8Q8s\r\n=bt/x\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCw58s7GyGOjdlTymZXPzzYdhH0aFJkN6WikeFb9QalsAIgVJiOGUPbPOAhAPRs68bj5DVO9fwYNuEwAK2jLzNlS9M="}]},"_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-search-field_3.8.22-alpha-lerna-force-publish-6137.1.0_1627307688618_0.013916243650359705"},"_hasShrinkwrap":false},"3.8.22-alpha-adjust-xsmall-font-size-value-6142.1.0":{"name":"@crave/farmblocks-search-field","version":"3.8.22-alpha-adjust-xsmall-font-size-value-6142.1.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.7-alpha-adjust-xsmall-font-size-value-6142.1.0+03a0b7e8","@crave/farmblocks-hoc-input":"^9.1.5-alpha-adjust-xsmall-font-size-value-6142.1.0+03a0b7e8","@crave/farmblocks-input-select":"^4.0.18-alpha-adjust-xsmall-font-size-value-6142.1.0+03a0b7e8","@crave/farmblocks-input-text":"^5.1.12-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","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.9-alpha-adjust-xsmall-font-size-value-6142.1.0+03a0b7e8","@crave/farmblocks-text":"^3.6.10-alpha-adjust-xsmall-font-size-value-6142.1.0+03a0b7e8"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.22-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-i3xjdjuPdg9kFeRPz65LlWX5UQQhWVUlHVkrEWpGGyNxsbS/OS8CE27Gjd5CqckGCnH1cmLS2EwMpdFVtY278g==","shasum":"842afad91a1d1ab8fd4fecfc0a6371fbed95861a","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.22-alpha-adjust-xsmall-font-size-value-6142.1.0.tgz","fileCount":11,"unpackedSize":67920,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFAgDCRA9TVsSAnZWagAAhXYP/0eAGNoPeQ7OS07OXUXF\n1Gi90uyQVKdCwxZe3yhdt0zev7g/9A8guZSUQZgLyY5DARO1scWA2ioHy5vs\ne0yYghbXl0ufpQUYhfSR5jPNhOAMQ/CPFpsToB/LPPWnny5O9B2pa6AoM/70\nGq4l7+lBQYCGIKNgz6xe2he6jbsj0MxV0Q1if1UlGNN+u6I36VzcDPa6aZUO\nMEtrmZx2syDdGY/8Nb6oojBmjXKZ7HfPGdGa+gETAzaH/HLCdoq9GIU8XTex\n9grwayyOlwpzZRiFYpBvLhTbrvAhYFX5/9a8qU3rJqu/UfAnxDxYbB4pj+cn\nLcx0g7UVqcI+JjS52WVTiwxwSjEfdTU41Q16lJiAdVlP7UbhvbxnRO5DPrH1\nvQSdADyQDxEMfHmuFiZnhVxnPsIkM5/Cl3/RkSKNA9UhW7ZTtiwjA7nUM2k2\n/M0/00J+NuGk1B6FUUn0ynsOsniPjrZTPNAHJ2s3kyNbqHg3z7WaEbC6Xvn2\noy7PU7R8M1Ptc7t/3eyrRhgINNdvwv0U3yhIxgvoqkCiFbo246W0A9FijLi0\nSc53mcu/zyCn69zn5KM0576KWmvFKe4DVyPTWWFug3xgFGwfVMoYVzRL3mLm\nQ2j/SzZeSoGeSYxAJvHWZS1MFxKvc4F/p3gRXoA04qnpNfc5T+DMyFq4tlQN\nc9a7\r\n=SvBd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFoLpXT4VtZj45hHaObE1W+RbCfaWOaNuDVFDtO5FnCNAiB1UQ0SwA7eMEslQpVyLt1Y4yhBw77Rai4Ce6EU71xm8A=="}]},"_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-search-field_3.8.22-alpha-adjust-xsmall-font-size-value-6142.1.0_1628702723403_0.39339222327477574"},"_hasShrinkwrap":false},"3.8.22":{"name":"@crave/farmblocks-search-field","version":"3.8.22","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.7","@crave/farmblocks-hoc-input":"^9.1.5","@crave/farmblocks-input-select":"^4.0.18","@crave/farmblocks-input-text":"^5.1.12","@crave/farmblocks-theme":"^1.12.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.9","@crave/farmblocks-text":"^3.6.10"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.22","_nodeVersion":"12.1.0","_npmVersion":"lerna/4.0.0/node@v12.1.0+x64 (linux)","dist":{"integrity":"sha512-izbx2I0M9iXyW/e8FyMkALdQeIsNZIt6ujfc6JWCh10CHAIK8ZTlhpWT64MXXd9JttfylhluOPYwUKEurvkGhw==","shasum":"1eb09bcebba66c253cfe069342caa0e44e564568","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.22.tgz","fileCount":11,"unpackedSize":67717,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhFBKqCRA9TVsSAnZWagAAyesP/303Ts23EzljW41Ug2W8\nk+Yp/E2LB5Tv0t7/STjGdOgScOk875nqpYwLbzHuK6xjF3HQnz17xID99lmH\nu+5TeY5uG0fmE+nSZ1sRAyE0ce1KpUAYtAjPxK4AyjC0QMVzGQfTS1NnUs5f\noCY0tMWFXSdFDtS8RC+rROQxFlId9HGw0B4IOz8RmL8AKYUWxMC6QG8nwSZh\nkNvSkPcwvaJPfV8uuGGofV/yQ8DyvoH01bY1qkpIKlOBuvCWIhhGgSYyJXNM\nGzi2LNWG3KFsO9EQp5XxCLMul7ZtdZQCSWx7q1LfogDcujLpUDgv/mUAVBDC\n9SKsvdULuDQk4g9s+rQRzypsZFl8hHcS4nLpAvo68yjcamAxT9JPMApyuQnc\n7NVNLzkto3qUJndRVr95iFeW2vapnRhrq/ezFcI1qN0NAA9jX3jSD6C8z+YC\ncJxQ3X0NC4Kv+xNp91P567PH4BTDPqFWADH8X/fdN65oxwj+I/6sDU+gs5fh\nyf7hBxtTkxpNvmq+o6r8wlLFWOW/7hpltYxvGk26B0WlNidbpqK8SUrTc7c9\nswyyVV7OMePiVcHHGFv2xDTn/bYlftGUtWWc4pC0QCoClUDWCrTpWyRFa6K9\n//hIzKJnNpWGbN8BwQDShVW8pccVrDFtrpEPYJFatXk3H4vfF0dKdc3AuMS0\niQ/X\r\n=5Qpm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIED2+H5/uQ2ewY0MoiT3fQyU39/pm96mC5Ub5ao/D58LAiBSR7YFfi8S78nmKD/iFNHPLO/wFdK12pCIDyZhK69s3w=="}]},"_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-search-field_3.8.22_1628705450147_0.8330757339613459"},"_hasShrinkwrap":false},"3.8.23-alpha-update-deps-6177.1.7":{"name":"@crave/farmblocks-search-field","version":"3.8.23-alpha-update-deps-6177.1.7","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.7","@crave/farmblocks-hoc-input":"^9.1.6-alpha-update-deps-6177.1.7+5556f294","@crave/farmblocks-input-select":"^4.0.19-alpha-update-deps-6177.1.7+5556f294","@crave/farmblocks-input-text":"^5.1.13-alpha-update-deps-6177.1.7+5556f294","@crave/farmblocks-theme":"^1.12.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.9","@crave/farmblocks-text":"^3.6.10"},"gitHead":"5556f294ee41b47a2e619c9249aaa424b35ad258","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.23-alpha-update-deps-6177.1.7","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-ay20Pjvqg65Bl4GTszyxDGjNAuMV8kj/p+oHzLbVJo0Z+LRjlXAb1qVa6S7GSGFDOr3/idZoG5tvpvODo3J6gQ==","shasum":"90776fb909c76750b7bef9e825f27136152a8f95","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.23-alpha-update-deps-6177.1.7.tgz","fileCount":11,"unpackedSize":67864,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzap9CRA9TVsSAnZWagAAxlkP/joruTlT3fuV16Uu+3Op\nTHiwE3I2vCyPNfwIztXPxrrBfmnhSapOYFqeR3iqtYM4G7Iiofs48BQgOo9H\nx9brc875QNFuDKmlIK5nZ6iVB3vufGEHT1vvuaN9diVZGWaN0dk+jZSNkcG+\nwGmx6qFgD9K8l1BwJridfcLehhPWvtcm/pwnueppoTt7CILE1gwmSTk+59HE\nfYaEdzEAUzOlGd0e8mJrqOThVjXXyBS7E3i6TDkQLikoVq0pbTfyPINZ0sD4\nXPAKn7ODjxrjZPCkRnSP5kzpHOwpuA5ZmKd1baHZaWPM0LJU2VF5HkFqHNC9\nHjNXGURtACtPmrcH5RAc5o/qgVnUl/b40EIZF85St+A4xvstbkRr6dsGDK9L\n2RLwYLPJRYun4dP2TXPddPgW3nXhlIluehexq90H3OjPli/34E8WEP+BpPvT\n5QfGQeCeAJgip9k2Vc3JM2lWfavDb9TsZavFM/PiGnFYddxee4UE1rgUsNKk\nAemKD8h5cXE/jJsqM3+WtkgEQRyftE2+LALN39sLJV74egQM18FYL65bOHLz\nQ33Wxt+Yh251LFYCfFUMTUjvPRrknA80DCy1UN5Lh1nUiQz1FKzFd7Y6ndCh\nP+KsLoRxnCLqB4BZjZ3ZkDU0Q/xk8h6QLnlW6RqWUnktLgsisE/BS3mI7EN2\n545D\r\n=LKDo\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/h/BrIqdNnXMXN9tj0WUVVpJUlDV2E62EOH/M8IhBZQIgA5Hoaki27qH53fwbhxsk8YvU4l4vRtzsM9NfLWs6qdM="}]},"_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-search-field_3.8.23-alpha-update-deps-6177.1.7_1640868476670_0.9062859885519245"},"_hasShrinkwrap":false},"3.8.23-alpha-update-deps-6179.1.10":{"name":"@crave/farmblocks-search-field","version":"3.8.23-alpha-update-deps-6179.1.10","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.7","@crave/farmblocks-hoc-input":"^9.1.6-alpha-update-deps-6179.1.10+3161f279","@crave/farmblocks-input-select":"^4.0.19-alpha-update-deps-6179.1.10+3161f279","@crave/farmblocks-input-text":"^5.1.13-alpha-update-deps-6179.1.10+3161f279","@crave/farmblocks-theme":"^1.12.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.10-alpha-update-deps-6179.1.10+3161f279","@crave/farmblocks-text":"^3.6.10"},"gitHead":"3161f2795915be4e4054157efa94a3cf970d51a4","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.23-alpha-update-deps-6179.1.10","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-BAUFg/Ack+n1sOCNwh21KhRCwGU18yoF7gsYjNGm70ALVakZjdhzLvT1c3KTcKo8C73/dfZJH9mOreJFcWb33g==","shasum":"e847ffbdae7d286cc579271c5187f3bad3edb8a3","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.23-alpha-update-deps-6179.1.10.tgz","fileCount":11,"unpackedSize":67906,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzfUWCRA9TVsSAnZWagAAB/cP/iEDZsVa0V7Sz55oDY/Q\nCSFl8dKaIeJ8RSxfjXfb0roKMLLg9hcUHZQoEzoK1zBTHinwCDe7zeh4knQG\nSSSjbEWWd8I5gVRb1dQ/mpFK6uBjtJGqMtWRFUiGx1XCgm03CH4mvriXkyR9\nmRF5HEWSl5GnpxDouumusXSOGnXMlRJ5WpjcUL/helVlzPT5EcfzVq8CRkEG\nCZVxuT7nqXArVcTaXYuK9mMke+8p+I4ziiWR3bdb0wudIID1Xl2mhrULqapS\nZwMdLwlkD48I+kk5SN8xvoo2SNqGDgrrklXGtyQdMkRHpYDkfbnwO6cX2qwT\nh8CyXIw/6klNSTiBXxlUoYD+VfU1GY2puD/pWB//KTsz8j5rb3qHLl1NyOQt\nGX+pcR6YULEQYofYoWg2J4xh5zRzahw7WOtdScvLjmIPg2W+DcTFvP238Fwj\nDPW+sPbAHNi2IXzj4/KMuT3TnpCUNDl1iMq1IAWjtPndCi28gBAOAWFB65/a\nUymUoe8f+4yqysLAD7VVeqp5t8cNLWlbZVVrYp9esvN4maQNIwGJrg8LP2Au\nHBswzflHjECCt+HLTHpo8hvKzIHRY57nQWKOu8FS+eZW7BtSy5XIzcz2EKtE\nmh/4MQpYrC0xP9hHH8Wb2pVCIBYOO8xpkatSqEgOEvG+zwY8i+Pm3aU7BOwF\nG23O\r\n=wGqB\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICtYX9M3VrKJGyeNc/PxxSfVq4oPW/VGEQw9YdNkifQTAiBddoHqxxKmTAABLvU/0C1XlhUWWz/fN3TbbASnQbZaGw=="}]},"_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-search-field_3.8.23-alpha-update-deps-6179.1.10_1640887574569_0.5234263358307749"},"_hasShrinkwrap":false},"3.8.23-alpha-update-deps-6181.1.11":{"name":"@crave/farmblocks-search-field","version":"3.8.23-alpha-update-deps-6181.1.11","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.7.2","react":"^16.13.0","styled-components":"^5.2.2"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.7","@crave/farmblocks-hoc-input":"^9.1.6-alpha-update-deps-6181.1.11+779d1088","@crave/farmblocks-input-select":"^4.0.19-alpha-update-deps-6181.1.11+779d1088","@crave/farmblocks-input-text":"^5.1.13-alpha-update-deps-6181.1.11+779d1088","@crave/farmblocks-theme":"^1.12.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.9","@crave/farmblocks-text":"^3.6.10"},"gitHead":"779d1088718520d7065685e77da80ec9affcd861","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.23-alpha-update-deps-6181.1.11","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-R5DysJ1LIfXBF8q9NI2Bd+kmQYiK1x/iDF/5P2k09lWj4J0IdIwmli9lAmckR+ctb8GNKmP7qM0uuvsOAytS1w==","shasum":"9df9d5bc69f577f56d982fc600e5adf5c2ca6887","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.23-alpha-update-deps-6181.1.11.tgz","fileCount":11,"unpackedSize":67868,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzfasCRA9TVsSAnZWagAAckMP/3sm3rU15iFk8odvCZxU\nlO3SMnlX+vF9Le+1axd0pVxzle1U0OlgZk3JGNH2WeMOgCBxOGm4rzHsLDJd\nHFZbu6hsayso7diw5Io/j2jV0Zb+MLhxrMD2t+LTde25kkywFBWwkS+eVmEq\nETHYMfPgvVx3kocp9LAelGOh6X8dVZ3u+rT3CXRw2+8J5j+XIppBFErH600+\nOmnV41y4MO/ZjgT2HrLBB48xZjrLTVdGAqJ10aCiiraSFOHSCP82XKlav6Ur\nHtQPH+LJT+bQfSxR0tPu7tOviGBWeO4zxiEAnVSu5oytXZAhzglvHvcSLOWk\nl+mmIVdpoIdDnPoUXR/I8e+n/VSCwbWEvhGqzm1OqgcXhgvtO6o6KqLRbOjI\nXUEzIxTyoWzayTE7i9q/9NaOVko3+w2ko/hQdHvaJPT6qACYZ04kbz/eVcvB\nJSks1VnXMCUOaVutzJfJlrJmpQ/Q41cuq2iju9/UYBxRXKbdC2E1RXIiP9HG\nqKVT7yoq0IC9FTfzZjgCfdxWddKol+M9KmH9TjbiZudML1QoFK9TO00eG/US\nY9qGQLrwpX/yNB6tMK2hnjm0XbyJFvlp1Hlfdir6wcNUa6H/2AH1CfH/y0Is\nbRWQkQVl7eA2+WNSsRpaT0o3ECwH/0pErYL9ZrdZrFX3oFdqVCfsJVg1dOfd\nlJga\r\n=NuIw\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCDYZIwm8WMoFTG9dzFckJNWBz8c+kC/ObeP2MNA5ah4wIhAJ/dHuawNT1B/F7slOWgOkrhXvBIKgraiz56LC6c0RN9"}]},"_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-search-field_3.8.23-alpha-update-deps-6181.1.11_1640887980718_0.07537247729921948"},"_hasShrinkwrap":false},"3.8.23-alpha-update-deps-6221.1.34":{"name":"@crave/farmblocks-search-field","version":"3.8.23-alpha-update-deps-6221.1.34","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.7","@crave/farmblocks-hoc-input":"^9.1.6-alpha-update-deps-6221.1.34+0eb2366f","@crave/farmblocks-input-select":"^4.0.19-alpha-update-deps-6221.1.34+0eb2366f","@crave/farmblocks-input-text":"^5.1.13-alpha-update-deps-6221.1.34+0eb2366f","@crave/farmblocks-theme":"^1.12.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.9","@crave/farmblocks-text":"^3.6.10"},"gitHead":"0eb2366f88ee0c056cf965ec7e50699fe6a20c86","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.23-alpha-update-deps-6221.1.34","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-itoRbmV70NRjPRE+E0/iCtK58EiMjQ3aBO4XD7ZKm+ESQc3y93k+70ux0Sipw7dazQx7jbjODXCGx3ffA70lsg==","shasum":"9d2123cbbc6c7265e3e54ca445028884b4180dfb","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.23-alpha-update-deps-6221.1.34.tgz","fileCount":10,"unpackedSize":22410,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1JDTCRA9TVsSAnZWagAA/IgQAIVGa8idPEu6M0rfhPX/\ntXJT/ziFu6cCmOWwXOqZE9Fg8J1NctFhXlavjgNHutplOZy4oebUd6NcrT7W\nZYjftlupS3+LIGstHEpSz/3bbhbTt325vzEvzPCqqtGKCgmTT4/z3MmMgwUQ\nL6IfGPLeNVsnXQrLSLA46U5+QxHPvR8f9nzvQvsPxSE3hMMYLOz0+FnrMGPr\ntxViJiCaON2nPx47iv6IoqCgzKdTJrFZY8R0Wsts3QnpO68VpE817tYf9ctv\nGjWdJwloMaF60RkYBKDMKGbPlR1fgtO7/XjE9AbWf6a95xcn9C52ZjGzQ6XH\nx3ZaNI6XqiLm+cag1DhhfRseXuhmCgGs6+PMW+G7lhHpYPnbCAwbfZ0P3Kp+\n5jY7d2hu959dKOpGHXDf7z464hchPba7j6A90TUn/hbQgDJRn/r1N+tktgwy\nUomseVNcvXxky3BDbHBNZ7PI586o8mPNlFA8vX+ASqmpzQBwsrWcsK72vSzK\nPeOJuN/fbWnJ8iJvmC5GC7pRqqgAoiQepJdaNxFgpc+ndsMfZBZ48LW4zw14\nUAq3RI6wLX0x/W/aAftwFPlz711uASwrQqXtv33Q0hwGyVTiUfBAFgmyVUlH\nDfbOH3W8Jw3Zdp23pvIV3hJEjN4dcF/BMd7VOlJ4w5EQ5A/a31/FBDFjq7vQ\nDc//\r\n=uwDp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDX2QqYy1RWv+LX0RF470C2RlQdxQ7bcQCpBH3Q0UI+eAiAzccNRDBFZEj/Y8wvGSmhyhUCDOXspHW+m/OI8+8LjyQ=="}]},"_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-search-field_3.8.23-alpha-update-deps-6221.1.34_1641320659016_0.6611591807271642"},"_hasShrinkwrap":false},"3.8.23-alpha-update-deps-6223.1.35":{"name":"@crave/farmblocks-search-field","version":"3.8.23-alpha-update-deps-6223.1.35","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.7","@crave/farmblocks-hoc-input":"^9.1.5","@crave/farmblocks-input-select":"^4.0.19-alpha-update-deps-6223.1.35+00865e48","@crave/farmblocks-input-text":"^5.1.12","@crave/farmblocks-theme":"^1.12.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.9","@crave/farmblocks-text":"^3.6.10"},"gitHead":"00865e48285d46b31878c77fa61f4508a4d31028","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.23-alpha-update-deps-6223.1.35","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-ESnN4dkpWhRH5IjpZvgUYWstrZP0b+1N/F+Zl2yC/MYxrn24j9rP50rJqd5rVRbPi1Vp3o1dAd7C6fHZHifQDQ==","shasum":"1ebde637791ed5a2f3815f3a637634a8760333c0","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.23-alpha-update-deps-6223.1.35.tgz","fileCount":10,"unpackedSize":22336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1KNKCRA9TVsSAnZWagAA5UEP/3ALNnb7fFGVHgCkTETL\npctAKxUlay6KhQ1kbArQSwsDUGFVSHDOE4hNFFoJywkFlsFB9KB+7rqZWc5N\n5GkRe0vJi1c4kyLeDHIa1JxwTj7PLJ+v2ofj4yOAdQkGsWTQ07HLBrhFDYWW\nYXQDu9/Rzu4kTEgid3NI0f2/hl2Meq5A6ap7dqtEtNFnKmEy2uzQZ3BdEy4+\nBOy0dD114+zArGbcmuJb40ojkrBscxMAF/4ocWUfiAN3qq3uwxlmvnE9Vs5M\niEHMvvztT11CEIyctQIDTBOvtZV0N1Q9Rf2KVhE0clUtVbdEW5qn6vmk6oZX\n/9S0Sozlaqca9X3tZn6h5ZKvxDRcJNEdEXDm2v7HkAiKP6+hlKpDWDn6q59X\n8idkgWM1b2z1dGT1kllcDldVA9DJ/avTTZI3LukEUxJG5NvR4iOVbqAMPT7a\n6J/UatbM/slzhLHgeYpIn7w3uD81uPQ8ec1zpVpJdtHWUWuXeSbcZ+XY7RcR\nxK/9JoFWJKyzpNHG/GH/A/JSzWnp9f9qu+gI2Dpz/brDXqzbzJ16CPhydDLL\nCLoAaLxrJVUOgg7uMo2aB/vooZZSG2OLnjJbPFUhFtiNLY00ZLKJHmSgSi2F\nFsGUMSbfHQX2zBlZR1qH2sdgiR459GzGbEIdoMG98qU+oj7efIa75JqUc7sG\nlbOR\r\n=4wSP\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHUAV9LS4fX9qDXBJI+3AqohJKPVLH2Shze2omRs7y65AiAJ7eY+dh1hb63WmpycUms9sofsX/z5dwHypLou5ZWhFw=="}]},"_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-search-field_3.8.23-alpha-update-deps-6223.1.35_1641325386089_0.3317267059426978"},"_hasShrinkwrap":false},"3.8.23-alpha-update-deps-6227.1.35":{"name":"@crave/farmblocks-search-field","version":"3.8.23-alpha-update-deps-6227.1.35","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.7","@crave/farmblocks-hoc-input":"^9.1.5","@crave/farmblocks-input-select":"^4.0.19-alpha-update-deps-6227.1.35+83540798","@crave/farmblocks-input-text":"^5.1.12","@crave/farmblocks-theme":"^1.12.3","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.9","@crave/farmblocks-text":"^3.6.10"},"gitHead":"835407988b1ac8b27951b796c4514f51c7b572c3","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.23-alpha-update-deps-6227.1.35","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-SJcb413997kOJm9h6KNdVc3HueVXWg8ZIi71AIf4o90QWv5q9XAWF4Vcma4jt6wLmY/PJxHGE/YvbQx6OiKKbw==","shasum":"d5516a212857692d427256e23a1b4fe42b9aa5b9","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.23-alpha-update-deps-6227.1.35.tgz","fileCount":10,"unpackedSize":22336,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1YkeCRA9TVsSAnZWagAAE6EP/1KAyTGwUqr6ec28fg0k\nIk2ia3U4DQ2iMNPQwkh+/1p6VokW2RkrR5GEB0vYb2QBosxhGPJLhu1D7655\nu72qW1OJoM2ezBhLR/tRKEalYCkVy08MJbuzXEAC1ivgWS7PpMQPaNlLVjwT\nY1zN+3l/uqVPEXiwXNnYsHwHFLCarR2048QHdG/QTfr+4h/vlg2ZMoDwUXr1\nBJy8fPvo0vi+PfKKofzI6/Zxb/v9UdYUJlgl2H4ZqbpNwIiMEdb0yccMsLoB\n9VYus/nx0WBi714TFqM/mWx6W1mM7lO9+DcQGKD4Bama5NMM0Z+6dYDxuPfo\nd4xRpV0OQD7iEwVu5tUpznCFtb1BedseTCREw8O541Ko47P7Hfp4pvmO2ffz\nWifRyWvnT/Mdg7BFkD2rco1wP2g+65nZfX56PqGfDW2rps9IusL3wxMbanf6\nn5k6aLnw9QBESd9/CP+XPlu7xMTrdjnyuxsH3S4nM9Vo6iMnzuDWBAHS20Kr\n1A+VqbF9GbR54Va8CATXrPs3O7kqHplcOQjKUXG+XLcKhErDQ8pGxWmTzLbQ\n6I9kEGqPwvW0wME23BbSvsYutXG2JIqebANYEtHDmhtciKn2bwInREPpQ7F0\nmoQVzVOa+xmunPjpyFMVPdXKHdTqG87GFBkA73Yau9gxM0Ad+mwtB8gUWJ/B\nstHZ\r\n=H8UI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEQ3hZxtQbIeJ4zLJ11ZeAGKzoOB8gf0Lc6MA77mCkcxAiEA5vZBwNYOVG2DezrImZuiaVO2YXb9H77ngHUWR880LIE="}]},"_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-search-field_3.8.23-alpha-update-deps-6227.1.35_1641384222425_0.49394481251091227"},"_hasShrinkwrap":false},"3.8.23":{"name":"@crave/farmblocks-search-field","version":"3.8.23","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.8","@crave/farmblocks-hoc-input":"^9.1.6","@crave/farmblocks-input-select":"^4.0.19","@crave/farmblocks-input-text":"^5.1.13","@crave/farmblocks-theme":"^1.12.4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.10","@crave/farmblocks-text":"^3.6.11"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.23","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-+TNoEYzAGdsLac/Lhjtf+vaRC6eniTXjXmPfQNh2wfpOnHgrWoCICsEvinegBvj7vY6Z0x/SuSipuDa2hXLxpg==","shasum":"4a215520a9e5181f84be1db5145db0cc0ad9d66e","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.23.tgz","fileCount":10,"unpackedSize":22263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1ZP9CRA9TVsSAnZWagAAOngQAI4BW4ZVypHqxUJTyG8r\nvjw6ylvbJC/uVUgZK3MNpfYxS5Sc72z0FU2v4dPNkVLwXhrZLQagHbPM9Aya\nOGRzNvQ0ycb/OUbP851iEkmUtPo3vQChtEwQqywpT01gwBJUUZTmHCFpwqoF\nP4idsXT3trbv6zuJi9uMppxSkTJ1CT+HddFCcf/C03XaIT1kkIAk4aN/PWx8\n4MvlR77QnUuy2efscEWox2cgiwpJYrBxMPxGwZYhBl1QxfK9UobMRrdJVnOt\nyn+1b/RVty4pWgZ/uAXWbMgndrAk8qV/cR+eFV2khmQjwN0B7wAitUdW/Kjf\nxsU74pSKjacvqNmxwN02BDNOlUs2iDTP1aHD0JbbwZm1/lwxhg5f+91XYtQ+\nMIwULP1c/FcNqoFIkSX+qzXld+JNed8N9VZZAjrtZNZQtWts6phkf4aqdstv\nakKWI85gcRkhBvzeN3CjVBTXMYZVtso0uo2Hrl7asCrbqYnUtwEQlzqOEmDy\nXuHacgt4hXvRy0axl6e0UDSGwIFG6RLc58eZHCW2dMB8nnXQ15Hhakr3utS7\nYF5VqbxzIxzOvlHsmmpXIGAkP+mDSw6nNz9sWhqbbfwNYMfQfWTOwG5d0ILY\nlLCJLeflJT1DOT2CShPEn3J7KAYj8OvA2Biq0yxWe1/l8UvG4tL2AMRcrpmo\nuFnb\r\n=XCFu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDC5IJmBSGMA58jv9TNbQHteeuGHQ17N6eKc4aqCUTH7QIgey5+mxJcVuFiEZ9Y/uJpfjC+E6ASSxApQt1qVqbVc2k="}]},"_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-search-field_3.8.23_1641387005072_0.17076502599254106"},"_hasShrinkwrap":false},"3.8.24-alpha-fix-deps-6232.1.2":{"name":"@crave/farmblocks-search-field","version":"3.8.24-alpha-fix-deps-6232.1.2","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.9-alpha-fix-deps-6232.1.2+1d3df5d3","@crave/farmblocks-hoc-input":"^9.1.7-alpha-fix-deps-6232.1.2+1d3df5d3","@crave/farmblocks-input-select":"^4.0.20-alpha-fix-deps-6232.1.2+1d3df5d3","@crave/farmblocks-input-text":"^5.1.14-alpha-fix-deps-6232.1.2+1d3df5d3","@crave/farmblocks-theme":"^1.12.4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.11-alpha-fix-deps-6232.1.2+1d3df5d3","@crave/farmblocks-text":"^3.6.11"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.24-alpha-fix-deps-6232.1.2","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-EH5wfy84WD/EPMoGRzKJXrkGrU1l00LssaLijfDyEiZlzFft+gnWg7qmQCBCoiB5gr7a6aW0e5m2HUhPanARaw==","shasum":"04dc220065fc49de770b06b30a1f8ffc0076edfa","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.24-alpha-fix-deps-6232.1.2.tgz","fileCount":10,"unpackedSize":22461,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBCThCRA9TVsSAnZWagAAjhcQAIahb9TUs0yeg0pw6tEA\nr1jFxONIX/b6CUPoFaEznhSGO7rTbtrwPFP0YzjDvX3UNtbnczejl0KT9H2F\nDjWbFDapXYa3VceijTqHMznD/0fA8SumWhr8ceNN+WRnLXjvtQ1lZ4AJstIL\nPz2wr0EFcWjN7RYUFMoBwTLNLeO41SLhu3ry9TJTYC4gYmSQ610blOlLxW9r\nhX7nOXtFANW5Mnc6zBLZXSLfXN6mJajBkt9VSJy4fgEaHQEKnZ4iU9j8AK+g\nhTiP2ZDPfTX9l+1AdNU3bF9H4Uihojmh+E3v1/c9udqerMKtYmNYZ15FR9re\nQudzylAK76BF7B9osUelxvUrdfevrjGadQufd58yA82SlgIzZ28A2KPzPWxA\nf9x5YCp5+VjOV8dxs2mUFbRZJGJYgpbT7y8b5M2C9Aj1D3xGoZ2KzDcDvzIO\nv9nErhHuGSHwMlwB9zYo3FAQcrjaBgmXYhooKJwujVjHg3J2x9gtMNA5mc9y\ng6q++PNV7SFDBtwnyaRV2X9RmecbWjcxkgE+H+d3SIN4aI2V6KPwvMcnDG2E\nX5jLuMDi0RibMN0u3UHFlqOSY9/ttz8kANNYU6qzMDzBtitqZZmvYaXyrjmb\n+VbL/wf0z84g8sB6lDRXJis9EZDLmy6u6L8iX1sCw1/DiirxHrXA+UpCR/FF\n061Z\r\n=+tBa\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCIeR49Mpm6lWKMfDf6Z7OvA3Br/ueqYqHBxoodtTAmBQIgFr+mNESibzQW+NkQ11pTE07pUc5ZuLe2tdYEyH+v4wI="}]},"_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-search-field_3.8.24-alpha-fix-deps-6232.1.2_1644438753099_0.7904539202471981"},"_hasShrinkwrap":false},"3.8.24":{"name":"@crave/farmblocks-search-field","version":"3.8.24","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.9","@crave/farmblocks-hoc-input":"^9.1.7","@crave/farmblocks-input-select":"^4.0.20","@crave/farmblocks-input-text":"^5.1.14","@crave/farmblocks-theme":"^1.12.4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.11","@crave/farmblocks-text":"^3.6.11"},"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"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.24","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-FmBSN0hLCyOS7S/8A7+OE4MrW+BJlQjNwPM15lMUjG2+1RDm85+asYg510E+8KaOE3WStxg6cQPD4CHULo61dw==","shasum":"5d186bf0e67b0b313799357432cbb0620a9898ec","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.24.tgz","fileCount":10,"unpackedSize":22263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJiBSR6CRA9TVsSAnZWagAAfLcP/A782QG6iCpS5l2/l7Jw\nodhni7qzQh1umd6RG9igPNj2C+4ZTnwlp8lOHMNsuJtKD3nFz3EFE0n6Bz4H\nBqH4IkP7/G1pBXV/0xZWS1FrOB7AcTtWpQJdKT08zIj7VXzIivAW/JEJIJMD\n9akkINbw7vAXwUtYOapZs0C/Uztyj3SMlcSQ3hZ48mGdaW0aMomFtpXcYKpl\nwPu0PvLUQxU4W1bxW3LPxJ6sfpy+9tywJFDjy59NYQt6pDuGhfZ8j+tHYSUg\ns7JGvHzRFOUCS2Mz9k+2O7wcXHLbEgvkI6Mw2zRf/qU3ytqGuKJ6W6xV/VGf\nlugbGGGh0Fw1SzpQ2VHHa4WPWcdQgenoN8jlJ4Ps5/4hk2n0ntqlmkdUbZy6\nXNtMPUsVN4YMdOypvpn6gSf6naX5yNc5jrP0/1kY266B42D6wA+CUtV51/mO\nkVmyyXnF0ApEXowSvG1guU7bhQduReodIfwT5haEgc5N0+ZqE/vfpBv4EIXG\nRzC0qtPTxvyVcr3j5yhocCebVJ8OjKOWcjhdQBQVQkss3UzPh7EcVtUl4Oy/\nbVH7YN3Uwq7Rg0uzX0/jiGIQwMiQqtoocmn+15BrFq/CplCdixhkiqlRSosg\nRFc4ArdYP1v5DsYfZ8xgIH5ooH+QwigsDv6jt+t00pBFyoGID6App+JasELD\nvOel\r\n=RV7m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH618P4GIcnyogwbZfr/X1soPwzA33j8lR6bcJgl0RYqAiAEUzQBC6o8bnkM35oa8cMQemCwXGoJIJUAd4Nh0fml2Q=="}]},"_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-search-field_3.8.24_1644504186148_0.7927120854229339"},"_hasShrinkwrap":false},"3.8.25-alpha-test-rr-6243.1.0":{"name":"@crave/farmblocks-search-field","version":"3.8.25-alpha-test-rr-6243.1.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.9","@crave/farmblocks-hoc-input":"^9.1.7","@crave/farmblocks-input-select":"^4.0.21-alpha-test-rr-6243.1.0+0e09d8de","@crave/farmblocks-input-text":"^5.1.14","@crave/farmblocks-theme":"^1.12.4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.11","@crave/farmblocks-text":"^3.6.11"},"gitHead":"0e09d8deec08e362409eaa3a6dbcdd0485de328e","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.25-alpha-test-rr-6243.1.0","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-HQJTBg1Jn/7pfAV0qcGBrKMvnYQytQjmoKmzSd0BwgY+HTRAp51ZZwezxrmA0tW16dDa2aL8JlrPuiUeWlXopQ==","shasum":"ab98c041049d5bb4f7cd98f48c66d7682b852cff","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.25-alpha-test-rr-6243.1.0.tgz","fileCount":10,"unpackedSize":22327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKPNsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr6nhAAlxHOKZ439fGUHPiHs6+8OSUBHnUrZ6vr3U4fVp2PyrGLFJUg\r\nIj0bMstZNb6fS7XtsslnnRUOjJATqfS3CufJF/qVAkDHZduDdJs3AITp+HGx\r\n9T0YQfBqBwO9w40WQdelbozicQUtrFlu/MI4ktB5UaRU9Ta8hwpolu1W4Gmh\r\nbnWt43dr3mW1vQuJs8rbxa5hah6NkKnvL9GWucbYA/Wwi6nFvzB5ONXJO/B4\r\nCtFFFBXyDZtMqlC9I0oC15ZpD7jAugaKoxpVvn6EwTQBnVP/hU6SzYr9pyPl\r\nM9n8eUkXzoG8NyeRqUYFVUNY26d98ldNEdnw4mBr3moOwkfz5MD4X1sPATOy\r\n3aDZBvzz8jMhpV2ZLCx9XLr0uPCueu6mNbLPq0BAZxxD+bBbG7OoCj59npzF\r\nhQoX2gQcuugyEy0aU/nyFbVjIQI0D6ESzaBrh6vFecfbBKOvQOyoLTRDdWMV\r\n2FB3houDV63BpL2JmIE9xGoUq3lCw5ag+KyGDW4f54ufrOYfadyuBonHHAJ0\r\no+JeoR81h0shqHYEYYAspCasjf+pQL7Hi43CPVnN9e8Se2b0z5zRwjGYvbjy\r\noeWiCcDhZYI1xz0hlu4cjC0bF7IDhuwT46xO8VYJuR+B5+zpnfZpSOWJK4yj\r\nhvNT7JrHqWRw6VBlic8JOQg+AZS1Tq2D4iY=\r\n=0w37\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIC3QfeoKKWdtVOEHFu4x9PVmHCmGla6MqjP7yNMo/ZLOAiEAmwGJtVJuoQJd4VlCbmnhrPeSgnXa37a3sr/9uJuhi4g="}]},"_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-search-field_3.8.25-alpha-test-rr-6243.1.0_1646850924321_0.5924111193957462"},"_hasShrinkwrap":false},"3.8.25-alpha-test-rr-6245.1.0":{"name":"@crave/farmblocks-search-field","version":"3.8.25-alpha-test-rr-6245.1.0","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.9","@crave/farmblocks-hoc-input":"^9.1.7","@crave/farmblocks-input-select":"^4.0.21-alpha-test-rr-6245.1.0+51aaf57b","@crave/farmblocks-input-text":"^5.1.14","@crave/farmblocks-theme":"^1.12.4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.11","@crave/farmblocks-text":"^3.6.11"},"gitHead":"51aaf57bd5bbf1244c9855e7655f7f76dddb6aa6","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md","_id":"@crave/farmblocks-search-field@3.8.25-alpha-test-rr-6245.1.0","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-HVP8PoELkeATPGtcw7pRkT18Wn/w5rPJESyZKVz8ND4y4UXqBqoEFkYhB94WMcg+xXsFml0giRhxS/8omo0/3w==","shasum":"a6614a02c0888094d630a10054c2a10cf8cf5707","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.25-alpha-test-rr-6245.1.0.tgz","fileCount":10,"unpackedSize":22327,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKPdEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp4Bw//ffsHd7q/goQGGojNIXG3DboJFrKn17xvcyO10fdJlJGEpXFd\r\nMVW6cTOofxakb+y/ThjhvL8y/1Mb2cv35f7CKVh0mBAaCzPQgWrq5Jv+KKOo\r\n+1UJbWVjiQ8xlhpPJUD+rs6Yi5uM9nzVvU81udT42Cod4eUfnprm1wHdddm3\r\nyCFtNeapw8/jXIB/8rZi6/g0iOoePsuPcxMXYfMoAuyhtSzrtGa6KSWG6KtZ\r\nXVSj7BFZovMigRcBi2bu1Tw3pOAenTEbQpORJ8ObFCv70bU1MEwzK0Q5VPz8\r\neZvfOjw400F7LOMWgvsS80q48ZCWJ0M/IWzUvmlZNotmhhzHXBcyrsePCyD+\r\nVpZ3nYbsXO2HD65BOaJHkZHkmcq00A+iNxn1D57+HkLUXiuI1w8tUmbkzDEB\r\nKAT2Y4EAZCWW26EaNd63QPXfe64o+pwNNNFwAVVXoWE7gARj+YconoTnp55I\r\nLeGx1oPRiaS6wgoRQgfILqCXKS+bVdEnf2hkfQx33EEHn4nuMwQAU1Ls2yd3\r\n9FRByxB71qmff6DzRC8OEoFGHzO7/acTu/FXe3DOgniPvZRPM6Bwc2J+WSBN\r\n9h1T3/UP53QzBgCbp+olZePHiQUqmIYL6DD78tVKu7FKTSJtllFSuOcNCBdc\r\nWD5gATlGjJdC6gr0nruIZ8S8HsE7Nb0sxjI=\r\n=Zc/b\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJYJu8njlq6PrR5GV8dMW4s6BmnEOK9XV+cbIqhQMmtAiEAjXg+P8SxBRe1MqnAfbTFVT2NrghuvluG46ZWWECfvdk="}]},"_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-search-field_3.8.25-alpha-test-rr-6245.1.0_1646851907844_0.11451570322134108"},"_hasShrinkwrap":false},"3.8.25":{"name":"@crave/farmblocks-search-field","version":"3.8.25","description":"Search input with results dropdown list","author":{"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":["farmblocks","react","search","input"],"peerDependencies":{"prop-types":"^15.8.0","react":"^17.0.2","styled-components":"^5.3.3"},"dependencies":{"@crave/farmblocks-dropdown":"^3.3.9","@crave/farmblocks-hoc-input":"^9.1.7","@crave/farmblocks-input-select":"^4.0.21","@crave/farmblocks-input-text":"^5.1.14","@crave/farmblocks-theme":"^1.12.4","lodash.debounce":"^4.0.8","lodash.isequal":"^4.5.0"},"devDependencies":{"@crave/farmblocks-link":"^6.0.11","@crave/farmblocks-text":"^3.6.11"},"gitHead":"6cb8d234c2bd66c0d1d00fed827a074ceda0b19e","contributors":[{"name":"Crave Food Systems:"},{"email":"https://github.com/CraveFood"},{"name":"Authors:"},{"name":"André L. C. Ferreira","email":"alcf.2099@gmail.com"},{"name":"Fabricio C Zuardi","email":"fabricio@fabricio.org"},{"name":"Felipe Gameiro","email":"fgameiro"},{"name":"Victor Pinho","email":"vitorpinho376"},{"name":"Vinicius Nakamura","email":"vNakamura"},{"name":"Sammer Soares","email":"samm3r"}],"_id":"@crave/farmblocks-search-field@3.8.25","_nodeVersion":"16.13.1","_npmVersion":"lerna/4.0.0/node@v16.13.1+x64 (linux)","dist":{"integrity":"sha512-zJ7fjfDvxCtzbuiWm5yT+Qdj9zLVcS6PYiRhXxjNxrEBpB7Lptjm9TL8vIrNvQXgB8sf5I9zAxQryvngFQ+fZg==","shasum":"476e4e1f3f4f3653ab91d37af9e562f6b20b669b","tarball":"https://registry.npmjs.org/@crave/farmblocks-search-field/-/farmblocks-search-field-3.8.25.tgz","fileCount":10,"unpackedSize":22263,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiKPlXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr8ug/+L1sZlvqyiYSezwqOof8OmMPY7ALiQn7X8oAVEnRpeN/rqX3e\r\nSV0lUChwSShFgpraMHHuWNpKzv3nDfYxDOiNs2KzZlPFvDHd//loBuDSqab7\r\noYBJ6x2Y8yvVj689FR2XSS3aTQo0CFy74f+dLM08xDjSbtDOoa3K5z/U/8p7\r\nGz5h433Flhh8w+QCRrCoYkDO3ylxaa5wswCHvNRCK/fiWFbKpYISgmO5B5/Q\r\ndOVvhnuZaq6VpVrV6mG7UyKUG6kiBqYmhQc9nxI+3Jh5MZqSpqPsoir7cEK9\r\nWc/z/ceQGHyHlooY0xQezHSdlv73zcds/ZTsqJU0cbigUIN1ajgmn8tHWPpC\r\nisu/25Cg4u4+rxJtA6BM7/hKKjSXYVPI6kk62HsM1gn96qB9EjEhDTWl68/P\r\njWtYajoqjiAl5FMEaYH8o31XoVj253yGTpebBijcKljyT7fIY1hAF+q2p7hu\r\ngbo9zNbmRPpelsZsCOvXyE0LJciAgm0ab8z+nWBR+NCNdRi7SmzXb8dEuLrD\r\nvhcVM1wJu0yCWsAKsdgXYEFHbl8ofKHljxmeL/6hlVPlRYzMjGWhucJGUYtT\r\ntu4HQtbv5TZg/ZoT7WvAkeYf44dUjGpH2j/Ba5qFhSvxRJ9DMJgyIHez46OU\r\nMBAvmg1M74hioeWJfn39SypU+e8haBTte6M=\r\n=Ng1a\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCaDsBo1zU1rFcc4B5xjHZ5ORKoMeEdubsvpajk9YMIgwIgSzNK7PyGraMXZGbfcNgBARN/73ROlZLF2WJXqLK09+w="}]},"_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-search-field_3.8.25_1646852439081_0.20770694710741955"},"_hasShrinkwrap":false}},"time":{"created":"2018-05-30T19:22:51.625Z","0.2.0-alpha.65bc7857":"2018-05-30T19:22:51.933Z","modified":"2022-06-12T16:45:01.734Z","0.2.0-alpha.f00009ac":"2018-05-31T19:13:19.344Z","0.2.0-alpha.352eb4bc":"2018-05-31T22:37:34.686Z","0.2.0-alpha.8411929c":"2018-06-01T12:39:54.029Z","0.2.0-alpha.e2e9b18f":"2018-06-01T13:24:04.676Z","0.2.0-alpha.5c70846a":"2018-06-01T15:04:08.352Z","0.2.0-alpha.7831b2c5":"2018-06-04T16:06:17.164Z","0.2.0-alpha.7201583d":"2018-06-04T16:41:55.814Z","0.2.0-alpha.8b612f58":"2018-06-04T21:13:11.427Z","0.2.0-alpha.0d62d4d0":"2018-06-06T01:15:13.357Z","0.2.0-alpha.8675d26f":"2018-06-06T13:02:45.539Z","0.2.0-alpha.1660e930":"2018-06-06T15:43:49.536Z","0.2.0-alpha.b47b1f3a":"2018-06-06T18:39:26.533Z","0.2.0-alpha.0d24ee07":"2018-06-06T21:01:26.495Z","0.2.0-alpha.eded803b":"2018-06-06T21:41:32.336Z","0.2.0-alpha.950ba985":"2018-06-07T00:09:38.217Z","0.2.0-alpha.78eaebdb":"2018-06-07T00:25:41.731Z","0.2.0-alpha.9afde923":"2018-06-07T13:17:06.559Z","0.2.0-alpha.03c69cf0":"2018-06-07T17:55:55.896Z","0.2.0-alpha.a433646b":"2018-06-07T20:34:13.146Z","0.2.0-alpha.bb4b64fd":"2018-06-08T13:22:10.966Z","0.2.0":"2018-06-08T14:29:06.987Z","0.3.0-alpha.d8773cb2":"2018-06-08T15:00:59.862Z","0.3.0-alpha.448da3a5":"2018-06-11T12:53:35.712Z","0.3.0-alpha.6fef9195":"2018-06-11T16:45:57.149Z","0.2.1":"2018-06-11T17:33:21.213Z","0.3.0-alpha.3684de82":"2018-06-11T20:37:20.150Z","0.3.0-alpha.6d5b7b13":"2018-06-12T12:48:02.579Z","0.3.0-alpha.ded52547":"2018-06-12T14:03:38.843Z","0.3.0-alpha.af7cb427":"2018-06-12T18:02:59.554Z","1.0.0":"2018-06-12T18:39:46.501Z","1.1.0-alpha.db16d392":"2018-06-12T18:58:20.880Z","1.1.0-alpha.26aa4e30":"2018-06-12T19:35:49.523Z","1.0.1":"2018-06-12T20:24:37.179Z","1.1.0-alpha.9ee3ced1":"2018-06-14T12:56:04.028Z","1.1.0-alpha.ad61a982":"2018-06-14T13:00:03.122Z","1.1.0-alpha.ea5a0d58":"2018-06-14T13:42:44.485Z","1.1.0-alpha.7d3f778a":"2018-06-15T05:17:32.793Z","1.1.0-alpha.21f71177":"2018-06-15T14:07:37.163Z","1.1.0-alpha.29be50c6":"2018-06-15T16:30:58.806Z","1.1.0-alpha.e0ff2bff":"2018-06-15T20:23:17.049Z","1.1.0-alpha.90dae1af":"2018-06-15T20:30:18.032Z","1.1.0-alpha.9f1e5d50":"2018-06-15T20:58:33.897Z","1.1.0-alpha.f9c280fc":"2018-06-15T22:50:32.166Z","1.1.0-alpha.25243305":"2018-06-18T14:11:22.329Z","1.1.0-alpha.b69f29ae":"2018-06-18T14:33:48.273Z","1.1.0-alpha.ce9d680a":"2018-06-18T14:51:00.028Z","1.1.0-alpha.8d708914":"2018-06-18T14:52:24.643Z","1.1.0-alpha.d9684102":"2018-06-18T14:56:08.278Z","1.1.0-alpha.b60cce82":"2018-06-18T15:03:26.643Z","1.1.0-alpha.482ea003":"2018-06-18T16:53:58.837Z","1.1.0-alpha.e490da08":"2018-06-18T20:00:59.606Z","1.0.2":"2018-06-18T20:30:31.914Z","1.1.0-alpha.012bbd65":"2018-06-18T20:48:46.271Z","1.1.0-alpha.d196f55d":"2018-06-18T21:07:45.509Z","1.1.0-alpha.4dceb2e5":"2018-06-18T21:08:02.131Z","1.0.3":"2018-06-18T21:15:28.392Z","1.1.0-alpha.df743bb5":"2018-06-19T16:27:42.185Z","1.1.0-alpha.0f95a3f8":"2018-06-19T16:39:19.318Z","1.1.0-alpha.093723bd":"2018-06-19T17:03:09.809Z","1.1.0-alpha.029d6be5":"2018-06-19T17:15:22.825Z","1.1.0-alpha.d5b210b1":"2018-06-19T17:16:35.315Z","1.1.0-alpha.d601a802":"2018-06-19T17:25:44.522Z","1.1.0-alpha.87d58a89":"2018-06-19T17:26:02.644Z","1.1.0-alpha.1347baf4":"2018-06-19T17:28:53.829Z","1.1.0-alpha.7833baa8":"2018-06-19T17:34:43.361Z","1.1.0-alpha.c05cea18":"2018-06-19T17:42:45.578Z","1.1.0-alpha.854b6ab4":"2018-06-19T18:38:28.047Z","1.0.4":"2018-06-19T18:56:57.362Z","1.1.0-alpha.b050c5d5":"2018-06-19T21:17:16.008Z","1.1.0-alpha.718793ee":"2018-06-20T12:45:46.128Z","1.1.0-alpha.5d1d8c42":"2018-06-20T12:55:31.127Z","1.1.0-alpha.d943481c":"2018-06-20T15:22:48.240Z","1.1.0-alpha.f2eecb53":"2018-06-20T15:54:31.366Z","1.1.0-alpha.7ef110eb":"2018-06-20T18:04:28.717Z","1.1.0-alpha.ca4facf5":"2018-06-20T18:32:53.982Z","1.1.0-alpha.b04e33fa":"2018-06-20T19:17:21.110Z","1.1.0-alpha.0eb796b2":"2018-06-20T19:21:08.823Z","1.1.0-alpha.c04ef9f7":"2018-06-20T19:24:38.298Z","1.1.0-alpha.0058fd7f":"2018-06-21T18:51:25.717Z","1.1.0-alpha.613ea2eb":"2018-06-21T20:40:56.030Z","1.1.0-alpha.bb7177a5":"2018-06-21T20:56:11.074Z","1.1.0-alpha.8d320877":"2018-06-21T21:14:20.469Z","1.1.0-alpha.02d0d009":"2018-06-22T14:13:04.449Z","1.1.0-alpha.dff13e4b":"2018-06-22T14:15:22.023Z","1.1.0-alpha.7a7e55de":"2018-06-22T14:48:45.261Z","1.1.0-alpha.21d19d43":"2018-06-22T14:52:46.837Z","1.0.5":"2018-06-22T15:04:18.550Z","1.1.0-alpha.9b3b0b90":"2018-06-22T17:34:00.522Z","1.1.0-alpha.2b5ec8e7":"2018-06-23T05:20:31.108Z","1.0.6":"2018-06-25T14:01:16.084Z","1.1.0-alpha.e8e2fb99":"2018-06-26T05:36:10.338Z","1.1.0-alpha.9246a390":"2018-06-26T17:32:04.135Z","1.1.0-alpha.6e5fa181":"2018-06-26T18:04:32.439Z","1.1.0-alpha.11f9c2a1":"2018-06-27T11:57:00.327Z","1.1.0-alpha.1d876ca9":"2018-06-27T16:41:18.761Z","1.1.0-alpha.df1c343b":"2018-06-29T18:36:02.954Z","1.1.0-alpha.74ad35dd":"2018-07-02T13:17:34.589Z","1.1.0-alpha.3c7edc88":"2018-07-02T13:38:45.366Z","1.1.0-alpha.bd6ffcf1":"2018-07-03T13:04:00.010Z","1.1.0-alpha.77ca0056":"2018-07-03T14:22:31.194Z","1.1.0-alpha.39aa4417":"2018-07-03T16:23:15.834Z","1.1.0-alpha.eb30fee0":"2018-07-03T18:05:19.059Z","1.1.0-alpha.079f6b9c":"2018-07-03T20:24:26.708Z","1.0.7":"2018-07-03T20:31:50.448Z","1.1.0-alpha.de23b86a":"2018-07-04T13:15:14.113Z","1.1.0-alpha.5bb97164":"2018-07-04T13:51:22.304Z","1.1.0-alpha.99a95534":"2018-07-04T14:18:34.344Z","1.1.0-alpha.e5322957":"2018-07-04T18:58:05.220Z","1.1.0-alpha.a7600068":"2018-07-05T17:06:38.441Z","1.0.8":"2018-07-05T17:35:43.559Z","1.1.0-alpha.e56998d6":"2018-07-05T19:58:34.788Z","1.1.0-alpha.89d940a2":"2018-07-05T21:26:17.509Z","1.1.0-alpha.51ddcf2b":"2018-07-05T22:00:05.773Z","1.0.9":"2018-07-06T17:41:01.203Z","1.1.0-alpha.a87779f4":"2018-07-09T12:17:02.667Z","1.1.0-alpha.aae05c34":"2018-07-09T12:37:43.555Z","1.1.0-alpha.b17918e5":"2018-07-09T13:20:00.934Z","1.1.0-alpha.f38f1aff":"2018-07-09T16:22:13.009Z","1.1.0-alpha.abcc3683":"2018-07-09T17:04:54.732Z","1.1.0-alpha.81056d4b":"2018-07-09T18:41:17.927Z","1.1.0-alpha.0c6db6ab":"2018-07-09T18:46:57.762Z","1.1.0-alpha.42dad151":"2018-07-09T18:56:09.672Z","1.0.10":"2018-07-09T19:07:07.536Z","1.1.0-alpha.dd4f6898":"2018-07-09T19:17:31.981Z","1.1.0-alpha.96699fca":"2018-07-09T19:40:22.141Z","1.1.0-alpha.77fe25ee":"2018-07-09T19:55:52.193Z","1.1.0-alpha.a113fe90":"2018-07-09T20:14:12.183Z","1.1.0-alpha.72fd5f91":"2018-07-09T22:13:02.434Z","1.1.0-alpha.1a9e55bf":"2018-07-10T17:20:29.614Z","1.1.0-alpha.81f8625d":"2018-07-10T17:48:57.159Z","1.1.0-alpha.2a5219c2":"2018-07-10T18:39:44.678Z","1.1.0-alpha.07e93964":"2018-07-10T19:01:54.512Z","1.0.11":"2018-07-10T19:12:52.939Z","1.1.0-alpha.870fb257":"2018-07-11T14:57:24.761Z","1.0.12":"2018-07-11T19:05:06.773Z","1.1.0-alpha.0c8ff882":"2018-07-11T21:20:54.652Z","1.1.0-alpha.4b14c449":"2018-07-11T21:32:23.562Z","1.1.0-alpha.0b75e71e":"2018-07-12T12:21:55.730Z","1.1.0-alpha.47583025":"2018-07-12T13:04:46.549Z","1.1.0-alpha.f8dae37d":"2018-07-12T13:30:59.466Z","1.1.0-alpha.66f021e1":"2018-07-12T13:41:36.577Z","1.1.0-alpha.96daaacc":"2018-07-12T13:54:37.747Z","1.0.13":"2018-07-12T14:14:43.587Z","1.1.0-alpha.14426014":"2018-07-12T15:07:08.074Z","1.1.0-alpha.a3feb48e":"2018-07-12T15:10:43.592Z","1.1.0-alpha.09982a08":"2018-07-13T19:16:59.096Z","1.1.0-alpha.e2104edc":"2018-07-16T12:53:50.939Z","1.1.0-alpha.fe2d60bf":"2018-07-16T14:38:48.157Z","1.1.0-alpha.d249c1a8":"2018-07-16T14:40:02.805Z","1.1.0-alpha.fe687acf":"2018-07-17T09:33:26.146Z","1.1.0-alpha.f2bf40a9":"2018-07-17T13:19:57.382Z","1.1.0-alpha.2372b0d4":"2018-07-18T13:20:14.673Z","1.0.14":"2018-07-18T13:31:14.238Z","1.1.0-alpha.3541e4fb":"2018-07-18T18:46:09.285Z","1.1.0-alpha.20185dbd":"2018-07-19T14:41:45.071Z","1.1.0-alpha.30efe03d":"2018-07-19T14:41:48.604Z","1.1.0-alpha.792d3ae8":"2018-07-19T14:55:49.642Z","1.0.15":"2018-07-19T16:34:33.559Z","1.1.0-alpha.7cec0a98":"2018-07-19T19:15:41.829Z","1.1.0-alpha.35dc97e0":"2018-07-19T19:39:41.070Z","1.1.0-alpha.ebbbcf26":"2018-07-19T20:04:19.929Z","1.0.16":"2018-07-19T21:15:41.904Z","1.1.0-alpha.9d0d7e53":"2018-07-20T19:34:14.925Z","1.1.0-alpha.516f662e":"2018-07-20T19:37:14.983Z","1.1.0-alpha.56e0f23b":"2018-07-20T19:54:13.130Z","1.0.17":"2018-07-20T20:06:09.212Z","1.1.0-alpha.f4e9d2ac":"2018-07-23T16:48:09.910Z","1.1.0-alpha.3f9920d9":"2018-07-23T16:48:51.878Z","1.1.0-alpha.79069917":"2018-07-23T18:07:30.493Z","1.1.0-alpha.9b6c1b4b":"2018-07-24T17:01:38.128Z","1.1.0-alpha.e1c0bdcf":"2018-07-24T17:49:05.765Z","1.1.0-alpha.3f3ee76e":"2018-07-25T17:11:54.997Z","1.1.0":"2018-07-25T18:03:00.611Z","1.1.0-alpha.d630b7b8":"2018-07-25T18:33:51.923Z","1.2.0-alpha.ed74dcbe":"2018-07-26T14:12:50.089Z","1.1.1":"2018-07-26T14:21:28.911Z","1.2.0-alpha.2004c2dc":"2018-07-27T15:02:51.639Z","1.2.0-alpha.6fd496d9":"2018-07-27T16:46:13.867Z","1.2.0-alpha.486490f7":"2018-07-27T17:29:31.375Z","1.2.0-alpha.45ef571e":"2018-07-27T18:49:09.736Z","1.2.0-alpha.b8a9f699":"2018-07-27T19:32:50.288Z","1.1.2":"2018-07-27T19:43:16.840Z","1.2.0-alpha.dfb1be0a":"2018-07-30T12:27:19.208Z","1.2.0-alpha.eb72d5fa":"2018-07-30T15:20:18.066Z","1.2.0-alpha.f5442866":"2018-07-30T17:35:27.658Z","1.2.0-alpha.cdc02cd0":"2018-07-30T17:43:03.440Z","1.2.0-alpha.5d75fe6e":"2018-07-30T17:53:44.533Z","1.2.0-alpha.d136295c":"2018-07-30T18:02:43.751Z","1.2.0-alpha.de66eae0":"2018-07-30T18:13:05.501Z","1.2.0-alpha.c01d2a01":"2018-07-30T18:16:43.922Z","1.2.0-alpha.df7efd32":"2018-07-30T19:21:59.565Z","1.2.0-alpha.2adb9169":"2018-07-30T20:14:40.778Z","1.2.0-alpha.441ce3da":"2018-07-31T11:05:21.998Z","1.2.0-alpha.fe6f265a":"2018-07-31T12:36:13.953Z","1.2.0-alpha.844b6433":"2018-07-31T14:48:22.095Z","1.2.0-alpha.4c78655c":"2018-07-31T15:02:15.931Z","1.1.3":"2018-07-31T15:29:28.027Z","1.2.0-alpha.a59b42fe":"2018-07-31T17:28:55.633Z","1.2.0-alpha.636662c7":"2018-07-31T18:50:37.604Z","1.2.0-alpha.ac123961":"2018-08-01T14:36:56.125Z","1.1.4":"2018-08-01T14:48:36.586Z","1.2.0-alpha.4943f7ad":"2018-08-01T16:38:56.055Z","1.2.0-alpha.772ba812":"2018-08-01T17:08:01.741Z","1.1.5":"2018-08-01T17:28:48.369Z","1.2.0-alpha.55bb1643":"2018-08-01T20:04:10.694Z","1.2.0-alpha.2e464d84":"2018-08-02T14:43:18.302Z","1.2.0-alpha.3092ab63":"2018-08-02T17:22:04.274Z","1.2.0-alpha.59c7c498":"2018-08-02T18:59:16.485Z","1.2.0-alpha.503f836d":"2018-08-02T19:50:52.792Z","1.2.0-alpha.c8332a96":"2018-08-03T14:57:49.509Z","1.2.0-alpha.9514bd68":"2018-08-06T14:06:34.816Z","1.2.0-alpha.b1889383":"2018-08-06T14:35:58.336Z","1.2.0-alpha.687832ed":"2018-08-06T14:43:27.847Z","1.2.0-alpha.745374bc":"2018-08-06T15:09:25.038Z","1.2.0-alpha.24cc888a":"2018-08-06T15:40:09.218Z","1.2.0-alpha.4c30fc1a":"2018-08-07T13:18:13.883Z","1.2.0-alpha.962986be":"2018-08-07T13:48:42.152Z","1.2.0-alpha.3e9b5800":"2018-08-07T14:17:43.209Z","1.2.0-alpha.c37d23f5":"2018-08-07T18:28:19.535Z","1.1.7":"2018-08-08T11:45:15.913Z","1.2.0-alpha.0fa47d1a":"2018-08-08T17:30:39.296Z","1.2.0-alpha.c1e15ae3":"2018-08-08T17:44:04.390Z","1.1.8":"2018-08-08T17:59:04.620Z","1.2.0-alpha.7dbd9ce9":"2018-08-08T18:03:43.391Z","1.2.0-alpha.e4fd0805":"2018-08-09T19:10:45.901Z","1.2.0-alpha.a2c264b8":"2018-08-09T19:11:51.318Z","1.2.0-alpha.15cd07ff":"2018-08-09T19:35:17.778Z","1.2.0-alpha.b6d6e7a3":"2018-08-09T19:44:04.691Z","1.1.9":"2018-08-09T19:51:49.020Z","1.2.0-alpha.6d678c53":"2018-08-09T20:36:48.305Z","1.2.0-alpha.375ccaf3":"2018-08-10T12:56:57.887Z","1.2.0-alpha.ea8890b8":"2018-08-10T13:51:38.935Z","1.2.0-alpha.43b297de":"2018-08-10T17:40:33.456Z","1.2.0-alpha.d6d6ede1":"2018-08-10T19:57:05.780Z","1.2.0-alpha.6191ce51":"2018-08-11T05:23:29.276Z","1.2.0-alpha.f78c9fb1":"2018-08-11T05:25:03.274Z","1.2.0-alpha.a4bc3eeb":"2018-08-11T11:38:04.099Z","1.2.0-alpha.588b3262":"2018-08-13T13:27:24.420Z","1.2.0-alpha.44455819":"2018-08-13T13:57:30.968Z","1.2.0-alpha.42ef722b":"2018-08-13T14:04:00.055Z","1.2.0-alpha.b5edc8a9":"2018-08-13T17:17:20.743Z","1.2.0-alpha.7842815b":"2018-08-13T17:41:49.543Z","1.2.0-alpha.fa4c9db5":"2018-08-13T18:10:28.475Z","1.2.0-alpha.72fd3088":"2018-08-13T19:18:03.012Z","1.2.0-alpha.bc38dc6e":"2018-08-13T19:53:23.397Z","1.2.0-alpha.f2d16cfb":"2018-08-13T21:21:39.042Z","1.2.0-alpha.3b6a29ec":"2018-08-13T21:56:04.920Z","1.1.10":"2018-08-13T22:08:02.711Z","1.2.0-alpha.5f64fe94":"2018-08-14T11:49:07.521Z","1.2.0-alpha.6dd0a593":"2018-08-14T11:59:38.435Z","1.2.0-alpha.75675ae6":"2018-08-14T14:06:04.322Z","1.2.0-alpha.c9f160dc":"2018-08-14T14:15:59.076Z","1.1.11":"2018-08-14T14:16:09.068Z","1.2.0-alpha.afd12c34":"2018-08-14T15:37:58.156Z","1.1.12":"2018-08-14T17:54:18.743Z","1.2.0-alpha.b913f91e":"2018-08-15T02:14:00.546Z","1.2.0-alpha.b89848e2":"2018-08-15T13:50:07.036Z","1.2.0-alpha.5d972c8b":"2018-08-15T13:53:16.568Z","1.2.0-alpha.6e3e5000":"2018-08-15T14:18:24.281Z","1.2.0-alpha.1cf66a07":"2018-08-15T15:52:20.782Z","1.1.13":"2018-08-15T16:25:49.766Z","1.2.0-alpha.42615b45":"2018-08-16T13:39:14.833Z","1.2.0-alpha.236ddf5f":"2018-08-16T14:30:11.589Z","1.2.0-alpha.252f9b38":"2018-08-16T14:43:27.416Z","1.2.0-alpha.17f7e81c":"2018-08-16T15:54:05.529Z","1.2.0-alpha.dc1e82dd":"2018-08-16T19:31:29.296Z","1.2.0-alpha.0f2a575f":"2018-08-16T19:38:51.577Z","1.1.14":"2018-08-16T19:39:26.741Z","1.2.0-alpha.c5a38e0b":"2018-08-16T19:39:42.260Z","1.2.0-alpha.c7186ac9":"2018-08-16T19:49:13.866Z","1.2.0-alpha.127dd9b7":"2018-08-16T20:31:57.444Z","1.2.0-alpha.2463a497":"2018-08-17T18:04:01.777Z","1.2.0-alpha.d6ee3182":"2018-08-17T18:25:47.195Z","1.2.0-alpha.7a26eb24":"2018-08-17T21:52:57.527Z","1.2.0-alpha.de257c32":"2018-08-17T23:41:18.913Z","1.2.0-alpha.78cf3adb":"2018-08-19T15:17:54.354Z","1.2.0-alpha.f6d76111":"2018-08-20T14:00:41.300Z","1.2.0-alpha.7313f6df":"2018-08-20T20:59:48.365Z","1.1.15":"2018-08-22T12:20:11.171Z","1.2.0-alpha.c7dd8ba3":"2018-08-24T19:25:58.938Z","1.2.0-alpha.961cefdb":"2018-08-24T19:45:14.530Z","1.2.0-alpha.1841f038":"2018-08-25T09:14:20.921Z","1.2.0-alpha.7f8dd094":"2018-08-25T16:29:20.691Z","1.2.0-alpha.fbca7606":"2018-08-25T17:00:38.308Z","1.2.0-alpha.c31e4564":"2018-08-28T18:37:33.572Z","1.2.0-alpha.95bfea5e":"2018-08-28T18:57:16.364Z","1.2.0-alpha.88621341":"2018-08-28T19:16:20.920Z","1.2.0-alpha.26813bdd":"2018-08-29T00:29:24.850Z","1.2.0-alpha.5db3f5c0":"2018-08-29T04:32:17.552Z","1.2.0-alpha.14e363d1":"2018-08-29T04:33:45.307Z","1.2.0-alpha.eac53cf0":"2018-08-29T06:37:28.101Z","1.2.0-alpha.5a143753":"2018-08-30T11:06:26.482Z","1.2.0-alpha.cabd3e20":"2018-08-30T11:58:25.683Z","1.2.0-alpha.2e583664":"2018-08-31T01:19:31.924Z","1.2.0-alpha.0f1a7669":"2018-09-04T08:06:16.974Z","1.2.0-alpha.8de4581e":"2018-09-04T16:45:02.248Z","1.2.0-alpha.89fea527":"2018-09-05T22:01:14.029Z","1.2.0-alpha.4222e148":"2018-09-05T23:53:01.800Z","1.2.0-alpha.029d6c67":"2018-09-06T14:34:58.149Z","1.2.0-alpha.62b8dd7a":"2018-09-06T14:54:30.272Z","1.2.0-alpha.83e3ee86":"2018-09-06T14:55:23.233Z","1.2.0-alpha.a3bb9044":"2018-09-06T17:58:00.385Z","1.2.0-alpha.e665f260":"2018-09-06T18:11:22.986Z","1.1.16":"2018-09-06T18:45:25.142Z","1.2.0-alpha.137006ec":"2018-09-10T15:54:45.475Z","1.2.0-alpha.16b39aef":"2018-09-10T16:08:55.648Z","1.2.0-alpha.ae5fc0ce":"2018-09-11T01:22:46.006Z","1.2.0-alpha.09d24d88":"2018-09-11T18:15:33.820Z","1.1.17":"2018-09-11T18:32:53.124Z","1.2.0-alpha.2405e027":"2018-09-12T18:09:32.268Z","1.2.0-alpha.3793cc42":"2018-09-12T19:21:05.508Z","1.2.0-alpha.de051be5":"2018-09-12T19:57:52.688Z","1.2.0-alpha.fe90344d":"2018-09-13T11:21:03.941Z","1.1.18-alpha.12":"2018-09-13T11:41:26.344Z","1.2.0-alpha.6aa76345":"2018-09-13T13:27:55.511Z","1.2.0-alpha.d4208acd":"2018-09-14T01:53:28.224Z","1.1.18":"2018-09-14T12:48:54.820Z","1.2.0-alpha.8902dba1":"2018-09-14T16:44:01.716Z","1.2.0-alpha.5d9f5cf3":"2018-09-14T16:54:38.786Z","1.1.19":"2018-09-17T12:47:44.915Z","1.2.0-alpha.e07c6875":"2018-09-17T14:11:46.334Z","1.2.0-alpha.6e0ea6b6":"2018-09-17T14:45:47.074Z","1.2.0-alpha.60aaa968":"2018-09-17T15:35:29.611Z","1.2.0-alpha.211a5123":"2018-09-17T17:22:35.693Z","1.1.20":"2018-09-17T18:14:17.625Z","1.2.0-alpha.8832807e":"2018-09-17T19:25:29.826Z","1.2.0-alpha.e150336e":"2018-09-17T19:36:12.926Z","1.1.21":"2018-09-17T19:58:52.640Z","1.2.0-alpha.227dccfa":"2018-09-17T22:14:21.338Z","1.2.0-alpha.ac0d405e":"2018-09-18T07:43:12.053Z","1.2.0-alpha.64a9a753":"2018-09-18T12:59:33.456Z","1.2.0-alpha.6728014e":"2018-09-18T17:00:30.218Z","1.2.0-alpha.90bddbe3":"2018-09-18T18:36:47.870Z","1.1.22":"2018-09-18T19:10:50.343Z","1.2.0-alpha.bbcc1ee1":"2018-09-18T19:29:44.635Z","1.2.0-alpha.9f432df4":"2018-09-18T20:14:47.724Z","1.2.0-alpha.065456dd":"2018-09-18T20:14:59.601Z","1.1.23":"2018-09-18T20:24:17.450Z","1.2.0-alpha.72d25e2a":"2018-09-18T20:24:55.056Z","1.2.0-alpha.158b4241":"2018-09-18T20:41:33.621Z","1.1.24":"2018-09-18T20:51:10.860Z","1.2.0-alpha.0e3b08f4":"2018-09-19T16:37:23.626Z","1.2.0-alpha.80c1f6e4":"2018-09-19T17:01:09.073Z","1.2.0-alpha.94718854":"2018-09-19T17:14:05.452Z","1.2.0-alpha.622effc8":"2018-09-19T17:18:43.533Z","1.2.0-alpha.c648df42":"2018-09-19T17:19:00.568Z","1.1.25":"2018-09-19T17:28:12.294Z","1.2.0-alpha.e3dd44ac":"2018-09-19T18:51:32.703Z","1.2.0-alpha.46069564":"2018-09-19T19:39:34.494Z","1.2.0-alpha.2df9def6":"2018-09-19T19:41:14.808Z","1.2.0-alpha.ab5b6155":"2018-09-19T20:41:02.946Z","1.2.0-alpha.bec2fd0e":"2018-09-19T22:35:20.919Z","1.1.26":"2018-09-20T13:03:15.471Z","1.2.0-alpha.3cf6efe9":"2018-09-20T13:13:53.598Z","1.2.0-alpha.95638ad0":"2018-09-20T13:15:54.910Z","1.2.0-alpha.24783ca3":"2018-09-20T13:28:40.269Z","1.1.27":"2018-09-20T13:29:07.386Z","1.2.0-alpha.9c01f451":"2018-09-20T13:37:41.499Z","1.2.0-alpha.92e5355c":"2018-09-20T14:22:56.877Z","1.1.28":"2018-09-20T14:35:04.026Z","1.2.0-alpha.bf051f96":"2018-09-20T17:04:31.820Z","1.2.0-alpha.be57b048":"2018-09-20T19:28:35.219Z","1.2.0-alpha.43c065f3":"2018-09-21T07:15:00.104Z","1.2.0-alpha.8f8356ad":"2018-09-21T08:02:19.128Z","1.2.0-alpha.2663735c":"2018-09-21T10:43:00.631Z","1.2.0-alpha.9cf256bc":"2018-09-21T15:10:33.469Z","1.2.0-alpha.ac49b8ee":"2018-09-22T10:30:03.413Z","1.2.0-alpha.e74f7f42":"2018-09-22T17:19:48.939Z","1.2.0-alpha.9b4bf866":"2018-09-24T16:21:41.579Z","1.1.29":"2018-09-24T17:25:11.514Z","1.2.0-alpha.e3d6e0ff":"2018-09-25T12:36:23.839Z","1.2.0-alpha.5e8d38fb":"2018-09-25T13:36:42.368Z","1.2.0-alpha.3676586d":"2018-09-25T13:58:10.980Z","1.2.0-alpha.797c8246":"2018-09-25T18:31:01.980Z","1.1.30":"2018-09-25T18:40:38.822Z","1.2.0-alpha.fc5d3caa":"2018-09-25T21:37:15.575Z","1.2.0-alpha.c5ec2d27":"2018-09-26T15:27:34.652Z","1.1.31":"2018-09-26T19:12:44.743Z","1.2.0-alpha.254e010a":"2018-09-27T13:54:47.128Z","1.2.0-alpha.1bbf0c65":"2018-09-27T14:44:22.938Z","1.2.0-alpha.fd8dfdd0":"2018-09-27T16:00:01.031Z","1.2.0-alpha.6d167141":"2018-09-27T17:42:57.345Z","1.2.0-alpha.6a6c41a6":"2018-09-27T19:56:26.172Z","1.2.0-alpha.7ece2af5":"2018-09-27T20:20:42.256Z","1.1.32":"2018-09-27T20:51:23.846Z","1.2.0-alpha.2fce455b":"2018-09-27T20:58:52.770Z","1.2.0-alpha.c3c09a55":"2018-09-28T12:04:48.158Z","1.2.0-alpha.8d9fd451":"2018-09-28T12:45:57.994Z","1.2.0-alpha.be9091ec":"2018-09-28T14:23:25.799Z","1.1.33":"2018-09-28T16:33:52.479Z","1.2.0-alpha.119a3a05":"2018-09-29T18:59:29.547Z","1.2.0-alpha.67b7f6f5":"2018-09-30T20:35:09.810Z","1.2.0-alpha.e97ece4e":"2018-10-01T14:51:44.170Z","1.2.0-alpha.7a7b512a":"2018-10-01T15:39:02.776Z","1.2.0-alpha.f222d9e6":"2018-10-02T15:50:42.868Z","1.2.0-alpha.2090b6ba":"2018-10-02T18:34:24.288Z","1.2.0-alpha.ad3732d7":"2018-10-03T09:03:08.313Z","1.2.0-alpha.93382e1f":"2018-10-03T12:18:28.893Z","1.2.0-alpha.99863187":"2018-10-03T13:29:21.395Z","1.1.34":"2018-10-03T13:47:14.703Z","1.2.0-alpha.f9ab7f2d":"2018-10-03T17:12:55.528Z","1.2.0-alpha.cf04abcb":"2018-10-04T06:10:24.172Z","1.2.0-alpha.babdc071":"2018-10-04T06:58:25.897Z","1.2.0-alpha.0ca4fd12":"2018-10-04T18:49:35.156Z","1.2.0-alpha.b3932f55":"2018-10-05T02:51:35.574Z","1.2.0-alpha.6e8d8c2f":"2018-10-05T06:49:04.413Z","1.2.0-alpha.7c0bf40a":"2018-10-05T14:39:33.739Z","1.2.0-alpha.94c320bb":"2018-10-05T15:00:21.722Z","1.2.0-alpha.cf41d36c":"2018-10-05T17:08:24.151Z","1.2.0-alpha.ac480af5":"2018-10-07T10:52:44.196Z","1.2.0-alpha.a2e99832":"2018-10-07T15:32:11.236Z","1.2.0-alpha.285d1383":"2018-10-08T14:56:12.666Z","1.2.0-alpha.dfeb3df4":"2018-10-08T15:30:57.977Z","1.2.0-alpha.248dc626":"2018-10-08T16:49:55.849Z","1.2.0-alpha.feb957a5":"2018-10-08T16:57:30.869Z","1.2.0-alpha.2efdf146":"2018-10-08T17:02:53.042Z","1.2.0-alpha.db1b6d06":"2018-10-08T17:07:17.163Z","1.2.0-alpha.40875abc":"2018-10-08T17:10:46.713Z","1.2.0-alpha.1e981bb7":"2018-10-08T17:17:49.304Z","1.2.0-alpha.8cd345a2":"2018-10-08T17:36:58.235Z","1.2.0-alpha.1142b206":"2018-10-08T17:40:35.313Z","1.2.0-alpha.62697e02":"2018-10-08T17:47:23.001Z","1.1.35":"2018-10-08T19:35:47.862Z","1.2.0-alpha.a0d35708":"2018-10-09T17:56:47.142Z","1.2.0-alpha.76a2b9de":"2018-10-09T21:14:04.231Z","1.2.0-alpha.d54af94d":"2018-10-10T19:11:04.476Z","1.2.0-alpha.4d72ad40":"2018-10-11T10:10:28.093Z","1.2.0-alpha.701dce11":"2018-10-11T14:58:52.088Z","1.2.0-alpha.cc2cda3f":"2018-10-11T15:53:12.321Z","1.2.0-alpha.2049ff74":"2018-10-11T16:24:04.104Z","1.2.0-alpha.b7ce398a":"2018-10-11T18:13:09.536Z","1.2.0-alpha.2c14db15":"2018-10-11T18:26:06.412Z","1.2.0-alpha.a7fe141c":"2018-10-12T05:55:55.000Z","1.2.0-alpha.0a17622b":"2018-10-14T11:07:21.960Z","1.2.0-alpha.3637f56f":"2018-10-14T18:20:32.852Z","1.2.0-alpha.4f6e5666":"2018-10-15T13:15:10.170Z","2.0.0":"2018-10-15T13:34:06.818Z","2.1.0-alpha.bc0bf3f6":"2018-10-15T13:46:20.750Z","2.1.0-alpha.629ac030":"2018-10-15T18:07:16.642Z","2.1.0-alpha.92c2d991":"2018-10-16T08:09:47.974Z","2.1.0-alpha.ee69673e":"2018-10-16T09:28:19.638Z","2.1.0-alpha.97f5a8ec":"2018-10-16T13:39:43.784Z","2.1.0-alpha.ed75aa2b":"2018-10-16T14:57:50.855Z","2.1.0-alpha.947af9de":"2018-10-16T17:45:50.887Z","2.1.0-alpha.9477c937":"2018-10-16T19:25:49.977Z","2.1.0-alpha.f419a6b4":"2018-10-16T20:04:55.158Z","2.1.0-alpha.0f4df0a5":"2018-10-16T20:30:00.227Z","1.2.0-alpha.b812d0a7":"2018-10-17T12:10:28.244Z","2.0.1":"2018-10-17T12:30:22.090Z","1.2.0-alpha.640632ef":"2018-10-17T13:17:49.438Z","1.2.0-alpha.bc4d036e":"2018-10-17T13:18:24.977Z","2.1.0-alpha.dbf7a74c":"2018-10-17T14:00:35.603Z","2.1.0-alpha.57e147b8":"2018-10-17T14:39:55.433Z","1.2.0-alpha.0cdfb5a7":"2018-10-17T16:38:18.544Z","1.2.0-alpha.72feb5f0":"2018-10-17T18:12:30.834Z","2.1.0-alpha.711f421a":"2018-10-17T18:24:48.856Z","2.1.0-alpha.034ee1e1":"2018-10-18T16:42:24.736Z","2.1.0-alpha.ac6e0707":"2018-10-18T23:22:03.263Z","2.1.0-alpha.4bdb7036":"2018-10-19T10:57:14.199Z","2.1.0-alpha.e2555a09":"2018-10-19T13:21:50.702Z","2.0.2":"2018-10-19T13:35:23.005Z","2.1.0-alpha.c2f8c5bb":"2018-10-19T13:38:57.076Z","2.1.0-alpha.bb47cd4b":"2018-10-19T13:54:23.817Z","2.1.0-alpha.c609372e":"2018-10-19T16:57:45.052Z","2.0.3":"2018-10-19T17:59:15.607Z","2.1.0-alpha.25fbfdbe":"2018-10-19T22:23:54.438Z","2.1.0-alpha.4685fddc":"2018-10-20T05:17:14.684Z","2.1.0-alpha.328cb768":"2018-10-21T13:12:24.972Z","2.1.0-alpha.1fc84f82":"2018-10-22T20:27:56.492Z","2.1.0-alpha.54e7fc6f":"2018-10-22T23:32:47.631Z","2.1.0-alpha.fbdc2ca3":"2018-10-23T10:17:01.033Z","2.1.0-alpha.08f4e1e1":"2018-10-23T12:53:48.447Z","2.0.4":"2018-10-23T13:13:30.506Z","2.1.0-alpha.9297da9f":"2018-10-23T13:32:46.750Z","2.1.0-alpha.c0ecea5d":"2018-10-23T13:43:13.840Z","2.0.5":"2018-10-23T13:56:04.615Z","2.1.0-alpha.75fb7265":"2018-10-24T00:37:09.344Z","2.1.0-alpha.413ab974":"2018-10-24T13:36:04.898Z","2.1.0-alpha.bb03e5a8":"2018-10-24T15:49:51.582Z","2.1.0-alpha.1ccb021e":"2018-10-24T16:23:34.147Z","2.1.0-alpha.9678cb5d":"2018-10-24T19:05:35.496Z","2.1.0-alpha.7036f1a7":"2018-10-24T19:10:15.433Z","2.1.0-alpha.8be62263":"2018-10-25T19:03:48.351Z","2.1.0-alpha.9f9ad290":"2018-10-25T19:11:58.008Z","2.1.0-alpha.b060fd51":"2018-10-25T20:37:06.508Z","2.1.0-alpha.e9d1e49a":"2018-10-26T13:46:54.372Z","2.1.0-alpha.70ff7bd3":"2018-10-26T14:18:42.994Z","2.0.6":"2018-10-26T16:38:52.499Z","2.1.0-alpha.ac36fe7c":"2018-10-26T17:05:12.093Z","2.1.0-alpha.64b91c22":"2018-10-26T17:32:51.710Z","2.0.7":"2018-10-26T18:36:12.482Z","2.1.0-alpha.884cbfbf":"2018-10-26T18:58:34.257Z","2.1.0-alpha.0af71f65":"2018-10-26T20:22:39.594Z","2.1.0-alpha.85335020":"2018-10-26T21:01:33.014Z","2.1.0-alpha.c4ed1a5a":"2018-10-27T22:50:21.631Z","2.1.0-alpha.f94d6eeb":"2018-10-29T12:43:36.235Z","3.0.0":"2018-10-29T13:00:31.807Z","3.1.0-alpha.ca72ed4a":"2018-10-29T13:09:13.412Z","3.1.0-alpha.cb49a83a":"2018-10-29T17:20:37.908Z","3.1.0-alpha.cbfce4cd":"2018-10-29T19:54:46.272Z","3.1.0-alpha.52cafd22":"2018-10-30T12:15:21.824Z","3.1.0-alpha.9053ee92":"2018-10-30T12:59:36.974Z","3.0.1":"2018-10-30T13:38:34.940Z","3.1.0-alpha.6a288aed":"2018-10-30T15:15:20.541Z","3.1.0-alpha.68975eb4":"2018-10-30T15:41:18.282Z","3.1.0-alpha.fb5f3b79":"2018-10-30T15:57:28.319Z","3.1.0-alpha.38e29579":"2018-10-30T17:15:09.959Z","3.0.2":"2018-10-30T17:26:13.871Z","3.1.0-alpha.412c9747":"2018-10-31T17:32:31.209Z","3.1.0-alpha.eef645a0":"2018-11-01T09:16:40.282Z","3.1.0-alpha.3292553c":"2018-11-01T16:23:56.205Z","3.1.0-alpha.5d5d840f":"2018-11-03T14:55:56.917Z","3.1.0-alpha.63619ba1":"2018-11-03T21:43:03.191Z","3.1.0-alpha.47d16c13":"2018-11-04T09:12:41.118Z","3.1.0-alpha.64dde1e2":"2018-11-04T10:00:49.101Z","3.1.0-alpha.c667a834":"2018-11-05T10:20:51.163Z","3.1.0-alpha.ccc56190":"2018-11-05T10:33:31.736Z","3.1.0-alpha.cb539665":"2018-11-05T13:27:43.035Z","3.1.0-alpha.ff6847aa":"2018-11-06T17:26:44.233Z","3.1.0-alpha.c0aa2f9a":"2018-11-06T18:07:49.274Z","3.1.0-alpha.875ee196":"2018-11-07T01:34:56.591Z","3.1.0-alpha.e97f538c":"2018-11-07T02:34:16.622Z","3.1.0-alpha.21e26729":"2018-11-07T03:07:43.273Z","3.1.0-alpha.21d9064f":"2018-11-07T04:25:56.893Z","3.1.0-alpha.a3be0ff6":"2018-11-07T06:44:11.784Z","3.1.0-alpha.a407fc3d":"2018-11-07T10:46:11.178Z","3.1.0-alpha.b9bb0fbf":"2018-11-07T12:16:09.451Z","3.1.0-alpha.0c3e89c7":"2018-11-07T15:34:41.009Z","3.1.0-alpha.9350a75e":"2018-11-07T15:36:44.174Z","2.1.0-alpha.3825471f":"2018-11-07T15:57:28.973Z","3.1.0-alpha.5af55816":"2018-11-07T16:05:31.467Z","3.1.0-alpha.8de25fab":"2018-11-07T16:08:54.673Z","3.1.0-alpha.e6e80ba7":"2018-11-07T16:31:48.102Z","3.1.0-alpha.07e9f012":"2018-11-07T17:47:18.883Z","3.1.0-alpha.1b289e6a":"2018-11-08T07:28:36.534Z","3.0.3":"2018-11-08T12:53:30.204Z","3.1.0-alpha.3dfab596":"2018-11-08T13:29:17.919Z","3.1.0-alpha.885812b6":"2018-11-08T15:16:41.680Z","3.1.0-alpha.d2eda2b5":"2018-11-08T18:53:42.199Z","3.0.4":"2018-11-08T19:04:06.595Z","3.1.0-alpha.eddde304":"2018-11-08T19:13:56.929Z","3.1.0-alpha.9bff8ddb":"2018-11-09T14:42:48.230Z","3.1.0-alpha.0251c33c":"2018-11-10T01:08:58.250Z","3.1.0-alpha.e1d3d9bd":"2018-11-10T11:50:10.734Z","3.1.0-alpha.43e2e3a4":"2018-11-10T17:38:34.887Z","3.1.0-alpha.6ae5d07a":"2018-11-10T22:17:31.579Z","3.1.0-alpha.e7c81443":"2018-11-11T08:59:28.843Z","3.1.0-alpha.3bc2b88c":"2018-11-11T11:25:45.979Z","3.0.5":"2018-11-12T11:48:46.675Z","3.1.0-alpha.aa3b4b88":"2018-11-12T17:43:41.986Z","3.1.0-alpha.83b4399c":"2018-11-12T23:40:43.252Z","3.1.0-alpha.fadcd199":"2018-11-13T05:27:51.645Z","3.1.0-alpha.6bf4f5bb":"2018-11-16T19:42:08.702Z","3.1.0-alpha.375d8a6c":"2018-11-18T06:17:59.701Z","3.1.0-alpha.e54fc096":"2018-11-19T17:30:34.333Z","3.1.0-alpha.f6da0219":"2018-11-20T09:11:58.755Z","3.0.6":"2018-11-21T11:23:30.860Z","3.1.0-alpha.6d6d14f7":"2018-11-21T11:31:08.525Z","3.1.0-alpha.6b2101dd":"2018-11-21T19:04:08.640Z","3.1.0-alpha.74cf6c51":"2018-11-22T18:42:49.817Z","3.1.0-alpha.c6940d9e":"2018-11-25T19:54:42.237Z","3.1.0-alpha.74f71aaa":"2018-11-27T13:54:13.209Z","3.1.0-alpha.b2965f0b":"2018-11-27T14:45:35.907Z","3.1.0-alpha.cdd34101":"2018-11-27T19:47:43.059Z","3.1.0-alpha.2f7f3058":"2018-11-28T12:04:35.806Z","3.1.0-alpha.8657e05c":"2018-11-28T16:25:10.453Z","3.1.0-alpha.dd5f7476":"2018-11-28T21:52:07.149Z","3.1.0-alpha.e5a3180f":"2018-11-28T22:04:59.045Z","3.1.0-alpha.d4c07955":"2018-11-29T12:54:26.775Z","3.1.0-alpha.e03c646f":"2018-11-29T14:13:27.655Z","3.0.7":"2018-11-29T15:53:21.024Z","3.1.0-alpha.a11b54b6":"2018-11-30T02:54:49.763Z","3.1.0-alpha.e7623c67":"2018-11-30T14:42:19.559Z","3.1.0-alpha.ee3ceaab":"2018-12-03T08:04:58.558Z","3.1.0-alpha.e87ed319":"2018-12-04T04:23:33.137Z","3.1.0-alpha.f6b6d992":"2018-12-04T10:33:33.993Z","3.1.0-alpha.5a5c4b6b":"2018-12-04T13:10:33.219Z","3.1.0-alpha.a6658924":"2018-12-04T14:19:53.204Z","3.1.0-alpha.f82fd6b4":"2018-12-05T13:51:34.746Z","3.1.0":"2018-12-05T15:32:46.109Z","3.2.0-alpha.a45fca8d":"2018-12-07T04:53:55.425Z","3.2.0-alpha.21ea3e28":"2018-12-07T04:57:13.560Z","3.2.0-alpha.95d46834":"2018-12-07T11:35:45.435Z","3.2.0-alpha.d8019062":"2018-12-10T12:02:55.109Z","3.2.0-alpha.cf417eeb":"2018-12-10T15:55:35.262Z","3.2.0-alpha.1c3402b5":"2018-12-10T19:41:45.743Z","3.1.1":"2018-12-12T14:06:40.113Z","3.2.0-alpha.6a8363d5":"2018-12-12T15:17:49.640Z","3.1.2":"2018-12-12T16:56:35.519Z","3.2.0-alpha.b2379f6d":"2018-12-13T14:02:55.644Z","3.1.3":"2018-12-14T14:10:07.584Z","3.2.0-alpha.ebe764b9":"2018-12-14T16:21:23.028Z","3.2.0-alpha.d9cb31b4":"2018-12-17T10:40:32.890Z","3.1.4":"2018-12-17T18:55:19.949Z","3.2.0-alpha.09169fcc":"2018-12-18T00:25:25.734Z","3.2.0-alpha.a3d90946":"2018-12-18T12:28:24.617Z","3.2.0-alpha.2496656c":"2018-12-18T18:08:53.849Z","3.2.0-alpha.8a98f83c":"2018-12-19T16:29:46.319Z","3.2.0-alpha.7325588e":"2018-12-20T03:34:34.672Z","3.2.0-alpha.4a16a3c2":"2018-12-20T15:46:18.190Z","3.2.0-alpha.b4f9d325":"2018-12-26T12:00:58.710Z","3.2.0-alpha.7c5cc223":"2018-12-26T13:26:43.295Z","3.2.0-alpha.198f2331":"2018-12-27T13:09:30.255Z","3.2.0-alpha.20dc0302":"2018-12-27T14:13:42.167Z","3.2.0-alpha.5ec96798":"2018-12-28T08:14:39.218Z","3.2.0-alpha.3152cff1":"2019-01-01T10:59:20.200Z","3.2.0-alpha.140e89fc":"2019-01-02T15:10:26.097Z","3.2.0-alpha.58cc129e":"2019-01-02T19:33:52.739Z","3.2.0-alpha.b06c364f":"2019-01-03T12:01:14.974Z","3.1.5":"2019-01-03T12:18:24.239Z","3.2.0-alpha.52295049":"2019-01-03T12:29:09.639Z","3.2.0-alpha.ce9dd01e":"2019-01-03T17:46:07.022Z","3.2.0-alpha.9eea1bd7":"2019-01-04T14:45:03.655Z","3.1.6-alpha.9":"2019-01-07T16:25:27.947Z","3.2.0-alpha.b56b7743":"2019-01-07T18:00:46.433Z","3.2.0-alpha.a89d5ae7":"2019-01-07T18:18:00.318Z","3.2.0-alpha.d20ca3cc":"2019-01-08T13:04:06.607Z","3.2.0-alpha.d17918c6":"2019-01-08T16:39:03.175Z","3.2.0-alpha.9772d56f":"2019-01-09T07:33:33.310Z","3.2.0-alpha.46063efc":"2019-01-09T07:50:59.327Z","3.2.0-alpha.e40864c2":"2019-01-09T08:30:07.519Z","3.1.6-alpha.3":"2019-01-11T13:03:11.554Z","3.2.0":"2019-01-14T18:46:44.505Z","3.2.1-alpha.5":"2019-01-28T18:23:05.467Z","3.2.1":"2019-01-29T16:06:18.847Z","3.2.2-alpha.6":"2019-02-12T11:53:37.524Z","3.2.2-alpha.7":"2019-02-12T14:36:21.123Z","3.2.2":"2019-02-13T11:35:12.815Z","3.2.3-alpha.1":"2019-02-13T11:52:18.166Z","3.3.0":"2019-02-18T17:22:16.511Z","3.3.1-alpha.1":"2019-02-18T20:17:37.246Z","3.3.1-alpha.4":"2019-02-22T15:21:36.820Z","3.3.1":"2019-02-22T17:00:48.614Z","3.3.2-alpha.2":"2019-02-22T17:56:11.272Z","3.3.2-alpha.1":"2019-02-25T12:57:56.786Z","3.3.2":"2019-02-25T14:03:01.373Z","3.3.3-alpha.4":"2019-02-27T13:53:17.384Z","3.3.3-alpha.40":"2019-03-06T11:25:46.569Z","3.3.3-alpha.43":"2019-03-06T13:12:55.450Z","3.3.3-alpha.47":"2019-03-06T14:21:30.722Z","3.3.3-alpha.49":"2019-03-06T16:00:22.780Z","3.3.3-alpha.16":"2019-03-06T19:58:31.087Z","3.3.3":"2019-03-07T13:46:57.340Z","3.3.4-alpha.0":"2019-03-07T13:57:11.192Z","3.3.4-alpha.26":"2019-03-08T16:15:46.082Z","3.3.4":"2019-03-08T17:38:33.270Z","3.3.5-alpha.1":"2019-03-08T18:40:57.722Z","3.3.5-setup-percy.8":"2019-03-13T18:06:01.291Z","3.3.5-4208.1.8":"2019-03-13T19:25:47.569Z","3.3.5-4209.1.8":"2019-03-13T19:26:03.715Z","3.3.5-4212.1.8":"2019-03-13T19:40:20.464Z","3.3.5-4211.1.8":"2019-03-13T19:40:36.960Z","3.3.5-alpha.9":"2019-03-15T12:32:54.618Z","3.3.5-alpha.11":"2019-03-15T21:38:59.122Z","3.3.5-alpha.15":"2019-03-18T14:05:09.675Z","3.3.5-alpha-percy-andre.13":"2019-03-18T21:10:41.926Z","3.3.5-alpha-percy-andre.14":"2019-03-19T12:22:12.281Z","3.3.5-alpha-multi-select.19":"2019-03-19T19:21:51.361Z","3.3.5-alpha-multi-select.20":"2019-03-19T19:22:10.263Z","3.3.5-alpha-multi-select.22":"2019-03-20T19:59:22.184Z","3.3.5-alpha-multi-select.25":"2019-03-21T17:24:06.235Z","3.3.5":"2019-03-21T17:37:33.913Z","3.3.6":"2019-03-25T18:03:25.793Z","3.3.7-alpha-fix-select-placeholder.6":"2019-03-28T14:38:55.496Z","3.3.7":"2019-03-28T17:51:51.351Z","3.3.8-alpha-storybook-images.2":"2019-04-01T18:26:12.525Z","3.3.8":"2019-04-03T13:52:41.597Z","3.3.9-alpha-form-wrapper-ids.7":"2019-04-08T19:58:11.631Z","3.3.9-alpha-invalid-prop.7":"2019-04-08T19:59:48.047Z","3.3.9-alpha-invalid-prop.9":"2019-04-09T13:39:41.641Z","3.3.9-alpha-invalid-prop.8":"2019-04-10T12:35:48.424Z","3.3.9":"2019-04-10T13:03:57.497Z","3.3.10-alpha-extendable.28":"2019-04-17T19:52:43.089Z","3.3.10-alpha-extendable.33":"2019-04-23T12:52:39.469Z","3.3.10-alpha-input-focus.2":"2019-04-23T14:17:09.018Z","3.3.10":"2019-04-24T12:21:02.391Z","3.3.11-alpha-extendable.28":"2019-04-25T12:57:42.274Z","3.4.0":"2019-04-25T13:17:52.722Z","3.4.1-alpha-modal-4596.1.25":"2019-05-28T20:07:12.332Z","3.4.1":"2019-05-31T13:46:21.057Z","3.4.2-alpha-modal-tweaks-4662.1.6":"2019-06-07T17:41:49.894Z","3.4.2":"2019-06-11T19:46:57.577Z","3.4.3-alpha-text-truncate-4709.1.4":"2019-06-19T13:34:45.457Z","3.4.3-alpha-text-truncate-4713.1.6":"2019-06-19T17:14:18.180Z","3.4.3-alpha-text-truncate-4715.1.6":"2019-06-19T17:32:13.750Z","3.4.3-alpha-text-truncate-4717.1.7":"2019-06-19T18:56:32.316Z","3.4.3":"2019-06-25T14:23:10.749Z","3.4.4-alpha-upd-deps-4809.1.19":"2019-07-05T18:09:51.976Z","3.4.4-alpha-upd-deps-4825.1.23":"2019-07-09T14:18:57.007Z","3.4.4-alpha-upd-deps-4827.1.21":"2019-07-09T16:47:06.519Z","3.4.4":"2019-07-09T19:26:27.815Z","3.4.5-alpha-tooltip-position-4885.1.21":"2019-07-15T14:31:18.088Z","3.4.5-alpha-tooltip-position-4886.1.19":"2019-07-15T14:32:55.180Z","3.4.5-alpha-tooltip-position-4915.1.30":"2019-07-16T18:39:42.743Z","3.4.5-alpha-tooltip-position-4957.1.32":"2019-07-18T19:18:56.280Z","3.4.5":"2019-07-18T19:32:14.882Z","3.4.6-alpha-fix-empty-state-buttons-4980.1.4":"2019-07-19T18:17:54.106Z","3.4.6-alpha-fix-empty-state-buttons-4986.1.5":"2019-07-19T18:36:42.675Z","3.4.6":"2019-07-19T19:36:03.317Z","3.4.7-alpha-fix-protected-input-5017.1.3":"2019-07-24T16:04:13.212Z","3.4.7":"2019-07-24T16:48:17.949Z","3.4.8-alpha-tooltip-auto-positioned-5024.1.2":"2019-07-30T13:55:49.311Z","3.4.8-alpha-tooltip-auto-positioned-5028.1.2":"2019-08-01T17:30:29.471Z","3.4.8":"2019-08-05T14:28:28.061Z","3.4.9-alpha-tooltip-z-fix-5043.1.2":"2019-08-07T21:12:30.838Z","3.4.9":"2019-08-09T12:48:53.873Z","3.4.10-alpha-loading-checkbox-5074.1.7":"2019-08-16T19:33:56.756Z","3.4.10-alpha-loading-checkbox-5080.1.9":"2019-08-19T16:54:27.129Z","3.4.10-alpha-loading-checkbox-5085.1.7":"2019-08-19T19:24:18.659Z","3.4.10-alpha-loading-checkbox-5093.1.7":"2019-08-21T12:43:13.554Z","3.4.10-alpha-loading-checkbox-5095.1.7":"2019-08-21T15:10:23.016Z","3.4.10":"2019-08-21T16:05:19.845Z","3.4.11-alpha-disable-amount-selectors-5122.1.7":"2019-09-04T16:41:47.833Z","3.4.11":"2019-09-05T14:51:14.390Z","3.4.12-alpha-update-deps-5135.1.1":"2019-09-09T16:43:01.979Z","3.4.12-alpha-update-deps-5137.1.1":"2019-09-09T16:57:00.532Z","3.4.12-alpha-search-field-before-change-5140.1.7":"2019-09-09T19:07:25.777Z","3.4.12-alpha-search-field-before-change-5142.1.8":"2019-09-09T19:54:56.840Z","3.4.12-alpha-search-field-before-change-5145.1.6":"2019-09-10T18:56:49.099Z","3.4.12":"2019-09-10T19:29:30.300Z","3.4.12-alpha-search-field-before-change-5157.1.7":"2019-09-11T20:41:48.897Z","3.4.12-alpha-image-use-img-5159.1.7":"2019-09-11T21:11:33.696Z","3.4.13-alpha-image-use-img-5161.1.4":"2019-09-11T21:16:29.883Z","3.4.12-alpha-search-field-before-change-5163.1.8":"2019-09-12T14:07:13.791Z","3.4.13-alpha-search-field-before-change-5167.1.8":"2019-09-12T18:27:53.487Z","3.4.13-alpha-image-use-img-5173.1.4":"2019-09-12T21:14:58.764Z","3.4.13-alpha-image-use-img-5177.1.5":"2019-09-13T13:03:19.681Z","3.4.13-alpha-fix-tooltip-auto-position-5179.1.1":"2019-09-13T18:25:18.553Z","3.4.13-alpha-search-field-before-change-5181.1.9":"2019-09-13T18:44:00.804Z","3.4.13-alpha-image-use-img-5185.1.8":"2019-09-13T19:47:15.050Z","3.4.13-alpha-image-use-img-5193.1.17":"2019-09-16T14:31:44.930Z","3.4.13-alpha-search-field-before-change-5195.1.9":"2019-09-16T16:21:38.550Z","3.4.13-alpha-fix-tooltip-auto-position-5197.1.3":"2019-09-16T16:27:19.653Z","3.4.13-alpha-fix-tooltip-auto-position-5199.1.4":"2019-09-16T17:14:21.049Z","3.4.13-alpha-search-field-before-change-5204.1.10":"2019-09-16T17:31:14.760Z","3.4.13-alpha-image-use-img-5211.1.20":"2019-09-16T18:56:36.514Z","3.4.13-alpha-image-use-img-5213.1.7":"2019-09-16T19:43:45.803Z","3.4.13":"2019-09-16T20:16:44.540Z","3.4.13-alpha-search-field-before-change-5216.1.11":"2019-09-17T12:53:48.184Z","3.4.14-alpha-search-field-before-change-5218.1.10":"2019-09-17T18:42:00.454Z","3.5.0":"2019-09-17T19:07:31.825Z","3.4.13-alpha-fix-tooltip-auto-position-5221.1.7":"2019-09-18T17:01:30.612Z","3.5.1":"2019-09-18T20:28:56.711Z","3.5.2-alpha-selected-image-class-5232.1.3":"2019-09-26T15:14:56.375Z","3.5.2":"2019-09-26T18:53:29.366Z","3.5.3-alpha-fix-image-overflow-5243.1.5":"2019-10-01T18:18:10.564Z","3.5.3":"2019-10-01T18:35:56.939Z","3.5.4-alpha-input-phone-5286.1.19":"2019-10-08T16:15:21.697Z","3.5.4-alpha-fix-image-proptype-5327.1.12":"2019-10-14T13:59:54.105Z","3.5.4-alpha-input-phone-5347.1.32":"2019-10-15T19:52:31.138Z","3.5.4-alpha-input-phone-5351.1.35":"2019-10-16T11:44:47.583Z","3.5.4-alpha-fix-image-proptype-5356.1.12":"2019-10-16T12:39:30.100Z","3.5.4-alpha-input-phone-5384.1.46":"2019-10-18T18:02:17.275Z","3.5.4-alpha-fix-image-proptype-5388.1.14":"2019-10-18T18:05:08.653Z","3.5.4":"2019-10-18T19:51:17.313Z","3.5.5-alpha-input-phone-5418.1.33":"2019-10-23T16:30:35.007Z","3.5.5":"2019-10-23T16:45:57.953Z","3.5.6-alpha-side-nav-js-5441.1.47":"2019-10-28T18:07:32.045Z","3.5.6-alpha-fix-css-input-5445.1.4":"2019-10-28T18:28:14.903Z","3.5.6":"2019-10-30T16:52:15.178Z","3.5.6-alpha-icon-5469.1.23":"2019-10-31T18:55:38.262Z","3.5.7-alpha-side-nav-js-5474.1.46":"2019-10-31T20:12:03.761Z","3.5.7":"2019-10-31T20:50:59.392Z","3.5.8-alpha-mobile-tooltip-5522.1.5":"2019-11-12T15:24:55.836Z","3.5.8-alpha-use-new-icons-5530.1.24":"2019-11-12T18:01:55.231Z","3.6.0":"2019-11-13T17:34:41.684Z","3.6.1-alpha-mobile-tooltip-5545.1.5":"2019-11-13T19:10:37.812Z","3.6.1-alpha-mobile-tooltip-5547.1.6":"2019-11-13T19:36:13.394Z","3.6.1-alpha-mobile-tooltip-5551.1.8":"2019-11-14T12:55:50.889Z","3.6.1-alpha-use-new-icons-5553.1.26":"2019-11-14T16:03:33.406Z","3.6.1-alpha-mobile-tooltip-5557.1.10":"2019-11-14T18:18:37.214Z","3.6.1-alpha-mobile-tooltip-5561.1.12":"2019-11-18T13:46:45.393Z","3.6.1-alpha-use-new-icons-5568.1.29":"2019-11-18T21:03:12.620Z","3.6.1-alpha-use-new-icons-5574.1.34":"2019-11-19T17:31:33.964Z","3.6.1-alpha-use-new-icons-5576.1.28":"2019-11-19T17:48:43.995Z","3.7.0":"2019-11-19T18:03:28.784Z","3.7.1-alpha-mobile-tooltip-5579.1.12":"2019-11-19T20:16:04.388Z","3.7.1-alpha-mobile-tooltip-5599.1.14":"2019-11-26T16:38:26.990Z","3.7.1-alpha-mobile-tooltip-5602.1.9":"2019-11-26T16:42:25.527Z","3.7.1-alpha-responsive-modal-5603.1.10":"2019-11-26T18:47:38.134Z","3.7.1-alpha-mobile-tooltip-5605.1.10":"2019-11-26T19:00:59.476Z","3.7.1":"2019-11-26T19:12:55.463Z","3.7.2-alpha-upd-depss-5608.1.6":"2019-11-27T15:25:46.853Z","3.7.2-alpha-upd-depss-5616.1.19":"2019-11-27T18:26:34.901Z","3.7.2":"2019-11-27T19:18:53.801Z","3.7.3":"2019-11-27T20:29:59.263Z","3.7.4-alpha-fix-proptype-warning-5631.1.1":"2019-11-28T19:51:15.229Z","3.7.4":"2019-11-28T20:07:53.627Z","3.7.5-alpha-tangerine-5635.1.1":"2019-12-03T18:56:45.918Z","3.7.5":"2019-12-03T19:19:05.456Z","3.7.6":"2019-12-18T16:57:04.641Z","3.7.7-alpha-image-with-box-shadow-5646.1.2":"2019-12-27T18:33:37.764Z","3.7.7":"2019-12-27T18:49:11.641Z","3.7.8-alpha-link-fontweight-5650.1.2":"2020-01-03T17:55:50.097Z","3.7.8":"2020-01-03T18:37:04.059Z","3.7.9-alpha-new-primary-button-colors-5656.1.2":"2020-01-08T17:12:23.656Z","3.7.9":"2020-01-08T17:34:09.129Z","3.7.10-alpha-input-border-radius-5660.1.2":"2020-01-15T19:14:40.299Z","3.7.10":"2020-01-15T19:34:32.760Z","3.7.11-alpha-responsive-text-5665.1.3":"2020-01-28T14:42:56.416Z","3.7.11":"2020-01-28T19:05:07.677Z","3.7.12-alpha-card-border-5671.1.2":"2020-02-03T20:06:09.679Z","3.7.12-alpha-card-border-5673.1.3":"2020-02-04T14:16:25.893Z","3.7.12":"2020-02-04T17:23:20.127Z","3.7.13-alpha-textarea-focus-5684.1.2":"2020-02-27T20:53:10.479Z","3.7.13":"2020-02-28T11:42:12.773Z","3.7.14-alpha-upd-dep-280220-5690.1.25":"2020-03-05T19:57:50.037Z","3.7.14-alpha-upd-dep-280220-5694.1.25":"2020-03-05T20:09:56.716Z","3.7.14":"2020-03-06T15:39:37.231Z","3.7.15":"2020-05-13T18:21:43.252Z","3.7.16":"2020-05-14T14:32:44.660Z","3.7.17-alpha-select-menu-visibility-5733.1.1":"2020-06-01T20:44:32.663Z","3.7.17-alpha-select-menu-visibility-5735.1.2":"2020-06-03T19:38:49.735Z","3.7.17":"2020-06-04T12:08:45.270Z","3.7.18-alpha-new-label-5742.1.2":"2020-06-19T19:34:54.540Z","3.7.18-alpha-redesign-form-fields-5751.1.6":"2020-06-23T14:12:03.342Z","3.7.18-alpha-redesign-form-fields-5753.1.6":"2020-06-23T14:52:28.097Z","3.7.18-alpha-new-label-5761.1.4":"2020-06-24T17:57:14.415Z","3.7.18-alpha-new-label-5765.1.2":"2020-06-25T12:37:50.138Z","3.7.18":"2020-06-25T15:53:17.574Z","3.7.18-alpha-redesign-form-fields-5772.1.5":"2020-06-25T16:27:44.938Z","3.7.19-alpha-redesign-form-fields-5774.1.4":"2020-06-25T16:32:05.564Z","3.7.19-alpha-redesign-form-fields-5775.1.6":"2020-06-25T16:39:49.500Z","3.7.19-alpha-redesign-form-fields-5777.1.6":"2020-06-25T16:51:08.932Z","3.7.19-alpha-redesign-form-fields-5789.1.7":"2020-06-30T14:03:36.434Z","3.8.0":"2020-06-30T14:11:35.722Z","3.8.1-alpha-dropdown-button-props-5803.1.2":"2020-07-07T14:21:03.807Z","3.8.1-alpha-dropdown-button-props-5805.1.3":"2020-07-07T15:25:16.392Z","3.8.1":"2020-07-08T11:41:45.759Z","3.8.2-alpha-fix-icons-react-import-5808.1.2":"2020-07-09T14:55:44.504Z","3.8.2-alpha-fix-icons-react-import-5810.1.3":"2020-07-09T16:11:14.950Z","3.8.2-alpha-fix-icons-react-import-5812.1.4":"2020-07-09T16:22:43.332Z","3.8.2-alpha-fix-icons-react-import-5814.1.2":"2020-07-09T17:14:21.015Z","3.8.2-alpha-fix-icons-react-import-5816.1.3":"2020-07-09T17:24:51.528Z","3.8.2-alpha-fix-github-dribbble-icons-5818.1.1":"2020-07-09T17:47:35.386Z","3.8.2-alpha-another-icon-test-5829.1.4":"2020-07-13T15:07:16.753Z","3.8.2-alpha-another-icon-test-5832.1.6":"2020-07-13T15:33:29.826Z","3.8.2":"2020-07-14T16:24:48.354Z","3.8.3-alpha-redesign-hoc-input-5848.1.30":"2020-07-14T18:28:13.006Z","3.8.3-alpha-redesign-hoc-input-5850.1.30":"2020-07-14T20:05:39.549Z","3.8.3-alpha-redesign-hoc-input-5854.1.33":"2020-07-15T14:39:06.886Z","3.8.3-alpha-redesign-hoc-input-5856.1.33":"2020-07-15T17:14:32.290Z","3.8.3":"2020-07-15T19:27:23.893Z","3.8.4-alpha-protected-currency-5865.1.6":"2020-08-04T18:38:54.863Z","3.8.4-alpha-protected-currency-5867.1.7":"2020-08-04T18:57:41.494Z","3.8.4-alpha-protected-currency-5869.1.6":"2020-08-05T12:27:22.300Z","3.8.4":"2020-08-05T12:47:15.618Z","3.8.5-alpha-button-redesign-5884.1.15":"2020-09-02T19:52:36.528Z","3.8.5-alpha-button-redesign-5888.1.18":"2020-09-03T19:39:59.206Z","3.8.5-alpha-button-redesign-5890.1.18":"2020-09-03T19:49:07.186Z","3.8.5-alpha-button-redesign-5892.1.14":"2020-09-04T16:36:48.742Z","3.8.5":"2020-09-04T16:54:37.428Z","3.8.6-alpha-fix-button-white-space-5896.1.2":"2020-09-09T14:29:22.756Z","3.8.6-alpha-fix-button-white-space-5898.1.2":"2020-09-09T19:10:43.661Z","3.8.6":"2020-09-09T19:33:55.267Z","3.8.7-alpha-button-line-height-5901.1.2":"2020-09-10T12:20:34.371Z","3.8.7":"2020-09-10T12:52:50.953Z","3.8.8-alpha-esmodules-5917.1.9":"2020-10-14T14:46:22.728Z","3.8.8-alpha-esmodules-5921.1.10":"2020-10-15T13:30:52.892Z","3.8.8-alpha-esmodules-5925.1.9":"2020-10-21T18:28:41.560Z","3.8.8":"2020-10-21T19:29:08.155Z","3.8.9-alpha-icon-publish-5935.1.5":"2020-10-29T11:59:53.404Z","3.8.9":"2020-10-29T14:20:35.623Z","3.8.10-alpha-dropdown-trigger-5951.1.2":"2021-01-07T14:43:49.610Z","3.8.10":"2021-01-07T15:00:24.028Z","3.8.11-alpha-dropdown-active-5954.1.1":"2021-01-07T21:10:51.894Z","3.8.11":"2021-01-11T15:55:22.648Z","3.8.12-alpha-table-redesign-manual-1.2":"2021-01-21T12:14:56.808Z","3.8.12-alpha-fix-empty-state-proptype-5977.1.14":"2021-02-10T21:23:37.170Z","3.8.12":"2021-02-11T14:04:54.081Z","3.8.13-alpha-empty-state-styles-5986.1.2":"2021-02-15T14:21:04.685Z","3.8.13-alpha-empty-state-styles-5989.1.2":"2021-02-17T14:17:52.746Z","3.8.13":"2021-02-17T14:35:12.668Z","3.8.14-alpha-farmblocks-search-field-scrollheight-5999.1.1":"2021-03-29T14:08:41.749Z","3.8.14":"2021-03-29T16:30:07.758Z","3.8.15-alpha-update-deps-032021-6011.1.14":"2021-03-31T14:29:37.497Z","3.8.15-alpha-update-deps-032021-6016.1.18":"2021-03-31T16:53:54.251Z","3.8.15-alpha-farmblocks-checkbox-resizing-6024.1.4":"2021-04-08T17:51:53.244Z","3.8.15-alpha-update-deps-032021-6038.1.33":"2021-04-09T19:19:37.371Z","3.8.15-alpha-farmblocks-checkbox-resizing-6046.1.6":"2021-04-12T14:17:35.080Z","3.8.15-alpha-farmblocks-checkbox-resizing-6052.1.5":"2021-04-12T15:51:55.164Z","3.8.15-alpha-farmblocks-checkbox-resizing-6054.1.7":"2021-04-12T15:53:51.755Z","3.8.15":"2021-04-12T16:14:05.901Z","3.8.16":"2021-04-19T14:43:50.229Z","3.8.17-alpha-update-icons-6070.1.4":"2021-04-27T20:50:36.547Z","3.8.17-alpha-update-icons-1.4":"2021-04-28T14:23:56.122Z","3.8.17-alpha-update-icons-2.4":"2021-04-28T15:19:39.825Z","3.8.17":"2021-04-29T12:20:11.036Z","3.8.18-alpha-add-font-size-6125.1.7":"2021-07-07T16:54:12.105Z","3.8.18":"2021-07-07T17:24:37.313Z","3.8.19":"2021-07-23T22:18:10.054Z","3.8.22-alpha-lerna-force-publish-6137.1.0":"2021-07-26T13:54:48.733Z","3.8.22-alpha-adjust-xsmall-font-size-value-6142.1.0":"2021-08-11T17:25:23.586Z","3.8.22":"2021-08-11T18:10:50.332Z","3.8.23-alpha-update-deps-6177.1.7":"2021-12-30T12:47:57.337Z","3.8.23-alpha-update-deps-6179.1.10":"2021-12-30T18:06:14.810Z","3.8.23-alpha-update-deps-6181.1.11":"2021-12-30T18:13:00.897Z","3.8.23-alpha-update-deps-6221.1.34":"2022-01-04T18:24:19.341Z","3.8.23-alpha-update-deps-6223.1.35":"2022-01-04T19:43:06.286Z","3.8.23-alpha-update-deps-6227.1.35":"2022-01-05T12:03:42.587Z","3.8.23":"2022-01-05T12:50:05.192Z","3.8.24-alpha-fix-deps-6232.1.2":"2022-02-09T20:32:33.248Z","3.8.24":"2022-02-10T14:43:06.270Z","3.8.25-alpha-test-rr-6243.1.0":"2022-03-09T18:35:24.427Z","3.8.25-alpha-test-rr-6245.1.0":"2022-03-09T18:51:48.028Z","3.8.25":"2022-03-09T19:00:39.238Z"},"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"}],"description":"Search input with results dropdown list","homepage":"https://github.com/CraveFood/farmblocks#readme","keywords":["farmblocks","react","search","input"],"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"},{"name":"Sammer Soares","email":"samm3r"}],"author":{"name":"Crave Food Systems and AUTHORS"},"bugs":{"url":"https://github.com/CraveFood/farmblocks/issues"},"license":"MIT","readme":"![logo-farmblocks](https://user-images.githubusercontent.com/7760/31051341-4d280118-a63c-11e7-9e8f-3b375ca8f9a0.png)\n\n# Farmblocks Search Field\n\nSearch input with results dropdown list.  \nThe main difference between this and the [Select](https://www.npmjs.com/package/@crave/farmblocks-input-select) component is that while Select searches among the available items, this component gives you the ability to fetch for new items on an external API.\n\n## Installation\n\n```\nnpm install @crave/farmblocks-search-field\n```\n\n## Usage\n\n```jsx\nimport React, { Component } from \"react\";\nimport { render } from \"react-dom\";\nimport Select from \"@crave/farmblocks-search-field\";\n\nconst items = [\n  { value: \"1\", label: \"Apple\" },\n  { value: \"2\", label: \"Banana\" },\n  { value: \"3\", label: \"Pear\" },\n];\n\nclass App extends Component {\n  render() {\n    return (\n      <Select\n        placeholder=\"Select fruit\"\n        label=\"Fruit\"\n        items={items}\n        onSearchChange={value => console.log(\"onSearchChange\", value)}\n        onChange={value => console.log(\"onChange\", value)}\n      />\n    );\n  }\n}\n\nrender(<App />, document.getElementById(\"root\"));\n```\n\n## API\n\n- **items** (_Array_)\n\n  > Items to be rendered as options\n  > The elements of the array should follow this shape:\n  > `{ value: String, label: String, image: String(optional) }`\n\n- **value** (_String_)\n\n  > Selected option. It's expected that `items` have an element with the same value\n\n- **footer** (_React node_)\n\n  > Component to render at the menu bottom\n\n- **width** (_Number_ or _String_) = `200`\n\n  > Width of the component\n\n- **maxMenuHeight** (_Number_ or _String_) = `353`\n\n  > Maximum height of the menu. After that, the menu will have a scroll bar\n\n- **debounceDelay** (_Number_) = `500`\n\n  > Time in milliseconds to wait for new key presses before dispatching `onSearchChange`\n\n- **onSearchChange** (_(value:String) => void_) = `noop`\n\n  > Function to handle changes in the search term. It usually uses the value to search in an external API and updates the `items` prop with the received results\n\n- **onScrollReachEnd** (_() => void_) = `noop`\n\n  > Function to handle the end of the scroll. Useful for pagination\n\n- **onBeforeChange** (_(args:Object) => void_) = `noop`\n\n  > Function that runs before `onChange`. It has the ability to decide wether `onChange` will be triggered or not. When this prop is not defined, `onChange` will trigger immediately\n  >\n  > The arguments are sent as an Object, so you can destructure it to get only the needed ones. It wil contain:\n\n  - **value** (_String_)\n    > The value for the selected item\n  - **selectedItem** (_Object_)\n    > The whole selected item\n  - **inputDOMElement** (_Element_)\n    > The input element. You can use it to give back the focus after the uses click on an item\n  - **proceed** (_(item: Object) => void_)\n    > Function to trigger the `onChange` handler. Optionally, you can modify the item that onChange will pass\n\n- **onChange** (_(value:String, item:Object) => void_) = `noop`\n\n  > Function to handle selection of an item\n\n- **valueKey** (_String_) = `\"value\"`\n\n  > Custom name to be used as the items value key\n\n- **labelKey** (_String_) = `\"label\"`\n\n  > Custom name to be used as the items label key\n\n- **imageKey** (_String_) = `\"image\"`\n\n  > Custom name to be used as the items image key\n\n**Note**: to listen to clicks on items or footer, use `onMouseDown` event over\n`onClick`.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}